
Keyless

-- SERVICES
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer
local remotes = ReplicatedStorage:WaitForChild("Remotes")
-- REMOTES
local buyFloor = remotes:WaitForChild("buy_floor")
local startSkydive = remotes:WaitForChild("start_skydive")
local validateSkydive = remotes:WaitForChild("validate_skydive")
-- STATES
local buyRunning = false
local skyRunning = false
local bothRunning = false
-- GUI
local gui = Instance.new("ScreenGui")
gui.Name = "AutoGUI"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.fromOffset(260, 190)
frame.Position = UDim2.fromScale(0.5, 0.5)
frame.AnchorPoint = Vector2.new(0.5, 0.5)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
frame.Parent = gui
-- TITLE
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -40, 0, 30)
title.Position = UDim2.fromOffset(10, 0)
title.BackgroundTransparency = 1
title.Text = "Auto Controls"
title.TextColor3 = Color3.new(1,1,1)
title.Font = Enum.Font.GothamBold
title.TextSize = 14
title.TextXAlignment = Enum.TextXAlignment.Left
title.Parent = frame
-- CLOSE
local close = Instance.new("TextButton")
close.Size = UDim2.fromOffset(30, 30)
close.Position = UDim2.new(1, -30, 0, 0)
close.Text = "X"
close.Font = Enum.Font.GothamBold
close.TextSize = 14
close.TextColor3 = Color3.new(1,1,1)
close.BackgroundColor3 = Color3.fromRGB(180,50,50)
close.BorderSizePixel = 0
close.Parent = frame
close.MouseButton1Click:Connect(function()
gui:Destroy()
end)
-- BUTTON MAKER
local function makeButton(text, y)
local b = Instance.new("TextButton")
b.Size = UDim2.fromOffset(220, 35)
b.Position = UDim2.fromOffset(20, y)
b.Text = text
b.Font = Enum.Font.GothamBold
b.TextSize = 14
b.TextColor3 = Color3.new(1,1,1)
b.BackgroundColor3 = Color3.fromRGB(40,170,70)
b.BorderSizePixel = 0
b.Parent = frame
return b
end
-- BUTTONS
local buyBtn = makeButton("Start Auto Buy", 40)
local skyBtn = makeButton("Start Auto Skydive", 85)
local bothBtn = makeButton("Start BOTH", 130)
-- TOGGLES
buyBtn.MouseButton1Click:Connect(function()
buyRunning = not buyRunning
buyBtn.Text = buyRunning and "Stop Auto Buy" or "Start Auto Buy"
buyBtn.BackgroundColor3 = buyRunning and Color3.fromRGB(170,60,60) or Color3.fromRGB(40,170,70)
end)
skyBtn.MouseButton1Click:Connect(function()
skyRunning = not skyRunning
skyBtn.Text = skyRunning and "Stop Auto Skydive" or "Start Auto Skydive"
skyBtn.BackgroundColor3 = skyRunning and Color3.fromRGB(170,60,60) or Color3.fromRGB(40,170,70)
end)
bothBtn.MouseButton1Click:Connect(function()
bothRunning = not bothRunning
buyRunning = bothRunning
skyRunning = bothRunning
bothBtn.Text = bothRunning and "Stop BOTH" or "Start BOTH"
bothBtn.BackgroundColor3 = bothRunning and Color3.fromRGB(170,60,60) or Color3.fromRGB(40,170,70)
buyBtn.Text = buyRunning and "Stop Auto Buy" or "Start Auto Buy"
skyBtn.Text = skyRunning and "Stop Auto Skydive" or "Start Auto Skydive"
end)
-- HEARTBEAT LOOPS
RunService.Heartbeat:Connect(function()
if buyRunning then
pcall(function()
buyFloor:InvokeServer()
end)
end
if skyRunning then
pcall(function()
startSkydive:InvokeServer(1700)
validateSkydive:FireServer(1000000000, 8.587500555440784)
end)
end
end)No comments yet for this script.