Advertisement
Guest User

aid

a guest
Mar 22nd, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. local big = 150
  2. local neg = -300
  3. local pos = 300
  4. local oth = pos
  5. local plr = game.Players.LocalPlayer
  6. for i, v in pairs(plr.Backpack:GetChildren()) do
  7. if string.lower(string.sub(v.Name, 1, 1)) == "c" then
  8. v.Name = "clon"
  9. end
  10. end
  11. local function clone(num)
  12. for i, v in pairs(workspace:GetChildren()) do
  13. if v.Name == "Part" then
  14. for i=1, num do
  15. game.Players.LocalPlayer.Backpack.clon.create:FireServer(v, v.Position, Vector3.new(0,0,0))
  16. end
  17. end
  18. end
  19. print('cloned ' .. num)
  20. end
  21. --clone()
  22. game.Players:Chat("Time 21")
  23. game.Players:Chat("brightness -39")
  24. game.Players:Chat("outdoorambient 100 0 100") -- 20 0 20
  25. wait(3)
  26. for i, v in pairs(game.workspace:GetChildren()) do
  27. if v.Name == "Part" and v:FindFirstChild("PointLight") then
  28. local t = math.random(1, 4)
  29. local x,y,z = 0, 0, 0
  30. big = big + 0.004
  31. --pos = pos + 0.1
  32. --neg = neg - 0.1
  33. if t == 1 then
  34. x = math.random(neg, pos)
  35. y = math.random(1, big)
  36. z = math.random(neg, oth)
  37. elseif t == 2 then
  38. x = math.random(neg, pos)
  39. y = math.random(1, big)
  40. z = math.random(neg, oth)
  41. elseif t == 3 then
  42. x = math.random(pos, pos)
  43. y = math.random(1, big)
  44. z = math.random(neg, oth)
  45. elseif t == 4 then
  46. x = math.random(neg, neg)
  47. y = math.random(1, big)
  48. z = math.random(neg, oth)
  49. end
  50. local thing = CFrame.new(x,y,z,0,0,-1,0,1,0,1,0,0)
  51. game:GetService("Players").LocalPlayer.Backpack.Move.setPos:FireServer(v, thing)
  52. end
  53. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement