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

Why wont the seat make the funcion clear? [closed]

Asked by 3 years ago

This question already has an answer here:

Why wont the seat make the funcion clear?

so bassicly whenever is it i want it to make a sound and when i leave the seat its makes a sound but it doesnt work

01local a = script.Parent.Unsits
02local b = script.Parent.Sits
03local c = script.Parent
04 
05 
06 
07 
08if c.Occupant ~= nil then
09        b:Play()
10 
11    end
12    if c.Occupant == nil then
13        a:Play()
14    end

Marked as Duplicate by JesseSong

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?