//Make a new hook that runs code for each player constantly
addHook("PlayerThink", function(p)
// Sets actionspd to the player's speed, duh
// Using p.speed as actionspd makes the resulting action kind of weak, so I would recommend multiplying it by whatever factor you see fit as I did.
p.actionspd = p.speed * 3
end)