Advertisement
replic8

Untitled

Jun 28th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dad = script.Parent
  2.  
  3. function Drop()
  4. local newBrick = Instance.new("Part")
  5. local nMesh = Instance.new("Turkey")
  6.  
  7. newBrick.Name = "Gold"
  8.  
  9. newBrick.Size = Vector3.new(2, 1.2, 2)
  10. -- newBrick.BrickColor = Color3.new(math.random(),math.random(),math.random())
  11. -- newBrick.Reflectance = .3 -- (OPTIONAL) - Delete the two lines below "newBrick" to give the brick shine!
  12. newBrick.TopSurface = "Smooth"
  13. newBrick.BottomSurface = "Smooth"
  14.  
  15. newBrick.Parent = game.Workspace
  16. newMesh.Parent = newBrick --you renamed newMesh!
  17. newMesh.MeshType = "Head" --Change this to change the shape. Possibilities are: Head, Torso, Brick, Wedge, Cylinder, Sphere.
  18. newBrick.Position = dad.Position
  19. newMesh.MeshId = "151778863" --Mesh ID in here
  20. newMesh.TextureId = "0" --Texture ID in here
  21. end
  22.  
  23. while true do
  24. wait(pause.Value)
  25. Drop()
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement