I am trying to make a script that will unanchore every players humanoid rootpart on a NumberValue changed. The problem is I dont know how to refer to a players character.
To get a players character
Client
Player, starter pack and player gui
game.Players.LocalPlayer:WaitForChild("Character")
Server
ServerScriptService and workspace
--When a player is added, works on client too but might not in workspace game.Players.PlayerAdded:Connect(function(player) --Action end) --or, this uses touched event since there is no other way local players = game:GetService("Players") part.Touched:Connect(function(hit) local player =players:GetPlayerFromCharacter(hit.Parent) end)