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

0

this should be able to work, what's the problem you're encountering?

0

They're just sitting, it's not working or erroring

0

im just gonna kill them for the meantime

0

nevermind thats not working either

0

nvm fixed it