
Keyless

-- Felipe94823's OP GUI Script
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
-- Variables
local winFarmActive = false
local teleportCount = 0
local teleportConnection
local mainGui
-- Create main GUI
local function createMainGUI()
-- Main ScreenGui
mainGui = Instance.new("ScreenGui")
mainGui.Name = "Felipe94823GUI"
mainGui.ResetOnSpawn = false
mainGui.Parent = playerGui
-- Main Frame
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 300, 0, 150)
mainFrame.Position = UDim2.new(0.5, -150, 0.5, -75)
mainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
mainFrame.BorderSizePixel = 2
mainFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
mainFrame.Parent = mainGui
-- Make GUI draggable (works on mobile and PC)
local UserInputService = game:GetService("UserInputService")
local dragging = false
local dragStart = nil
local startPos = nil
local function updateInput(input)
local delta = input.Position - dragStart
mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
mainFrame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = mainFrame.Position
local connection
connection = input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
connection:Disconnect()
end
end)
end
end)
mainFrame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
if dragging then
updateInput(input)
end
end
end)
-- Title Label
local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(1, 0, 0, 40)
titleLabel.Position = UDim2.new(0, 0, 0, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "Felipe94823's OP GUI"
titleLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
titleLabel.TextScaled = true
titleLabel.Font = Enum.Font.SourceSansBold
titleLabel.Parent = mainFrame
-- Win Farm Button
local winFarmButton = Instance.new("TextButton")
winFarmButton.Size = UDim2.new(0.8, 0, 0, 50)
winFarmButton.Position = UDim2.new(0.1, 0, 0.4, 0)
winFarmButton.BackgroundColor3 = Color3.fromRGB(200, 200, 200)
winFarmButton.BorderSizePixel = 1
winFarmButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
winFarmButton.Text = "Win Farm: OFF"
winFarmButton.TextColor3 = Color3.fromRGB(255, 0, 0)
winFarmButton.TextScaled = true
winFarmButton.Font = Enum.Font.SourceSans
winFarmButton.Parent = mainFrame
-- Button functionality
winFarmButton.MouseButton1Click:Connect(function()
winFarmActive = not winFarmActive
if winFarmActive then
winFarmButton.Text = "Win Farm: ON"
winFarmButton.TextColor3 = Color3.fromRGB(0, 255, 0)
winFarmButton.BackgroundColor3 = Color3.fromRGB(150, 255, 150)
startWinFarm()
else
winFarmButton.Text = "Win Farm: OFF"
winFarmButton.TextColor3 = Color3.fromRGB(255, 0, 0)
winFarmButton.BackgroundColor3 = Color3.fromRGB(200, 200, 200)
stopWinFarm()
end
end)
end
-- Teleport function
local function teleportPlayer()
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local targetPosition = Vector3.new(142.96, 392.09, 121.84)
player.Character.HumanoidRootPart.CFrame = CFrame.new(targetPosition)
teleportCount = teleportCount + 1
end
end
-- Start win farm
function startWinFarm()
teleportCount = 0
teleportConnection = RunService.Heartbeat:Connect(function()
wait(3) -- Wait 3 seconds between teleports
if winFarmActive then
teleportPlayer()
end
end)
end
-- Stop win farm
function stopWinFarm()
if teleportConnection then
teleportConnection:Disconnect()
teleportConnection = nil
end
teleportCount = 0
end
-- Initialize
createMainGUI()
print("Felipe94823's OP GUI loaded successfully!")
no delta