How do you get the player character or it’s children properties, i try to make a script that check if player head X axis >= 120 then it will trigger function, but building the script already have an issue.
--- local script, on startercharacterscript
repeat task.wait() until game:IsLoaded()
local player = game:GetService("Players").LocalPlayer
local char = player.Character
local head = char:WaitForChild("Head")
print("Run")
head:GetPropertyChangedSignal("Position"):Connect(function()
print("okay?")
end)