Here's my script
local char = script.Parent.Parent local hum = char:FindFirstChild("Humanoid") local pet = script.Parent local maxFloat = 0.5 local floatInc = 0.025 local sw = false local fl = 0 local head = char:FindFirstChild("Head") --I don't know what to write here to increase the rate it's gained-- ------------------------------
Hmm maybe
local char = script.Parent.Parent local hum = char:FindFirstChild("Humanoid") local pet = script.Parent local maxFloat = 0.5 local floatInc = 0.025 local sw = false local fl = 0 local head = char:FindFirstChild("Head") local Humanoid = char:FindFirstChild("Humanoid") --I didn't know if char is the Player or the pet so.... Humanoid.Walkspeed = Humanoid.Walkspeeed +5 --Depends On the Rarity of the Pet
Closed as Too Broad by alphawolvess, namespace25, and DeceptiveCaster
This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.
Why was this question closed?