Open Lncvrt opened 3 months ago
Doing this won't even fix it
MovementTab:CreateSlider({
Name = 'Speed',
Range = {1, 25},
Increment = 0.5,
Suffix = 'Modifier',
CurrentValue = 1.0,
Flag = 'SpeedSlider',
Callback = function(Value)
player.Character.Humanoid.WalkSpeed = Value * 16
end,
})
MovementTab:CreateSlider({
Name = 'Jump Power Modifier',
Range = {1, 10},
Increment = 0.5,
Suffix = 'Modifier',
CurrentValue = 1.0,
Flag = 'JumpPowerSlider',
Callback = function(Value)
player.Character.Humanoid.JumpPower = Value * 50
end,
})
MovementTab:CreateSlider({
Name = 'Gravity Modifier',
Range = {-25, 25},
Increment = 0.5,
Suffix = 'Modifier',
CurrentValue = 1.0,
Flag = 'GravitySlider',
Callback = function(Value)
game.Workspace.Gravity = Value * 196.2
end,
})
When I load my script, the default values should look like:
But they actually look like
Code: