|
| 13 Sep 2017 02:34 PM |
local randomm = math.random(1,3)
if script.Parent.Parent.Workspace.TEST.Value > 1 then if randomm == 1 then game.Lighting.Spectre.Parent = game.Workspace if randomm == 2 then game.Lighting.Krabe.Parent.Parent = game.Workspace if randomm == 3 then game.Lighting.Biker.Parent.Parent = game.Workspace end end end end
I just want how to move spectre, krabe or biker (lightning) into workspace ? |
|
|
| Report Abuse |
|
|
iiNemo
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 2380 |
|
|
| 13 Sep 2017 02:35 PM |
| game.Lighting.Krabe.Parent = game.Workspace |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 13 Sep 2017 03:12 PM |
You should store it in ReplicatedStorage, and just set its parent
local a = game:GetService("ReplicatedStorage"):WaitForChild("Biker"):Clone() a.Parent = workspace |
|
|
| Report Abuse |
|
|
| |
|