Okay so I get how to use game.Lighting as storage but I don't know how to use clone(). Please explain how to use clone().
✓ ANSWER ACCEPTED
How do I use Clone() instead of lighting?
2 answers
✓ Accepted answer
Clone()ing is like copying and pasting, I'll show you an example
local buttonPart = script.Parent
buttonPart.Touched:connect(function(hit) --Waits for the button part to be touched
if hit.Parent:FindFirstChild("Humanoid") then --If a player hit it, then continue
local clonePart = game.Lighting.Part:Clone() --Cloning the part
clonePart.Parent = Workspace --Placing the part in the Workspace
wait(5) --Waiting to destroy the part
clonePart:remove() --Destroying the part
end
end)
And you can modify all of the proprieties of the part like you would normally with a script, just make sure you put clonePart before you change a property.
Ill give you an example:
game.Lighting.Minigame1:clone().Parent = game.Workspace
IN order for this to work, you have to place the Model or Part in Lighting in order for a script like this to work. P.S. It has to be EXACTLY named the same in the script and in Lighting for it to work.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
You really should use :Destroy(), not :remove()
Why? haha, they both do the same thing.