Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local WalkSpeed = Instance.new("ScreenGui")
- local Ok = Instance.new("Frame")
- local Script = Instance.new("TextBox")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- WalkSpeed.Name = "WalkSpeed"
- WalkSpeed.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- WalkSpeed.ResetOnSpawn = false
- Ok.Name = "Ok"
- Ok.Parent = WalkSpeed
- Ok.BackgroundColor3 = Color3.new(0, 0, 0)
- Ok.BorderColor3 = Color3.new(1, 1, 1)
- Ok.BorderSizePixel = 5
- Ok.Position = UDim2.new(0.195571959, 0, 0.661855698, 0)
- Ok.Size = UDim2.new(0, 259, 0, 93)
- Script.Name = "Script"
- Script.Parent = Ok
- Script.BackgroundColor3 = Color3.new(0, 0, 0)
- Script.BorderColor3 = Color3.new(1, 1, 1)
- Script.Position = UDim2.new(0.034600541, 0, 0.0615254268, 0)
- Script.Size = UDim2.new(0, 241, 0, 56)
- Script.Font = Enum.Font.SourceSans
- Script.Text = ""
- Script.TextColor3 = Color3.new(1, 1, 1)
- Script.TextScaled = true
- Script.TextSize = 14
- Script.TextWrapped = true
- TextLabel.Parent = Ok
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.0608120114, 0, 0.752673805, 0)
- TextLabel.Size = UDim2.new(0, 227, 0, 23)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Enter WalkSpeed HERE"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 20
- -- Scripts:
- function SCRIPT_CIPU65_FAKESCRIPT() -- Script.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = Script
- local textbox = script.Parent
- local player = game.Players.LocalPlayer
- local Frame = script.Parent.Parent
- local gui = Frame.Parent
- textbox.Changed:Connect(function()
- player.Character.Humanoid.WalkSpeed = textbox.Text
- if textbox.Text == "" then
- player.Character.Humanoid.WalkSpeed = 16
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_CIPU65_FAKESCRIPT))
- function SCRIPT_QIOL68_FAKESCRIPT() -- Ok.Draggable GUI
- local script = Instance.new('LocalScript')
- script.Parent = Ok
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_QIOL68_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement