Advertisement
cat568

lol

Jun 2nd, 2020
1,025
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.22 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3.     local env = getfenv(func)
  4.     local newenv = setmetatable({},{
  5.         __index = function(self,k)
  6.             if k=="script" then
  7.                 return var
  8.             else
  9.                 return env[k]
  10.             end
  11.         end,
  12.     })
  13.     setfenv(func,newenv)
  14.     return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Model0 = Instance.new("Model")
  19. Part1 = Instance.new("Part")
  20. Trail2 = Instance.new("Trail")
  21. attachment1 = Instance.new("Attachment")
  22. attachment2 = Instance.new("Attachment")
  23. TrussPart3 = Instance.new("TrussPart")
  24. TrussPart4 = Instance.new("TrussPart")
  25. Snap5 = Instance.new("Snap")
  26. Script6 = Instance.new("Script")
  27. TrussPart7 = Instance.new("TrussPart")
  28. Weld8 = Instance.new("Weld")
  29. Weld9 = Instance.new("Weld")
  30. Weld10 = Instance.new("Weld")
  31. TrussPart11 = Instance.new("TrussPart")
  32. Weld12 = Instance.new("Weld")
  33. Weld13 = Instance.new("Weld")
  34. Weld14 = Instance.new("Weld")
  35. Weld15 = Instance.new("Weld")
  36. Model0.Name = "lol"
  37. Model0.Parent = mas
  38. Part1.Parent = Model0
  39. Part1.CFrame = CFrame.new(36, 44.5, -52, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  40. Part1.Position = Vector3.new(36, 44.5, -52)
  41. Part1.Size = Vector3.new(4, 1, 4)
  42. Part1.Anchored = true
  43. Part1.BottomSurface = Enum.SurfaceType.Smooth
  44. Part1.TopSurface = Enum.SurfaceType.Smooth
  45. attachment1.Parent = Part1
  46. attachment2.Parent = Part1
  47. attachment1.Position = Vector3.new(2, 0, 0)
  48. attachment2.Position = Vector3.new(-2, 0, 0)
  49. Trail2.Parent = Part1
  50. Trail2.Attachment0 = attachment1
  51. Trail2.Attachment1 = attachment2
  52. Trail2.Color = ColorSequence.new(Color3.new(255, 255, 255),Color3.new(255, 255, 255))
  53. Trail2.LightInfluence = 1
  54. Trail2.Transparency = NumberSequence.new(0.5,0.5)
  55. Trail2.Lifetime = 1000
  56. Trail2.Enabled = false
  57. TrussPart3.Parent = Model0
  58. TrussPart3.CFrame = CFrame.new(37, 22, -51, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  59. TrussPart3.Position = Vector3.new(37, 22, -51)
  60. TrussPart3.Size = Vector3.new(2, 44, 2)
  61. TrussPart3.Anchored = true
  62. TrussPart3.BottomSurface = Enum.SurfaceType.Smooth
  63. TrussPart3.TopSurface = Enum.SurfaceType.Smooth
  64. TrussPart4.Parent = Model0
  65. TrussPart4.CFrame = CFrame.new(35, 22, -51, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  66. TrussPart4.Position = Vector3.new(35, 22, -51)
  67. TrussPart4.Size = Vector3.new(2, 44, 2)
  68. TrussPart4.Anchored = true
  69. TrussPart4.BottomSurface = Enum.SurfaceType.Smooth
  70. TrussPart4.TopSurface = Enum.SurfaceType.Smooth
  71. Snap5.Parent = TrussPart4
  72. Snap5.C0 = CFrame.new(1, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  73. Snap5.C1 = CFrame.new(-1, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  74. Snap5.Part0 = TrussPart4
  75. Snap5.Part1 = TrussPart3
  76. Snap5.part1 = TrussPart3
  77. Script6.Parent = Model0
  78. table.insert(cors,sandbox(Script6,function()
  79. while wait(.5) do
  80.     script.Parent.Part.BrickColor = BrickColor.random()
  81.     local a = script.Parent.Part:Clone()
  82.     a.Parent = workspace
  83.    
  84.     script.Parent.Part.Position = script.Parent.Part.Position + Vector3.new(math.random(-4,4),math.random(-3,3),-11 +math.random(-2,2))
  85. end
  86. end))
  87. TrussPart7.Parent = Model0
  88. TrussPart7.CFrame = CFrame.new(37, 22, -53, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  89. TrussPart7.Position = Vector3.new(37, 22, -53)
  90. TrussPart7.Size = Vector3.new(2, 44, 2)
  91. TrussPart7.Anchored = true
  92. TrussPart7.BottomSurface = Enum.SurfaceType.Smooth
  93. TrussPart7.TopSurface = Enum.SurfaceType.Smooth
  94. Weld8.Parent = TrussPart7
  95. Weld8.C0 = CFrame.new(2, -0.5, 2, 1, 0, 0, 0, 0, -1, -0, 1, 0)
  96. Weld8.C1 = CFrame.new(1, 22, 3, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  97. Weld8.Part0 = Part1
  98. Weld8.Part1 = TrussPart7
  99. Weld8.part1 = TrussPart7
  100. Weld9.Parent = TrussPart7
  101. Weld9.C0 = CFrame.new(-256, 10, 256, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  102. Weld9.C1 = CFrame.new(-293, -22, 309, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  103. Weld9.Part0 = nil
  104. Weld9.Part1 = TrussPart7
  105. Weld9.part1 = TrussPart7
  106. Weld10.Parent = TrussPart7
  107. Weld10.C0 = CFrame.new(1, -22, -1, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  108. Weld10.C1 = CFrame.new(1, -22, 1, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  109. Weld10.Part0 = TrussPart3
  110. Weld10.Part1 = TrussPart7
  111. Weld10.part1 = TrussPart7
  112. TrussPart11.Parent = Model0
  113. TrussPart11.CFrame = CFrame.new(35, 22, -53, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  114. TrussPart11.Position = Vector3.new(35, 22, -53)
  115. TrussPart11.Size = Vector3.new(2, 44, 2)
  116. TrussPart11.Anchored = true
  117. TrussPart11.BottomSurface = Enum.SurfaceType.Smooth
  118. TrussPart11.TopSurface = Enum.SurfaceType.Smooth
  119. Weld12.Parent = TrussPart11
  120. Weld12.C0 = CFrame.new(2, -0.5, 2, 1, 0, 0, 0, 0, -1, -0, 1, 0)
  121. Weld12.C1 = CFrame.new(3, 22, 3, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  122. Weld12.Part0 = Part1
  123. Weld12.Part1 = TrussPart11
  124. Weld12.part1 = TrussPart11
  125. Weld13.Parent = TrussPart11
  126. Weld13.C0 = CFrame.new(-1, -22, -1, -0, 0, -1, 0, 1, 0, 1, 0, -0)
  127. Weld13.C1 = CFrame.new(1, -22, -1, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  128. Weld13.Part0 = TrussPart7
  129. Weld13.Part1 = TrussPart11
  130. Weld13.part1 = TrussPart11
  131. Weld14.Parent = TrussPart11
  132. Weld14.C0 = CFrame.new(1, -22, -1, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  133. Weld14.C1 = CFrame.new(1, -22, 1, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  134. Weld14.Part0 = TrussPart4
  135. Weld14.Part1 = TrussPart11
  136. Weld14.part1 = TrussPart11
  137. Weld15.Parent = TrussPart11
  138. Weld15.C0 = CFrame.new(-256, 10, 256, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  139. Weld15.C1 = CFrame.new(-291, -22, 309, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  140. Weld15.Part0 = nil
  141. Weld15.Part1 = TrussPart11
  142. Weld15.part1 = TrussPart11
  143. for i,v in pairs(mas:GetChildren()) do
  144.     v.Parent = workspace
  145.     pcall(function() v:MakeJoints() end)
  146. end
  147. mas:Destroy()
  148. for i,v in pairs(cors) do
  149.     spawn(function()
  150.         pcall(v)
  151.     end)
  152. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement