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: Script only works locally...

Previous Thread :: Next Thread 
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
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
ToasterCoder is not online. ToasterCoder
Joined: 28 Aug 2015
Total Posts: 137
14 Oct 2015 11:47 PM
Post the code
Report Abuse
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
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
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
15 Oct 2015 11:39 PM
Switch to local script and see.
Report Abuse
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
15 Oct 2015 11:47 PM
I tried, no difference :(
Report Abuse
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
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
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
15 Oct 2015 11:54 PM
Post your code/errors
Report Abuse
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
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
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
16 Oct 2015 08:40 PM
Bump
Report Abuse
Casualist is not online. 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
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
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
kidchaos24 is not online. kidchaos24
Joined: 02 Feb 2011
Total Posts: 169
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
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