|
| 26 Apr 2016 04:17 PM |
So I made this script that moves stuff in the lighting to workspace. however, it only pulls one of the items. heres the script
number = math.random(1,4)
while true do if number == 1 then wait(5) print(number) game.Lighting.Teapot3:Clone().Parent = Workspace.Satelite end if number == 2 then wait(4) print(number) game.Lighting.Teapot2:Clone().Parent = Workspace.Satelite end if number == 3 then wait(3) print(number) game.Lighting.Teapot1:Clone().Parent = Workspace.Satelite end
if number == 4 then wait(2) print(number) game.Lighting.Teapot:Clone().Parent = Workspace.Satelite end end
~just a wild jigglypuff |
|
|
| Report Abuse |
|
AxonMega
|
  |
| Joined: 29 Aug 2014 |
| Total Posts: 2403 |
|
|
| 26 Apr 2016 04:18 PM |
Put the number = math.random(1,4) inside the loop.
--your welcome |
|
|
| Report Abuse |
|
| |