robloxhacker14

Untitled

Dec 22nd, 2016
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. main = Vector3.new(40, 1.5, 0)
  2.  
  3. Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
  4.  
  5.  
  6.  
  7. trampoline = Instance.new("Model")
  8.  
  9. trampoline.Name = "xS Tr"
  10.  
  11.  
  12.  
  13. local strs = {}
  14.  
  15.  
  16.  
  17. for i,v in pairs(workspace:children()) do if v.Name == "xS Tr" then v:remove() end end
  18.  
  19. function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
  20.  
  21. local p = Instance.new("Part")
  22.  
  23. p.formFactor = "Custom"
  24.  
  25. p.Anchored = Anchor
  26.  
  27. p.CanCollide = Collide
  28.  
  29. p.Transparency = Tran
  30.  
  31. p.Reflectance = Ref
  32.  
  33. p.BrickColor = BrickColor.new(Color)
  34.  
  35. for _, Surf in pairs(Surfaces) do
  36.  
  37. p[Surf] = "Smooth"
  38.  
  39. end
  40.  
  41. p.Size = Vector3.new(X, Y, Z)
  42.  
  43. if Break then
  44.  
  45. p:BreakJoints()
  46.  
  47. else p:MakeJoints() end
  48.  
  49. p.Parent = Parent
  50.  
  51. return p
  52.  
  53. end
  54.  
  55.  
  56.  
  57. for i = 0, 360, 120 do
  58.  
  59. local holder = Part(trampoline, true, true, 0, 0, "Medium grey", 10, 0.8, 0.8, true)
  60.  
  61. holder.CFrame = CFrame.new(main) * CFrame.Angles(0,math.rad(i),0) * CFrame.new(0,0,-12)
  62.  
  63. for x = 0, math.pi, math.pi do
  64.  
  65. for y = 0, 90, 15 do
  66.  
  67. local p = Part(trampoline, true, true, 0, 0, "Medium grey", 0.8, 0.8, 0.8, true)
  68.  
  69. p.CFrame = holder.CFrame * CFrame.Angles(0, x, 0) * CFrame.new(5,2,0) * CFrame.Angles(0,0,math.rad(-y)) * CFrame.new(2,0,0)
  70.  
  71. end
  72.  
  73. local p = Part(trampoline, true, true, 0, 0, "Medium grey", 0.8, 2.2, 0.8, true)
  74.  
  75. p.CFrame = holder.CFrame * CFrame.Angles(0, x, 0) * CFrame.new(7,3,0)
  76.  
  77. end
  78.  
  79. end
  80.  
  81.  
  82.  
  83. for i = 0, 360, 20 do
  84.  
  85. local p = Part(trampoline, true, true, 0, 0, "Medium grey", 5, 0.8, 0.8, true)
  86.  
  87. p.CFrame = CFrame.new(main) * CFrame.Angles(0,math.rad(i),0) * CFrame.new(0,4,-13.75)
  88.  
  89. local b = Part(trampoline, true, true, 0, 0, "Bright blue", 10, 0.8, 4.5, true)
  90.  
  91. b.CFrame = p.CFrame * CFrame.new(0,0.55,1.4)
  92.  
  93. Instance.new("SpecialMesh",b).MeshType = "Sphere"
  94.  
  95. for x = -1.25, 1.3, 2.5 do
  96.  
  97. local p2 = Part(trampoline, true, true, 0, 0, "Medium grey", 0.5, 0.5, 2, true)
  98.  
  99. p2.CFrame = p.CFrame * CFrame.new(x,0,1.5)
  100.  
  101. local m = Instance.new("SpecialMesh",p2)
  102.  
  103. m.MeshId = "http://www.roblox.com/asset/?id=16606212"
  104.  
  105. m.Scale = Vector3.new(0.3, 0.3, 0.7)
  106.  
  107. end
  108.  
  109. for x = 2.3, 14.3, 1.5 do
  110.  
  111. local p2 = Part(trampoline, true, true, 0, 0, "Black", 5+1.5-(x/2.4), 0.3, 1.8, true)
  112.  
  113. p2.CFrame = p.CFrame * CFrame.new(0,0.4,x)
  114.  
  115. table.insert(strs, p2)
  116.  
  117. end
  118.  
  119. end
  120.  
  121.  
  122.  
  123. trampoline.Parent = workspace
Add Comment
Please, Sign In to add comment