I am helping build a holo training centre and I need a script to run in the lighting.
-Added
Can I clone with
Script:Clone().Parent = game.workspace
?
I am helping build a holo training centre and I need a script to run in the lighting.
-Added
Can I clone with
Script:Clone().Parent = game.workspace
?
Nope. Impossible. Clone it into Workspace.
game.Lighting.SCRIPTNAME:Clone().Parent = game.Workspace
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Thanks but I don't know the root. is it possible to do Script:Clone().Parent = Game.Workspace?
Well SCRIPTNAME is the name of the script. If the name of the script you are cloning is named "Script" then yes you are correct.