Advertisement
BlueberriezAndPie

AT

Aug 24th, 2015
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. --Apple tree script - made by me
  2. Instance.new("Part",game.Workspace)
  3. Part = game.Workspace.Part
  4. Part.Name = ("Tree")
  5. tre = game.Workspace.Tree
  6. Instance.new("Part",game.Workspace)
  7. Part = game.Workspace.Part
  8. Part.Name = ("Apple")
  9. ap = game.Workspace.Apple
  10.  
  11. ap.MeshId = ("http://www.roblox.com/Apple-item?id=16190555")
  12. tre.MeshId = ("http://www.roblox.com/Asset/?id=9755716")
  13.  
  14. while true do
  15. wait(1)
  16. spawnto = tre[math.random(1,#ap)]
  17. print("Spawning imaginary object to:",tre)
  18. ap.Position = workspace:GetChildren()[tre]
  19. -- Something like that...
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement