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 » Scripters
Home Search
 

Re: Global Gui?

Previous Thread :: Next Thread 
Mr_Clockwork is not online. Mr_Clockwork
Joined: 25 Feb 2016
Total Posts: 897
09 May 2016 07:45 PM
I'm working on a game and i got my whole gui done, but the problem is i want the values to be with all the players, which means i have to add some sort of global value which could change my whole gui anyone know how it would be done?
Report Abuse
lululukas is not online. lululukas
Joined: 23 Aug 2010
Total Posts: 1043
09 May 2016 07:48 PM
just clone the gui to all the players PlayerGuis...
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
09 May 2016 07:50 PM
The best way to do this is through RemoteEvents.
Report Abuse
Mr_Clockwork is not online. Mr_Clockwork
Joined: 25 Feb 2016
Total Posts: 897
09 May 2016 07:50 PM
well thats not that hard, but i have a value thats bassically an item stock, but i cant just have someone buy the item 3 times, i want 3 differnt people to buy it
Report Abuse
Mr_Clockwork is not online. Mr_Clockwork
Joined: 25 Feb 2016
Total Posts: 897
09 May 2016 07:51 PM
@agentfirefox, idk how to use remote events
Report Abuse
lululukas is not online. lululukas
Joined: 23 Aug 2010
Total Posts: 1043
09 May 2016 07:57 PM
when something happens you just change that one persons gui.
Report Abuse
Mr_Clockwork is not online. Mr_Clockwork
Joined: 25 Feb 2016
Total Posts: 897
09 May 2016 08:03 PM
so still that would mean i would have to use a remote event
Report Abuse
lululukas is not online. lululukas
Joined: 23 Aug 2010
Total Posts: 1043
09 May 2016 08:04 PM
Yes
Report Abuse
scottmike0 is not online. scottmike0
Joined: 14 Sep 2008
Total Posts: 1073
09 May 2016 08:20 PM
you do not need to do this through global events, you want everyone to have the same player GUi, then place it in starter Gui

if you want the Gui to only appear once then make it a clone of it
Report Abuse
lululukas is not online. lululukas
Joined: 23 Aug 2010
Total Posts: 1043
09 May 2016 08:28 PM
^ He wants everyone to have a different gui, kinda like how much money you have. Every player won't have the same amount, therefore the gui has to change for that 1 person.
Report Abuse
Phonicz is not online. Phonicz
Joined: 10 Apr 2010
Total Posts: 400
09 May 2016 08:28 PM
Best way is to set a variable of some sort, boolean, num, etc in the workspace or somewhere like that and in the gui just use that as the path for it.
Report Abuse
WoolHat is not online. WoolHat
Joined: 19 May 2013
Total Posts: 1873
09 May 2016 08:34 PM
Place a variable object into ReplicatedStorage; have localscripts in the gui to change when the object is changed. blah blah. Something something send remoteevent to server blah verify change blah the change event solves itself blah
Report Abuse
Mr_Clockwork is not online. Mr_Clockwork
Joined: 25 Feb 2016
Total Posts: 897
10 May 2016 03:50 PM
@wool, i was thinking that too, just make a folder for each seprate item in the folder and add a value and if one person buys the item it will remove 1 value from the stock value, then it should work, but the problem is idk how to make it globaly remove 1 value once one person buys it
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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