Note: I need the gui to stay in a seat so I cannot bring the gui into the brick that I want the gui to open from.
2016 Ford Police Interceptor Sedan>Driveseat>SirenControl (Gui that I want to open)
part.Touched:connect(function(hit) if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then guiname.frame.Visible = true end end)
can this help?
This should be worked paste it to StarterGui as LocalScript
Part = game.Workspace. GUI = game. Play = game.Players kale.Touched:connect(function (hit) if hit.Parent and game.Players:FindFirstChild(hit.Parent.Name) then Play = game.Players[hit.Parent.Name] if Play:FindFirstChild("PlayerGui") and not Play.PlayerGui:FindFirstChild(GUI.Name) then GUI:Clone().Parent = Play.PlayerGui end end end)