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: Gui Script not working in Play mode?

Previous Thread :: Next Thread 
ShahDarius is not online. ShahDarius
Joined: 28 Oct 2011
Total Posts: 83
11 Aug 2015 06:37 AM
I made a simple gui script (it's just a local script that adds in a gui) and it works when I use test mode, but when I enter on play mode the gui isn't even there.
Here's the place with the issue, tell me if you see the gui or not: http://www.roblox.com/games/278587685/Persian-Place

What should I do to fix this?
Report Abuse
FIares is not online. FIares
Joined: 07 Nov 2010
Total Posts: 641
11 Aug 2015 06:39 AM
Try switching to a server script.


Check out my in-game scripting tutorial! [ 279086510 ]
Report Abuse
ShahDarius is not online. ShahDarius
Joined: 28 Oct 2011
Total Posts: 83
11 Aug 2015 06:51 AM
I think that might mess up the purpose of my script (which is to input tools into a players backpack via gui) but I'll try it nonetheless.
Report Abuse
Modoveex is not online. Modoveex
Joined: 21 Mar 2009
Total Posts: 8057
11 Aug 2015 07:23 AM
-- ServerStorage is not a valid member of DataModel
-- Script 'Players.Modoveex.PlayerGui.LocalScript', line 30
-- Stack End

You cannot access ServerStorage from client-side scripts. You'll have to move the items you're looking for to ReplicatedStorage or another client-side accessible storage location.
Report Abuse
ShahDarius is not online. ShahDarius
Joined: 28 Oct 2011
Total Posts: 83
11 Aug 2015 07:39 AM
Thank you so much!
Report Abuse
ShahDarius is not online. ShahDarius
Joined: 28 Oct 2011
Total Posts: 83
11 Aug 2015 01:52 PM
Neither of those worked, it still is invisible in play mode.
Report Abuse
InsidersNetwork1001 is not online. InsidersNetwork1001
Joined: 25 Nov 2013
Total Posts: 1875
11 Aug 2015 01:57 PM
Do not post this here.
"This is the place for discussion about scripting. Anything about scripting that is not a help request or topic belongs here."- Scripters Forum Desc


InsidersNetwork1001 : Reskin Maker #NOFLOOR #DYNABLOX #NODEVENTS
Report Abuse
ShahDarius is not online. ShahDarius
Joined: 28 Oct 2011
Total Posts: 83
12 Aug 2015 04:17 AM
This is not a help request, although help is needed I'm asking whether anyone else has had this issue and found their own way to combat it.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
12 Aug 2015 05:47 AM
Post the code.

You need to use replicatedFirst or ReplicatedStorage if you want to clone in a gui to a player via local script.


"Talk is cheap. Show me the code." - Linus Torvalds
Report Abuse
ShahDarius is not online. ShahDarius
Joined: 28 Oct 2011
Total Posts: 83
12 Aug 2015 09:19 AM
I am going to sound so silly for saying this, but the issue was that in studio your camera is more zoomed out than in play mode. So the issue was that the gui was off the screen. However, now one of my weapons isn't working right...but I'm sure I'll figure it out.
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