Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Silver Hub Widget (WS)
- -- Instances:
- local WalkspeedUI = Instance.new("ScreenGui")
- local WalkspeedFrame = Instance.new("Frame")
- local MainBar1 = Instance.new("Frame")
- local MainBar2 = Instance.new("Frame")
- local InputBox = Instance.new("TextBox")
- local UICorner = Instance.new("UICorner")
- local jumppowerbutton = Instance.new("TextButton")
- local UICorner_2 = Instance.new("UICorner")
- local walkspeedbutton = Instance.new("TextButton")
- local UICorner_3 = Instance.new("UICorner")
- local exitbutton = Instance.new("TextButton")
- --Properties:
- WalkspeedUI.Name = "WalkspeedUI"
- WalkspeedUI.Parent = game.CoreGui
- WalkspeedUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- WalkspeedFrame.Name = "WalkspeedFrame"
- WalkspeedFrame.Parent = WalkspeedUI
- WalkspeedFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
- WalkspeedFrame.BorderColor3 = Color3.fromRGB(15, 15, 15)
- WalkspeedFrame.Position = UDim2.new(0.381424159, 0, 0.346964061, 0)
- WalkspeedFrame.Size = UDim2.new(0, 383, 0, 246)
- WalkspeedFrame.Selectable = true
- WalkspeedFrame.Active = true
- WalkspeedFrame.Draggable = true
- MainBar1.Name = "MainBar1"
- MainBar1.Parent = WalkspeedFrame
- MainBar1.BackgroundColor3 = Color3.fromRGB(47, 0, 148)
- MainBar1.BorderColor3 = Color3.fromRGB(47, 0, 148)
- MainBar1.Position = UDim2.new(0, 0, 0.0369992144, 0)
- MainBar1.Size = UDim2.new(0, 383, 0, 6)
- MainBar2.Name = "MainBar2"
- MainBar2.Parent = WalkspeedFrame
- MainBar2.BackgroundColor3 = Color3.fromRGB(68, 0, 204)
- MainBar2.BorderColor3 = Color3.fromRGB(68, 0, 204)
- MainBar2.Size = UDim2.new(0, 383, 0, 10)
- InputBox.Name = "InputBox"
- InputBox.Parent = WalkspeedFrame
- InputBox.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
- InputBox.BorderColor3 = Color3.fromRGB(18, 18, 18)
- InputBox.Position = UDim2.new(0.0887728482, 0, 0.239837408, 0)
- InputBox.Size = UDim2.new(0, 315, 0, 33)
- InputBox.Font = Enum.Font.SourceSansLight
- InputBox.PlaceholderText = "input value here"
- InputBox.Text = ""
- InputBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- InputBox.TextSize = 30.000
- UICorner.Parent = InputBox
- jumppowerbutton.Name = "jumppowerbutton"
- jumppowerbutton.Parent = WalkspeedFrame
- jumppowerbutton.BackgroundColor3 = Color3.fromRGB(47, 0, 148)
- jumppowerbutton.BorderColor3 = Color3.fromRGB(47, 0, 148)
- jumppowerbutton.Position = UDim2.new(0.271540463, 0, 0.447154522, 0)
- jumppowerbutton.Size = UDim2.new(0, 175, 0, 46)
- jumppowerbutton.Font = Enum.Font.SourceSansLight
- jumppowerbutton.Text = "Change Jump Power"
- jumppowerbutton.TextColor3 = Color3.fromRGB(255, 255, 255)
- jumppowerbutton.TextSize = 21.000
- UICorner_2.Parent = jumppowerbutton
- walkspeedbutton.Name = "walkspeedbutton"
- walkspeedbutton.Parent = WalkspeedFrame
- walkspeedbutton.BackgroundColor3 = Color3.fromRGB(47, 0, 148)
- walkspeedbutton.BorderColor3 = Color3.fromRGB(47, 0, 148)
- walkspeedbutton.Position = UDim2.new(0.271540463, 0, 0.707317114, 0)
- walkspeedbutton.Size = UDim2.new(0, 175, 0, 46)
- walkspeedbutton.Font = Enum.Font.SourceSansLight
- walkspeedbutton.Text = "Change Walk Speed"
- walkspeedbutton.TextColor3 = Color3.fromRGB(255, 255, 255)
- walkspeedbutton.TextSize = 21.000
- UICorner_3.Parent = walkspeedbutton
- exitbutton.Name = "exitbutton"
- exitbutton.Parent = WalkspeedFrame
- exitbutton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- exitbutton.BackgroundTransparency = 1.000
- exitbutton.Position = UDim2.new(0.942558765, 0, 0.0613894574, 0)
- exitbutton.Size = UDim2.new(0, 22, 0, 32)
- exitbutton.Font = Enum.Font.SourceSansLight
- exitbutton.Text = "X"
- exitbutton.TextColor3 = Color3.fromRGB(255, 255, 255)
- exitbutton.TextSize = 27.000
- -- functions
- exitbutton.MouseButton1Down:Connect(function()
- WalkspeedUI:Destroy()
- end)
- walkspeedbutton.MouseButton1Down:Connect(function()
- local sound = Instance.new("Sound")
- sound.SoundId = 177266782
- sound:Play()
- wait(0.14)
- sound:Destroy()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = InputBox.Text
- if InputBox.Text == "" then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- end
- end)
- jumppowerbutton.MouseButton1Down:Connect(function()
- local sound = Instance.new("Sound")
- sound.SoundId = 177266782
- sound:Play()
- wait(0.14)
- sound:Destroy()
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = InputBox.Text
- if InputBox.Text == " " then
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- end
- end)
- local uis = game:GetService("UserInputService")
- local rp = game:GetService("ReplicatedStorage")
- uis.InputBegan:Connect(function(input)
- if input.KeyCode == Enum.KeyCode.RightShift then
- if WalkspeedFrame.Visible == false then
- WalkspeedFrame.Visible = true else
- WalkspeedFrame.Visible = false
- end
- end
- end)
Add Comment
Please, Sign In to add comment