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

How do I make a Gui appear when player sits on Vehicle seat?

Asked by 3 years ago
Edited 3 years ago

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
0
That is the script i made and seem not to work Zsark12 3 — 3y
0
Please help Zsark12 3 — 3y
0
whats the event? is it changed or touched Lowmeister 11 — 3y
0
Changed Zsark12 3 — 3y
0
local scripts don't run in workspace, put it into the StarterPlayerScripts to be pro or StarterGui for simplicity. imKirda 4491 — 3y

Answer this question