I have a game with a vip game pass which gives you extra speed. I also have a game pass for a speed coil, but when I unequip the speed coil, my speed gets reset to 16, or whatever number I choose to put in the speed coil script for when the speed coil is unequipped. So how can I make it so that when I unequip the speed coil, my speed goes back to my original speed that I had before I equipped the speed coil so that it works for both people who have that initial extra speed from the vip game pass and people who don't own the game pass and have normal speed?
This is the part from the speed coil script for when it's unequipped:
while tool~=nil and tool.Parent==sp and h~=nil do
sp.ChildRemoved:wait()
end
local h=sp:FindFirstChild("Humanoid")
if h~=nil then
h.WalkSpeed=originalwalkspeed
end
end
