Advertisement
Animescapetower

Untitled

Mar 17th, 2018
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.60 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Model1 = Instance.new("Model")
  21. Part2 = Instance.new("Part")
  22. SpecialMesh3 = Instance.new("SpecialMesh")
  23. ParticleEmitter4 = Instance.new("ParticleEmitter")
  24. ParticleEmitter5 = Instance.new("ParticleEmitter")
  25. ParticleEmitter6 = Instance.new("ParticleEmitter")
  26. ParticleEmitter7 = Instance.new("ParticleEmitter")
  27. ParticleEmitter8 = Instance.new("ParticleEmitter")
  28. ParticleEmitter9 = Instance.new("ParticleEmitter")
  29. Part10 = Instance.new("Part")
  30. SpecialMesh11 = Instance.new("SpecialMesh")
  31. Part12 = Instance.new("Part")
  32. Attachment13 = Instance.new("Attachment")
  33. Script14 = Instance.new("Script")
  34. Model0.Name = "Spawned"
  35. Model0.Parent = mas
  36. Model1.Name = "Arm1"
  37. Model1.Parent = Model0
  38. Part2.Name = "OmegaKatana"
  39. Part2.Parent = Model1
  40. Part2.BrickColor = BrickColor.new("Dark stone grey")
  41. Part2.Rotation = Vector3.new(166.449997, 86.3099976, 103.579994)
  42. Part2.Anchored = true
  43. Part2.FormFactor = Enum.FormFactor.Plate
  44. Part2.Size = Vector3.new(0.300000012, 4.4000001, 0.400000006)
  45. Part2.CFrame = CFrame.new(2.61999989, 1.64003205, 34405.7578, -0.0151149984, -0.0625929758, 0.997924745, -0.999885857, 0.000946200686, -0.0150853526, 0, -0.99803865, -0.0626001358)
  46. Part2.BottomSurface = Enum.SurfaceType.Smooth
  47. Part2.TopSurface = Enum.SurfaceType.Smooth
  48. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  49. Part2.Position = Vector3.new(2.61999989, 1.64003205, 34405.7578)
  50. Part2.Orientation = Vector3.new(0.859999955, 93.5899963, -89.9499969)
  51. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  52. SpecialMesh3.Parent = Part2
  53. SpecialMesh3.MeshId = "http://www.roblox.com/asset/?id=121119370"
  54. SpecialMesh3.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
  55. SpecialMesh3.TextureId = "http://www.roblox.com/asset/?id=341700381"
  56. SpecialMesh3.MeshType = Enum.MeshType.FileMesh
  57. SpecialMesh3.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
  58. ParticleEmitter4.Name = "Hex1"
  59. ParticleEmitter4.Parent = Part2
  60. ParticleEmitter4.Transparency = NumberSequence.new(0,0,1)
  61. ParticleEmitter4.Size = NumberSequence.new(0,0.061728358268738)
  62. ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.937255, 0.447059, 0),Color3.new(0.894118, 0.0196078, 0.0392157))
  63. ParticleEmitter4.LightEmission = 0.5
  64. ParticleEmitter4.Texture = "http://www.roblox.com/asset/?id=173990220"
  65. ParticleEmitter4.Lifetime = NumberRange.new(0.0099999997764826, 1)
  66. ParticleEmitter4.Rate = 12
  67. ParticleEmitter4.Speed = NumberRange.new(0, 0)
  68. ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.937255, 0.447059, 0),Color3.new(0.894118, 0.0196078, 0.0392157))
  69. ParticleEmitter5.Name = "Hex2"
  70. ParticleEmitter5.Parent = Part2
  71. ParticleEmitter5.Transparency = NumberSequence.new(0,0,1)
  72. ParticleEmitter5.Size = NumberSequence.new(0,0.061728358268738)
  73. ParticleEmitter5.Color = ColorSequence.new(Color3.new(0, 1, 0.968628),Color3.new(0.109804, 0, 0.776471))
  74. ParticleEmitter5.LightEmission = 0.5
  75. ParticleEmitter5.Texture = "http://www.roblox.com/asset/?id=173990220"
  76. ParticleEmitter5.Lifetime = NumberRange.new(0.0099999997764826, 1)
  77. ParticleEmitter5.Rate = 12
  78. ParticleEmitter5.Speed = NumberRange.new(0, 0)
  79. ParticleEmitter5.Color = ColorSequence.new(Color3.new(0, 1, 0.968628),Color3.new(0.109804, 0, 0.776471))
  80. ParticleEmitter6.Name = "Hex3"
  81. ParticleEmitter6.Parent = Part2
  82. ParticleEmitter6.Transparency = NumberSequence.new(0,0,1)
  83. ParticleEmitter6.Size = NumberSequence.new(0,0.061728358268738)
  84. ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0, 0.333333, 0))
  85. ParticleEmitter6.LightEmission = 0.5
  86. ParticleEmitter6.Texture = "http://www.roblox.com/asset/?id=173990220"
  87. ParticleEmitter6.Lifetime = NumberRange.new(0.0099999997764826, 1)
  88. ParticleEmitter6.Rate = 12
  89. ParticleEmitter6.Speed = NumberRange.new(0, 0)
  90. ParticleEmitter6.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0, 0.333333, 0))
  91. ParticleEmitter7.Name = "Fire3"
  92. ParticleEmitter7.Parent = Part2
  93. ParticleEmitter7.Rotation = NumberRange.new(0, 5)
  94. ParticleEmitter7.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
  95. ParticleEmitter7.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(0.0980392, 0.0980392, 0.0980392))
  96. ParticleEmitter7.LightEmission = 1
  97. ParticleEmitter7.Texture = "rbxasset://textures/particles/smoke_main.dds"
  98. ParticleEmitter7.Acceleration = Vector3.new(0, 8, 0)
  99. ParticleEmitter7.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
  100. ParticleEmitter7.Rate = 1000
  101. ParticleEmitter7.RotSpeed = NumberRange.new(5, 25)
  102. ParticleEmitter7.Speed = NumberRange.new(0, 0)
  103. ParticleEmitter7.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(0.0980392, 0.0980392, 0.0980392))
  104. ParticleEmitter8.Name = "Fire2"
  105. ParticleEmitter8.Parent = Part2
  106. ParticleEmitter8.Rotation = NumberRange.new(0, 5)
  107. ParticleEmitter8.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
  108. ParticleEmitter8.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0.0980392, 0.0980392, 0.0980392))
  109. ParticleEmitter8.LightEmission = 1
  110. ParticleEmitter8.Texture = "rbxasset://textures/particles/smoke_main.dds"
  111. ParticleEmitter8.Acceleration = Vector3.new(0, 8, 0)
  112. ParticleEmitter8.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
  113. ParticleEmitter8.Rate = 1000
  114. ParticleEmitter8.RotSpeed = NumberRange.new(5, 25)
  115. ParticleEmitter8.Speed = NumberRange.new(0, 0)
  116. ParticleEmitter8.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0.0980392, 0.0980392, 0.0980392))
  117. ParticleEmitter9.Name = "Fire1"
  118. ParticleEmitter9.Parent = Part2
  119. ParticleEmitter9.Rotation = NumberRange.new(0, 5)
  120. ParticleEmitter9.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
  121. ParticleEmitter9.Color = ColorSequence.new(Color3.new(0, 0, 1),Color3.new(0.0980392, 0.0980392, 0.0980392))
  122. ParticleEmitter9.LightEmission = 1
  123. ParticleEmitter9.Texture = "rbxasset://textures/particles/smoke_main.dds"
  124. ParticleEmitter9.Acceleration = Vector3.new(0, 8, 0)
  125. ParticleEmitter9.Lifetime = NumberRange.new(0.20000000298023, 0.30000001192093)
  126. ParticleEmitter9.Rate = 1000
  127. ParticleEmitter9.RotSpeed = NumberRange.new(5, 25)
  128. ParticleEmitter9.Speed = NumberRange.new(0, 0)
  129. ParticleEmitter9.Color = ColorSequence.new(Color3.new(0, 0, 1),Color3.new(0.0980392, 0.0980392, 0.0980392))
  130. Part10.Name = "Middle"
  131. Part10.Parent = Model1
  132. Part10.BrickColor = BrickColor.new("Dark stone grey")
  133. Part10.Transparency = 2
  134. Part10.Anchored = true
  135. Part10.FormFactor = Enum.FormFactor.Plate
  136. Part10.Size = Vector3.new(0.300000012, 4.4000001, 0.400000006)
  137. Part10.CFrame = CFrame.new(2.61999989, 2.200032, 34407.6484, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  138. Part10.BottomSurface = Enum.SurfaceType.Smooth
  139. Part10.TopSurface = Enum.SurfaceType.Smooth
  140. Part10.Color = Color3.new(0.388235, 0.372549, 0.384314)
  141. Part10.Position = Vector3.new(2.61999989, 2.200032, 34407.6484)
  142. Part10.Color = Color3.new(0.388235, 0.372549, 0.384314)
  143. SpecialMesh11.Parent = Part10
  144. SpecialMesh11.MeshId = "http://www.roblox.com/asset/?id=121119370"
  145. SpecialMesh11.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
  146. SpecialMesh11.TextureId = "http://www.roblox.com/asset/?id=341700381"
  147. SpecialMesh11.MeshType = Enum.MeshType.FileMesh
  148. SpecialMesh11.Scale = Vector3.new(0.649999976, 0.649999976, 0.649999976)
  149. Part12.Name = "Baseplate"
  150. Part12.Parent = Model0
  151. Part12.Material = Enum.Material.Grass
  152. Part12.BrickColor = BrickColor.new("Shamrock")
  153. Part12.Anchored = true
  154. Part12.Locked = true
  155. Part12.FormFactor = Enum.FormFactor.Symmetric
  156. Part12.Size = Vector3.new(700, 1.20000005, 700)
  157. Part12.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  158. Part12.Color = Color3.new(0.356863, 0.603922, 0.298039)
  159. Part12.Position = Vector3.new(0, -10, 0)
  160. Part12.Color = Color3.new(0.356863, 0.603922, 0.298039)
  161. Attachment13.Name = "Attachment1"
  162. Attachment13.Parent = Part12
  163. Attachment13.Rotation = Vector3.new(-0, -90, 0)
  164. Attachment13.CFrame = CFrame.new(0.099999994, 10, -0.370000005, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  165. Attachment13.Position = Vector3.new(0.099999994, 10, -0.370000005)
  166. Attachment13.Axis = Vector3.new(0, 0, 1)
  167. Attachment13.Orientation = Vector3.new(-0, -90, 0)
  168. Script14.Name = "Arm1"
  169. Script14.Parent = Part12
  170. table.insert(cors,sandbox(Script14,function()
  171. function onTouched(hit)
  172. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm1") == nil then
  173. local g = script.Parent.Parent.Arm1:clone()
  174. g.Parent = hit.Parent
  175. local C = g:GetChildren()
  176. for i=1, #C do
  177. if C[i].className == "Part" or "UnionOperation" then
  178. local W = Instance.new("Weld")
  179. W.Part0 = g.Middle
  180. W.Part1 = C[i]
  181. local CJ = CFrame.new(g.Middle.Position)
  182. local C0 = g.Middle.CFrame:inverse()*CJ
  183. local C1 = C[i].CFrame:inverse()*CJ
  184. W.C0 = C0
  185. W.C1 = C1
  186. W.Parent = g.Middle
  187. end
  188. local Y = Instance.new("Weld")
  189. Y.Part0 = hit.Parent["Left Arm"]
  190. Y.Part1 = g.Middle
  191. Y.C0 = CFrame.new(0, 0, 0)
  192. Y.Parent = Y.Part0
  193. end
  194.  
  195. local h = g:GetChildren()
  196. for i = 1, # h do
  197. if h[i].className == "Part" or "UnionOperation" then
  198. h[i].Anchored = false
  199. h[i].CanCollide = false
  200. wait(1)
  201. script.Disabled = true
  202. end
  203. end
  204.  
  205. end
  206.  
  207. end
  208.  
  209. script.Parent.Touched:connect(onTouched)
  210. end))
  211. for i,v in pairs(mas:GetChildren()) do
  212. v.Parent = workspace
  213. pcall(function() v:MakeJoints() end)
  214. end
  215. mas:Destroy()
  216. for i,v in pairs(cors) do
  217. spawn(function()
  218. pcall(v)
  219. end)
  220. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement