Here's my script
01 | local char = script.Parent.Parent |
02 | local hum = char:FindFirstChild( "Humanoid" ) |
03 | local pet = script.Parent |
04 | local maxFloat = 0.5 |
05 | local floatInc = 0.025 |
06 | local sw = false |
07 | local fl = 0 |
08 | local head = char:FindFirstChild( "Head" ) |
09 |
10 |
11 | --I don't know what to write here to increase the rate it's gained-- |
12 |
13 |
14 |
15 |
16 |
17 |
18 | ------------------------------ |
Hmm maybe
01 | local char = script.Parent.Parent |
02 | local hum = char:FindFirstChild( "Humanoid" ) |
03 | local pet = script.Parent |
04 | local maxFloat = 0.5 |
05 | local floatInc = 0.025 |
06 | local sw = false |
07 | local fl = 0 |
08 | local head = char:FindFirstChild( "Head" ) |
09 | local Humanoid = char:FindFirstChild( "Humanoid" ) --I didn't know if char is the Player or the pet so.... |
10 |
11 | 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?