Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local SpeedGui = Instance.new("ScreenGui")
- local Container = Instance.new("Frame")
- local SetSpeed = Instance.new("TextButton")
- local Speed = Instance.new("TextBox")
- local ResetSpeed = Instance.new("TextButton")
- --Properties:
- SpeedGui.Name = "SpeedGui"
- SpeedGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Container.Name = "Container"
- Container.Parent = SpeedGui
- Container.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Container.BackgroundTransparency = 0.500
- Container.Position = UDim2.new(0.330609202, 0, 0.758418739, 0)
- Container.Size = UDim2.new(0, 455, 0, 125)
- SetSpeed.Name = "SetSpeed"
- SetSpeed.Parent = Container
- SetSpeed.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- SetSpeed.BackgroundTransparency = 0.750
- SetSpeed.Position = UDim2.new(0.0351648368, 0, 0.119999997, 0)
- SetSpeed.Size = UDim2.new(0, 197, 0, 36)
- SetSpeed.Font = Enum.Font.SourceSans
- SetSpeed.Text = "Set Player Speed"
- SetSpeed.TextColor3 = Color3.fromRGB(255, 255, 255)
- SetSpeed.TextSize = 14.000
- Speed.Name = "Speed"
- Speed.Parent = Container
- Speed.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- Speed.BackgroundTransparency = 0.750
- Speed.Position = UDim2.new(0.0351648368, 0, 0.527999997, 0)
- Speed.Size = UDim2.new(0, 424, 0, 46)
- Speed.Font = Enum.Font.SourceSans
- Speed.Text = ""
- Speed.TextColor3 = Color3.fromRGB(255, 255, 255)
- Speed.TextSize = 14.000
- ResetSpeed.Name = "ResetSpeed"
- ResetSpeed.Parent = Container
- ResetSpeed.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- ResetSpeed.BackgroundTransparency = 0.750
- ResetSpeed.Position = UDim2.new(0.534065962, 0, 0.119999997, 0)
- ResetSpeed.Size = UDim2.new(0, 197, 0, 36)
- ResetSpeed.Font = Enum.Font.SourceSans
- ResetSpeed.Text = "Reset Player Speed"
- ResetSpeed.TextColor3 = Color3.fromRGB(255, 255, 255)
- ResetSpeed.TextSize = 14.000
- -- Scripts:
- local function GDSZV_fake_script() -- Container.GuiHandler
- local script = Instance.new('LocalScript', Container)
- local frame = script.Parent
- local player = game.Players.LocalPlayer
- local character = player.Character
- local humanoid = character:WaitForChild("Humanoid")
- frame.SetSpeed.MouseButton1Click:connect(function()
- humanoid.WalkSpeed = tonumber(frame.Speed.Text)
- NotifyUser("New WalkSpeed", "WalkSpeed has been set to: "..tostring(humanoid.WalkSpeed))
- end)
- frame.ResetSpeed.MouseButton1Click:connect(function()
- humanoid.WalkSpeed = 16
- NotifyUser("WalkSpeed Reset", "WalkSpeed has been reset to: 16")
- end)
- function NotifyUser(Title, Message)
- game.StarterGui:SetCore("SendNotification", {
- Text = Message,
- Title = Title
- })
- end
- end
- coroutine.wrap(GDSZV_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement