New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

How do I make a gui open from a touch of a brick? [closed]

Asked by 12 days ago
Edited 12 days ago

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)

0
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. FallenZalio 33 — 11d
0
Attempt it or hire someone to do it, no one is going to do it here for free. SimplifiedCode 205 — 9d

Closed as Not Constructive by SimplifiedCode and Azarth

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
2
Answered by 11 days ago

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?

0
don't spoonfeed BashCaster 2371 — 11d
0
not sure what that means but okay RedWirePlatinum 31 — 11d
Ad
Log in to vote
0
Answered by 11 days ago

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)
0
don't spoonfeed it gives no actual value to the asker BashCaster 2371 — 11d