For some reason, My script gives me the error 'Attempt to index nil with 'Position' '?? And i dont know how to fix it, here is the part thats giving me the error
Error part:
Character:FindFirstChild('HumanoidRootPart').Position.Changed:Connect(function()
And variables if it matters
local Player = game.Players.LocalPlayer
local Character = Player.Character

8 comments
Try using waitforchild instead of find first child, the hrp may npt have loaded in yet
Lemme try
it didnt work. as if its infinitely searching and doesnt find it
where is the script stored?
answered, check it out
Make sure it's a local script
I changed my answer!
no read the article