Still have questions? Join our Discord server and get real time help.
Log in to vote

why aren't cloned scripts from Lighting or ReplicatedStorage running ?

Asked by 8 months ago

I'm trying to clone a script from either game.Lighting or game.ReplicatedStorage and then run it. The game properly clones the script into game.Workspace, but it does not run it. The script is very simple, something like :

while wait() do
    print("Hello world!")   

I'm puzzled, no idea why this is happening. The "disabled" property is turned to false, so that's not the issue. Pls help.

can you show us the script you're using to clone it? also what kind of script, and where is it. DinozCreates 748 — 8mo
maybe try setting it to disabled in replicatedstorage then when cloning it enable it when its parent is workspace. zor_os 70 — 8mo
@Dinoz : it's a LocalScript, located in StarterGui. When you press a certain key, it clones the script and parent it to Workspace. The script is initially disabled. After cloning and parenting, it gets enabled. proclet 7 — 8mo
Use a ServerScript for clone items from ReplicatedStorage/Lighting. yHasteeD 1624 — 8mo

Answer this question