How do I make a Gui appear when player sits on Vehicle seat? if script.Parent.Occupant then
if script.Parent.Occupant then
local player = game.Players.LocalPlayer
player.PlayerGui.ScreenGui.Enabled = true
else
if not sript.Parent.Occupant then
player.PlayerGui.ScreenGui.Enabled = false
end
end

5 comments
That is the script i made and seem not to work
Please help
whats the event? is it changed or touched
Changed
local scripts don't run in workspace, put it into the StarterPlayerScripts to be pro or StarterGui for simplicity.