So I have this script that some people help me with. (Thank you to all who did. :D) The script that I made is not working.
script.Parent.Changed:connect(function(property)
local occupant = script.Parent.Occupant
if occupant then
local character = occupant.Parent
local player = game.Players:GetPlayerFromCharacter(character)
if player then
local gui = player.PlayerGui["Catalog GUI"]
gui.MainHolder.Visible = true
end
end
end)

1 comment
Anyway to make it so that when they get off the seat, it closes?