
KeylessUniversal

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local ScreenGui = Instance.new("ScreenGui", game.CoreGui)
ScreenGui.Name = "OpFightScriptGui"
local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 250, 0, 260) -- Yükseklik artırıldı
MainFrame.Position = UDim2.new(0.35, 0, 0.3, 0)
MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
MainFrame.BorderSizePixel = 0
MainFrame.Parent = ScreenGui
MainFrame.Active = true
MainFrame.Draggable = true
Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 10)
local creditLabel = Instance.new("TextLabel")
creditLabel.Size = UDim2.new(1, 0, 0, 25)
creditLabel.Position = UDim2.new(0, 0, -0.15, 0)
creditLabel.BackgroundTransparency = 1
creditLabel.Text = "Made by MRBANANAHASBANANA3"
creditLabel.Font = Enum.Font.GothamBold
creditLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
creditLabel.TextScaled = true
creditLabel.Parent = MainFrame
local teleportBtn = Instance.new("TextButton")
teleportBtn.Size = UDim2.new(0.8, 0, 0.14, 0)
teleportBtn.Position = UDim2.new(0.1, 0, 0.05, 0)
teleportBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
teleportBtn.Text = "Teleport Nearest"
teleportBtn.Font = Enum.Font.GothamBold
teleportBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
teleportBtn.TextScaled = true
teleportBtn.Parent = MainFrame
Instance.new("UICorner", teleportBtn).CornerRadius = UDim.new(0, 8)
local tpTimeBox = Instance.new("TextBox")
tpTimeBox.Size = UDim2.new(0.8, 0, 0.14, 0)
tpTimeBox.Position = UDim2.new(0.1, 0, 0.23, 0)
tpTimeBox.BackgroundColor3 = Color3.fromRGB(220, 220, 220)
tpTimeBox.Text = ""
tpTimeBox.PlaceholderText = "TP Time"
tpTimeBox.Font = Enum.Font.Gotham
tpTimeBox.TextColor3 = Color3.fromRGB(0, 0, 0)
tpTimeBox.TextScaled = true
tpTimeBox.Parent = MainFrame
Instance.new("UICorner", tpTimeBox).CornerRadius = UDim.new(0, 8)
local teleportToPlayerBtn = Instance.new("TextButton")
teleportToPlayerBtn.Size = UDim2.new(0.8, 0, 0.14, 0)
teleportToPlayerBtn.Position = UDim2.new(0.1, 0, 0.41, 0)
teleportToPlayerBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
teleportToPlayerBtn.Text = "Teleport to Player"
teleportToPlayerBtn.Font = Enum.Font.GothamBold
teleportToPlayerBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
teleportToPlayerBtn.TextScaled = true
teleportToPlayerBtn.Parent = MainFrame
Instance.new("UICorner", teleportToPlayerBtn).CornerRadius = UDim.new(0, 8)
local playerBox = Instance.new("TextBox")
playerBox.Size = UDim2.new(0.8, 0, 0.14, 0)
playerBox.Position = UDim2.new(0.1, 0, 0.59, 0)
playerBox.BackgroundColor3 = Color3.fromRGB(220, 220, 220)
playerBox.Text = ""
playerBox.PlaceholderText = "Player Name"
playerBox.Font = Enum.Font.Gotham
playerBox.TextColor3 = Color3.fromRGB(0, 0, 0)
playerBox.TextScaled = true
playerBox.Parent = MainFrame
Instance.new("UICorner", playerBox).CornerRadius = UDim.new(0, 8)
local infiniteYieldBtn = Instance.new("TextButton")
infiniteYieldBtn.Size = UDim2.new(0.8, 0, 0.14, 0)
infiniteYieldBtn.Position = UDim2.new(0.1, 0, 0.77, 0)
infiniteYieldBtn.BackgroundColor3 = Color3.fromRGB(85, 85, 255)
infiniteYieldBtn.Text = "Infinite Yield Script"
infiniteYieldBtn.Font = Enum.Font.GothamBold
infiniteYieldBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
infiniteYieldBtn.TextScaled = true
infiniteYieldBtn.Parent = MainFrame
Instance.new("UICorner", infiniteYieldBtn).CornerRadius = UDim.new(0, 8)
local function getNearestPlayer()
local nearest, dist
for _, plr in pairs(Players:GetPlayers()) do
if plr ~= player and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
local mag = (player.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).Magnitude
if not dist or mag < dist then
nearest = plr
dist = mag
end
end
end
return nearest
end
local function findPlayerByName(partialName)
partialName = string.lower(partialName)
for _, plr in ipairs(Players:GetPlayers()) do
if plr ~= player then
if string.find(string.lower(plr.DisplayName), partialName) or string.find(string.lower(plr.Name), partialName) then
return plr
end
end
end
end
local function teleportToTarget(target)
local char = player.Character
if not char or not char:FindFirstChild("HumanoidRootPart") then return end
if not target or not target.Character or not target.Character:FindFirstChild("HumanoidRootPart") then return end
local tpTime = tonumber(tpTimeBox.Text) or 1
local hrp = char.HumanoidRootPart
local originalPos = hrp.CFrame
local targetHRP = target.Character.HumanoidRootPart
local startTime = tick()
local conn
conn = game:GetService("RunService").Heartbeat:Connect(function()
if tick() - startTime < tpTime then
hrp.CFrame = targetHRP.CFrame * CFrame.new(0, 0, 1.5)
else
conn:Disconnect()
hrp.CFrame = originalPos
end
end)
end
teleportBtn.MouseButton1Click:Connect(function()
teleportToTarget(getNearestPlayer())
end)
teleportToPlayerBtn.MouseButton1Click:Connect(function()
local targetName = playerBox.Text
if targetName ~= "" then
teleportToTarget(findPlayerByName(targetName))
end
end)
infiniteYieldBtn.MouseButton1Click:Connect(function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))()
end)



Credit 10% of script made by chatgpt <:
Can u tell me how to make scripts?