generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

Does anyone have a brick where

Previous Thread :: Next Thread 
Aversus is not online. Aversus
Joined: 26 Oct 2013
Total Posts: 11013
18 Mar 2015 01:38 PM
When you click the brick a pop up GUI appears and says whatever text you want, and the GUI stays on your screen until you X it out?

I cant find any in Free Models. One would be greatly appreciated.
Report Abuse
championbuilder is online. championbuilder
Joined: 20 Jan 2009
Total Posts: 13544
18 Mar 2015 01:49 PM
Easiest to clone a gui to the player.

Make the GUI in StarterGui first, then put it in the brick you want to click.

Then put a script in the brick, with a clickdetector as well and put this in the script.


GUI = script.Parent.ScreenGui
script.Parent.ClickDetector.MouseClick:connect(function(click)
GUI:clone().Parent = click.PlayerGui
end)
Report Abuse
championbuilder is online. championbuilder
Joined: 20 Jan 2009
Total Posts: 13544
18 Mar 2015 01:50 PM
you can do it without a ClickDetector by using a localscript to get the players mouse.

mouse = game.Players.LocalPlayer:GetMouse()

mouse.Button1Down:connect(function()

end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image