Advertisement
lafur

Untitled

Feb 17th, 2019
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 7 and put your name where it says "YOUR NAME HERE"
  2.  
  3. Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  4.  
  5. modelname = "pips"
  6.  
  7. me = game.Players.timetodie23232223
  8.  
  9.  
  10. Pos = Vector3.new(-100,1,0)
  11.  
  12.  
  13.  
  14. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break, CF)
  15.  
  16. local p = Instance.new("Part")
  17.  
  18. p.formFactor = "Custom"
  19.  
  20. p.Anchored = Anchor
  21.  
  22. p.CanCollide = Collide
  23.  
  24. p.Transparency = Tran
  25.  
  26. p.Reflectance = Ref
  27.  
  28. p.BrickColor = BrickColor.new(Color)
  29.  
  30. for _, Surf in pairs(Surfaces) do
  31.  
  32. p[Surf] = "Smooth"
  33.  
  34. end
  35.  
  36. p.Size = Vector3.new(X, Y, Z)
  37.  
  38. p.CFrame = CF
  39.  
  40. if Break then
  41.  
  42. p:BreakJoints()
  43.  
  44. else p:MakeJoints() end
  45.  
  46. p.Parent = Parent
  47.  
  48. return p
  49.  
  50. end
  51.  
  52.  
  53.  
  54. function makehouse()
  55.  
  56. local hmm = workspace:findFirstChild(modelname)
  57.  
  58. if hmm ~= nil then hmm:remove() end
  59.  
  60. local m = Instance.new("Model")
  61.  
  62. m.Name = modelname
  63.  
  64. for i = 0, math.pi, math.pi/3 do
  65.  
  66. Part(m, true, true, 0, 0, "Dark grey", 115.5*0.85, 1, 200*0.85, true,
  67.  
  68. CFrame.new(Pos) * CFrame.Angles(0,i+(math.pi/6),0))
  69.  
  70. Part(m, true, true, 0, 0, "Dark grey", 115.5*0.85, 1, 200*0.85, true,
  71.  
  72. CFrame.new(Pos) * CFrame.new(0,39,0) * CFrame.Angles(0,i+(math.pi/6),0))
  73.  
  74. end
  75.  
  76. for i = 0, (math.pi*2)-(math.pi/3), math.pi/3 do
  77.  
  78. if i ~= 0 then
  79.  
  80. Part(m, true, true, 0, 0, "Dark grey", 115.5*0.85, 4, 2, true,
  81.  
  82. CFrame.new(Pos) * CFrame.Angles(0,i+(math.pi/2+math.pi),0) * CFrame.new(0,1.5,-(200*0.84)*0.5))
  83.  
  84. Part(m, true, true, 0.4, 0.25, "Light blue", 115.5*0.85, 9, 0.7, true,
  85.  
  86. CFrame.new(Pos) * CFrame.Angles(0,i+(math.pi/2+math.pi),0) * CFrame.new(0,8,-(200*0.84)*0.5))
  87.  
  88. Part(m, true, true, 0, 0, "Dark grey", 115.5*0.85, 26, 2, true,
  89.  
  90. CFrame.new(Pos) * CFrame.Angles(0,i+(math.pi/2+math.pi),0) * CFrame.new(0,25.5,-(200*0.84)*0.5))
  91.  
  92. end
  93.  
  94. end
  95.  
  96. m.Parent = workspace
  97.  
  98. end
  99.  
  100. makehouse()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement