Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Do You Set A Player's Sit Property To False With A Script?

Asked by 3 years ago

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
0
this should be able to work, what's the problem you're encountering? holamii2 45 — 3y
0
They're just sitting, it's not working or erroring SuperSM1 67 — 3y
0
im just gonna kill them for the meantime SuperSM1 67 — 3y
0
nevermind thats not working either SuperSM1 67 — 3y
0
nvm fixed it SuperSM1 67 — 3y

Answer this question