Advertisement
Isaiah20Yt

Walkspeed GUI

Jan 29th, 2022
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. -- Notification
  2. wait(3)
  3.  
  4. warn("loading PcGmers WalkSpeed GUI")
  5.  
  6. game.StarterGui:SetCore("SendNotification", {
  7. Title = "Celerestial WalkSpeed GUI";
  8. Text = "Loaded!";
  9. Icon = "";
  10. Duration = "2";
  11. })
  12. wait(2)
  13.  
  14. game.StarterGui:SetCore("SendNotification", {
  15. Title = "Credit";
  16. Text = "By : PcGmers";
  17. Icon = "";
  18. Duration = "2";
  19. })
  20. -- Instances:
  21.  
  22. local SpeedGUI = Instance.new("ScreenGui")
  23. local SpeedGUI_2 = Instance.new("Frame")
  24. local TextLabel = Instance.new("TextLabel")
  25. local SpeedValue = Instance.new("TextBox")
  26. local SetSpeed = Instance.new("TextButton")
  27. local ResetSpeed = Instance.new("TextButton")
  28. local Close = Instance.new("TextButton")
  29.  
  30. --Properties:
  31.  
  32. SpeedGUI.Name = "Speed GUI"
  33. SpeedGUI.Parent = game.CoreGui
  34.  
  35. SpeedGUI_2.Name = "SpeedGUI"
  36. SpeedGUI_2.Parent = SpeedGUI
  37. SpeedGUI_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  38. SpeedGUI_2.Position = UDim2.new(0.00799503271, 0, 0.883194327, 0)
  39. SpeedGUI_2.Size = UDim2.new(0, 241, 0, 70)
  40.  
  41. TextLabel.Parent = SpeedGUI_2
  42. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  43. TextLabel.BackgroundTransparency = 1.000
  44. TextLabel.Size = UDim2.new(0, 217, 0, 23)
  45. TextLabel.Font = Enum.Font.SourceSans
  46. TextLabel.Text = "Enter Speed:"
  47. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  48. TextLabel.TextSize = 14.000
  49.  
  50. SpeedValue.Name = "SpeedValue"
  51. SpeedValue.Parent = SpeedGUI_2
  52. SpeedValue.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  53. SpeedValue.Position = UDim2.new(0, 0, 0.326807767, 0)
  54. SpeedValue.Size = UDim2.new(0, 241, 0, 24)
  55. SpeedValue.Font = Enum.Font.SourceSans
  56. SpeedValue.Text = ""
  57. SpeedValue.TextColor3 = Color3.fromRGB(0, 0, 0)
  58. SpeedValue.TextSize = 14.000
  59.  
  60. SetSpeed.Name = "SetSpeed"
  61. SetSpeed.Parent = SpeedGUI_2
  62. SetSpeed.BackgroundColor3 = Color3.fromRGB(85, 255, 0)
  63. SetSpeed.Position = UDim2.new(0.522821605, 0, 0.669664681, 0)
  64. SetSpeed.Size = UDim2.new(0, 115, 0, 23)
  65. SetSpeed.Font = Enum.Font.SourceSans
  66. SetSpeed.Text = "Set"
  67. SetSpeed.TextColor3 = Color3.fromRGB(0, 0, 0)
  68. SetSpeed.TextSize = 14.000
  69.  
  70. ResetSpeed.Name = "ResetSpeed"
  71. ResetSpeed.Parent = SpeedGUI_2
  72. ResetSpeed.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  73. ResetSpeed.Position = UDim2.new(0, 0, 0.669664681, 0)
  74. ResetSpeed.Size = UDim2.new(0, 126, 0, 23)
  75. ResetSpeed.Font = Enum.Font.SourceSans
  76. ResetSpeed.Text = "Reset"
  77. ResetSpeed.TextColor3 = Color3.fromRGB(0, 0, 0)
  78. ResetSpeed.TextSize = 14.000
  79.  
  80. Close.Name = "Close"
  81. Close.Parent = SpeedGUI_2
  82. Close.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  83. Close.Position = UDim2.new(0.900414944, 0, 0, 0)
  84. Close.Size = UDim2.new(0, 24, 0, 22)
  85. Close.Font = Enum.Font.SourceSans
  86. Close.Text = "X"
  87. Close.TextColor3 = Color3.fromRGB(0, 0, 0)
  88. Close.TextSize = 14.000
  89.  
  90. --Scripts:
  91.  
  92. Close.MouseButton1Down:connect(function()
  93. SpeedGUI_2.Visible = false
  94. end)
  95.  
  96. SetSpeed.MouseButton1Down:connect(function()
  97. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = SpeedValue.Text
  98. game.StarterGui:SetCore("SendNotification", {
  99. Title = "WalkSpeedGui";
  100. Text = "Speed has been set to".. SpeedValue.Text;
  101. Icon = "";
  102. Duration = "2";
  103. })
  104. end)
  105.  
  106. ResetSpeed.MouseButton1Down:connect(function()
  107. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  108. game.StarterGui:SetCore("SendNotification", {
  109. Title = "WalkSpeedGui";
  110. Text = "Your speed has been reset.";
  111. Icon = "";
  112. Duration = "2";
  113. })
  114.  
  115. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement