Why doens’t this work? I’m literally defining a player,
If char => script.Parent then player should be script.Parent.parent
Script: Inside of the Player, (workspace.PlayerName.Script)
local char = script.Parent
local plr = script.Parent.Parent
local hum = char.Humanoid
while wait() do
if hum.Sit == true then
script.RemoteEvent:FireClient(plr, "dis")
else
script.RemoteEvent:FireClient(plr, "ena")
end
end