Advertisement
replic8

Untitled

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