Amazingranma261

Untitled

Nov 14th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. function buildTank(tank,spawn)
  2. hull = Instance.new("Part",tank)
  3. hull.Size = Vector3.new(5,5,5)
  4. hull.TopSurface = "SmoothNoOutlines"
  5. hull.BottomSurface = "SmoothNoOutlines"
  6. hull.CFrame = spawn
  7.  
  8. chair = Instance.new("Seat",tank)
  9. chair.Size =Vector3.new(2,.2,2)
  10. chair.Transparency = 0.5
  11.  
  12. weld1 = Instance.new("Weld",tank)
  13. weld1.Part0 = hull
  14. weld1.Part1 = chair
  15. weld1.C0 = CFrame.new(0,2.8,0)
  16. end
  17. buildTank(workspace.amazingranma261,CFrame.new(0,10,0))
Advertisement
Add Comment
Please, Sign In to add comment