Advertisement
VIZEVscripts

WalkSpeed Gui FE Script Roblox

Oct 9th, 2024
579
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.60 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local SpeedChangerGuibyVizev = Instance.new("ScreenGui")
  7. local ThisImage = Instance.new("ImageLabel")
  8. local UICorner = Instance.new("UICorner")
  9. local Speed = Instance.new("TextBox")
  10. local UICorner_2 = Instance.new("UICorner")
  11. local Confirm = Instance.new("TextButton")
  12. local UICorner_3 = Instance.new("UICorner")
  13. local Close = Instance.new("TextButton")
  14. local UICorner_4 = Instance.new("UICorner")
  15. local Open = Instance.new("TextButton")
  16. local UICorner_5 = Instance.new("UICorner")
  17.  
  18. local nyan = Instance.new("Sound", SpeedChangerGuibyVizev)
  19. nyan.SoundId = "rbxassetid://9067256917"
  20. nyan.Looped = true
  21. nyan:Play()
  22.  
  23. --Properties:
  24.  
  25. SpeedChangerGuibyVizev.Name = "Speed Changer Gui by Vizev"
  26. SpeedChangerGuibyVizev.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  27. SpeedChangerGuibyVizev.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  28.  
  29. ThisImage.Name = "ThisImage"
  30. ThisImage.Parent = SpeedChangerGuibyVizev
  31. ThisImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  32. ThisImage.BorderColor3 = Color3.fromRGB(0, 0, 0)
  33. ThisImage.BorderSizePixel = 0
  34. ThisImage.Position = UDim2.new(0.210597828, 0, 0.371638149, 0)
  35. ThisImage.Size = UDim2.new(0, 525, 0, 374)
  36. ThisImage.Image = "rbxassetid://935105946"
  37.  
  38. UICorner.CornerRadius = UDim.new(0, 20)
  39. UICorner.Parent = ThisImage
  40.  
  41. Speed.Name = "Speed"
  42. Speed.Parent = ThisImage
  43. Speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  44. Speed.BackgroundTransparency = 0.500
  45. Speed.BorderColor3 = Color3.fromRGB(0, 0, 0)
  46. Speed.BorderSizePixel = 0
  47. Speed.Position = UDim2.new(0.28952381, 0, 0.451871663, 0)
  48. Speed.Size = UDim2.new(0, 200, 0, 50)
  49. Speed.Font = Enum.Font.Arial
  50. Speed.PlaceholderColor3 = Color3.fromRGB(255, 0, 0)
  51. Speed.Text = ""
  52. Speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  53. Speed.TextScaled = true
  54. Speed.TextSize = 36.000
  55. Speed.TextWrapped = true
  56.  
  57. UICorner_2.CornerRadius = UDim.new(0, 16)
  58. UICorner_2.Parent = Speed
  59.  
  60. Confirm.Name = "Confirm"
  61. Confirm.Parent = ThisImage
  62. Confirm.BackgroundColor3 = Color3.fromRGB(85, 255, 255)
  63. Confirm.BorderColor3 = Color3.fromRGB(0, 0, 0)
  64. Confirm.BorderSizePixel = 0
  65. Confirm.Position = UDim2.new(0.28952381, 0, 0.745989323, 0)
  66. Confirm.Size = UDim2.new(0, 200, 0, 50)
  67. Confirm.Font = Enum.Font.Arial
  68. Confirm.Text = "CONFIRM"
  69. Confirm.TextColor3 = Color3.fromRGB(85, 255, 0)
  70. Confirm.TextScaled = true
  71. Confirm.TextSize = 14.000
  72. Confirm.TextWrapped = true
  73.  
  74. UICorner_3.CornerRadius = UDim.new(0, 63)
  75. UICorner_3.Parent = Confirm
  76.  
  77. Close.Name = "Close"
  78. Close.Parent = ThisImage
  79. Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  80. Close.BackgroundTransparency = 0.700
  81. Close.BorderColor3 = Color3.fromRGB(0, 0, 0)
  82. Close.BorderSizePixel = 0
  83. Close.Position = UDim2.new(0.807619035, 0, 0.0320855603, 0)
  84. Close.Size = UDim2.new(0, 82, 0, 37)
  85. Close.Font = Enum.Font.Arial
  86. Close.Text = "Close"
  87. Close.TextColor3 = Color3.fromRGB(85, 255, 0)
  88. Close.TextScaled = true
  89. Close.TextSize = 14.000
  90. Close.TextWrapped = true
  91.  
  92. UICorner_4.CornerRadius = UDim.new(0, 110)
  93. UICorner_4.Parent = Close
  94.  
  95. Open.Name = "Open"
  96. Open.Parent = SpeedChangerGuibyVizev
  97. Open.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  98. Open.BackgroundTransparency = 0.700
  99. Open.BorderColor3 = Color3.fromRGB(0, 0, 0)
  100. Open.BorderSizePixel = 0
  101. Open.Position = UDim2.new(-2.08169022e-05, 0, 0.59321022, 0)
  102. Open.Size = UDim2.new(0, 82, 0, 37)
  103. Open.Font = Enum.Font.Arial
  104. Open.Text = "Open"
  105. Open.TextColor3 = Color3.fromRGB(85, 255, 0)
  106. Open.TextScaled = true
  107. Open.TextSize = 14.000
  108. Open.TextWrapped = true
  109.  
  110. UICorner_5.CornerRadius = UDim.new(0, 110)
  111. UICorner_5.Parent = Open
  112.  
  113. -- Scripts:
  114.  
  115. local function NYQPREF_fake_script() -- ThisImage.Drag
  116.     local script = Instance.new('LocalScript', ThisImage)
  117.  
  118.     local UserInputService = game:GetService("UserInputService")
  119.    
  120.     local gui = script.Parent
  121.    
  122.     local dragging
  123.     local dragInput
  124.     local dragStart
  125.     local startPos
  126.    
  127.     local function update(input)
  128.         local delta = input.Position - dragStart
  129.         gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  130.     end
  131.    
  132.     gui.InputBegan:Connect(function(input)
  133.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  134.             dragging = true
  135.             dragStart = input.Position
  136.             startPos = gui.Position
  137.            
  138.             input.Changed:Connect(function()
  139.                 if input.UserInputState == Enum.UserInputState.End then
  140.                     dragging = false
  141.                 end
  142.             end)
  143.         end
  144.     end)
  145.    
  146.     gui.InputChanged:Connect(function(input)
  147.         if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  148.             dragInput = input
  149.         end
  150.     end)
  151.    
  152.     UserInputService.InputChanged:Connect(function(input)
  153.         if input == dragInput and dragging then
  154.             update(input)
  155.         end
  156.     end)
  157. end
  158. coroutine.wrap(NYQPREF_fake_script)()
  159. local function TTKY_fake_script() -- Close.Script
  160.     local script = Instance.new('Script', Close)
  161.  
  162.     script.Parent.MouseButton1Click:Connect(function()
  163.         ThisImage.Visible = false
  164.         local ny = nyan
  165.         ny:Pause()
  166.     end)
  167. end
  168. coroutine.wrap(TTKY_fake_script)()
  169. local function XHZUC_fake_script() -- SpeedChangerGuibyVizev.LocalScript
  170.     local script = Instance.new('LocalScript', SpeedChangerGuibyVizev)
  171.  
  172.     function NOTIFY(title, text, icon, time)
  173.         return game.StarterGui:SetCore("SendNotification", {
  174.             Title = title;
  175.             Text = text;
  176.             Icon = icon;
  177.             Duration = time
  178.         })
  179.     end
  180.    
  181.     local Humanoid = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  182.    
  183.     NOTIFY("Vizev made this :O", "https://creations.mtdv.me/click-for-information-","rbxassetid://18690228161",110)
  184.    
  185.     local thisImage = script.Parent.ThisImage
  186.     local speedBox = thisImage.Speed
  187.     local confirm = thisImage.Confirm
  188.    
  189.     game.StarterGui:SetCore("DevConsoleVisible", true)
  190.  
  191.     warn'made by vizev!'
  192. end
  193. coroutine.wrap(XHZUC_fake_script)()
  194. local function IVKEGP_fake_script() -- SpeedChangerGuibyVizev.LocalScript
  195.     local script = Instance.new('LocalScript', SpeedChangerGuibyVizev)
  196.  
  197.     local thisImage = script.Parent.ThisImage
  198.     local speedBox = thisImage.Speed
  199.     local confirm = thisImage.Confirm
  200.    
  201.     local Humanoid = game.Players.LocalPlayer.Character.Humanoid
  202.    
  203.     confirm.MouseButton1Click:Connect(function()
  204.         local Speed = tonumber(speedBox.Text)
  205.        
  206.         Humanoid.WalkSpeed = Speed
  207.     end)
  208. end
  209. coroutine.wrap(IVKEGP_fake_script)()
  210. local function ERDPVLS_fake_script() -- Open.Script
  211.     local script = Instance.new('Script', Open)
  212.  
  213.     script.Parent.MouseButton1Click:Connect(function()
  214.         SpeedChangerGuibyVizev.ThisImage.Visible = true
  215.         local ny = nyan
  216.         ny:Resume()
  217.     end)
  218. end
  219. coroutine.wrap(ERDPVLS_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement