Hello! I wanted to know how to fix this. Looks normal if you say so. However, what I've encountered was when I fall into the void, it sends that error, breaking the script and no longer able to run. How do I fix this? Thanks. Also, it is run on a loop so don't know how to reset it and make it work again then to leave and rejoin.
local distance = (player.Character.HumanoidRootPart.Position - Floaty.PrimaryPart.Position).Magnitude

1 comment
Thank you