|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
| |
|
|
| 11 Aug 2015 01:52 PM |
| Neither of those worked, it still is invisible in play mode. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|