You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I would like to be able to anchor the player in script. -
What is the issue? Include screenshots / videos if possible!
It gives me the following error =attempt to index nil with 'Anchored'
local player = game.Players.LocalPlayer
player.Character:FindFirstChild("HumanoidRootPart").Anchored = true
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried searching around, found nothing