✓ Accepted answer
Your script shows a lack of attempt, but I can help with the solving of your problem.
You can use the ChildAdded event for the seat.
SeatLocationHere.ChildAdded:connect(function()
end)
Now that a weld is in place (done automatically by ROBLOX), we can find the humanoid occupying the seat.
SeatLocationHere.ChildAdded:connect(function()
plr = game.Players:GetPlayerFromCharacter(SeatLocationHere.Occupant.Parent)
end)
Finally, we will want to change the GUI property to show the item as visible.
SeatLocationHere.ChildAdded:connect(function()
plr = game.Players:GetPlayerFromCharacter(SeatLocationHere.Occupant.Parent)
plr.PlayerGui.Gui.Frame.Visible = true
end)
Next time, when posting on this site, have a better attempt at making a script, otherwise you will get downvoted and your question may get marked as Not Constructive.
1 comment
When the humanoid sits or when the player comes in contact with a part? Because if it's the humanoid sitting you'd need to do humanoid.Changed. If it's not then you'd need to use player.Touched and player.TouchedEnded