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)
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)
uhh
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?
don't spoonfeed
not sure what that means but okay
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)
don't spoonfeed it gives no actual value to the asker
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
This is not very constructive.. did you even try to write the script yourself before posting? This is not a request forum. I will say that you need to start with the .Touched:Connect function and then use a remote event to connect the gui opening.
Attempt it or hire someone to do it, no one is going to do it here for free.