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

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

Asked by 4 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!")   
end

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

0
can you show us the script you're using to clone it? also what kind of script, and where is it. DinozCreates 746 — 4mo
0
maybe try setting it to disabled in replicatedstorage then when cloning it enable it when its parent is workspace. zor_os 70 — 4mo
0
@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 — 4mo
0
Use a ServerScript for clone items from ReplicatedStorage/Lighting. yHasteeD 1547 — 4mo

Answer this question