beinas
|
  |
| Joined: 16 Feb 2015 |
| Total Posts: 3017 |
|
|
| 10 Aug 2015 03:13 AM |
So, I use a surface GUI with a button connection to a new GUI in the lighting. function onClick(mouse) if game.Lighting.SceenGui.Label.Visible == true then script.Parent.Parent.Lab1.Visible = false--visible script.Parent.BackgroundColor = BrickColor.new("Bright green") script.Parent.Text = "Music Player" end end script.Parent.MouseButton1Click:connect(onClick)
If anyone has any suggestions or a different script please message me. |
|
|
| Report Abuse |
|
|
Ghorre
|
  |
| Joined: 15 Feb 2015 |
| Total Posts: 160 |
|
|
| 10 Aug 2015 03:14 AM |
"if game.Lighting.SceenGui.Label.Visible == true then"
SceenGui? Typo?
If it's not that - post what the problem is...
GOD is a DJ |
|
|
| Report Abuse |
|
|
beinas
|
  |
| Joined: 16 Feb 2015 |
| Total Posts: 3017 |
|
|
| 10 Aug 2015 03:20 AM |
| ScreenGui is what I am trying to connect it to. But on the SurfaceGui it doesn't open the GUI from the lighting. I am trying to create a new interface for music player. Click SurfaceGui then opens a new on the players screen and you can change music, volume etc. |
|
|
| Report Abuse |
|
|
| |
|
beinas
|
  |
| Joined: 16 Feb 2015 |
| Total Posts: 3017 |
|
|
| 10 Aug 2015 03:35 AM |
| Yeah, I just fixed my typo I still cannot get it to work |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 10 Aug 2015 06:05 AM |
why do you have a screen gui in lighting
FilteringDisabled is for squares |
|
|
| Report Abuse |
|
|
| |
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 10 Aug 2015 06:08 AM |
Future you need to stop giving people advice. Everything I've seen you post today about scripting is either incorrect, inefficient, or deprecated.
FilteringDisabled is for squares |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 06:08 AM |
| you have something against me? |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 10 Aug 2015 06:10 AM |
No, I just think you're incompetent and shouldn't assist people with scripting. Not saying that you're a bad scripter, you could be tired or something, idk, but every post you've made today has given me a cancer.
FilteringDisabled is for squares |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 06:11 AM |
| yeah, you have something against me... |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 10 Aug 2015 06:12 AM |
that's not something against you. I personally have no issue with your personality or anything like that, you're just an incompetent scripter :/
FilteringDisabled is for squares |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 06:14 AM |
| you must have something against me since I'm not close to an incompetent scripter. But i guess it's your opinion :l |
|
|
| Report Abuse |
|
|
Zentoc
|
  |
| Joined: 15 Aug 2012 |
| Total Posts: 126 |
|
|
| 10 Aug 2015 06:15 AM |
| stop posting irrelevant things on this thread. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 06:20 AM |
| i know storing a UI in lighting is inefficient but i was just answering your question :P |
|
|
| Report Abuse |
|
|
beinas
|
  |
| Joined: 16 Feb 2015 |
| Total Posts: 3017 |
|
|
| 12 Aug 2015 06:26 PM |
| Future is correct I was storying a UI. So your wrong. |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 13 Aug 2015 04:37 AM |
@beinas, No, I'm not wrong, but storing a GUI in lighting is inefficient. They made server and replicated storage for a reason. |
|
|
| Report Abuse |
|
|
|
| 13 Aug 2015 07:10 AM |
"storing a GUI in lighting is inefficient"
it's not necessarily inefficient, it's just terribly outdated |
|
|
| Report Abuse |
|
|
KingJacko
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 3944 |
|
|
| 13 Aug 2015 07:18 AM |
"just terribly outdated" "just" "JUST"
um. That still makes it a worse place to store instances. |
|
|
| Report Abuse |
|
|
|
| 13 Aug 2015 08:14 AM |
does ReplicatedStorage have some special feature that makes storing things in it more efficient?
I know ServerStorage is server only so that's an advantage for some things |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 13 Aug 2015 12:12 PM |
| Replicated storage is for when you're using filteringenabled and need instances to be available to client and server. |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 13 Aug 2015 12:12 PM |
| It's also the common storage place for remoteevents and remotefunctions |
|
|
| Report Abuse |
|
|
|
| 13 Aug 2015 12:23 PM |
ReplicatedStorage > Lighting
Roblox made ReplicatedStorage for a reason and it's to get rid of people storing their stuff in Lighting.
http://wiki.roblox.com/index.php?title=API:Class/ReplicatedStorage
"A container whose contents are replicated to the server and all connected clients. This is an intended replacement of the Lighting service as a storage place for ROBLOX assets, such as models." |
|
|
| Report Abuse |
|
|
|
| 13 Aug 2015 01:13 PM |
Lighting should only be used for Lighting.
"who needs themes when you have memes" |
|
|
| Report Abuse |
|
|