local Module = require (script.Parent.RoundModule)
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
local speedstat = char.IntValues.Speed.Value
local speed = speedstat*0.75
print(speed)
char.Humanoid.WalkSpeed = speed
print("PlayerAdded")
table.insert(Module.plrs, char)
print("PlayerAddedToTable")
end)
end)
I need to set the walkspeed depending on the speed stat the player has, when I check the player in explorer it sets the walkspeed fine (in this case its 7.5 because 10x0.75) but asoon as I make a movement the walkspeed sets to 14. I’ve tried adding different values i.e 5, 20, 15, 1 and each time it sets fine, but when I move it sets back to 14.