Script can't change "humanoid:ChangeState"

okay. basically i was trying to make scriptserver make you paralyze when you are currently freefall.
However scriptserver can’t change it instead localscript can change it

Script can’t change humanoid:ChangeState
Local can change humanoid:ChangeState
and no there is no error. just a print

local player = game:FindFirstChild("Players")
while task.wait() do
for _, playedr in pairs(player:GetPlayers()) do
	local playerinstance = workspace:FindFirstChild(playedr.Name)
	if playerinstance then
	local humanoid = playerinstance:FindFirstChild("Humanoid")
	if humanoid:IsA("Humanoid") and humanoid then
		humanoid:ChangeState(Enum.HumanoidStateType.Physics)
		print("Paralyze yuorself")
	else
		print("dang ")
	end
	end
		end
	end

nvm i fixed it, i fixed localscripts

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.