--// Created By: --// ScriptMakerNuke & DefineDefy local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer --// ScreenGui local ScreenGui = Instance.new("ScreenGui") ScreenGui.Parent = game.CoreGui ScreenGui.Name = "TopSpeedGUI" --// Main Frame local Frame = Instance.new("Frame") Frame.Size = UDim2.new(0, 320, 0, 200) Frame.Position = UDim2.new(0.35, 0, 0.35, 0) Frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) Frame.BorderSizePixel = 0 Frame.Active = true Frame.Draggable = true Frame.Parent = ScreenGui -- Shadow local Shadow = Instance.new("ImageLabel", Frame) Shadow.AnchorPoint = Vector2.new(0.5, 0.5) Shadow.Position = UDim2.new(0.5, 0, 0.5, 0) Shadow.Size = UDim2.new(1, 40, 1, 40) Shadow.BackgroundTransparency = 1 Shadow.Image = "rbxassetid://1316045217" Shadow.ImageTransparency = 0.5 Shadow.ScaleType = Enum.ScaleType.Slice Shadow.SliceCenter = Rect.new(10, 10, 118, 118) --// UI Corner Instance.new("UICorner", Frame).CornerRadius = UDim.new(0, 12) --// Title Bar local TitleBar = Instance.new("Frame") TitleBar.Size = UDim2.new(1, 0, 0, 40) TitleBar.BackgroundColor3 = Color3.fromRGB(40, 40, 40) TitleBar.BorderSizePixel = 0 TitleBar.Parent = Frame Instance.new("UICorner", TitleBar).CornerRadius = UDim.new(0, 12) local Title = Instance.new("TextLabel") Title.Text = "Top Speed Controller" Title.Size = UDim2.new(1, -40, 1, 0) Title.Position = UDim2.new(0, 10, 0, 0) Title.BackgroundTransparency = 1 Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.Font = Enum.Font.GothamBold Title.TextXAlignment = Enum.TextXAlignment.Left Title.TextSize = 18 Title.Parent = TitleBar -- Close Button local Close = Instance.new("TextButton") Close.Text = "❌" Close.Size = UDim2.new(0, 40, 1, 0) Close.Position = UDim2.new(1, -40, 0, 0) Close.BackgroundTransparency = 1 Close.TextColor3 = Color3.fromRGB(255, 75, 75) Close.Font = Enum.Font.GothamBold Close.TextSize = 20 Close.Parent = TitleBar Close.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) --// Input Box local Input = Instance.new("TextBox") Input.Size = UDim2.new(0.8, 0, 0, 40) Input.Position = UDim2.new(0.1, 0, 0.4, 0) Input.PlaceholderText = "Enter Top Speed" Input.BackgroundColor3 = Color3.fromRGB(35, 35, 35) Input.TextColor3 = Color3.fromRGB(255, 255, 255) Input.Font = Enum.Font.Gotham Input.TextSize = 16 Input.ClearTextOnFocus = false Input.Parent = Frame Instance.new("UICorner", Input).CornerRadius = UDim.new(0, 8) --// Fire Button local Button = Instance.new("TextButton") Button.Size = UDim2.new(0.8, 0, 0, 40) Button.Position = UDim2.new(0.1, 0, 0.7, 0) Button.BackgroundColor3 = Color3.fromRGB(70, 130, 180) Button.TextColor3 = Color3.fromRGB(255, 255, 255) Button.Font = Enum.Font.GothamBold Button.TextSize = 16 Button.Text = "Set Top Speed" Button.Parent = Frame Instance.new("UICorner", Button).CornerRadius = UDim.new(0, 8) -- Hover Effect Button.MouseEnter:Connect(function() Button.BackgroundColor3 = Color3.fromRGB(90, 150, 200) end) Button.MouseLeave:Connect(function() Button.BackgroundColor3 = Color3.fromRGB(70, 130, 180) end) --// Constants local MAX_VALUE = 92000000000000000 -- cap --// Fire Function Button.MouseButton1Click:Connect(function() local num = tonumber(Input.Text) if num then if num > MAX_VALUE then num = MAX_VALUE elseif num < 0 then num = 0 end local args = { [1] = num } ReplicatedStorage:WaitForChild("UpdateTopSpeed"):FireServer(unpack(args)) Button.Text = "Set Top ("..num..")" Button.BackgroundColor3 = Color3.fromRGB(60, 200, 100) task.wait(1.2) Button.Text = "Set Top Speed" Button.BackgroundColor3 = Color3.fromRGB(70, 130, 180) else Button.Text = "Invalid" Button.BackgroundColor3 = Color3.fromRGB(200, 80, 80) task.wait(1.2) Button.Text = "Set Top Speed" Button.BackgroundColor3 = Color3.fromRGB(70, 130, 180) end end)