Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local number = math.random(1,7) --this means there are 7 objects (1-7) and 1 of them will be randomly picked
- game.ReplicatedStorage:FindFirstChild("Example"..number).Parent = workspace
- workspace:FindFirstChild("Example"..number).Parent = game.ReplicatedStorage
- --randomly picks out of the 7 objects
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement