Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can i make a ScreenGUI pop up when a play collides with a brick?

I want a notification to pop up whenever a player touches a brick, to tell them where they are in the map.

3 comments

0

I suggest that you check out the Touch events of parts on the ROBLOX Wiki, as well as the visible properties of GUI's, the positioning properties of GUI's, and brick positioning. That is pretty much all you will need!

0

Make an effort then you can be helped.

0

Use a touched event with the part then have the GUI in ServerStorage be cloned to the Player's PlayerGui

2 answers

I will give you the touched event

Part.Touched:connect(function()

End) -- Change Part to the part you want it to touch.

I am positive that is the event I am on mobile so I can not check

1 comment

0

Also make sure End is end

No you make a local script and then put in

Part.Touched:connect(function()
      script.Parent.Frame.Visible = true
end)

2 comments

0

I dont know abot the mao part tho

0

aaron, You would have to clone the GUI into the player's screen or else it will pop up for everyone.

This discussion is preserved as it was. New answers, comments, and votes are closed.