Can somene help me about the problem that im having now because i tried to make slow effect in my script and i make for example -10 Walkspeed and for 2 sec i want it to back the normal walkspeed i try to make this for example:
player.Parent.Humanoid.WalkSpeed = -10 wait(2) player.Parent.Humanoid.Walkspeed = 16
but this code will make the npc more fast and i want it to back there normal walkspeed for example npc only have 10 Walkspeed and it will back the 10 normal speed but if the code is like my example it will make him +6 faster so does anyone know about a code that make player or npc back there normal speed?

3 comments
use -10 first, then +10 or store the original value so you can restore it later
i'll try to test
it didn't work because its giving me red warning uhhm can i ask how to store value?