local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local hand = player.Character.Humanoid:GetAccessories()[1]
mouse.Button1Down:Connect(function()
hand.CFrame = CFrame.new(hand.Position, mouse.Hit.p)
end)
That is my script to make my arm follow my mouse. I am getting this error though: 21:28:52.305 Players.name.PlayerScripts.LocalScript:3: attempt to index nil with 'Humanoid' - Client - LocalScript:3 21:28:52.305 Stack Begin - Studio 21:28:52.305 Script 'Players.name.PlayerScripts.LocalScript', Line 3 - Studio - LocalScript:3 21:28:52.305 Stack End - Studio
Can you please help me? Thanks!

2 comments
But sometimes, CharacterAdded will fire even when the character model's parent is nil (or not parented to the workspace yet)
Nope, still the same message.