I'm encountering a little bug in my game and I just want to know how to unsit someone with a function/event if they touch something.
My code for the sit property:
BackToSpawnA.Touched:Connect(function(UnSit)
if UnSit and UnSit.Parent:FindFirstChild("Humanoid") then
UnSit.Parent.Humanoid.Sit = false

5 comments
this should be able to work, what's the problem you're encountering?
They're just sitting, it's not working or erroring
im just gonna kill them for the meantime
nevermind thats not working either
nvm fixed it