|
| 14 Oct 2015 11:47 PM |
A script(not local script) should fire whenever a value is changed. The script should change the text of a TextLabel in Workspace. In Solo Mode, it works fine. However, when I create a server in Studio, it doesn't work. Why is this? |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Oct 2015 11:37 PM |
| Basically, there is a script inside a TextLabel which is inside a surfacegui which is inside a part. What's suppose to happen is that that part gets pasted into workspace along with the surfacegui. Everything gets pasted except for the script. The thing that pastes the part is inside a gui. |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2015 11:39 PM |
| Switch to local script and see. |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Oct 2015 11:49 PM |
| The script shows up the the localplayer tab in studio(when you test solo) but not on the server one. |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Oct 2015 12:06 AM |
The thing is, there are no errors. I did a test, and it seems like LocalScripts can't clone scripts at all. |
|
|
| Report Abuse |
|
|
| |
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 16 Oct 2015 08:42 PM |
Post code. It could be a thousand things. You can't debug it with the code, yet you expect us to be able to debug without?
Post the code. |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2015 11:23 PM |
My test didn't work either. I made a new game. Nothing in it except the default stuff. Added a script named TestScript and made a gui and added another script in the Gui.
wait(1) local clonetest = game.Workspace.TestScript:Clone() clonetest.Parent = game.Workspace
Then I tested in Studio with a server. In the player window, a copy of TestScript was in Workspace but in the sever window, there was only one script. |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2015 01:17 AM |
So i'll assume you don't need help due to you ignoring basic instruction. Post. The. Code. |
|
|
| Report Abuse |
|
|