Advertisement
Zwiebelle1301706

Untitled

Mar 19th, 2024
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. Speed sldier script --
  2.  
  3. local Slider = PlayerTab:CreateSlider({
  4.     Name = "WalkSpeed",
  5.     Range = {1, 10},
  6.     Increment = 1,
  7.     Suffix = "Speed",
  8.     CurrentValue = 10,
  9.     Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  10.     Callback = function(Value)
  11.      game.Players.LocalPlayer.Character:SetAttribute("SpeedMultiplier", Value)
  12.     end,
  13.  })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement