Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Speed sldier script --
- local Slider = PlayerTab:CreateSlider({
- Name = "WalkSpeed",
- Range = {1, 10},
- Increment = 1,
- Suffix = "Speed",
- CurrentValue = 10,
- 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
- Callback = function(Value)
- game.Players.LocalPlayer.Character:SetAttribute("SpeedMultiplier", Value)
- end,
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement