I made a post about a Jump Power script and found the answer so I copy and pasted and adjusted the code a bit but it does not work for a speed totem.
local Tool = script.Parent
local Power = 25
local default = 16
local Character = Tool.Parent
Character.Humanoid.WalkSpeed = Power
local Character = Tool.Parent.Parent.Character
Character.Humanoid.WalkSpeed = default
Make sure script.Parent is referencing the tool rather than a brick or something. Make sure you put it directly in a tool. Do you have any errors in your output?
Nope no errors
The script refers to the tool
It teleports you somewhere and your just stuck there
Make sure you unanchor your everything in your tool.
Is there another work around because now my totem looks weird
In my other totem it worked without everything being unanchored
Use Perfection Weld or something. Typically everything is unanchored and then welded. That’s what tools are.