Advertisement
MESCRIPT

testing script

Jul 31st, 2019
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 204.10 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. local chil = workspace:GetChildren()
  20. for i,v in pairs(chil) do
  21. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  22. v:Destroy()
  23. end
  24. end
  25. Camera0 = Instance.new("Camera")
  26. Model1 = Instance.new("Model")
  27. LocalScript2 = Instance.new("LocalScript")
  28. Model3 = Instance.new("Model")
  29. Script4 = Instance.new("Script")
  30. Model5 = Instance.new("Model")
  31. MeshPart6 = Instance.new("MeshPart")
  32. Decal7 = Instance.new("Decal")
  33. Decal8 = Instance.new("Decal")
  34. Decal9 = Instance.new("Decal")
  35. Decal10 = Instance.new("Decal")
  36. UnionOperation11 = Instance.new("UnionOperation")
  37. UnionOperation12 = Instance.new("UnionOperation")
  38. UnionOperation13 = Instance.new("UnionOperation")
  39. UnionOperation14 = Instance.new("UnionOperation")
  40. UnionOperation15 = Instance.new("UnionOperation")
  41. MeshPart16 = Instance.new("MeshPart")
  42. MeshPart17 = Instance.new("MeshPart")
  43. UnionOperation18 = Instance.new("UnionOperation")
  44. UnionOperation19 = Instance.new("UnionOperation")
  45. UnionOperation20 = Instance.new("UnionOperation")
  46. MeshPart21 = Instance.new("MeshPart")
  47. MeshPart22 = Instance.new("MeshPart")
  48. MeshPart23 = Instance.new("MeshPart")
  49. MeshPart24 = Instance.new("MeshPart")
  50. MeshPart25 = Instance.new("MeshPart")
  51. MeshPart26 = Instance.new("MeshPart")
  52. MeshPart27 = Instance.new("MeshPart")
  53. MeshPart28 = Instance.new("MeshPart")
  54. MeshPart29 = Instance.new("MeshPart")
  55. MeshPart30 = Instance.new("MeshPart")
  56. MeshPart31 = Instance.new("MeshPart")
  57. MeshPart32 = Instance.new("MeshPart")
  58. MeshPart33 = Instance.new("MeshPart")
  59. MeshPart34 = Instance.new("MeshPart")
  60. MeshPart35 = Instance.new("MeshPart")
  61. MeshPart36 = Instance.new("MeshPart")
  62. MeshPart37 = Instance.new("MeshPart")
  63. MeshPart38 = Instance.new("MeshPart")
  64. MeshPart39 = Instance.new("MeshPart")
  65. MeshPart40 = Instance.new("MeshPart")
  66. MeshPart41 = Instance.new("MeshPart")
  67. MeshPart42 = Instance.new("MeshPart")
  68. Part43 = Instance.new("Part")
  69. Model44 = Instance.new("Model")
  70. SpawnLocation45 = Instance.new("SpawnLocation")
  71. Decal46 = Instance.new("Decal")
  72. SpawnLocation47 = Instance.new("SpawnLocation")
  73. Decal48 = Instance.new("Decal")
  74. SpawnLocation49 = Instance.new("SpawnLocation")
  75. Decal50 = Instance.new("Decal")
  76. Part51 = Instance.new("Part")
  77. SpawnLocation52 = Instance.new("SpawnLocation")
  78. Decal53 = Instance.new("Decal")
  79. SpawnLocation54 = Instance.new("SpawnLocation")
  80. Decal55 = Instance.new("Decal")
  81. SpawnLocation56 = Instance.new("SpawnLocation")
  82. Decal57 = Instance.new("Decal")
  83. Part58 = Instance.new("Part")
  84. Part59 = Instance.new("Part")
  85. SpawnLocation60 = Instance.new("SpawnLocation")
  86. Decal61 = Instance.new("Decal")
  87. SpawnLocation62 = Instance.new("SpawnLocation")
  88. Decal63 = Instance.new("Decal")
  89. Part64 = Instance.new("Part")
  90. SpawnLocation65 = Instance.new("SpawnLocation")
  91. Decal66 = Instance.new("Decal")
  92. Sound67 = Instance.new("Sound")
  93. Camera0.Parent = mas
  94. Camera0.CFrame = CFrame.new(-588.681152, 2371.89771, -871.18158, -0.99731195, 0.0659546852, -0.0319205187, 1.86264515e-09, 0.435638011, 0.900122046, 0.0732730478, 0.897702456, -0.434466958)
  95. Camera0.CoordinateFrame = CFrame.new(-588.681152, 2371.89771, -871.18158, -0.99731195, 0.0659546852, -0.0319205187, 1.86264515e-09, 0.435638011, 0.900122046, 0.0732730478, 0.897702456, -0.434466958)
  96. Camera0.Focus = CFrame.new(-588.61731, 2370.09741, -870.312622, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  97. Camera0.focus = CFrame.new(-588.61731, 2370.09741, -870.312622, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  98. Model1.Name = "CompiledScripts"
  99. Model1.Parent = mas
  100. LocalScript2.Name = "Script1"
  101. LocalScript2.Parent = Model1
  102. table.insert(cors,sandbox(LocalScript2,function()
  103.  
  104. --Converted with ttyyuu12345's model to script plugin v4
  105. function sandbox(var,func)
  106. local env = getfenv(func)
  107. local newenv = setmetatable({},{
  108. __index = function(self,k)
  109. if k=="script" then
  110. return var
  111. else
  112. return env[k]
  113. end
  114. end,
  115. })
  116. setfenv(func,newenv)
  117. return func
  118. end
  119. cors = {}
  120. mas = Instance.new("Model",game:GetService("Lighting"))
  121. local chil = workspace:GetChildren()
  122. for i,v in pairs(chil) do
  123. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  124. v:Destroy()
  125. end
  126. end
  127. Camera0 = Instance.new("Camera")
  128. Model1 = Instance.new("Model")
  129. Part2 = Instance.new("Part")
  130. Part3 = Instance.new("Part")
  131. UnionOperation4 = Instance.new("UnionOperation")
  132. Part5 = Instance.new("Part")
  133. PointLight6 = Instance.new("PointLight")
  134. RotateV7 = Instance.new("RotateV")
  135. SpawnLocation8 = Instance.new("SpawnLocation")
  136. Model9 = Instance.new("Model")
  137. UnionOperation10 = Instance.new("UnionOperation")
  138. Beam11 = Instance.new("Beam")
  139. Sound12 = Instance.new("Sound")
  140. Motor6D13 = Instance.new("Motor6D")
  141. Motor6D14 = Instance.new("Motor6D")
  142. Motor6D15 = Instance.new("Motor6D")
  143. Motor6D16 = Instance.new("Motor6D")
  144. Motor6D17 = Instance.new("Motor6D")
  145. UnionOperation18 = Instance.new("UnionOperation")
  146. Decal19 = Instance.new("Decal")
  147. BillboardGui20 = Instance.new("BillboardGui")
  148. TextLabel21 = Instance.new("TextLabel")
  149. TextLabel22 = Instance.new("TextLabel")
  150. Script23 = Instance.new("Script")
  151. Part24 = Instance.new("Part")
  152. Sound25 = Instance.new("Sound")
  153. Sound26 = Instance.new("Sound")
  154. Sound27 = Instance.new("Sound")
  155. Sound28 = Instance.new("Sound")
  156. Sound29 = Instance.new("Sound")
  157. Sound30 = Instance.new("Sound")
  158. Sound31 = Instance.new("Sound")
  159. Sound32 = Instance.new("Sound")
  160. Sound33 = Instance.new("Sound")
  161. Sound34 = Instance.new("Sound")
  162. Sound35 = Instance.new("Sound")
  163. Motor6D36 = Instance.new("Motor6D")
  164. MeshPart37 = Instance.new("MeshPart")
  165. MeshPart38 = Instance.new("MeshPart")
  166. MeshPart39 = Instance.new("MeshPart")
  167. MeshPart40 = Instance.new("MeshPart")
  168. Script41 = Instance.new("Script")
  169. Sound42 = Instance.new("Sound")
  170. MeshPart43 = Instance.new("MeshPart")
  171. Weld44 = Instance.new("Weld")
  172. MeshPart45 = Instance.new("MeshPart")
  173. Weld46 = Instance.new("Weld")
  174. Humanoid47 = Instance.new("Humanoid")
  175. Part48 = Instance.new("Part")
  176. SpecialMesh49 = Instance.new("SpecialMesh")
  177. Camera0.Parent = mas
  178. Camera0.CFrame = CFrame.new(-541.142883, 93.6241302, 44.4250946, -0.896999061, -0.229961351, 0.377505511, -0, 0.854022264, 0.520236433, -0.442032397, 0.466651589, -0.766057193)
  179. Camera0.CoordinateFrame = CFrame.new(-541.142883, 93.6241302, 44.4250946, -0.896999061, -0.229961351, 0.377505511, -0, 0.854022264, 0.520236433, -0.442032397, 0.466651589, -0.766057193)
  180. Camera0.Focus = CFrame.new(-544.792542, 88.594574, 51.8312035, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  181. Camera0.focus = CFrame.new(-544.792542, 88.594574, 51.8312035, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  182. Model1.Parent = mas
  183. Part2.Parent = Model1
  184. Part2.CFrame = CFrame.new(-542.362, 84.453186, 64.4654312, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  185. Part2.Orientation = Vector3.new(0, 0, 90)
  186. Part2.Position = Vector3.new(-542.362, 84.453186, 64.4654312)
  187. Part2.Rotation = Vector3.new(0, 0, 90)
  188. Part2.Transparency = 1
  189. Part2.Size = Vector3.new(2.05412745, 77.9478531, 77.9478531)
  190. Part2.Anchored = true
  191. Part2.BottomSurface = Enum.SurfaceType.Smooth
  192. Part2.Material = Enum.Material.SmoothPlastic
  193. Part2.TopSurface = Enum.SurfaceType.Smooth
  194. Part2.Shape = Enum.PartType.Cylinder
  195. Part3.Parent = Model1
  196. Part3.CFrame = CFrame.new(-542.737, 95.8481674, 63.9203873, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  197. Part3.Position = Vector3.new(-542.737, 95.8481674, 63.9203873)
  198. Part3.Color = Color3.new(0, 0, 1)
  199. Part3.Transparency = 1
  200. Part3.Size = Vector3.new(11.8312006, 21.6499958, 12.28965)
  201. Part3.Anchored = true
  202. Part3.BottomSurface = Enum.SurfaceType.Smooth
  203. Part3.BrickColor = BrickColor.new("Really blue")
  204. Part3.TopSurface = Enum.SurfaceType.Smooth
  205. Part3.brickColor = BrickColor.new("Really blue")
  206. UnionOperation4.Parent = Model1
  207. UnionOperation4.CFrame = CFrame.new(-542.859009, 95.8502197, 64.923317, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  208. UnionOperation4.Orientation = Vector3.new(0, 90, 0)
  209. UnionOperation4.Position = Vector3.new(-542.859009, 95.8502197, 64.923317)
  210. UnionOperation4.Rotation = Vector3.new(0, 90, 0)
  211. UnionOperation4.Color = Color3.new(0, 0, 1)
  212. UnionOperation4.Size = Vector3.new(78.035202, 28.0076447, 76.9837036)
  213. UnionOperation4.BrickColor = BrickColor.new("Really blue")
  214. UnionOperation4.CanCollide = false
  215. UnionOperation4.brickColor = BrickColor.new("Really blue")
  216. Part5.Parent = Model1
  217. Part5.CFrame = CFrame.new(-542.731995, 80.3513184, 63.8854446, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  218. Part5.Position = Vector3.new(-542.731995, 80.3513184, 63.8854446)
  219. Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  220. Part5.Size = Vector3.new(86.9104919, 2.91001558, 85.2406006)
  221. Part5.Anchored = true
  222. Part5.BottomSurface = Enum.SurfaceType.Smooth
  223. Part5.BrickColor = BrickColor.new("Really black")
  224. Part5.TopParamA = -0.10000000149012
  225. Part5.TopParamB = 0.10000000149012
  226. Part5.TopSurface = Enum.SurfaceType.Motor
  227. Part5.TopSurfaceInput = Enum.InputType.Constant
  228. Part5.brickColor = BrickColor.new("Really black")
  229. PointLight6.Parent = Part5
  230. PointLight6.Range = 45
  231. PointLight6.Brightness = 0.60000002384186
  232. RotateV7.Parent = Part5
  233. RotateV7.C0 = CFrame.new(0, 1.45500779, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  234. RotateV7.C1 = CFrame.new(1.03999996, -14.04, 0.129999995, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  235. RotateV7.Part0 = Part5
  236. RotateV7.Part1 = UnionOperation4
  237. RotateV7.part1 = UnionOperation4
  238. RotateV7.BaseAngle = 1.5707963705063
  239. SpawnLocation8.Parent = mas
  240. SpawnLocation8.CFrame = CFrame.new(-522.671448, 85.6833878, 81.3869476, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  241. SpawnLocation8.Orientation = Vector3.new(0, 180, 0)
  242. SpawnLocation8.Position = Vector3.new(-522.671448, 85.6833878, 81.3869476)
  243. SpawnLocation8.Rotation = Vector3.new(-180, 0, -180)
  244. SpawnLocation8.Transparency = 1
  245. SpawnLocation8.Size = Vector3.new(6, 0.200000048, 6)
  246. SpawnLocation8.Anchored = true
  247. SpawnLocation8.BackSurface = Enum.SurfaceType.Weld
  248. SpawnLocation8.BottomSurface = Enum.SurfaceType.Weld
  249. SpawnLocation8.FrontSurface = Enum.SurfaceType.Weld
  250. SpawnLocation8.LeftSurface = Enum.SurfaceType.Weld
  251. SpawnLocation8.RightSurface = Enum.SurfaceType.Weld
  252. SpawnLocation8.TopSurface = Enum.SurfaceType.Smooth
  253. Model9.Name = "Joofil"
  254. Model9.Parent = mas
  255. Model9.PrimaryPart = Part24
  256. UnionOperation10.Name = "Torso"
  257. UnionOperation10.Parent = Model9
  258. UnionOperation10.CFrame = CFrame.new(-544.792603, 88.5832062, 50.7608109, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  259. UnionOperation10.Position = Vector3.new(-544.792603, 88.5832062, 50.7608109)
  260. UnionOperation10.Color = Color3.new(0.129412, 0.329412, 0.72549)
  261. UnionOperation10.Size = Vector3.new(2.00003052, 2.00002933, 1.00000763)
  262. UnionOperation10.BrickColor = BrickColor.new("Deep blue")
  263. UnionOperation10.Material = Enum.Material.SmoothPlastic
  264. UnionOperation10.brickColor = BrickColor.new("Deep blue")
  265. UnionOperation10.UsePartColor = true
  266. Beam11.Name = "Neck"
  267. Beam11.Parent = UnionOperation10
  268. Beam11.Attachment0 = nil
  269. Beam11.Attachment1 = nil
  270. Beam11.FaceCamera = true
  271. Beam11.LightEmission = 1
  272. Beam11.LightInfluence = 1
  273. Beam11.Segments = 50
  274. Beam11.Texture = "rbxassetid://1134824633"
  275. Beam11.TextureLength = 5
  276. Beam11.TextureMode = Enum.TextureMode.Static
  277. Beam11.TextureSpeed = 2
  278. Beam11.Transparency = NumberSequence.new(0.20000000298023,0.20000000298023)
  279. Beam11.Width0 = 0.5
  280. Beam11.Width1 = 0.5
  281. Sound12.Name = "Die"
  282. Sound12.Parent = UnionOperation10
  283. Sound12.MaxDistance = 300
  284. Sound12.EmitterSize = 35
  285. Sound12.MinDistance = 35
  286. Sound12.SoundId = "rbxassetid://2150821806"
  287. Sound12.Volume = 2
  288. Motor6D13.Name = "Head"
  289. Motor6D13.Parent = UnionOperation10
  290. Motor6D13.C1 = CFrame.new(-3.9100647e-05, -1.49995828, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  291. Motor6D13.Part0 = UnionOperation10
  292. Motor6D13.Part1 = UnionOperation18
  293. Motor6D13.part1 = UnionOperation18
  294. Motor6D14.Name = "RArm"
  295. Motor6D14.Parent = UnionOperation10
  296. Motor6D14.C1 = CFrame.new(-1.50003719, 0.000101089478, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  297. Motor6D14.Part0 = UnionOperation10
  298. Motor6D14.Part1 = MeshPart38
  299. Motor6D14.part1 = MeshPart38
  300. Motor6D15.Name = "LArm"
  301. Motor6D15.Parent = UnionOperation10
  302. Motor6D15.C1 = CFrame.new(1.49996281, 0.000101089478, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  303. Motor6D15.Part0 = UnionOperation10
  304. Motor6D15.Part1 = MeshPart37
  305. Motor6D15.part1 = MeshPart37
  306. Motor6D16.Name = "RLeg"
  307. Motor6D16.Parent = UnionOperation10
  308. Motor6D16.C1 = CFrame.new(-0.500037193, 2.00010109, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  309. Motor6D16.Part0 = UnionOperation10
  310. Motor6D16.Part1 = MeshPart39
  311. Motor6D16.part1 = MeshPart39
  312. Motor6D17.Name = "LLeg"
  313. Motor6D17.Parent = UnionOperation10
  314. Motor6D17.C1 = CFrame.new(0.499962807, 2.00010109, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  315. Motor6D17.Part0 = UnionOperation10
  316. Motor6D17.Part1 = MeshPart40
  317. Motor6D17.part1 = MeshPart40
  318. UnionOperation18.Name = "Head"
  319. UnionOperation18.Parent = Model9
  320. UnionOperation18.CFrame = CFrame.new(-544.792542, 90.083168, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  321. UnionOperation18.Position = Vector3.new(-544.792542, 90.083168, 50.760788)
  322. UnionOperation18.Color = Color3.new(0.937255, 0.721569, 0.219608)
  323. UnionOperation18.Size = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  324. UnionOperation18.BrickColor = BrickColor.new("Gold")
  325. UnionOperation18.Material = Enum.Material.SmoothPlastic
  326. UnionOperation18.brickColor = BrickColor.new("Gold")
  327. UnionOperation18.UsePartColor = true
  328. Decal19.Name = "Smile"
  329. Decal19.Parent = UnionOperation18
  330. Decal19.Texture = "http://www.roblox.com/asset/?id=288072938"
  331. BillboardGui20.Name = "Nametag"
  332. BillboardGui20.Parent = UnionOperation18
  333. BillboardGui20.Size = UDim2.new(4, 0, 4, 0)
  334. BillboardGui20.AlwaysOnTop = true
  335. BillboardGui20.StudsOffset = Vector3.new(0, 2, 0)
  336. TextLabel21.Name = "Title"
  337. TextLabel21.Parent = BillboardGui20
  338. TextLabel21.Size = UDim2.new(1, 0, 0.25, 0)
  339. TextLabel21.BackgroundColor = BrickColor.new("Institutional white")
  340. TextLabel21.BackgroundColor3 = Color3.new(1, 1, 1)
  341. TextLabel21.BackgroundTransparency = 1
  342. TextLabel21.BorderSizePixel = 0
  343. TextLabel21.ClipsDescendants = true
  344. TextLabel21.Font = Enum.Font.Fantasy
  345. TextLabel21.FontSize = Enum.FontSize.Size14
  346. TextLabel21.Text = "Joofil"
  347. TextLabel21.TextColor = BrickColor.new("Institutional white")
  348. TextLabel21.TextColor3 = Color3.new(1, 1, 1)
  349. TextLabel21.TextScaled = true
  350. TextLabel21.TextSize = 14
  351. TextLabel21.TextWrap = true
  352. TextLabel21.TextWrapped = true
  353. TextLabel22.Name = "HP"
  354. TextLabel22.Parent = BillboardGui20
  355. TextLabel22.Position = UDim2.new(0, 0, 0.25, 0)
  356. TextLabel22.Size = UDim2.new(1, 0, 0.100000001, 0)
  357. TextLabel22.BackgroundColor = BrickColor.new("Institutional white")
  358. TextLabel22.BackgroundColor3 = Color3.new(1, 1, 1)
  359. TextLabel22.BackgroundTransparency = 1
  360. TextLabel22.BorderSizePixel = 0
  361. TextLabel22.ClipsDescendants = true
  362. TextLabel22.Font = Enum.Font.Fantasy
  363. TextLabel22.FontSize = Enum.FontSize.Size48
  364. TextLabel22.Text = "0/0"
  365. TextLabel22.TextColor = BrickColor.new("Mint")
  366. TextLabel22.TextColor3 = Color3.new(0.686275, 1, 0.686275)
  367. TextLabel22.TextScaled = true
  368. TextLabel22.TextSize = 45
  369. TextLabel22.TextWrap = true
  370. TextLabel22.TextWrapped = true
  371. Script23.Parent = BillboardGui20
  372. table.insert(cors,sandbox(Script23,function()
  373. wait(0.05)
  374. Humanoid = script.Parent.Parent.Parent:FindFirstChildOfClass("Humanoid")
  375. script.Parent.HP.Text = math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  376.  
  377. Humanoid.Changed:connect(function()
  378. if Humanoid.Health > Humanoid.MaxHealth/2 then
  379. script.Parent.HP.TextColor3 = Color3.new(175/255,1,175/255)
  380. end
  381. if Humanoid.Health > Humanoid.MaxHealth then
  382. script.Parent.HP.TextColor3 = Color3.new(175/255,1,225/255)
  383. end
  384. if Humanoid.Health > Humanoid.MaxHealth * 1.5 then
  385. script.Parent.HP.TextColor3 = Color3.new(175/255,1,1)
  386. end
  387. if Humanoid.Health > Humanoid.MaxHealth * 3 then
  388. script.Parent.HP.TextColor3 = Color3.new(175/255,220/255,1)
  389. end
  390. if Humanoid.Health > Humanoid.MaxHealth * 10 then
  391. script.Parent.HP.TextColor3 = Color3.new(175/255,175/255,1)
  392. end
  393. if Humanoid.Health < Humanoid.MaxHealth/2 then
  394. script.Parent.HP.TextColor3 = Color3.new(210/255,1,175/255)
  395. end
  396. if Humanoid.Health < Humanoid.MaxHealth/2.5 then
  397. script.Parent.HP.TextColor3 = Color3.new(230/255,1,175/255)
  398. end
  399. if Humanoid.Health < Humanoid.MaxHealth/3 then
  400. script.Parent.HP.TextColor3 = Color3.new(1,1,175/255)
  401. end
  402. if Humanoid.Health < Humanoid.MaxHealth/5 then
  403. script.Parent.HP.TextColor3 = Color3.new(1,225/255,175/255)
  404. end
  405. if Humanoid.Health < Humanoid.MaxHealth/7.5 then
  406. script.Parent.HP.TextColor3 = Color3.new(1,200/255,175/255)
  407. end
  408. if Humanoid.Health < Humanoid.MaxHealth/10 then
  409. script.Parent.HP.TextColor3 = Color3.new(1,175/255,175/255)
  410. end
  411. if Humanoid.Health == 0 then
  412. script.Parent.HP.Text = "Dead"
  413. else
  414. script.Parent.HP.Text = math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  415. end
  416. if Humanoid.Health == math.huge then
  417. script.Parent.HP.Text = "Godded"
  418. script.Parent.HP.TextColor3 = Color3.new(175/255,175/255,175/255)
  419. end
  420. end)
  421. end))
  422. Part24.Name = "HumanoidRootPart"
  423. Part24.Parent = Model9
  424. Part24.CFrame = CFrame.new(-544.792542, 88.583168, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  425. Part24.Position = Vector3.new(-544.792542, 88.583168, 50.760788)
  426. Part24.Color = Color3.new(0.937255, 0.721569, 0.219608)
  427. Part24.Transparency = 1
  428. Part24.Size = Vector3.new(2, 2, 1)
  429. Part24.Anchored = true
  430. Part24.BottomSurface = Enum.SurfaceType.Smooth
  431. Part24.BrickColor = BrickColor.new("Gold")
  432. Part24.Material = Enum.Material.SmoothPlastic
  433. Part24.TopSurface = Enum.SurfaceType.Smooth
  434. Part24.brickColor = BrickColor.new("Gold")
  435. Sound25.Name = "Chuckle"
  436. Sound25.Parent = Part24
  437. Sound25.MaxDistance = 300
  438. Sound25.EmitterSize = 35
  439. Sound25.MinDistance = 35
  440. Sound25.SoundId = "rbxassetid://2545010175"
  441. Sound25.Volume = 5
  442. Sound26.Name = "ByeBye"
  443. Sound26.Parent = Part24
  444. Sound26.MaxDistance = 300
  445. Sound26.EmitterSize = 35
  446. Sound26.MinDistance = 35
  447. Sound26.SoundId = "rbxassetid://2545211516"
  448. Sound26.Volume = 5
  449. Sound27.Name = "ChaosChaos"
  450. Sound27.Parent = Part24
  451. Sound27.MaxDistance = 300
  452. Sound27.EmitterSize = 35
  453. Sound27.MinDistance = 35
  454. Sound27.SoundId = "rbxassetid://2545008459"
  455. Sound27.Volume = 5
  456. Sound28.Name = "Ha2"
  457. Sound28.Parent = Part24
  458. Sound28.MaxDistance = 300
  459. Sound28.EmitterSize = 35
  460. Sound28.MinDistance = 35
  461. Sound28.SoundId = "rbxassetid://2606662454"
  462. Sound28.Volume = 5
  463. Sound29.Name = "Ha1"
  464. Sound29.Parent = Part24
  465. Sound29.MaxDistance = 300
  466. Sound29.EmitterSize = 35
  467. Sound29.MinDistance = 35
  468. Sound29.SoundId = "rbxassetid://2606661976"
  469. Sound29.Volume = 5
  470. Sound30.Name = "Neo"
  471. Sound30.Parent = Part24
  472. Sound30.MaxDistance = 300
  473. Sound30.EmitterSize = 35
  474. Sound30.MinDistance = 35
  475. Sound30.SoundId = "rbxassetid://2545018472"
  476. Sound30.Volume = 5
  477. Sound31.Name = "MeDoAnything"
  478. Sound31.Parent = Part24
  479. Sound31.MaxDistance = 300
  480. Sound31.EmitterSize = 35
  481. Sound31.MinDistance = 35
  482. Sound31.SoundId = "rbxassetid://2544975373"
  483. Sound31.Volume = 5
  484. Sound32.Name = "OH"
  485. Sound32.Parent = Part24
  486. Sound32.MaxDistance = 300
  487. Sound32.EmitterSize = 35
  488. Sound32.MinDistance = 35
  489. Sound32.SoundId = "rbxassetid://2545012765"
  490. Sound32.Volume = 5
  491. Sound33.Name = "Laugh"
  492. Sound33.Parent = Part24
  493. Sound33.MaxDistance = 300
  494. Sound33.EmitterSize = 35
  495. Sound33.MinDistance = 35
  496. Sound33.SoundId = "rbxassetid://2545211765"
  497. Sound33.Volume = 5
  498. Sound34.Name = "Metamorph"
  499. Sound34.Parent = Part24
  500. Sound34.MaxDistance = 300
  501. Sound34.EmitterSize = 35
  502. Sound34.MinDistance = 35
  503. Sound34.SoundId = "rbxassetid://2545011398"
  504. Sound34.Volume = 5
  505. Sound35.Name = "Deathed"
  506. Sound35.Parent = Part24
  507. Sound35.MaxDistance = 300
  508. Sound35.EmitterSize = 35
  509. Sound35.MinDistance = 35
  510. Sound35.SoundId = "rbxassetid://2637401925"
  511. Sound35.Volume = 2
  512. Motor6D36.Name = "Root"
  513. Motor6D36.Parent = Part24
  514. Motor6D36.C1 = CFrame.new(3.9100647e-05, -4.17232513e-05, -2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  515. Motor6D36.Part0 = Part24
  516. Motor6D36.Part1 = UnionOperation10
  517. Motor6D36.part1 = UnionOperation10
  518. MeshPart37.Name = "Left Arm"
  519. MeshPart37.Parent = Model9
  520. MeshPart37.CFrame = CFrame.new(-546.292542, 88.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  521. MeshPart37.Position = Vector3.new(-546.292542, 88.583107, 50.760788)
  522. MeshPart37.Color = Color3.new(0.937255, 0.721569, 0.219608)
  523. MeshPart37.Size = Vector3.new(1.00004005, 2.00002551, 1)
  524. MeshPart37.BrickColor = BrickColor.new("Gold")
  525. MeshPart37.Material = Enum.Material.SmoothPlastic
  526. MeshPart37.brickColor = BrickColor.new("Gold")
  527. MeshPart38.Name = "Right Arm"
  528. MeshPart38.Parent = Model9
  529. MeshPart38.CFrame = CFrame.new(-543.292542, 88.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  530. MeshPart38.Position = Vector3.new(-543.292542, 88.583107, 50.760788)
  531. MeshPart38.Color = Color3.new(0.937255, 0.721569, 0.219608)
  532. MeshPart38.Size = Vector3.new(1.00004005, 2.00002551, 1)
  533. MeshPart38.BrickColor = BrickColor.new("Gold")
  534. MeshPart38.Material = Enum.Material.SmoothPlastic
  535. MeshPart38.brickColor = BrickColor.new("Gold")
  536. MeshPart39.Name = "Right Leg"
  537. MeshPart39.Parent = Model9
  538. MeshPart39.CFrame = CFrame.new(-544.292542, 86.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  539. MeshPart39.Position = Vector3.new(-544.292542, 86.583107, 50.760788)
  540. MeshPart39.Color = Color3.new(0.294118, 0.592157, 0.294118)
  541. MeshPart39.Size = Vector3.new(1.00004005, 2.00002551, 1)
  542. MeshPart39.BrickColor = BrickColor.new("Bright green")
  543. MeshPart39.Material = Enum.Material.SmoothPlastic
  544. MeshPart39.brickColor = BrickColor.new("Bright green")
  545. MeshPart40.Name = "Left Leg"
  546. MeshPart40.Parent = Model9
  547. MeshPart40.CFrame = CFrame.new(-545.292542, 86.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  548. MeshPart40.Position = Vector3.new(-545.292542, 86.583107, 50.760788)
  549. MeshPart40.Color = Color3.new(0.294118, 0.592157, 0.294118)
  550. MeshPart40.Size = Vector3.new(1.00004005, 2.00002551, 1)
  551. MeshPart40.BrickColor = BrickColor.new("Bright green")
  552. MeshPart40.Material = Enum.Material.SmoothPlastic
  553. MeshPart40.brickColor = BrickColor.new("Bright green")
  554. Script41.Name = "REOOFING"
  555. Script41.Parent = Model9
  556. table.insert(cors,sandbox(Script41,function()
  557. IT = Instance.new
  558. CF = CFrame.new
  559. VT = Vector3.new
  560. RAD = math.rad
  561. C3 = Color3.new
  562. UD2 = UDim2.new
  563. BRICKC = BrickColor.new
  564. ANGLES = CFrame.Angles
  565. EULER = CFrame.fromEulerAnglesXYZ
  566. COS = math.cos
  567. ACOS = math.acos
  568. SIN = math.sin
  569. ASIN = math.asin
  570. ABS = math.abs
  571. MRANDOM = math.random
  572. FLOOR = math.floor
  573.  
  574. local GYRO = nil
  575. local CHARACTER = script.Parent
  576. local HUMANOID = CHARACTER:FindFirstChildOfClass("Humanoid")
  577. local TORSO = CHARACTER.Torso
  578. local ROOT = CHARACTER.HumanoidRootPart
  579. local RIGHTARM = CHARACTER["Right Arm"]
  580. local LEFTARM = CHARACTER["Left Arm"]
  581. local RIGHTLEG = CHARACTER["Right Leg"]
  582. local LEFTLEG = CHARACTER["Left Leg"]
  583. RootJoint = ROOT["Root"]
  584. Neck = TORSO["Head"]
  585. RightShoulder = TORSO["RArm"]
  586. LeftShoulder = TORSO["LArm"]
  587. RightHip = TORSO["RLeg"]
  588. LeftHip = TORSO["LLeg"]
  589. local BODY = {}
  590. local CHAIR = CHARACTER.Wheelchair
  591. for index, CHILD in pairs(CHARACTER:GetDescendants()) do
  592. if (CHILD:IsA("BasePart") or CHILD:IsA("Decal") or CHILD:IsA("Beam")) and CHILD ~= ROOT and CHILD ~= CHAIR then
  593. table.insert(BODY,CHILD)
  594. end
  595. end
  596. local ATTACKING = false
  597. if script:FindFirstChild("Color") then
  598. script.Color.Parent = game.Lighting
  599. end
  600. local HIT = false
  601. local MUSIC = script.Music
  602. local DEAD = false
  603. MUSIC:Play()
  604. local CLUBSMESH = 2761335666
  605. local DIAMONDMESH = 1254392112
  606. local SPADEMESH = 2760895053
  607. local HEARTMESH = 105992239 --VT(3.5,3.5,3.5)
  608. local SCYTHEMESH = 455516381
  609. local SINE = 0
  610. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  611.  
  612. Debris = game:GetService("Debris")
  613.  
  614. local Effects = IT("Folder",CHARACTER)
  615.  
  616. --//=================================\\
  617. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  618. --\\=================================//
  619.  
  620. ArtificialHB = Instance.new("BindableEvent", script)
  621. ArtificialHB.Name = "ArtificialHB"
  622.  
  623. script:WaitForChild("ArtificialHB")
  624.  
  625. frame = 1/60
  626. tf = 0
  627. allowframeloss = false
  628. tossremainder = false
  629. lastframe = tick()
  630. script.ArtificialHB:Fire()
  631.  
  632. game:GetService("RunService").Heartbeat:connect(function(s, p)
  633. tf = tf + s
  634. if tf >= frame then
  635. if allowframeloss then
  636. script.ArtificialHB:Fire()
  637. lastframe = tick()
  638. else
  639. for i = 1, math.floor(tf / frame) do
  640. script.ArtificialHB:Fire()
  641. end
  642. lastframe = tick()
  643. end
  644. if tossremainder then
  645. tf = 0
  646. else
  647. tf = tf - frame * math.floor(tf / frame)
  648. end
  649. end
  650. end)
  651.  
  652. function PositiveAngle(NUMBER)
  653. if NUMBER >= 0 then
  654. NUMBER = 0
  655. end
  656. return NUMBER
  657. end
  658.  
  659. function NegativeAngle(NUMBER)
  660. if NUMBER <= 0 then
  661. NUMBER = 0
  662. end
  663. return NUMBER
  664. end
  665.  
  666. function Swait(NUMBER)
  667. if NUMBER == 0 or NUMBER == nil then
  668. ArtificialHB.Event:wait()
  669. else
  670. for i = 1, NUMBER do
  671. ArtificialHB.Event:wait()
  672. end
  673. end
  674. end
  675.  
  676. --//=================================\\
  677. --|| FUNCTIONS
  678. --\\=================================//
  679.  
  680. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  681. local NEWMESH = IT(MESH)
  682. if MESH == "SpecialMesh" then
  683. NEWMESH.MeshType = MESHTYPE
  684. if MESHID ~= "nil" and MESHID ~= "" then
  685. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  686. end
  687. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  688. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  689. end
  690. end
  691. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  692. NEWMESH.Scale = SCALE
  693. NEWMESH.Parent = PARENT
  694. return NEWMESH
  695. end
  696.  
  697. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  698. local NEWPART = IT("Part")
  699. NEWPART.formFactor = FORMFACTOR
  700. NEWPART.Reflectance = REFLECTANCE
  701. NEWPART.Transparency = TRANSPARENCY
  702. NEWPART.CanCollide = false
  703. NEWPART.Locked = true
  704. NEWPART.Anchored = true
  705. if ANCHOR == false then
  706. NEWPART.Anchored = false
  707. end
  708. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  709. NEWPART.Name = NAME
  710. NEWPART.Size = SIZE
  711. NEWPART.Position = TORSO.Position
  712. NEWPART.Material = MATERIAL
  713. NEWPART:BreakJoints()
  714. NEWPART.Parent = PARENT
  715. return NEWPART
  716. end
  717.  
  718. local function weldBetween(a, b)
  719. local weldd = IT("ManualWeld")
  720. weldd.Part0 = a
  721. weldd.Part1 = b
  722. weldd.C0 = CF()
  723. weldd.C1 = b.CFrame:inverse() * a.CFrame
  724. weldd.Parent = a
  725. return weldd
  726. end
  727.  
  728. local S = IT("Sound")
  729. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  730. local NEWSOUND = nil
  731. coroutine.resume(coroutine.create(function()
  732. NEWSOUND = S:Clone()
  733. NEWSOUND.Parent = PARENT
  734. NEWSOUND.Volume = VOLUME
  735. NEWSOUND.Pitch = PITCH
  736. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  737. NEWSOUND:play()
  738. if DOESLOOP == true then
  739. NEWSOUND.Looped = true
  740. else
  741. repeat wait(1) until NEWSOUND.Playing == false
  742. NEWSOUND:remove()
  743. end
  744. end))
  745. return NEWSOUND
  746. end
  747.  
  748. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  749. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  750. end
  751.  
  752. function ApplyDamage(Humanoid,Damage)
  753. Damage = Damage * 1
  754. if Humanoid.Health ~= 0 then
  755. Humanoid.Health = Humanoid.Health - Damage
  756. end
  757. end
  758.  
  759. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  760. for index, CHILD in pairs(workspace:GetDescendants()) do
  761. if CHILD.ClassName == "Model" and CHILD ~= CHARACTER then
  762. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  763. if HUM then
  764. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  765. if TORSO then
  766. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  767. if INSTAKILL == true then
  768. CHILD:BreakJoints()
  769. else
  770. local DMG = MRANDOM(MINDMG,MAXDMG)
  771. ApplyDamage(HUM,DMG)
  772. end
  773. if FLING > 0 then
  774. for _, c in pairs(CHILD:GetChildren()) do
  775. if c:IsA("BasePart") then
  776. local bv = Instance.new("BodyVelocity")
  777. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  778. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  779. bv.Parent = c
  780. Debris:AddItem(bv,0.05)
  781. end
  782. end
  783. end
  784. end
  785. end
  786. end
  787. end
  788. end
  789. end
  790.  
  791. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  792. function WACKYEFFECT(Table)
  793. local TYPE = (Table.EffectType or "Sphere")
  794. local SIZE = (Table.Size or VT(1,1,1))
  795. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  796. local TRANSPARENCY = (Table.Transparency or 0)
  797. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  798. local CFRAME = (Table.CFrame or TORSO.CFrame)
  799. local MOVEDIRECTION = (Table.MoveToPos or nil)
  800. local ROTATION1 = (Table.RotationX or 0)
  801. local ROTATION2 = (Table.RotationY or 0)
  802. local ROTATION3 = (Table.RotationZ or 0)
  803. local MATERIAL = (Table.Material or "Neon")
  804. local COLOR = (Table.Color or C3(1,1,1))
  805. local TIME = (Table.Time or 45)
  806. local SOUNDID = (Table.SoundID or nil)
  807. local SOUNDPITCH = (Table.SoundPitch or nil)
  808. local SOUNDVOLUME = (Table.SoundVolume or nil)
  809. coroutine.resume(coroutine.create(function()
  810. local PLAYSSOUND = false
  811. local SOUND = nil
  812. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  813. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  814. PLAYSSOUND = true
  815. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  816. end
  817. EFFECT.Color = COLOR
  818. local MSH = nil
  819. if TYPE == "Sphere" then
  820. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  821. elseif TYPE == "Block" or TYPE == "Box" then
  822. MSH = IT("BlockMesh",EFFECT)
  823. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  824. elseif TYPE == "Wave" then
  825. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  826. elseif TYPE == "Ring" then
  827. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  828. elseif TYPE == "Slash" then
  829. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  830. elseif TYPE == "Round Slash" then
  831. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  832. elseif TYPE == "Swirl" then
  833. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  834. elseif TYPE == "Skull" then
  835. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  836. elseif TYPE == "Crystal" then
  837. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  838. end
  839. if MSH ~= nil then
  840. local MOVESPEED = nil
  841. if MOVEDIRECTION ~= nil then
  842. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  843. end
  844. local GROWTH = SIZE - ENDSIZE
  845. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  846. if TYPE == "Block" then
  847. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  848. else
  849. EFFECT.CFrame = CFRAME
  850. end
  851. for LOOP = 1, TIME+1 do
  852. Swait()
  853. MSH.Scale = MSH.Scale - GROWTH/TIME
  854. if TYPE == "Wave" then
  855. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  856. end
  857. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  858. if TYPE == "Block" then
  859. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  860. else
  861. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  862. end
  863. if MOVEDIRECTION ~= nil then
  864. local ORI = EFFECT.Orientation
  865. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  866. EFFECT.Orientation = ORI
  867. end
  868. end
  869. if PLAYSSOUND == false then
  870. EFFECT:remove()
  871. else
  872. repeat Swait() until SOUND.Playing == false
  873. EFFECT:remove()
  874. end
  875. else
  876. if PLAYSSOUND == false then
  877. EFFECT:remove()
  878. else
  879. repeat Swait() until SOUND.Playing == false
  880. EFFECT:remove()
  881. end
  882. end
  883. end))
  884. end
  885.  
  886. function Transparent(CY)
  887. for E = 1, #BODY do
  888. if BODY[E].ClassName ~= "Beam" then
  889. BODY[E].Transparency = CY
  890. else
  891. BODY[E].Transparency = NumberSequence.new(CY)
  892. end
  893. end
  894. end
  895.  
  896. --//=================================\\
  897. --|| CLERPING
  898. --\\=================================//
  899.  
  900. function QuaternionFromCFrame(cf)
  901. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  902. local trace = m00 + m11 + m22
  903. if trace > 0 then
  904. local s = math.sqrt(1 + trace)
  905. local recip = 0.5 / s
  906. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  907. else
  908. local i = 0
  909. if m11 > m00 then
  910. i = 1
  911. end
  912. if m22 > (i == 0 and m00 or m11) then
  913. i = 2
  914. end
  915. if i == 0 then
  916. local s = math.sqrt(m00 - m11 - m22 + 1)
  917. local recip = 0.5 / s
  918. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  919. elseif i == 1 then
  920. local s = math.sqrt(m11 - m22 - m00 + 1)
  921. local recip = 0.5 / s
  922. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  923. elseif i == 2 then
  924. local s = math.sqrt(m22 - m00 - m11 + 1)
  925. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  926. end
  927. end
  928. end
  929.  
  930. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  931. local xs, ys, zs = x + x, y + y, z + z
  932. local wx, wy, wz = w * xs, w * ys, w * zs
  933. local xx = x * xs
  934. local xy = x * ys
  935. local xz = x * zs
  936. local yy = y * ys
  937. local yz = y * zs
  938. local zz = z * zs
  939. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  940. end
  941.  
  942. function QuaternionSlerp(a, b, t)
  943. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  944. local startInterp, finishInterp;
  945. if cosTheta >= 0.0001 then
  946. if (1 - cosTheta) > 0.0001 then
  947. local theta = ACOS(cosTheta)
  948. local invSinTheta = 1 / SIN(theta)
  949. startInterp = SIN((1 - t) * theta) * invSinTheta
  950. finishInterp = SIN(t * theta) * invSinTheta
  951. else
  952. startInterp = 1 - t
  953. finishInterp = t
  954. end
  955. else
  956. if (1 + cosTheta) > 0.0001 then
  957. local theta = ACOS(-cosTheta)
  958. local invSinTheta = 1 / SIN(theta)
  959. startInterp = SIN((t - 1) * theta) * invSinTheta
  960. finishInterp = SIN(t * theta) * invSinTheta
  961. else
  962. startInterp = t - 1
  963. finishInterp = t
  964. end
  965. end
  966. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  967. end
  968.  
  969. function Clerp(a, b, t)
  970. local qa = {QuaternionFromCFrame(a)}
  971. local qb = {QuaternionFromCFrame(b)}
  972. local ax, ay, az = a.x, a.y, a.z
  973. local bx, by, bz = b.x, b.y, b.z
  974. local _t = 1 - t
  975. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  976. end
  977.  
  978. function ClerpBody(TABLE,PRIORITY)
  979. if PRIORITY == "Attack" or ATTACKING == false then
  980. RootJoint.C1 = Clerp(RootJoint.C1, TABLE[1], 0.35)
  981. if HIT == false then
  982. Neck.C1 = Clerp(Neck.C1, TABLE[2], 0.35)
  983. end
  984. RightShoulder.C1 = Clerp(RightShoulder.C1, TABLE[3], 0.35)
  985. LeftShoulder.C1 = Clerp(LeftShoulder.C1, TABLE[4], 0.35)
  986. RightHip.C1 = Clerp(RightHip.C1, TABLE[5], 0.35)
  987. LeftHip.C1 = Clerp(LeftHip.C1, TABLE[6], 0.35)
  988. end
  989. end
  990.  
  991. --//=================================\\
  992. --|| ATRIFICIAL INTELLIGENCE
  993. --\\=================================//
  994.  
  995. local GoTo = function(TO)
  996. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,TO),0.5)*CF(0,0,-HUMANOID.WalkSpeed/32))
  997. CHARACTER:SetPrimaryPartCFrame(CF(ROOT.Position)*ANGLES(0,RAD(ROOT.Orientation.Y),0))
  998. end
  999.  
  1000. function TestForTarget(PRT,target)
  1001. local to = true
  1002. if PRT then
  1003. if PRT:FindFirstAncestorOfClass("Model") == target.Parent then
  1004. to = false
  1005. end
  1006. end
  1007. return to
  1008. end
  1009.  
  1010. function ChaosOrAnything()
  1011. local PLAY = {ROOT.MeDoAnything,ROOT.ChaosChaos}
  1012. PLAY[MRANDOM(1,2)]:Play()
  1013. end
  1014.  
  1015. function OhOhOh(TARGET)
  1016. local FOE = TARGET.Torso
  1017. if FOE then
  1018. ATTACKING = true
  1019. ChaosOrAnything()
  1020. local E = 0
  1021. repeat
  1022. Swait()
  1023. E = E + 1
  1024. ClerpBody({
  1025. CF(0,-E/25,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1026. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0,-1,0),
  1027. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  1028. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  1029. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1030. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1031. },"Attack")
  1032. until ROOT.ChaosChaos.Playing == false and ROOT.MeDoAnything.Playing == false
  1033. for i = 1, MRANDOM(3,5) do
  1034. local TO = FOE.Position
  1035. local MOVETO = CF(FOE.Position+VT(0,1,0))*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,0,15)
  1036. CHARACTER:SetPrimaryPartCFrame(MOVETO)
  1037. Transparent(0)
  1038. ROOT.OH:Play()
  1039. for i = 1, 5 do
  1040. ClerpBody({
  1041. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1042. CF(0,-0.5,0)*ANGLES(RAD(5),RAD(0),RAD(0))*CF(0,-1,0),
  1043. CF(0,0.5,0)*ANGLES(RAD(-75),RAD(0),RAD(-35))*CF(-1.5,-0.5,0),
  1044. CF(0,0.5,0)*ANGLES(RAD(-75),RAD(0),RAD(35))*CF(1.5,-0.5,0),
  1045. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1046. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1047. },"Attack")
  1048. end
  1049. for i = 1, 3 do
  1050. local ANGLE = (50-(25*i))/1.25
  1051. coroutine.resume(coroutine.create(function()
  1052. local TOFIREFROM = ROOT.CFrame*ANGLES(0,RAD(ANGLE),0)
  1053. local CLUB = CreatePart(3, workspace, "Granite", 0, 0, TORSO.BrickColor, "Spade", VT(1.5,0.5,1.5), false)
  1054. CreateMesh("SpecialMesh", CLUB, "FileMesh", CLUBSMESH, "", VT(0.75,0.75,0.75), VT(0,0,0))
  1055. CLUB.CFrame = TOFIREFROM
  1056. local GO = IT("BodyVelocity",CLUB)
  1057. GO.Velocity = CLUB.CFrame.lookVector*65
  1058. Debris:AddItem(CLUB,1)
  1059. CLUB.Touched:Connect(function(HIT)
  1060. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  1061. CLUB:Remove()
  1062. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  1063. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 10
  1064. end
  1065. end)
  1066. end))
  1067. end
  1068. for i = 1, 35 do
  1069. Swait()
  1070. ClerpBody({
  1071. CF(0,-i/350,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1072. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0,-1,0),
  1073. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  1074. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  1075. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1076. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1077. },"Attack")
  1078. Transparent(i/35)
  1079. end
  1080. if TARGET.Health <= 0 or DEAD == true then
  1081. break
  1082. end
  1083. end
  1084. ATTACKING = false
  1085. for i = 1, 25 do
  1086. Swait()
  1087. Transparent((25-i)/25)
  1088. end
  1089. Transparent(0)
  1090. end
  1091. end
  1092. function Diamonds(TARGET)
  1093. local FOE = TARGET.Torso
  1094. if FOE then
  1095. ChaosOrAnything()
  1096. ATTACKING = true
  1097. coroutine.resume(coroutine.create(function()
  1098. repeat
  1099. Swait()
  1100. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(VT(ROOT.Position.X,FOE.Position.Y,ROOT.Position.Z),FOE.Position),0.2))
  1101. ClerpBody({
  1102. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1103. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1104. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  1105. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  1106. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1107. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1108. },"Attack")
  1109. until ATTACKING == false
  1110. end))
  1111. for i = 1, MRANDOM(25,35) do
  1112. coroutine.resume(coroutine.create(function()
  1113. local DIAMOND = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Diamond", VT(0.5,0.5,1.5), true)
  1114. CreateMesh("SpecialMesh", DIAMOND, "FileMesh", DIAMONDMESH, "", VT(0.1, 0.05, 0.15), VT(0,0,0))
  1115. DIAMOND.CFrame = ROOT.CFrame*CF(MRANDOM(-150,150)/20,0,-1.5)
  1116. for i = 1, 15 do
  1117. Swait()
  1118. DIAMOND.Transparency = (15-i)/15
  1119. DIAMOND.CFrame = DIAMOND.CFrame*CF(0,0,-(15-i)/35)
  1120. end
  1121. DIAMOND.Anchored = false
  1122. DIAMOND.Transparency = 0
  1123. local GO = IT("BodyVelocity",DIAMOND)
  1124. GO.Velocity = DIAMOND.CFrame.lookVector*15
  1125. Debris:AddItem(DIAMOND,1)
  1126. DIAMOND.Touched:Connect(function(HIT)
  1127. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  1128. DIAMOND:Remove()
  1129. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  1130. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 7.5
  1131. end
  1132. end)
  1133. for i = 1, 5 do
  1134. Swait()
  1135. GO.Velocity = DIAMOND.CFrame.lookVector*(15*i)
  1136. end
  1137. end))
  1138. if TARGET.Health <= 0 or DEAD == true then
  1139. break
  1140. end
  1141. Swait(7)
  1142. end
  1143. ATTACKING = false
  1144. end
  1145. end
  1146. function RingAround(TARGET)
  1147. local FOE = TARGET.Torso
  1148. if FOE then
  1149. ATTACKING = true
  1150. ChaosOrAnything()
  1151. local E = 0
  1152. repeat
  1153. Swait()
  1154. E = E + 1
  1155. ClerpBody({
  1156. CF(0,(-E/25)+0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1157. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1158. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  1159. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  1160. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1161. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1162. },"Attack")
  1163. until ROOT.ChaosChaos.Playing == false and ROOT.MeDoAnything.Playing == false
  1164. coroutine.resume(coroutine.create(function()
  1165. repeat
  1166. Swait()
  1167. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,VT(FOE.Position.X,ROOT.Position.Y,FOE.Position.Z)),0.2))
  1168. ClerpBody({
  1169. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1170. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1171. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  1172. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  1173. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1174. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1175. },"Attack")
  1176. until ATTACKING == false
  1177. end))
  1178. for i = 1, MRANDOM(2,4) do
  1179. local SPAWN = CF(FOE.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)
  1180. local SPADES = {}
  1181. for i = 1, 10 do
  1182. local SPADE = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Spade", VT(2,2,2), true)
  1183. CreateMesh("SpecialMesh", SPADE, "FileMesh", SPADEMESH, "", VT(1.2,1.2,1.2), VT(0,0,0))
  1184. SPADE.CFrame = SPAWN*ANGLES(0,RAD(36*i),0)*CF(0,0,35)
  1185. SPADE.Touched:Connect(function(HIT)
  1186. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  1187. SPADE:Remove()
  1188. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  1189. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 10
  1190. end
  1191. end)
  1192. table.insert(SPADES,SPADE)
  1193. end
  1194. for i = 1, 25 do
  1195. for E = 1, #SPADES do
  1196. SPADES[E].CFrame = SPADES[E].CFrame * CF(0,0,-0.5)
  1197. SPADES[E].Transparency = (10-i)/9.5
  1198. end
  1199. Swait()
  1200. end
  1201. wait(0.2)
  1202. for E = 1, #SPADES do
  1203. coroutine.resume(coroutine.create(function()
  1204. local SPADE = SPADES[E]
  1205. for i = 1, 15 do
  1206. SPADE.CFrame = SPADE.CFrame*CF(0,0,(15-i)/15)
  1207. Swait()
  1208. end
  1209. SPADE.Anchored = false
  1210. local GO = IT("BodyVelocity",SPADE)
  1211. GO.Velocity = SPADE.CFrame.lookVector*5
  1212. GO.MaxForce = GO.MaxForce * 100
  1213. Debris:AddItem(SPADE,1)
  1214. SPADE.Touched:Connect(function(HIT)
  1215. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  1216. SPADE:Remove()
  1217. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  1218. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 2.5
  1219. end
  1220. end)
  1221. for i = 1, 15 do
  1222. Swait()
  1223. GO.Velocity = SPADE.CFrame.lookVector*(5*i)
  1224. end
  1225. end))
  1226. Swait(5)
  1227. end
  1228. if TARGET.Health <= 0 or DEAD == true then
  1229. break
  1230. end
  1231. end
  1232. wait(0.5)
  1233. ATTACKING = false
  1234. end
  1235. end
  1236. function HeartsGoesOut(TARGET)
  1237. local FOE = TARGET.Torso
  1238. if FOE then
  1239. ChaosOrAnything()
  1240. ATTACKING = true
  1241. coroutine.resume(coroutine.create(function()
  1242. repeat
  1243. Swait()
  1244. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,VT(FOE.Position.X,ROOT.Position.Y,FOE.Position.Z)),0.2))
  1245. ClerpBody({
  1246. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1247. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1248. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  1249. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  1250. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1251. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1252. },"Attack")
  1253. until ATTACKING == false
  1254. end))
  1255. for i = 1, MRANDOM(5,7) do
  1256. local SPAWN = CF(FOE.Position+VT(0,1,0))*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,0,35)
  1257. SPAWN = CF(SPAWN.p,FOE.Position+VT(0,1,0))
  1258. coroutine.resume(coroutine.create(function()
  1259. local HEARTS = {}
  1260. for i = 1, 4 do
  1261. local HEART = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Heart", VT(2,2,2), true)
  1262. CreateMesh("SpecialMesh", HEART, "FileMesh", HEARTMESH, "", VT(3.5,3.5,3.5), VT(0,0,0))
  1263. HEART.CFrame = SPAWN*ANGLES(0,RAD((360/4)*i),0)
  1264. HEART.Touched:Connect(function(HIT)
  1265. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  1266. HEART:Remove()
  1267. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  1268. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 7.5
  1269. end
  1270. end)
  1271. table.insert(HEARTS,HEART)
  1272. end
  1273. for i = 1, 10 do
  1274. Swait()
  1275. for E = 1, #HEARTS do
  1276. HEARTS[E].CFrame = HEARTS[E].CFrame*CF(0,0,-(10-i)/10)
  1277. HEARTS[E].Transparency = (10-i)/9.5
  1278. end
  1279. end
  1280. local DIST = (HEARTS[1].Position - SPAWN.p).Magnitude
  1281. for i = 1, 100 do
  1282. Swait()
  1283. SPAWN = SPAWN*CF(0,0,-1)
  1284. for E = 1, #HEARTS do
  1285. HEARTS[E].Transparency = 0
  1286. HEARTS[E].CFrame = SPAWN*ANGLES(0,RAD(((360/4)*E)+(i*5)),0)*CF(0,0,-DIST)
  1287. end
  1288. end
  1289. for E = 1, #HEARTS do
  1290. HEARTS[E]:Destroy()
  1291. end
  1292. end))
  1293. Swait(35)
  1294. if TARGET.Health <= 0 or DEAD == true then
  1295. break
  1296. end
  1297. end
  1298. wait(0.5)
  1299. ATTACKING = false
  1300. end
  1301. end
  1302. function Meta(TARGET)
  1303. local FOE = TARGET.Torso
  1304. if FOE then
  1305. ROOT.Metamorph:Play()
  1306. ATTACKING = true
  1307. local SCYTHE = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Diamond", VT(3,0,3), true)
  1308. CreateMesh("SpecialMesh", SCYTHE, "FileMesh", SCYTHEMESH, "", VT(0.01, 0.01, 0.01), VT(0,0,0))
  1309. SCYTHE.CFrame = TORSO.CFrame
  1310. for i = 1, 3 do
  1311. for i = 1, 15 do
  1312. Swait()
  1313. ClerpBody({
  1314. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1315. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1316. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  1317. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  1318. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1319. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1320. },"Attack")
  1321. Transparent(i/15)
  1322. SCYTHE.Transparency = (15-i)/15
  1323. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  1324. end
  1325. for i = 1, 15 do
  1326. Swait()
  1327. ClerpBody({
  1328. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1329. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1330. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  1331. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  1332. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1333. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1334. },"Attack")
  1335. Transparent((15-i)/15)
  1336. SCYTHE.Transparency = i/15
  1337. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  1338. end
  1339. end
  1340. for i = 1, 15 do
  1341. Swait()
  1342. ClerpBody({
  1343. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1344. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1345. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  1346. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  1347. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1348. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1349. },"Attack")
  1350. Transparent(i/15)
  1351. SCYTHE.Transparency = (15-i)/15
  1352. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  1353. end
  1354. Transparent(1)
  1355. SCYTHE.Transparency = 0
  1356. local SCYTHES = {SCYTHE}
  1357. for i = 1, 3 do
  1358. local COPY = SCYTHE:Clone()
  1359. COPY.Parent = workspace
  1360. COPY.CFrame = SCYTHE.CFrame
  1361. table.insert(SCYTHES,COPY)
  1362. end
  1363. for E = 1, #SCYTHES do
  1364. local DELAY = false
  1365. SCYTHES[E].Touched:Connect(function(HIT)
  1366. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER and DELAY == false then
  1367. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 3.5
  1368. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  1369. DELAY = true
  1370. wait(1)
  1371. DELAY = false
  1372. end
  1373. end)
  1374. end
  1375. local NOW = ROOT.CFrame
  1376. CHARACTER:SetPrimaryPartCFrame(CF(0,5000,0))
  1377. HUMANOID.Parent = nil
  1378. local Y = FOE.Position.Y
  1379. for i = 1, 750 do
  1380. Swait()
  1381. for E = 1, #SCYTHES do
  1382. SCYTHES[E].CFrame = CF(Clerp(SCYTHES[E].CFrame,CF(FOE.Position.X,Y,FOE.Position.Z)*ANGLES(0,RAD((360/4*E)+SINE),0)*CF(0,0,45*SIN(i/50)),0.1).p)*ANGLES(0,RAD(SINE*5),0)
  1383. end
  1384. if TARGET.Health <= 0 or DEAD == true then
  1385. break
  1386. end
  1387. end
  1388. for i = 1, 25 do
  1389. for E = 1, #SCYTHES do
  1390. SCYTHES[E].CFrame = CF(Clerp(SCYTHES[E].CFrame,NOW,0.15).p)*ANGLES(0,RAD(SINE*5),0)
  1391. end
  1392. Swait()
  1393. end
  1394. CHARACTER:SetPrimaryPartCFrame(NOW)
  1395. HUMANOID.Parent = CHARACTER
  1396. for i = 1, 15 do
  1397. Swait()
  1398. ClerpBody({
  1399. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1400. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1401. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  1402. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  1403. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1404. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1405. },"Attack")
  1406. Transparent((15-i)/15)
  1407. for E = 1, #SCYTHES do
  1408. SCYTHES[E].CFrame = CF(ROOT.Position)*ANGLES(0,RAD(SINE*5),0)
  1409. SCYTHES[E].Transparency = i/15
  1410. end
  1411. end
  1412. for E = 1, #SCYTHES do
  1413. SCYTHES[E]:Remove()
  1414. end
  1415. ATTACKING = false
  1416. end
  1417. end
  1418. local ATTACKS = {OhOhOh,Diamonds,RingAround,HeartsGoesOut,Meta}
  1419.  
  1420. --//=================================\\
  1421. --|| WRAP
  1422. --\\=================================//
  1423.  
  1424. function BEGINAI()
  1425. local TORSOROT = 0
  1426. CHARACTER:SetPrimaryPartCFrame(ROOT.CFrame*CF(0,1,0))
  1427. coroutine.resume(coroutine.create(function()
  1428. game:GetService("RunService").Heartbeat:connect(function()
  1429. local DEFAULTS = {
  1430. CF(0,0,0),
  1431. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0,-1,0),
  1432. CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  1433. CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  1434. CF(-0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,0),
  1435. CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,1,0),
  1436. }
  1437. SINE = SINE + 1
  1438. end)
  1439. while true do
  1440. TORSOROT = 35
  1441. for i = 1, 5 do
  1442. ClerpBody({
  1443. CF(0,0,0)*ANGLES(RAD(0),RAD(35),RAD(0)),
  1444. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(-20),RAD(0))*CF(0,-1,0),
  1445. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  1446. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  1447. CF(-0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,1),
  1448. CF(0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.2),
  1449. },nil)
  1450. end
  1451. for i = 1, 15 do
  1452. Swait()
  1453. ClerpBody({
  1454. CF(0,0.3,0)*ANGLES(RAD(0),RAD(35),RAD(0)),
  1455. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(-35),RAD(0))*CF(0,-1,0),
  1456. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  1457. CF(0,0.75,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.25,0),
  1458. CF(-0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1459. CF(0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.2),
  1460. },nil)
  1461. if DEAD == true then
  1462. break
  1463. end
  1464. end
  1465. if DEAD == true then
  1466. break
  1467. end
  1468. TORSOROT = -35
  1469. for i = 1, 5 do
  1470. ClerpBody({
  1471. CF(0,0,0)*ANGLES(RAD(0),RAD(-35),RAD(0)),
  1472. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(20),RAD(0))*CF(0,-1,0),
  1473. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  1474. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  1475. CF(-0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,0.9,0.2),
  1476. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,0.9,1),
  1477. },nil)
  1478. end
  1479. for i = 1, 15 do
  1480. Swait()
  1481. ClerpBody({
  1482. CF(0,0.3,0)*ANGLES(RAD(0),RAD(-35),RAD(0)),
  1483. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(35),RAD(0))*CF(0,-1,0),
  1484. CF(0,0.75,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.25,0),
  1485. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  1486. CF(-0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.2),
  1487. CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,1,0.5),
  1488. },nil)
  1489. if DEAD == true then
  1490. break
  1491. end
  1492. end
  1493. if DEAD == true then
  1494. break
  1495. end
  1496. end
  1497. end))
  1498. local TARGET = nil
  1499. local TARGETHUM = nil
  1500. coroutine.resume(coroutine.create(function()
  1501. --local h = HUMANOID
  1502. local pathService = game:GetService("PathfindingService")
  1503. local goToPos = function(loc,target)
  1504. local distance = (loc-ROOT.Position).magnitude
  1505. local start = tick()
  1506. while distance > 7 do
  1507. if target then
  1508. if target.Torso and ATTACKING == false then
  1509. GoTo(loc+VT(0,4.5,0))
  1510. Swait()
  1511. local RAYTEST = Raycast(ROOT.Position,CF(ROOT.Position,target.Torso.Position).lookVector,500,CHARACTER)
  1512. if distance <= 7 or TARGETHUM ~= target or TestForTarget(RAYTEST,target) == false then -- Something may have gone wrong. Just break.
  1513. break
  1514. end
  1515. distance = (loc+VT(0,4.5,0)-ROOT.Position).magnitude
  1516. else
  1517. break
  1518. end
  1519. else
  1520. break
  1521. end
  1522. end
  1523. end
  1524.  
  1525. while true do
  1526. if DEAD == true then
  1527. break
  1528. end
  1529. Swait()
  1530. if TARGETHUM then
  1531. local target = TARGETHUM
  1532. if TARGETHUM.Torso then
  1533. local RAYTEST = Raycast(ROOT.Position,CF(ROOT.Position,VT(target.Torso.Position.X,ROOT.Position.Y,target.Torso.Position.Z)).lookVector,500,CHARACTER)
  1534. if TestForTarget(RAYTEST,target) == true then
  1535. local path = pathService:ComputeRawPathAsync(ROOT.Position,TARGETHUM.Torso.Position,5000)
  1536. local didBreak = false
  1537. local targetStart
  1538. if target and ROOT and target.Torso then
  1539. targetStart = target.Torso.Position
  1540. local previous = ROOT.Position
  1541. local points = path:GetWaypoints()
  1542. local s = #points > 1 and 2 or 1
  1543. for i = s,#points do
  1544. if GYRO == nil then
  1545. local point = points[i].Position
  1546. if didBreak then
  1547. break
  1548. end
  1549. if target and target.Torso and target.Health > 0 and ATTACKING == false then
  1550. if (ROOT.Position - point).Magnitude > 1 and TARGETHUM == target then
  1551. local pos = previous:lerp(point,0.65)
  1552. goToPos(previous:lerp(point,0.65),target)
  1553. previous = point
  1554. end
  1555. else
  1556. didBreak = true
  1557. break
  1558. end
  1559. end
  1560. end
  1561. end
  1562. if not didBreak and targetStart then
  1563. goToPos(targetStart)
  1564. end
  1565. else
  1566. if ATTACKING == false then
  1567. GoTo(target.Torso.Position+VT(0,2.5,0))
  1568. end
  1569. end
  1570. end
  1571. end
  1572. end
  1573. end))
  1574. HUMANOID.Died:Connect(function()
  1575. if DEAD == false then
  1576. DEAD = true
  1577. repeat
  1578. Swait()
  1579. until ATTACKING == false
  1580. CHAIR.Transparency = 0
  1581. Transparent(0)
  1582. script.Music:Stop()
  1583. ROOT.Deathed:Play()
  1584. repeat
  1585. Swait()
  1586. ClerpBody({
  1587. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1588. CF(0,-0.5,0)*ANGLES(RAD(35),RAD(0),RAD(0))*CF(0,-1,0),
  1589. CF(0,0.5,0)*ANGLES(RAD(-35),RAD(0),RAD(5))*CF(-1.5,-0.3,0),
  1590. CF(0,0.5,0)*ANGLES(RAD(-35),RAD(0),RAD(-5))*CF(1.5,-0.3,0),
  1591. CF(-0,0,0)*ANGLES(RAD(-15),RAD(0),RAD(0))*CF(-0.5,1,1),
  1592. CF(0,0,0)*ANGLES(RAD(-15),RAD(0),RAD(0))*CF(0.5,1,1),
  1593. },nil)
  1594. until ROOT.Deathed.Playing == false
  1595. CHARACTER.Head.Nametag:Remove()
  1596. TORSO.Neck:Remove()
  1597. TORSO.Die:Play()
  1598. ROOT:Remove()
  1599. CHARACTER:BreakJoints()
  1600. CHAIR:Destroy()
  1601. Debris:AddItem(CHARACTER,5)
  1602. end
  1603. end)
  1604. HUMANOID.HealthChanged:Connect(function()
  1605. if HIT == false and DEAD == false then
  1606. HIT = true
  1607. local HA = {ROOT.Ha1,ROOT.Ha2}
  1608. HA[MRANDOM(1,2)]:Play()
  1609. for i = 1, 100 do
  1610. Swait()
  1611. if ATTACKING == true then
  1612. Neck.C1 = Clerp(Neck.C1, CF(0,-2.5,0)*ANGLES(0,0,RAD(65*SIN(i/6)))*CF(0,-1,0), 0.2)
  1613. else
  1614. Neck.C1 = Clerp(Neck.C1, CF(0,-2.5,0)*ANGLES(0,0,RAD(65*SIN(i/6)))*ANGLES(0,RAD(-TORSOROT),0)*CF(0,-1,0), 0.7)
  1615. end
  1616. if DEAD == true then
  1617. break
  1618. end
  1619. end
  1620. HIT = false
  1621. end
  1622. end)
  1623. while true do
  1624. if DEAD == true then
  1625. break
  1626. end
  1627. local TARGETVARIANTS = {}
  1628. TARGET = nil
  1629. for index, CHILD in pairs(workspace:GetChildren()) do
  1630. if CHILD ~= CHARACTER and CHILD:FindFirstChild("Slain") == nil then
  1631. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  1632. if HUMAN then
  1633. if HUMAN.Health > 0 then
  1634. if HUMAN.Torso then
  1635. local DISTANCE = (HUMAN.Torso.Position - ROOT.Position).Magnitude
  1636. table.insert(TARGETVARIANTS,{CHILD,DISTANCE})
  1637. end
  1638. end
  1639. end
  1640. end
  1641. end
  1642. local DIST = math.huge
  1643. for E = 1, #TARGETVARIANTS do
  1644. local PLAYER = TARGETVARIANTS[E]
  1645. local CHARACTER = PLAYER[1]
  1646. local DISTANCE = PLAYER[2]
  1647. if DISTANCE < DIST then
  1648. DIST = DISTANCE
  1649. TARGET = CHARACTER
  1650. end
  1651. end
  1652. if TARGET and TARGET:FindFirstChild("HumanoidRootPart") then
  1653. TARGETHUM = TARGET:FindFirstChildOfClass("Humanoid")
  1654. --[[HUMANOID.WalkSpeed = 22
  1655. HUMANOID.JumpPower = 125]]
  1656. local RAY = Raycast(ROOT.Position,CF(ROOT.Position,TARGETHUM.Torso.Position).lookVector,25,CHARACTER)
  1657. if DIST <= 25 and TestForTarget(RAY,TARGETHUM) == false and (TARGETHUM.Torso.Position.Y > ROOT.Position.Y-1 or TARGETHUM.Torso.Position.Y < ROOT.Position.Y+2) then
  1658. ATTACKS[MRANDOM(1,#ATTACKS)](TARGETHUM)
  1659. end
  1660. else
  1661. TARGETHUM = nil
  1662. end
  1663. wait()
  1664. end
  1665. end
  1666.  
  1667. BEGINAI()
  1668. end))
  1669. Sound42.Name = "Music"
  1670. Sound42.Parent = Script41
  1671. Sound42.Looped = true
  1672. Sound42.SoundId = "rbxassetid://2701520256"
  1673. Sound42.Volume = 2.5
  1674. MeshPart43.Name = "Hat"
  1675. MeshPart43.Parent = Model9
  1676. MeshPart43.CFrame = CFrame.new(-544.792542, 90.7830505, 51.2608185, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1677. MeshPart43.Position = Vector3.new(-544.792542, 90.7830505, 51.2608185)
  1678. MeshPart43.Color = Color3.new(0.129412, 0.329412, 0.72549)
  1679. MeshPart43.Size = Vector3.new(2.75788856, 1.64599526, 2.41334939)
  1680. MeshPart43.BrickColor = BrickColor.new("Deep blue")
  1681. MeshPart43.CanCollide = false
  1682. MeshPart43.Material = Enum.Material.SmoothPlastic
  1683. MeshPart43.brickColor = BrickColor.new("Deep blue")
  1684. Weld44.Name = "Joint"
  1685. Weld44.Parent = MeshPart43
  1686. Weld44.C0 = CFrame.new(0, -0.699880123, -0.500030518, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1687. Weld44.Part0 = MeshPart43
  1688. Weld44.Part1 = UnionOperation18
  1689. Weld44.part1 = UnionOperation18
  1690. MeshPart45.Name = "Tail"
  1691. MeshPart45.Parent = Model9
  1692. MeshPart45.CFrame = CFrame.new(-544.792542, 87.0130463, 52.3607712, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1693. MeshPart45.Position = Vector3.new(-544.792542, 87.0130463, 52.3607712)
  1694. MeshPart45.Color = Color3.new(0.129412, 0.329412, 0.72549)
  1695. MeshPart45.Size = Vector3.new(0.462002546, 1.40317202, 2.49498963)
  1696. MeshPart45.BrickColor = BrickColor.new("Deep blue")
  1697. MeshPart45.CanCollide = false
  1698. MeshPart45.Material = Enum.Material.SmoothPlastic
  1699. MeshPart45.brickColor = BrickColor.new("Deep blue")
  1700. Weld46.Name = "Joint"
  1701. Weld46.Parent = MeshPart45
  1702. Weld46.C0 = CFrame.new(-3.81469727e-05, 1.57016039, -1.59996033, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1703. Weld46.Part0 = MeshPart45
  1704. Weld46.Part1 = UnionOperation10
  1705. Weld46.part1 = UnionOperation10
  1706. Humanoid47.Parent = Model9
  1707. Humanoid47.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  1708. Humanoid47.Health = 6500
  1709. Humanoid47.LeftLeg = MeshPart40
  1710. Humanoid47.MaxHealth = 6500
  1711. Humanoid47.MaxSlopeAngle = 89.900001525879
  1712. Humanoid47.RightLeg = MeshPart39
  1713. Humanoid47.Torso = Part24
  1714. Humanoid47.maxHealth = 6500
  1715. Part48.Name = "Wheelchair"
  1716. Part48.Parent = Model9
  1717. Part48.CFrame = CFrame.new(-544.792542, 87.6830444, 50.7607727, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1718. Part48.Position = Vector3.new(-544.792542, 87.6830444, 50.7607727)
  1719. Part48.Transparency = 1
  1720. Part48.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  1721. Part48.Anchored = true
  1722. Part48.BottomSurface = Enum.SurfaceType.Smooth
  1723. Part48.CanCollide = false
  1724. Part48.Material = Enum.Material.SmoothPlastic
  1725. Part48.TopSurface = Enum.SurfaceType.Smooth
  1726. SpecialMesh49.Parent = Part48
  1727. SpecialMesh49.MeshId = "rbxassetid://1226669573"
  1728. SpecialMesh49.Scale = Vector3.new(2, 2, 2)
  1729. SpecialMesh49.TextureId = "rbxassetid://1226669284"
  1730. SpecialMesh49.MeshType = Enum.MeshType.FileMesh
  1731. for i,v in pairs(mas:GetChildren()) do
  1732. v.Parent = script
  1733. pcall(function() v:MakeJoints() end)
  1734. end
  1735. mas:Destroy()
  1736. for i,v in pairs(cors) do
  1737. spawn(function()
  1738. pcall(v)
  1739. end)
  1740. end
  1741.  
  1742. end))
  1743. Model3.Name = "CompiledScripts"
  1744. Model3.Parent = mas
  1745. Script4.Name = "Script1"
  1746. Script4.Parent = Model3
  1747. table.insert(cors,sandbox(Script4,function()
  1748.  
  1749. --Converted with ttyyuu12345's model to script plugin v4
  1750. function sandbox(var,func)
  1751. local env = getfenv(func)
  1752. local newenv = setmetatable({},{
  1753. __index = function(self,k)
  1754. if k=="script" then
  1755. return var
  1756. else
  1757. return env[k]
  1758. end
  1759. end,
  1760. })
  1761. setfenv(func,newenv)
  1762. return func
  1763. end
  1764. cors = {}
  1765. mas = Instance.new("Model",game:GetService("Lighting"))
  1766. local chil = workspace:GetChildren()
  1767. for i,v in pairs(chil) do
  1768. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  1769. v:Destroy()
  1770. end
  1771. end
  1772. Camera0 = Instance.new("Camera")
  1773. SpawnLocation1 = Instance.new("SpawnLocation")
  1774. Model2 = Instance.new("Model")
  1775. UnionOperation3 = Instance.new("UnionOperation")
  1776. Beam4 = Instance.new("Beam")
  1777. Sound5 = Instance.new("Sound")
  1778. Motor6D6 = Instance.new("Motor6D")
  1779. Motor6D7 = Instance.new("Motor6D")
  1780. Motor6D8 = Instance.new("Motor6D")
  1781. Motor6D9 = Instance.new("Motor6D")
  1782. Motor6D10 = Instance.new("Motor6D")
  1783. UnionOperation11 = Instance.new("UnionOperation")
  1784. Decal12 = Instance.new("Decal")
  1785. BillboardGui13 = Instance.new("BillboardGui")
  1786. TextLabel14 = Instance.new("TextLabel")
  1787. TextLabel15 = Instance.new("TextLabel")
  1788. Script16 = Instance.new("Script")
  1789. Part17 = Instance.new("Part")
  1790. Sound18 = Instance.new("Sound")
  1791. Sound19 = Instance.new("Sound")
  1792. Sound20 = Instance.new("Sound")
  1793. Sound21 = Instance.new("Sound")
  1794. Sound22 = Instance.new("Sound")
  1795. Sound23 = Instance.new("Sound")
  1796. Sound24 = Instance.new("Sound")
  1797. Sound25 = Instance.new("Sound")
  1798. Sound26 = Instance.new("Sound")
  1799. Sound27 = Instance.new("Sound")
  1800. Sound28 = Instance.new("Sound")
  1801. Motor6D29 = Instance.new("Motor6D")
  1802. MeshPart30 = Instance.new("MeshPart")
  1803. MeshPart31 = Instance.new("MeshPart")
  1804. MeshPart32 = Instance.new("MeshPart")
  1805. MeshPart33 = Instance.new("MeshPart")
  1806. Script34 = Instance.new("Script")
  1807. Sound35 = Instance.new("Sound")
  1808. MeshPart36 = Instance.new("MeshPart")
  1809. Weld37 = Instance.new("Weld")
  1810. MeshPart38 = Instance.new("MeshPart")
  1811. Weld39 = Instance.new("Weld")
  1812. Humanoid40 = Instance.new("Humanoid")
  1813. Part41 = Instance.new("Part")
  1814. SpecialMesh42 = Instance.new("SpecialMesh")
  1815. Model43 = Instance.new("Model")
  1816. LocalScript44 = Instance.new("LocalScript")
  1817. Camera0.Parent = mas
  1818. Camera0.CFrame = CFrame.new(-532.752136, 96.776268, 32.397644, -0.896999061, -0.229961351, 0.377505511, -0, 0.854022264, 0.520236433, -0.442032397, 0.466651589, -0.766057193)
  1819. Camera0.CoordinateFrame = CFrame.new(-532.752136, 96.776268, 32.397644, -0.896999061, -0.229961351, 0.377505511, -0, 0.854022264, 0.520236433, -0.442032397, 0.466651589, -0.766057193)
  1820. Camera0.Focus = CFrame.new(-536.401794, 91.7467117, 39.8037529, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1821. Camera0.focus = CFrame.new(-536.401794, 91.7467117, 39.8037529, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1822. SpawnLocation1.Parent = mas
  1823. SpawnLocation1.CFrame = CFrame.new(-522.671448, 85.6833878, 81.3869476, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  1824. SpawnLocation1.Orientation = Vector3.new(0, 180, 0)
  1825. SpawnLocation1.Position = Vector3.new(-522.671448, 85.6833878, 81.3869476)
  1826. SpawnLocation1.Rotation = Vector3.new(-180, 0, -180)
  1827. SpawnLocation1.Transparency = 1
  1828. SpawnLocation1.Size = Vector3.new(6, 0.200000048, 6)
  1829. SpawnLocation1.Anchored = true
  1830. SpawnLocation1.BackSurface = Enum.SurfaceType.Weld
  1831. SpawnLocation1.BottomSurface = Enum.SurfaceType.Weld
  1832. SpawnLocation1.FrontSurface = Enum.SurfaceType.Weld
  1833. SpawnLocation1.LeftSurface = Enum.SurfaceType.Weld
  1834. SpawnLocation1.RightSurface = Enum.SurfaceType.Weld
  1835. SpawnLocation1.TopSurface = Enum.SurfaceType.Smooth
  1836. Model2.Name = "Joofil"
  1837. Model2.Parent = mas
  1838. Model2.PrimaryPart = Part17
  1839. UnionOperation3.Name = "Torso"
  1840. UnionOperation3.Parent = Model2
  1841. UnionOperation3.CFrame = CFrame.new(-544.792603, 88.5832062, 50.7608109, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1842. UnionOperation3.Position = Vector3.new(-544.792603, 88.5832062, 50.7608109)
  1843. UnionOperation3.Color = Color3.new(0.129412, 0.329412, 0.72549)
  1844. UnionOperation3.Size = Vector3.new(2.00003052, 2.00002933, 1.00000763)
  1845. UnionOperation3.BrickColor = BrickColor.new("Deep blue")
  1846. UnionOperation3.Material = Enum.Material.SmoothPlastic
  1847. UnionOperation3.brickColor = BrickColor.new("Deep blue")
  1848. UnionOperation3.UsePartColor = true
  1849. Beam4.Name = "Neck"
  1850. Beam4.Parent = UnionOperation3
  1851. Beam4.Attachment0 = nil
  1852. Beam4.Attachment1 = nil
  1853. Beam4.FaceCamera = true
  1854. Beam4.LightEmission = 1
  1855. Beam4.LightInfluence = 1
  1856. Beam4.Segments = 50
  1857. Beam4.Texture = "rbxassetid://1134824633"
  1858. Beam4.TextureLength = 5
  1859. Beam4.TextureMode = Enum.TextureMode.Static
  1860. Beam4.TextureSpeed = 2
  1861. Beam4.Transparency = NumberSequence.new(0.20000000298023,0.20000000298023)
  1862. Beam4.Width0 = 0.5
  1863. Beam4.Width1 = 0.5
  1864. Sound5.Name = "Die"
  1865. Sound5.Parent = UnionOperation3
  1866. Sound5.MaxDistance = 300
  1867. Sound5.EmitterSize = 35
  1868. Sound5.MinDistance = 35
  1869. Sound5.SoundId = "rbxassetid://2150821806"
  1870. Sound5.Volume = 2
  1871. Motor6D6.Name = "Head"
  1872. Motor6D6.Parent = UnionOperation3
  1873. Motor6D6.C1 = CFrame.new(-3.9100647e-05, -1.49995828, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1874. Motor6D6.Part0 = UnionOperation3
  1875. Motor6D6.Part1 = UnionOperation11
  1876. Motor6D6.part1 = UnionOperation11
  1877. Motor6D7.Name = "RArm"
  1878. Motor6D7.Parent = UnionOperation3
  1879. Motor6D7.C1 = CFrame.new(-1.50003719, 0.000101089478, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1880. Motor6D7.Part0 = UnionOperation3
  1881. Motor6D7.Part1 = MeshPart31
  1882. Motor6D7.part1 = MeshPart31
  1883. Motor6D8.Name = "LArm"
  1884. Motor6D8.Parent = UnionOperation3
  1885. Motor6D8.C1 = CFrame.new(1.49996281, 0.000101089478, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1886. Motor6D8.Part0 = UnionOperation3
  1887. Motor6D8.Part1 = MeshPart30
  1888. Motor6D8.part1 = MeshPart30
  1889. Motor6D9.Name = "RLeg"
  1890. Motor6D9.Parent = UnionOperation3
  1891. Motor6D9.C1 = CFrame.new(-0.500037193, 2.00010109, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1892. Motor6D9.Part0 = UnionOperation3
  1893. Motor6D9.Part1 = MeshPart32
  1894. Motor6D9.part1 = MeshPart32
  1895. Motor6D10.Name = "LLeg"
  1896. Motor6D10.Parent = UnionOperation3
  1897. Motor6D10.C1 = CFrame.new(0.499962807, 2.00010109, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1898. Motor6D10.Part0 = UnionOperation3
  1899. Motor6D10.Part1 = MeshPart33
  1900. Motor6D10.part1 = MeshPart33
  1901. UnionOperation11.Name = "Head"
  1902. UnionOperation11.Parent = Model2
  1903. UnionOperation11.CFrame = CFrame.new(-544.792542, 90.083168, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1904. UnionOperation11.Position = Vector3.new(-544.792542, 90.083168, 50.760788)
  1905. UnionOperation11.Color = Color3.new(0.937255, 0.721569, 0.219608)
  1906. UnionOperation11.Size = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  1907. UnionOperation11.BrickColor = BrickColor.new("Gold")
  1908. UnionOperation11.Material = Enum.Material.SmoothPlastic
  1909. UnionOperation11.brickColor = BrickColor.new("Gold")
  1910. UnionOperation11.UsePartColor = true
  1911. Decal12.Name = "Smile"
  1912. Decal12.Parent = UnionOperation11
  1913. Decal12.Texture = "http://www.roblox.com/asset/?id=288072938"
  1914. BillboardGui13.Name = "Nametag"
  1915. BillboardGui13.Parent = UnionOperation11
  1916. BillboardGui13.Size = UDim2.new(4, 0, 4, 0)
  1917. BillboardGui13.AlwaysOnTop = true
  1918. BillboardGui13.StudsOffset = Vector3.new(0, 2, 0)
  1919. TextLabel14.Name = "Title"
  1920. TextLabel14.Parent = BillboardGui13
  1921. TextLabel14.Size = UDim2.new(1, 0, 0.25, 0)
  1922. TextLabel14.BackgroundColor = BrickColor.new("Institutional white")
  1923. TextLabel14.BackgroundColor3 = Color3.new(1, 1, 1)
  1924. TextLabel14.BackgroundTransparency = 1
  1925. TextLabel14.BorderSizePixel = 0
  1926. TextLabel14.ClipsDescendants = true
  1927. TextLabel14.Font = Enum.Font.Fantasy
  1928. TextLabel14.FontSize = Enum.FontSize.Size14
  1929. TextLabel14.Text = "Joofil"
  1930. TextLabel14.TextColor = BrickColor.new("Institutional white")
  1931. TextLabel14.TextColor3 = Color3.new(1, 1, 1)
  1932. TextLabel14.TextScaled = true
  1933. TextLabel14.TextSize = 14
  1934. TextLabel14.TextWrap = true
  1935. TextLabel14.TextWrapped = true
  1936. TextLabel15.Name = "HP"
  1937. TextLabel15.Parent = BillboardGui13
  1938. TextLabel15.Position = UDim2.new(0, 0, 0.25, 0)
  1939. TextLabel15.Size = UDim2.new(1, 0, 0.100000001, 0)
  1940. TextLabel15.BackgroundColor = BrickColor.new("Institutional white")
  1941. TextLabel15.BackgroundColor3 = Color3.new(1, 1, 1)
  1942. TextLabel15.BackgroundTransparency = 1
  1943. TextLabel15.BorderSizePixel = 0
  1944. TextLabel15.ClipsDescendants = true
  1945. TextLabel15.Font = Enum.Font.Fantasy
  1946. TextLabel15.FontSize = Enum.FontSize.Size48
  1947. TextLabel15.Text = "0/0"
  1948. TextLabel15.TextColor = BrickColor.new("Mint")
  1949. TextLabel15.TextColor3 = Color3.new(0.686275, 1, 0.686275)
  1950. TextLabel15.TextScaled = true
  1951. TextLabel15.TextSize = 45
  1952. TextLabel15.TextWrap = true
  1953. TextLabel15.TextWrapped = true
  1954. Script16.Parent = BillboardGui13
  1955. table.insert(cors,sandbox(Script16,function()
  1956. wait(0.05)
  1957. Humanoid = script.Parent.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1958. script.Parent.HP.Text = math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  1959.  
  1960. Humanoid.Changed:connect(function()
  1961. if Humanoid.Health > Humanoid.MaxHealth/2 then
  1962. script.Parent.HP.TextColor3 = Color3.new(175/255,1,175/255)
  1963. end
  1964. if Humanoid.Health > Humanoid.MaxHealth then
  1965. script.Parent.HP.TextColor3 = Color3.new(175/255,1,225/255)
  1966. end
  1967. if Humanoid.Health > Humanoid.MaxHealth * 1.5 then
  1968. script.Parent.HP.TextColor3 = Color3.new(175/255,1,1)
  1969. end
  1970. if Humanoid.Health > Humanoid.MaxHealth * 3 then
  1971. script.Parent.HP.TextColor3 = Color3.new(175/255,220/255,1)
  1972. end
  1973. if Humanoid.Health > Humanoid.MaxHealth * 10 then
  1974. script.Parent.HP.TextColor3 = Color3.new(175/255,175/255,1)
  1975. end
  1976. if Humanoid.Health < Humanoid.MaxHealth/2 then
  1977. script.Parent.HP.TextColor3 = Color3.new(210/255,1,175/255)
  1978. end
  1979. if Humanoid.Health < Humanoid.MaxHealth/2.5 then
  1980. script.Parent.HP.TextColor3 = Color3.new(230/255,1,175/255)
  1981. end
  1982. if Humanoid.Health < Humanoid.MaxHealth/3 then
  1983. script.Parent.HP.TextColor3 = Color3.new(1,1,175/255)
  1984. end
  1985. if Humanoid.Health < Humanoid.MaxHealth/5 then
  1986. script.Parent.HP.TextColor3 = Color3.new(1,225/255,175/255)
  1987. end
  1988. if Humanoid.Health < Humanoid.MaxHealth/7.5 then
  1989. script.Parent.HP.TextColor3 = Color3.new(1,200/255,175/255)
  1990. end
  1991. if Humanoid.Health < Humanoid.MaxHealth/10 then
  1992. script.Parent.HP.TextColor3 = Color3.new(1,175/255,175/255)
  1993. end
  1994. if Humanoid.Health == 0 then
  1995. script.Parent.HP.Text = "Dead"
  1996. else
  1997. script.Parent.HP.Text = math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  1998. end
  1999. if Humanoid.Health == math.huge then
  2000. script.Parent.HP.Text = "Godded"
  2001. script.Parent.HP.TextColor3 = Color3.new(175/255,175/255,175/255)
  2002. end
  2003. end)
  2004. end))
  2005. Part17.Name = "HumanoidRootPart"
  2006. Part17.Parent = Model2
  2007. Part17.CFrame = CFrame.new(-544.792542, 88.583168, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2008. Part17.Position = Vector3.new(-544.792542, 88.583168, 50.760788)
  2009. Part17.Color = Color3.new(0.937255, 0.721569, 0.219608)
  2010. Part17.Transparency = 1
  2011. Part17.Size = Vector3.new(2, 2, 1)
  2012. Part17.Anchored = true
  2013. Part17.BottomSurface = Enum.SurfaceType.Smooth
  2014. Part17.BrickColor = BrickColor.new("Gold")
  2015. Part17.Material = Enum.Material.SmoothPlastic
  2016. Part17.TopSurface = Enum.SurfaceType.Smooth
  2017. Part17.brickColor = BrickColor.new("Gold")
  2018. Sound18.Name = "Chuckle"
  2019. Sound18.Parent = Part17
  2020. Sound18.MaxDistance = 300
  2021. Sound18.EmitterSize = 35
  2022. Sound18.MinDistance = 35
  2023. Sound18.SoundId = "rbxassetid://2545010175"
  2024. Sound18.Volume = 5
  2025. Sound19.Name = "ByeBye"
  2026. Sound19.Parent = Part17
  2027. Sound19.MaxDistance = 300
  2028. Sound19.EmitterSize = 35
  2029. Sound19.MinDistance = 35
  2030. Sound19.SoundId = "rbxassetid://2545211516"
  2031. Sound19.Volume = 5
  2032. Sound20.Name = "ChaosChaos"
  2033. Sound20.Parent = Part17
  2034. Sound20.MaxDistance = 300
  2035. Sound20.EmitterSize = 35
  2036. Sound20.MinDistance = 35
  2037. Sound20.SoundId = "rbxassetid://2545008459"
  2038. Sound20.Volume = 5
  2039. Sound21.Name = "Ha2"
  2040. Sound21.Parent = Part17
  2041. Sound21.MaxDistance = 300
  2042. Sound21.EmitterSize = 35
  2043. Sound21.MinDistance = 35
  2044. Sound21.SoundId = "rbxassetid://2606662454"
  2045. Sound21.Volume = 5
  2046. Sound22.Name = "Ha1"
  2047. Sound22.Parent = Part17
  2048. Sound22.MaxDistance = 300
  2049. Sound22.EmitterSize = 35
  2050. Sound22.MinDistance = 35
  2051. Sound22.SoundId = "rbxassetid://2606661976"
  2052. Sound22.Volume = 5
  2053. Sound23.Name = "Neo"
  2054. Sound23.Parent = Part17
  2055. Sound23.MaxDistance = 300
  2056. Sound23.EmitterSize = 35
  2057. Sound23.MinDistance = 35
  2058. Sound23.SoundId = "rbxassetid://2545018472"
  2059. Sound23.Volume = 5
  2060. Sound24.Name = "MeDoAnything"
  2061. Sound24.Parent = Part17
  2062. Sound24.MaxDistance = 300
  2063. Sound24.EmitterSize = 35
  2064. Sound24.MinDistance = 35
  2065. Sound24.SoundId = "rbxassetid://2544975373"
  2066. Sound24.Volume = 5
  2067. Sound25.Name = "OH"
  2068. Sound25.Parent = Part17
  2069. Sound25.MaxDistance = 300
  2070. Sound25.EmitterSize = 35
  2071. Sound25.MinDistance = 35
  2072. Sound25.SoundId = "rbxassetid://2545012765"
  2073. Sound25.Volume = 5
  2074. Sound26.Name = "Laugh"
  2075. Sound26.Parent = Part17
  2076. Sound26.MaxDistance = 300
  2077. Sound26.EmitterSize = 35
  2078. Sound26.MinDistance = 35
  2079. Sound26.SoundId = "rbxassetid://2545211765"
  2080. Sound26.Volume = 5
  2081. Sound27.Name = "Metamorph"
  2082. Sound27.Parent = Part17
  2083. Sound27.MaxDistance = 300
  2084. Sound27.EmitterSize = 35
  2085. Sound27.MinDistance = 35
  2086. Sound27.SoundId = "rbxassetid://2545011398"
  2087. Sound27.Volume = 5
  2088. Sound28.Name = "Deathed"
  2089. Sound28.Parent = Part17
  2090. Sound28.MaxDistance = 300
  2091. Sound28.EmitterSize = 35
  2092. Sound28.MinDistance = 35
  2093. Sound28.SoundId = "rbxassetid://2637401925"
  2094. Sound28.Volume = 2
  2095. Motor6D29.Name = "Root"
  2096. Motor6D29.Parent = Part17
  2097. Motor6D29.C1 = CFrame.new(3.9100647e-05, -4.17232513e-05, -2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2098. Motor6D29.Part0 = Part17
  2099. Motor6D29.Part1 = UnionOperation3
  2100. Motor6D29.part1 = UnionOperation3
  2101. MeshPart30.Name = "Left Arm"
  2102. MeshPart30.Parent = Model2
  2103. MeshPart30.CFrame = CFrame.new(-546.292542, 88.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2104. MeshPart30.Position = Vector3.new(-546.292542, 88.583107, 50.760788)
  2105. MeshPart30.Color = Color3.new(0.937255, 0.721569, 0.219608)
  2106. MeshPart30.Size = Vector3.new(1.00004005, 2.00002551, 1)
  2107. MeshPart30.BrickColor = BrickColor.new("Gold")
  2108. MeshPart30.Material = Enum.Material.SmoothPlastic
  2109. MeshPart30.brickColor = BrickColor.new("Gold")
  2110. MeshPart31.Name = "Right Arm"
  2111. MeshPart31.Parent = Model2
  2112. MeshPart31.CFrame = CFrame.new(-543.292542, 88.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2113. MeshPart31.Position = Vector3.new(-543.292542, 88.583107, 50.760788)
  2114. MeshPart31.Color = Color3.new(0.937255, 0.721569, 0.219608)
  2115. MeshPart31.Size = Vector3.new(1.00004005, 2.00002551, 1)
  2116. MeshPart31.BrickColor = BrickColor.new("Gold")
  2117. MeshPart31.Material = Enum.Material.SmoothPlastic
  2118. MeshPart31.brickColor = BrickColor.new("Gold")
  2119. MeshPart32.Name = "Right Leg"
  2120. MeshPart32.Parent = Model2
  2121. MeshPart32.CFrame = CFrame.new(-544.292542, 86.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2122. MeshPart32.Position = Vector3.new(-544.292542, 86.583107, 50.760788)
  2123. MeshPart32.Color = Color3.new(0.294118, 0.592157, 0.294118)
  2124. MeshPart32.Size = Vector3.new(1.00004005, 2.00002551, 1)
  2125. MeshPart32.BrickColor = BrickColor.new("Bright green")
  2126. MeshPart32.Material = Enum.Material.SmoothPlastic
  2127. MeshPart32.brickColor = BrickColor.new("Bright green")
  2128. MeshPart33.Name = "Left Leg"
  2129. MeshPart33.Parent = Model2
  2130. MeshPart33.CFrame = CFrame.new(-545.292542, 86.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2131. MeshPart33.Position = Vector3.new(-545.292542, 86.583107, 50.760788)
  2132. MeshPart33.Color = Color3.new(0.294118, 0.592157, 0.294118)
  2133. MeshPart33.Size = Vector3.new(1.00004005, 2.00002551, 1)
  2134. MeshPart33.BrickColor = BrickColor.new("Bright green")
  2135. MeshPart33.Material = Enum.Material.SmoothPlastic
  2136. MeshPart33.brickColor = BrickColor.new("Bright green")
  2137. Script34.Name = "REOOFING"
  2138. Script34.Parent = Model2
  2139. table.insert(cors,sandbox(Script34,function()
  2140. IT = Instance.new
  2141. CF = CFrame.new
  2142. VT = Vector3.new
  2143. RAD = math.rad
  2144. C3 = Color3.new
  2145. UD2 = UDim2.new
  2146. BRICKC = BrickColor.new
  2147. ANGLES = CFrame.Angles
  2148. EULER = CFrame.fromEulerAnglesXYZ
  2149. COS = math.cos
  2150. ACOS = math.acos
  2151. SIN = math.sin
  2152. ASIN = math.asin
  2153. ABS = math.abs
  2154. MRANDOM = math.random
  2155. FLOOR = math.floor
  2156.  
  2157. local GYRO = nil
  2158. local CHARACTER = script.Parent
  2159. local HUMANOID = CHARACTER:FindFirstChildOfClass("Humanoid")
  2160. local TORSO = CHARACTER.Torso
  2161. local ROOT = CHARACTER.HumanoidRootPart
  2162. local RIGHTARM = CHARACTER["Right Arm"]
  2163. local LEFTARM = CHARACTER["Left Arm"]
  2164. local RIGHTLEG = CHARACTER["Right Leg"]
  2165. local LEFTLEG = CHARACTER["Left Leg"]
  2166. RootJoint = ROOT["Root"]
  2167. Neck = TORSO["Head"]
  2168. RightShoulder = TORSO["RArm"]
  2169. LeftShoulder = TORSO["LArm"]
  2170. RightHip = TORSO["RLeg"]
  2171. LeftHip = TORSO["LLeg"]
  2172. local BODY = {}
  2173. local CHAIR = CHARACTER.Wheelchair
  2174. for index, CHILD in pairs(CHARACTER:GetDescendants()) do
  2175. if (CHILD:IsA("BasePart") or CHILD:IsA("Decal") or CHILD:IsA("Beam")) and CHILD ~= ROOT and CHILD ~= CHAIR then
  2176. table.insert(BODY,CHILD)
  2177. end
  2178. end
  2179. local ATTACKING = false
  2180. if script:FindFirstChild("Color") then
  2181. script.Color.Parent = game.Lighting
  2182. end
  2183. local HIT = false
  2184. local MUSIC = script.Music
  2185. local DEAD = false
  2186. MUSIC:Play()
  2187. local CLUBSMESH = 2761335666
  2188. local DIAMONDMESH = 1254392112
  2189. local SPADEMESH = 2760895053
  2190. local HEARTMESH = 105992239 --VT(3.5,3.5,3.5)
  2191. local SCYTHEMESH = 455516381
  2192. local SINE = 0
  2193. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  2194.  
  2195. Debris = game:GetService("Debris")
  2196.  
  2197. local Effects = IT("Folder",CHARACTER)
  2198.  
  2199. --//=================================\\
  2200. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  2201. --\\=================================//
  2202.  
  2203. ArtificialHB = Instance.new("BindableEvent", script)
  2204. ArtificialHB.Name = "ArtificialHB"
  2205.  
  2206. script:WaitForChild("ArtificialHB")
  2207.  
  2208. frame = 1/60
  2209. tf = 0
  2210. allowframeloss = false
  2211. tossremainder = false
  2212. lastframe = tick()
  2213. script.ArtificialHB:Fire()
  2214.  
  2215. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2216. tf = tf + s
  2217. if tf >= frame then
  2218. if allowframeloss then
  2219. script.ArtificialHB:Fire()
  2220. lastframe = tick()
  2221. else
  2222. for i = 1, math.floor(tf / frame) do
  2223. script.ArtificialHB:Fire()
  2224. end
  2225. lastframe = tick()
  2226. end
  2227. if tossremainder then
  2228. tf = 0
  2229. else
  2230. tf = tf - frame * math.floor(tf / frame)
  2231. end
  2232. end
  2233. end)
  2234.  
  2235. function PositiveAngle(NUMBER)
  2236. if NUMBER >= 0 then
  2237. NUMBER = 0
  2238. end
  2239. return NUMBER
  2240. end
  2241.  
  2242. function NegativeAngle(NUMBER)
  2243. if NUMBER <= 0 then
  2244. NUMBER = 0
  2245. end
  2246. return NUMBER
  2247. end
  2248.  
  2249. function Swait(NUMBER)
  2250. if NUMBER == 0 or NUMBER == nil then
  2251. ArtificialHB.Event:wait()
  2252. else
  2253. for i = 1, NUMBER do
  2254. ArtificialHB.Event:wait()
  2255. end
  2256. end
  2257. end
  2258.  
  2259. --//=================================\\
  2260. --|| FUNCTIONS
  2261. --\\=================================//
  2262.  
  2263. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  2264. local NEWMESH = IT(MESH)
  2265. if MESH == "SpecialMesh" then
  2266. NEWMESH.MeshType = MESHTYPE
  2267. if MESHID ~= "nil" and MESHID ~= "" then
  2268. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  2269. end
  2270. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  2271. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  2272. end
  2273. end
  2274. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  2275. NEWMESH.Scale = SCALE
  2276. NEWMESH.Parent = PARENT
  2277. return NEWMESH
  2278. end
  2279.  
  2280. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2281. local NEWPART = IT("Part")
  2282. NEWPART.formFactor = FORMFACTOR
  2283. NEWPART.Reflectance = REFLECTANCE
  2284. NEWPART.Transparency = TRANSPARENCY
  2285. NEWPART.CanCollide = false
  2286. NEWPART.Locked = true
  2287. NEWPART.Anchored = true
  2288. if ANCHOR == false then
  2289. NEWPART.Anchored = false
  2290. end
  2291. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2292. NEWPART.Name = NAME
  2293. NEWPART.Size = SIZE
  2294. NEWPART.Position = TORSO.Position
  2295. NEWPART.Material = MATERIAL
  2296. NEWPART:BreakJoints()
  2297. NEWPART.Parent = PARENT
  2298. return NEWPART
  2299. end
  2300.  
  2301. local function weldBetween(a, b)
  2302. local weldd = IT("ManualWeld")
  2303. weldd.Part0 = a
  2304. weldd.Part1 = b
  2305. weldd.C0 = CF()
  2306. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2307. weldd.Parent = a
  2308. return weldd
  2309. end
  2310.  
  2311. local S = IT("Sound")
  2312. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2313. local NEWSOUND = nil
  2314. coroutine.resume(coroutine.create(function()
  2315. NEWSOUND = S:Clone()
  2316. NEWSOUND.Parent = PARENT
  2317. NEWSOUND.Volume = VOLUME
  2318. NEWSOUND.Pitch = PITCH
  2319. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2320. NEWSOUND:play()
  2321. if DOESLOOP == true then
  2322. NEWSOUND.Looped = true
  2323. else
  2324. repeat wait(1) until NEWSOUND.Playing == false
  2325. NEWSOUND:remove()
  2326. end
  2327. end))
  2328. return NEWSOUND
  2329. end
  2330.  
  2331. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2332. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2333. end
  2334.  
  2335. function ApplyDamage(Humanoid,Damage)
  2336. Damage = Damage * 1
  2337. if Humanoid.Health ~= 0 then
  2338. Humanoid.Health = Humanoid.Health - Damage
  2339. end
  2340. end
  2341.  
  2342. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  2343. for index, CHILD in pairs(workspace:GetDescendants()) do
  2344. if CHILD.ClassName == "Model" and CHILD ~= CHARACTER then
  2345. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2346. if HUM then
  2347. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2348. if TORSO then
  2349. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2350. if INSTAKILL == true then
  2351. CHILD:BreakJoints()
  2352. else
  2353. local DMG = MRANDOM(MINDMG,MAXDMG)
  2354. ApplyDamage(HUM,DMG)
  2355. end
  2356. if FLING > 0 then
  2357. for _, c in pairs(CHILD:GetChildren()) do
  2358. if c:IsA("BasePart") then
  2359. local bv = Instance.new("BodyVelocity")
  2360. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2361. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2362. bv.Parent = c
  2363. Debris:AddItem(bv,0.05)
  2364. end
  2365. end
  2366. end
  2367. end
  2368. end
  2369. end
  2370. end
  2371. end
  2372. end
  2373.  
  2374. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2375. function WACKYEFFECT(Table)
  2376. local TYPE = (Table.EffectType or "Sphere")
  2377. local SIZE = (Table.Size or VT(1,1,1))
  2378. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2379. local TRANSPARENCY = (Table.Transparency or 0)
  2380. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2381. local CFRAME = (Table.CFrame or TORSO.CFrame)
  2382. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2383. local ROTATION1 = (Table.RotationX or 0)
  2384. local ROTATION2 = (Table.RotationY or 0)
  2385. local ROTATION3 = (Table.RotationZ or 0)
  2386. local MATERIAL = (Table.Material or "Neon")
  2387. local COLOR = (Table.Color or C3(1,1,1))
  2388. local TIME = (Table.Time or 45)
  2389. local SOUNDID = (Table.SoundID or nil)
  2390. local SOUNDPITCH = (Table.SoundPitch or nil)
  2391. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2392. coroutine.resume(coroutine.create(function()
  2393. local PLAYSSOUND = false
  2394. local SOUND = nil
  2395. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2396. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2397. PLAYSSOUND = true
  2398. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2399. end
  2400. EFFECT.Color = COLOR
  2401. local MSH = nil
  2402. if TYPE == "Sphere" then
  2403. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2404. elseif TYPE == "Block" or TYPE == "Box" then
  2405. MSH = IT("BlockMesh",EFFECT)
  2406. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2407. elseif TYPE == "Wave" then
  2408. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2409. elseif TYPE == "Ring" then
  2410. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2411. elseif TYPE == "Slash" then
  2412. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2413. elseif TYPE == "Round Slash" then
  2414. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2415. elseif TYPE == "Swirl" then
  2416. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2417. elseif TYPE == "Skull" then
  2418. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2419. elseif TYPE == "Crystal" then
  2420. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2421. end
  2422. if MSH ~= nil then
  2423. local MOVESPEED = nil
  2424. if MOVEDIRECTION ~= nil then
  2425. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2426. end
  2427. local GROWTH = SIZE - ENDSIZE
  2428. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2429. if TYPE == "Block" then
  2430. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2431. else
  2432. EFFECT.CFrame = CFRAME
  2433. end
  2434. for LOOP = 1, TIME+1 do
  2435. Swait()
  2436. MSH.Scale = MSH.Scale - GROWTH/TIME
  2437. if TYPE == "Wave" then
  2438. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2439. end
  2440. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2441. if TYPE == "Block" then
  2442. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2443. else
  2444. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2445. end
  2446. if MOVEDIRECTION ~= nil then
  2447. local ORI = EFFECT.Orientation
  2448. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2449. EFFECT.Orientation = ORI
  2450. end
  2451. end
  2452. if PLAYSSOUND == false then
  2453. EFFECT:remove()
  2454. else
  2455. repeat Swait() until SOUND.Playing == false
  2456. EFFECT:remove()
  2457. end
  2458. else
  2459. if PLAYSSOUND == false then
  2460. EFFECT:remove()
  2461. else
  2462. repeat Swait() until SOUND.Playing == false
  2463. EFFECT:remove()
  2464. end
  2465. end
  2466. end))
  2467. end
  2468.  
  2469. function Transparent(CY)
  2470. for E = 1, #BODY do
  2471. if BODY[E].ClassName ~= "Beam" then
  2472. BODY[E].Transparency = CY
  2473. else
  2474. BODY[E].Transparency = NumberSequence.new(CY)
  2475. end
  2476. end
  2477. end
  2478.  
  2479. --//=================================\\
  2480. --|| CLERPING
  2481. --\\=================================//
  2482.  
  2483. function QuaternionFromCFrame(cf)
  2484. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2485. local trace = m00 + m11 + m22
  2486. if trace > 0 then
  2487. local s = math.sqrt(1 + trace)
  2488. local recip = 0.5 / s
  2489. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2490. else
  2491. local i = 0
  2492. if m11 > m00 then
  2493. i = 1
  2494. end
  2495. if m22 > (i == 0 and m00 or m11) then
  2496. i = 2
  2497. end
  2498. if i == 0 then
  2499. local s = math.sqrt(m00 - m11 - m22 + 1)
  2500. local recip = 0.5 / s
  2501. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2502. elseif i == 1 then
  2503. local s = math.sqrt(m11 - m22 - m00 + 1)
  2504. local recip = 0.5 / s
  2505. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2506. elseif i == 2 then
  2507. local s = math.sqrt(m22 - m00 - m11 + 1)
  2508. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2509. end
  2510. end
  2511. end
  2512.  
  2513. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2514. local xs, ys, zs = x + x, y + y, z + z
  2515. local wx, wy, wz = w * xs, w * ys, w * zs
  2516. local xx = x * xs
  2517. local xy = x * ys
  2518. local xz = x * zs
  2519. local yy = y * ys
  2520. local yz = y * zs
  2521. local zz = z * zs
  2522. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  2523. end
  2524.  
  2525. function QuaternionSlerp(a, b, t)
  2526. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2527. local startInterp, finishInterp;
  2528. if cosTheta >= 0.0001 then
  2529. if (1 - cosTheta) > 0.0001 then
  2530. local theta = ACOS(cosTheta)
  2531. local invSinTheta = 1 / SIN(theta)
  2532. startInterp = SIN((1 - t) * theta) * invSinTheta
  2533. finishInterp = SIN(t * theta) * invSinTheta
  2534. else
  2535. startInterp = 1 - t
  2536. finishInterp = t
  2537. end
  2538. else
  2539. if (1 + cosTheta) > 0.0001 then
  2540. local theta = ACOS(-cosTheta)
  2541. local invSinTheta = 1 / SIN(theta)
  2542. startInterp = SIN((t - 1) * theta) * invSinTheta
  2543. finishInterp = SIN(t * theta) * invSinTheta
  2544. else
  2545. startInterp = t - 1
  2546. finishInterp = t
  2547. end
  2548. end
  2549. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  2550. end
  2551.  
  2552. function Clerp(a, b, t)
  2553. local qa = {QuaternionFromCFrame(a)}
  2554. local qb = {QuaternionFromCFrame(b)}
  2555. local ax, ay, az = a.x, a.y, a.z
  2556. local bx, by, bz = b.x, b.y, b.z
  2557. local _t = 1 - t
  2558. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2559. end
  2560.  
  2561. function ClerpBody(TABLE,PRIORITY)
  2562. if PRIORITY == "Attack" or ATTACKING == false then
  2563. RootJoint.C1 = Clerp(RootJoint.C1, TABLE[1], 0.35)
  2564. if HIT == false then
  2565. Neck.C1 = Clerp(Neck.C1, TABLE[2], 0.35)
  2566. end
  2567. RightShoulder.C1 = Clerp(RightShoulder.C1, TABLE[3], 0.35)
  2568. LeftShoulder.C1 = Clerp(LeftShoulder.C1, TABLE[4], 0.35)
  2569. RightHip.C1 = Clerp(RightHip.C1, TABLE[5], 0.35)
  2570. LeftHip.C1 = Clerp(LeftHip.C1, TABLE[6], 0.35)
  2571. end
  2572. end
  2573.  
  2574. --//=================================\\
  2575. --|| ATRIFICIAL INTELLIGENCE
  2576. --\\=================================//
  2577.  
  2578. local GoTo = function(TO)
  2579. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,TO),0.5)*CF(0,0,-HUMANOID.WalkSpeed/32))
  2580. CHARACTER:SetPrimaryPartCFrame(CF(ROOT.Position)*ANGLES(0,RAD(ROOT.Orientation.Y),0))
  2581. end
  2582.  
  2583. function TestForTarget(PRT,target)
  2584. local to = true
  2585. if PRT then
  2586. if PRT:FindFirstAncestorOfClass("Model") == target.Parent then
  2587. to = false
  2588. end
  2589. end
  2590. return to
  2591. end
  2592.  
  2593. function ChaosOrAnything()
  2594. local PLAY = {ROOT.MeDoAnything,ROOT.ChaosChaos}
  2595. PLAY[MRANDOM(1,2)]:Play()
  2596. end
  2597.  
  2598. function OhOhOh(TARGET)
  2599. local FOE = TARGET.Torso
  2600. if FOE then
  2601. ATTACKING = true
  2602. ChaosOrAnything()
  2603. local E = 0
  2604. repeat
  2605. Swait()
  2606. E = E + 1
  2607. ClerpBody({
  2608. CF(0,-E/25,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  2609. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0,-1,0),
  2610. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  2611. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  2612. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  2613. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  2614. },"Attack")
  2615. until ROOT.ChaosChaos.Playing == false and ROOT.MeDoAnything.Playing == false
  2616. for i = 1, MRANDOM(3,5) do
  2617. local TO = FOE.Position
  2618. local MOVETO = CF(FOE.Position+VT(0,1,0))*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,0,15)
  2619. CHARACTER:SetPrimaryPartCFrame(MOVETO)
  2620. Transparent(0)
  2621. ROOT.OH:Play()
  2622. for i = 1, 5 do
  2623. ClerpBody({
  2624. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  2625. CF(0,-0.5,0)*ANGLES(RAD(5),RAD(0),RAD(0))*CF(0,-1,0),
  2626. CF(0,0.5,0)*ANGLES(RAD(-75),RAD(0),RAD(-35))*CF(-1.5,-0.5,0),
  2627. CF(0,0.5,0)*ANGLES(RAD(-75),RAD(0),RAD(35))*CF(1.5,-0.5,0),
  2628. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  2629. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  2630. },"Attack")
  2631. end
  2632. for i = 1, 3 do
  2633. local ANGLE = (50-(25*i))/1.25
  2634. coroutine.resume(coroutine.create(function()
  2635. local TOFIREFROM = ROOT.CFrame*ANGLES(0,RAD(ANGLE),0)
  2636. local CLUB = CreatePart(3, workspace, "Granite", 0, 0, TORSO.BrickColor, "Spade", VT(1.5,0.5,1.5), false)
  2637. CreateMesh("SpecialMesh", CLUB, "FileMesh", CLUBSMESH, "", VT(0.75,0.75,0.75), VT(0,0,0))
  2638. CLUB.CFrame = TOFIREFROM
  2639. local GO = IT("BodyVelocity",CLUB)
  2640. GO.Velocity = CLUB.CFrame.lookVector*65
  2641. Debris:AddItem(CLUB,1)
  2642. CLUB.Touched:Connect(function(HIT)
  2643. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  2644. CLUB:Remove()
  2645. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  2646. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 10
  2647. end
  2648. end)
  2649. end))
  2650. end
  2651. for i = 1, 35 do
  2652. Swait()
  2653. ClerpBody({
  2654. CF(0,-i/350,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  2655. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0,-1,0),
  2656. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  2657. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  2658. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  2659. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  2660. },"Attack")
  2661. Transparent(i/35)
  2662. end
  2663. if TARGET.Health <= 0 or DEAD == true then
  2664. break
  2665. end
  2666. end
  2667. ATTACKING = false
  2668. for i = 1, 25 do
  2669. Swait()
  2670. Transparent((25-i)/25)
  2671. end
  2672. Transparent(0)
  2673. end
  2674. end
  2675. function Diamonds(TARGET)
  2676. local FOE = TARGET.Torso
  2677. if FOE then
  2678. ChaosOrAnything()
  2679. ATTACKING = true
  2680. coroutine.resume(coroutine.create(function()
  2681. repeat
  2682. Swait()
  2683. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(VT(ROOT.Position.X,FOE.Position.Y,ROOT.Position.Z),FOE.Position),0.2))
  2684. ClerpBody({
  2685. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  2686. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  2687. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  2688. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  2689. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  2690. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  2691. },"Attack")
  2692. until ATTACKING == false
  2693. end))
  2694. for i = 1, MRANDOM(25,35) do
  2695. coroutine.resume(coroutine.create(function()
  2696. local DIAMOND = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Diamond", VT(0.5,0.5,1.5), true)
  2697. CreateMesh("SpecialMesh", DIAMOND, "FileMesh", DIAMONDMESH, "", VT(0.1, 0.05, 0.15), VT(0,0,0))
  2698. DIAMOND.CFrame = ROOT.CFrame*CF(MRANDOM(-150,150)/20,0,-1.5)
  2699. for i = 1, 15 do
  2700. Swait()
  2701. DIAMOND.Transparency = (15-i)/15
  2702. DIAMOND.CFrame = DIAMOND.CFrame*CF(0,0,-(15-i)/35)
  2703. end
  2704. DIAMOND.Anchored = false
  2705. DIAMOND.Transparency = 0
  2706. local GO = IT("BodyVelocity",DIAMOND)
  2707. GO.Velocity = DIAMOND.CFrame.lookVector*15
  2708. Debris:AddItem(DIAMOND,1)
  2709. DIAMOND.Touched:Connect(function(HIT)
  2710. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  2711. DIAMOND:Remove()
  2712. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  2713. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 7.5
  2714. end
  2715. end)
  2716. for i = 1, 5 do
  2717. Swait()
  2718. GO.Velocity = DIAMOND.CFrame.lookVector*(15*i)
  2719. end
  2720. end))
  2721. if TARGET.Health <= 0 or DEAD == true then
  2722. break
  2723. end
  2724. Swait(7)
  2725. end
  2726. ATTACKING = false
  2727. end
  2728. end
  2729. function RingAround(TARGET)
  2730. local FOE = TARGET.Torso
  2731. if FOE then
  2732. ATTACKING = true
  2733. ChaosOrAnything()
  2734. local E = 0
  2735. repeat
  2736. Swait()
  2737. E = E + 1
  2738. ClerpBody({
  2739. CF(0,(-E/25)+0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  2740. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  2741. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  2742. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  2743. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  2744. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  2745. },"Attack")
  2746. until ROOT.ChaosChaos.Playing == false and ROOT.MeDoAnything.Playing == false
  2747. coroutine.resume(coroutine.create(function()
  2748. repeat
  2749. Swait()
  2750. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,VT(FOE.Position.X,ROOT.Position.Y,FOE.Position.Z)),0.2))
  2751. ClerpBody({
  2752. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  2753. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  2754. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  2755. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  2756. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  2757. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  2758. },"Attack")
  2759. until ATTACKING == false
  2760. end))
  2761. for i = 1, MRANDOM(2,4) do
  2762. local SPAWN = CF(FOE.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)
  2763. local SPADES = {}
  2764. for i = 1, 10 do
  2765. local SPADE = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Spade", VT(2,2,2), true)
  2766. CreateMesh("SpecialMesh", SPADE, "FileMesh", SPADEMESH, "", VT(1.2,1.2,1.2), VT(0,0,0))
  2767. SPADE.CFrame = SPAWN*ANGLES(0,RAD(36*i),0)*CF(0,0,35)
  2768. SPADE.Touched:Connect(function(HIT)
  2769. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  2770. SPADE:Remove()
  2771. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  2772. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 10
  2773. end
  2774. end)
  2775. table.insert(SPADES,SPADE)
  2776. end
  2777. for i = 1, 25 do
  2778. for E = 1, #SPADES do
  2779. SPADES[E].CFrame = SPADES[E].CFrame * CF(0,0,-0.5)
  2780. SPADES[E].Transparency = (10-i)/9.5
  2781. end
  2782. Swait()
  2783. end
  2784. wait(0.2)
  2785. for E = 1, #SPADES do
  2786. coroutine.resume(coroutine.create(function()
  2787. local SPADE = SPADES[E]
  2788. for i = 1, 15 do
  2789. SPADE.CFrame = SPADE.CFrame*CF(0,0,(15-i)/15)
  2790. Swait()
  2791. end
  2792. SPADE.Anchored = false
  2793. local GO = IT("BodyVelocity",SPADE)
  2794. GO.Velocity = SPADE.CFrame.lookVector*5
  2795. GO.MaxForce = GO.MaxForce * 100
  2796. Debris:AddItem(SPADE,1)
  2797. SPADE.Touched:Connect(function(HIT)
  2798. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  2799. SPADE:Remove()
  2800. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  2801. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 2.5
  2802. end
  2803. end)
  2804. for i = 1, 15 do
  2805. Swait()
  2806. GO.Velocity = SPADE.CFrame.lookVector*(5*i)
  2807. end
  2808. end))
  2809. Swait(5)
  2810. end
  2811. if TARGET.Health <= 0 or DEAD == true then
  2812. break
  2813. end
  2814. end
  2815. wait(0.5)
  2816. ATTACKING = false
  2817. end
  2818. end
  2819. function HeartsGoesOut(TARGET)
  2820. local FOE = TARGET.Torso
  2821. if FOE then
  2822. ChaosOrAnything()
  2823. ATTACKING = true
  2824. coroutine.resume(coroutine.create(function()
  2825. repeat
  2826. Swait()
  2827. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,VT(FOE.Position.X,ROOT.Position.Y,FOE.Position.Z)),0.2))
  2828. ClerpBody({
  2829. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  2830. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  2831. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  2832. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  2833. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  2834. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  2835. },"Attack")
  2836. until ATTACKING == false
  2837. end))
  2838. for i = 1, MRANDOM(5,7) do
  2839. local SPAWN = CF(FOE.Position+VT(0,1,0))*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,0,35)
  2840. SPAWN = CF(SPAWN.p,FOE.Position+VT(0,1,0))
  2841. coroutine.resume(coroutine.create(function()
  2842. local HEARTS = {}
  2843. for i = 1, 4 do
  2844. local HEART = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Heart", VT(2,2,2), true)
  2845. CreateMesh("SpecialMesh", HEART, "FileMesh", HEARTMESH, "", VT(3.5,3.5,3.5), VT(0,0,0))
  2846. HEART.CFrame = SPAWN*ANGLES(0,RAD((360/4)*i),0)
  2847. HEART.Touched:Connect(function(HIT)
  2848. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  2849. HEART:Remove()
  2850. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  2851. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 7.5
  2852. end
  2853. end)
  2854. table.insert(HEARTS,HEART)
  2855. end
  2856. for i = 1, 10 do
  2857. Swait()
  2858. for E = 1, #HEARTS do
  2859. HEARTS[E].CFrame = HEARTS[E].CFrame*CF(0,0,-(10-i)/10)
  2860. HEARTS[E].Transparency = (10-i)/9.5
  2861. end
  2862. end
  2863. local DIST = (HEARTS[1].Position - SPAWN.p).Magnitude
  2864. for i = 1, 100 do
  2865. Swait()
  2866. SPAWN = SPAWN*CF(0,0,-1)
  2867. for E = 1, #HEARTS do
  2868. HEARTS[E].Transparency = 0
  2869. HEARTS[E].CFrame = SPAWN*ANGLES(0,RAD(((360/4)*E)+(i*5)),0)*CF(0,0,-DIST)
  2870. end
  2871. end
  2872. for E = 1, #HEARTS do
  2873. HEARTS[E]:Destroy()
  2874. end
  2875. end))
  2876. Swait(35)
  2877. if TARGET.Health <= 0 or DEAD == true then
  2878. break
  2879. end
  2880. end
  2881. wait(0.5)
  2882. ATTACKING = false
  2883. end
  2884. end
  2885. function Meta(TARGET)
  2886. local FOE = TARGET.Torso
  2887. if FOE then
  2888. ROOT.Metamorph:Play()
  2889. ATTACKING = true
  2890. local SCYTHE = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Diamond", VT(3,0,3), true)
  2891. CreateMesh("SpecialMesh", SCYTHE, "FileMesh", SCYTHEMESH, "", VT(0.01, 0.01, 0.01), VT(0,0,0))
  2892. SCYTHE.CFrame = TORSO.CFrame
  2893. for i = 1, 3 do
  2894. for i = 1, 15 do
  2895. Swait()
  2896. ClerpBody({
  2897. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  2898. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  2899. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  2900. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  2901. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  2902. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  2903. },"Attack")
  2904. Transparent(i/15)
  2905. SCYTHE.Transparency = (15-i)/15
  2906. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  2907. end
  2908. for i = 1, 15 do
  2909. Swait()
  2910. ClerpBody({
  2911. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  2912. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  2913. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  2914. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  2915. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  2916. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  2917. },"Attack")
  2918. Transparent((15-i)/15)
  2919. SCYTHE.Transparency = i/15
  2920. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  2921. end
  2922. end
  2923. for i = 1, 15 do
  2924. Swait()
  2925. ClerpBody({
  2926. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  2927. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  2928. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  2929. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  2930. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  2931. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  2932. },"Attack")
  2933. Transparent(i/15)
  2934. SCYTHE.Transparency = (15-i)/15
  2935. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  2936. end
  2937. Transparent(1)
  2938. SCYTHE.Transparency = 0
  2939. local SCYTHES = {SCYTHE}
  2940. for i = 1, 3 do
  2941. local COPY = SCYTHE:Clone()
  2942. COPY.Parent = workspace
  2943. COPY.CFrame = SCYTHE.CFrame
  2944. table.insert(SCYTHES,COPY)
  2945. end
  2946. for E = 1, #SCYTHES do
  2947. local DELAY = false
  2948. SCYTHES[E].Touched:Connect(function(HIT)
  2949. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER and DELAY == false then
  2950. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 3.5
  2951. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  2952. DELAY = true
  2953. wait(1)
  2954. DELAY = false
  2955. end
  2956. end)
  2957. end
  2958. local NOW = ROOT.CFrame
  2959. CHARACTER:SetPrimaryPartCFrame(CF(0,5000,0))
  2960. HUMANOID.Parent = nil
  2961. local Y = FOE.Position.Y
  2962. for i = 1, 750 do
  2963. Swait()
  2964. for E = 1, #SCYTHES do
  2965. SCYTHES[E].CFrame = CF(Clerp(SCYTHES[E].CFrame,CF(FOE.Position.X,Y,FOE.Position.Z)*ANGLES(0,RAD((360/4*E)+SINE),0)*CF(0,0,45*SIN(i/50)),0.1).p)*ANGLES(0,RAD(SINE*5),0)
  2966. end
  2967. if TARGET.Health <= 0 or DEAD == true then
  2968. break
  2969. end
  2970. end
  2971. for i = 1, 25 do
  2972. for E = 1, #SCYTHES do
  2973. SCYTHES[E].CFrame = CF(Clerp(SCYTHES[E].CFrame,NOW,0.15).p)*ANGLES(0,RAD(SINE*5),0)
  2974. end
  2975. Swait()
  2976. end
  2977. CHARACTER:SetPrimaryPartCFrame(NOW)
  2978. HUMANOID.Parent = CHARACTER
  2979. for i = 1, 15 do
  2980. Swait()
  2981. ClerpBody({
  2982. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  2983. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  2984. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  2985. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  2986. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  2987. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  2988. },"Attack")
  2989. Transparent((15-i)/15)
  2990. for E = 1, #SCYTHES do
  2991. SCYTHES[E].CFrame = CF(ROOT.Position)*ANGLES(0,RAD(SINE*5),0)
  2992. SCYTHES[E].Transparency = i/15
  2993. end
  2994. end
  2995. for E = 1, #SCYTHES do
  2996. SCYTHES[E]:Remove()
  2997. end
  2998. ATTACKING = false
  2999. end
  3000. end
  3001. local ATTACKS = {OhOhOh,Diamonds,RingAround,HeartsGoesOut,Meta}
  3002.  
  3003. --//=================================\\
  3004. --|| WRAP
  3005. --\\=================================//
  3006.  
  3007. function BEGINAI()
  3008. local TORSOROT = 0
  3009. CHARACTER:SetPrimaryPartCFrame(ROOT.CFrame*CF(0,1,0))
  3010. coroutine.resume(coroutine.create(function()
  3011. game:GetService("RunService").Heartbeat:connect(function()
  3012. local DEFAULTS = {
  3013. CF(0,0,0),
  3014. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0,-1,0),
  3015. CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  3016. CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  3017. CF(-0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,0),
  3018. CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,1,0),
  3019. }
  3020. SINE = SINE + 1
  3021. end)
  3022. while true do
  3023. TORSOROT = 35
  3024. for i = 1, 5 do
  3025. ClerpBody({
  3026. CF(0,0,0)*ANGLES(RAD(0),RAD(35),RAD(0)),
  3027. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(-20),RAD(0))*CF(0,-1,0),
  3028. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  3029. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  3030. CF(-0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,1),
  3031. CF(0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.2),
  3032. },nil)
  3033. end
  3034. for i = 1, 15 do
  3035. Swait()
  3036. ClerpBody({
  3037. CF(0,0.3,0)*ANGLES(RAD(0),RAD(35),RAD(0)),
  3038. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(-35),RAD(0))*CF(0,-1,0),
  3039. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  3040. CF(0,0.75,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.25,0),
  3041. CF(-0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  3042. CF(0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.2),
  3043. },nil)
  3044. if DEAD == true then
  3045. break
  3046. end
  3047. end
  3048. if DEAD == true then
  3049. break
  3050. end
  3051. TORSOROT = -35
  3052. for i = 1, 5 do
  3053. ClerpBody({
  3054. CF(0,0,0)*ANGLES(RAD(0),RAD(-35),RAD(0)),
  3055. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(20),RAD(0))*CF(0,-1,0),
  3056. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  3057. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  3058. CF(-0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,0.9,0.2),
  3059. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,0.9,1),
  3060. },nil)
  3061. end
  3062. for i = 1, 15 do
  3063. Swait()
  3064. ClerpBody({
  3065. CF(0,0.3,0)*ANGLES(RAD(0),RAD(-35),RAD(0)),
  3066. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(35),RAD(0))*CF(0,-1,0),
  3067. CF(0,0.75,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.25,0),
  3068. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  3069. CF(-0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.2),
  3070. CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,1,0.5),
  3071. },nil)
  3072. if DEAD == true then
  3073. break
  3074. end
  3075. end
  3076. if DEAD == true then
  3077. break
  3078. end
  3079. end
  3080. end))
  3081. local TARGET = nil
  3082. local TARGETHUM = nil
  3083. coroutine.resume(coroutine.create(function()
  3084. --local h = HUMANOID
  3085. local pathService = game:GetService("PathfindingService")
  3086. local goToPos = function(loc,target)
  3087. local distance = (loc-ROOT.Position).magnitude
  3088. local start = tick()
  3089. while distance > 7 do
  3090. if target then
  3091. if target.Torso and ATTACKING == false then
  3092. GoTo(loc+VT(0,4.5,0))
  3093. Swait()
  3094. local RAYTEST = Raycast(ROOT.Position,CF(ROOT.Position,target.Torso.Position).lookVector,500,CHARACTER)
  3095. if distance <= 7 or TARGETHUM ~= target or TestForTarget(RAYTEST,target) == false then -- Something may have gone wrong. Just break.
  3096. break
  3097. end
  3098. distance = (loc+VT(0,4.5,0)-ROOT.Position).magnitude
  3099. else
  3100. break
  3101. end
  3102. else
  3103. break
  3104. end
  3105. end
  3106. end
  3107.  
  3108. while true do
  3109. if DEAD == true then
  3110. break
  3111. end
  3112. Swait()
  3113. if TARGETHUM then
  3114. local target = TARGETHUM
  3115. if TARGETHUM.Torso then
  3116. local RAYTEST = Raycast(ROOT.Position,CF(ROOT.Position,VT(target.Torso.Position.X,ROOT.Position.Y,target.Torso.Position.Z)).lookVector,500,CHARACTER)
  3117. if TestForTarget(RAYTEST,target) == true then
  3118. local path = pathService:ComputeRawPathAsync(ROOT.Position,TARGETHUM.Torso.Position,5000)
  3119. local didBreak = false
  3120. local targetStart
  3121. if target and ROOT and target.Torso then
  3122. targetStart = target.Torso.Position
  3123. local previous = ROOT.Position
  3124. local points = path:GetWaypoints()
  3125. local s = #points > 1 and 2 or 1
  3126. for i = s,#points do
  3127. if GYRO == nil then
  3128. local point = points[i].Position
  3129. if didBreak then
  3130. break
  3131. end
  3132. if target and target.Torso and target.Health > 0 and ATTACKING == false then
  3133. if (ROOT.Position - point).Magnitude > 1 and TARGETHUM == target then
  3134. local pos = previous:lerp(point,0.65)
  3135. goToPos(previous:lerp(point,0.65),target)
  3136. previous = point
  3137. end
  3138. else
  3139. didBreak = true
  3140. break
  3141. end
  3142. end
  3143. end
  3144. end
  3145. if not didBreak and targetStart then
  3146. goToPos(targetStart)
  3147. end
  3148. else
  3149. if ATTACKING == false then
  3150. GoTo(target.Torso.Position+VT(0,2.5,0))
  3151. end
  3152. end
  3153. end
  3154. end
  3155. end
  3156. end))
  3157. HUMANOID.Died:Connect(function()
  3158. if DEAD == false then
  3159. DEAD = true
  3160. repeat
  3161. Swait()
  3162. until ATTACKING == false
  3163. CHAIR.Transparency = 0
  3164. Transparent(0)
  3165. script.Music:Stop()
  3166. ROOT.Deathed:Play()
  3167. repeat
  3168. Swait()
  3169. ClerpBody({
  3170. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  3171. CF(0,-0.5,0)*ANGLES(RAD(35),RAD(0),RAD(0))*CF(0,-1,0),
  3172. CF(0,0.5,0)*ANGLES(RAD(-35),RAD(0),RAD(5))*CF(-1.5,-0.3,0),
  3173. CF(0,0.5,0)*ANGLES(RAD(-35),RAD(0),RAD(-5))*CF(1.5,-0.3,0),
  3174. CF(-0,0,0)*ANGLES(RAD(-15),RAD(0),RAD(0))*CF(-0.5,1,1),
  3175. CF(0,0,0)*ANGLES(RAD(-15),RAD(0),RAD(0))*CF(0.5,1,1),
  3176. },nil)
  3177. until ROOT.Deathed.Playing == false
  3178. CHARACTER.Head.Nametag:Remove()
  3179. TORSO.Neck:Remove()
  3180. TORSO.Die:Play()
  3181. ROOT:Remove()
  3182. CHARACTER:BreakJoints()
  3183. CHAIR:Destroy()
  3184. Debris:AddItem(CHARACTER,5)
  3185. end
  3186. end)
  3187. HUMANOID.HealthChanged:Connect(function()
  3188. if HIT == false and DEAD == false then
  3189. HIT = true
  3190. local HA = {ROOT.Ha1,ROOT.Ha2}
  3191. HA[MRANDOM(1,2)]:Play()
  3192. for i = 1, 100 do
  3193. Swait()
  3194. if ATTACKING == true then
  3195. Neck.C1 = Clerp(Neck.C1, CF(0,-2.5,0)*ANGLES(0,0,RAD(65*SIN(i/6)))*CF(0,-1,0), 0.2)
  3196. else
  3197. Neck.C1 = Clerp(Neck.C1, CF(0,-2.5,0)*ANGLES(0,0,RAD(65*SIN(i/6)))*ANGLES(0,RAD(-TORSOROT),0)*CF(0,-1,0), 0.7)
  3198. end
  3199. if DEAD == true then
  3200. break
  3201. end
  3202. end
  3203. HIT = false
  3204. end
  3205. end)
  3206. while true do
  3207. if DEAD == true then
  3208. break
  3209. end
  3210. local TARGETVARIANTS = {}
  3211. TARGET = nil
  3212. for index, CHILD in pairs(workspace:GetChildren()) do
  3213. if CHILD ~= CHARACTER and CHILD:FindFirstChild("Slain") == nil then
  3214. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  3215. if HUMAN then
  3216. if HUMAN.Health > 0 then
  3217. if HUMAN.Torso then
  3218. local DISTANCE = (HUMAN.Torso.Position - ROOT.Position).Magnitude
  3219. table.insert(TARGETVARIANTS,{CHILD,DISTANCE})
  3220. end
  3221. end
  3222. end
  3223. end
  3224. end
  3225. local DIST = math.huge
  3226. for E = 1, #TARGETVARIANTS do
  3227. local PLAYER = TARGETVARIANTS[E]
  3228. local CHARACTER = PLAYER[1]
  3229. local DISTANCE = PLAYER[2]
  3230. if DISTANCE < DIST then
  3231. DIST = DISTANCE
  3232. TARGET = CHARACTER
  3233. end
  3234. end
  3235. if TARGET and TARGET:FindFirstChild("HumanoidRootPart") then
  3236. TARGETHUM = TARGET:FindFirstChildOfClass("Humanoid")
  3237. --[[HUMANOID.WalkSpeed = 22
  3238. HUMANOID.JumpPower = 125]]
  3239. local RAY = Raycast(ROOT.Position,CF(ROOT.Position,TARGETHUM.Torso.Position).lookVector,25,CHARACTER)
  3240. if DIST <= 25 and TestForTarget(RAY,TARGETHUM) == false and (TARGETHUM.Torso.Position.Y > ROOT.Position.Y-1 or TARGETHUM.Torso.Position.Y < ROOT.Position.Y+2) then
  3241. ATTACKS[MRANDOM(1,#ATTACKS)](TARGETHUM)
  3242. end
  3243. else
  3244. TARGETHUM = nil
  3245. end
  3246. wait()
  3247. end
  3248. end
  3249.  
  3250. BEGINAI()
  3251. end))
  3252. Sound35.Name = "Music"
  3253. Sound35.Parent = Script34
  3254. Sound35.Looped = true
  3255. Sound35.SoundId = "rbxassetid://2701520256"
  3256. Sound35.Volume = 2.5
  3257. MeshPart36.Name = "Hat"
  3258. MeshPart36.Parent = Model2
  3259. MeshPart36.CFrame = CFrame.new(-544.792542, 90.7830505, 51.2608185, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3260. MeshPart36.Position = Vector3.new(-544.792542, 90.7830505, 51.2608185)
  3261. MeshPart36.Color = Color3.new(0.129412, 0.329412, 0.72549)
  3262. MeshPart36.Size = Vector3.new(2.75788856, 1.64599526, 2.41334939)
  3263. MeshPart36.BrickColor = BrickColor.new("Deep blue")
  3264. MeshPart36.CanCollide = false
  3265. MeshPart36.Material = Enum.Material.SmoothPlastic
  3266. MeshPart36.brickColor = BrickColor.new("Deep blue")
  3267. Weld37.Name = "Joint"
  3268. Weld37.Parent = MeshPart36
  3269. Weld37.C0 = CFrame.new(0, -0.699880123, -0.500030518, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3270. Weld37.Part0 = MeshPart36
  3271. Weld37.Part1 = UnionOperation11
  3272. Weld37.part1 = UnionOperation11
  3273. MeshPart38.Name = "Tail"
  3274. MeshPart38.Parent = Model2
  3275. MeshPart38.CFrame = CFrame.new(-544.792542, 87.0130463, 52.3607712, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3276. MeshPart38.Position = Vector3.new(-544.792542, 87.0130463, 52.3607712)
  3277. MeshPart38.Color = Color3.new(0.129412, 0.329412, 0.72549)
  3278. MeshPart38.Size = Vector3.new(0.462002546, 1.40317202, 2.49498963)
  3279. MeshPart38.BrickColor = BrickColor.new("Deep blue")
  3280. MeshPart38.CanCollide = false
  3281. MeshPart38.Material = Enum.Material.SmoothPlastic
  3282. MeshPart38.brickColor = BrickColor.new("Deep blue")
  3283. Weld39.Name = "Joint"
  3284. Weld39.Parent = MeshPart38
  3285. Weld39.C0 = CFrame.new(-3.81469727e-05, 1.57016039, -1.59996033, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3286. Weld39.Part0 = MeshPart38
  3287. Weld39.Part1 = UnionOperation3
  3288. Weld39.part1 = UnionOperation3
  3289. Humanoid40.Parent = Model2
  3290. Humanoid40.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  3291. Humanoid40.Health = 6500
  3292. Humanoid40.LeftLeg = MeshPart33
  3293. Humanoid40.MaxHealth = 6500
  3294. Humanoid40.MaxSlopeAngle = 89.900001525879
  3295. Humanoid40.RightLeg = MeshPart32
  3296. Humanoid40.Torso = Part17
  3297. Humanoid40.maxHealth = 6500
  3298. Part41.Name = "Wheelchair"
  3299. Part41.Parent = Model2
  3300. Part41.CFrame = CFrame.new(-544.792542, 87.6830444, 50.7607727, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3301. Part41.Position = Vector3.new(-544.792542, 87.6830444, 50.7607727)
  3302. Part41.Transparency = 1
  3303. Part41.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  3304. Part41.Anchored = true
  3305. Part41.BottomSurface = Enum.SurfaceType.Smooth
  3306. Part41.CanCollide = false
  3307. Part41.Material = Enum.Material.SmoothPlastic
  3308. Part41.TopSurface = Enum.SurfaceType.Smooth
  3309. SpecialMesh42.Parent = Part41
  3310. SpecialMesh42.MeshId = "rbxassetid://1226669573"
  3311. SpecialMesh42.Scale = Vector3.new(2, 2, 2)
  3312. SpecialMesh42.TextureId = "rbxassetid://1226669284"
  3313. SpecialMesh42.MeshType = Enum.MeshType.FileMesh
  3314. Model43.Name = "CompiledScripts"
  3315. Model43.Parent = mas
  3316. LocalScript44.Name = "Script1"
  3317. LocalScript44.Parent = Model43
  3318. table.insert(cors,sandbox(LocalScript44,function()
  3319.  
  3320. --Converted with ttyyuu12345's model to script plugin v4
  3321. function sandbox(var,func)
  3322. local env = getfenv(func)
  3323. local newenv = setmetatable({},{
  3324. __index = function(self,k)
  3325. if k=="script" then
  3326. return var
  3327. else
  3328. return env[k]
  3329. end
  3330. end,
  3331. })
  3332. setfenv(func,newenv)
  3333. return func
  3334. end
  3335. cors = {}
  3336. mas = Instance.new("Model",game:GetService("Lighting"))
  3337. local chil = workspace:GetChildren()
  3338. for i,v in pairs(chil) do
  3339. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  3340. v:Destroy()
  3341. end
  3342. end
  3343. Camera0 = Instance.new("Camera")
  3344. Model1 = Instance.new("Model")
  3345. Part2 = Instance.new("Part")
  3346. Part3 = Instance.new("Part")
  3347. UnionOperation4 = Instance.new("UnionOperation")
  3348. Part5 = Instance.new("Part")
  3349. PointLight6 = Instance.new("PointLight")
  3350. RotateV7 = Instance.new("RotateV")
  3351. SpawnLocation8 = Instance.new("SpawnLocation")
  3352. Model9 = Instance.new("Model")
  3353. UnionOperation10 = Instance.new("UnionOperation")
  3354. Beam11 = Instance.new("Beam")
  3355. Sound12 = Instance.new("Sound")
  3356. Motor6D13 = Instance.new("Motor6D")
  3357. Motor6D14 = Instance.new("Motor6D")
  3358. Motor6D15 = Instance.new("Motor6D")
  3359. Motor6D16 = Instance.new("Motor6D")
  3360. Motor6D17 = Instance.new("Motor6D")
  3361. UnionOperation18 = Instance.new("UnionOperation")
  3362. Decal19 = Instance.new("Decal")
  3363. BillboardGui20 = Instance.new("BillboardGui")
  3364. TextLabel21 = Instance.new("TextLabel")
  3365. TextLabel22 = Instance.new("TextLabel")
  3366. Script23 = Instance.new("Script")
  3367. Part24 = Instance.new("Part")
  3368. Sound25 = Instance.new("Sound")
  3369. Sound26 = Instance.new("Sound")
  3370. Sound27 = Instance.new("Sound")
  3371. Sound28 = Instance.new("Sound")
  3372. Sound29 = Instance.new("Sound")
  3373. Sound30 = Instance.new("Sound")
  3374. Sound31 = Instance.new("Sound")
  3375. Sound32 = Instance.new("Sound")
  3376. Sound33 = Instance.new("Sound")
  3377. Sound34 = Instance.new("Sound")
  3378. Sound35 = Instance.new("Sound")
  3379. Motor6D36 = Instance.new("Motor6D")
  3380. MeshPart37 = Instance.new("MeshPart")
  3381. MeshPart38 = Instance.new("MeshPart")
  3382. MeshPart39 = Instance.new("MeshPart")
  3383. MeshPart40 = Instance.new("MeshPart")
  3384. Script41 = Instance.new("Script")
  3385. Sound42 = Instance.new("Sound")
  3386. MeshPart43 = Instance.new("MeshPart")
  3387. Weld44 = Instance.new("Weld")
  3388. MeshPart45 = Instance.new("MeshPart")
  3389. Weld46 = Instance.new("Weld")
  3390. Humanoid47 = Instance.new("Humanoid")
  3391. Part48 = Instance.new("Part")
  3392. SpecialMesh49 = Instance.new("SpecialMesh")
  3393. Camera0.Parent = mas
  3394. Camera0.CFrame = CFrame.new(-541.142883, 93.6241302, 44.4250946, -0.896999061, -0.229961351, 0.377505511, -0, 0.854022264, 0.520236433, -0.442032397, 0.466651589, -0.766057193)
  3395. Camera0.CoordinateFrame = CFrame.new(-541.142883, 93.6241302, 44.4250946, -0.896999061, -0.229961351, 0.377505511, -0, 0.854022264, 0.520236433, -0.442032397, 0.466651589, -0.766057193)
  3396. Camera0.Focus = CFrame.new(-544.792542, 88.594574, 51.8312035, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3397. Camera0.focus = CFrame.new(-544.792542, 88.594574, 51.8312035, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3398. Model1.Parent = mas
  3399. Part2.Parent = Model1
  3400. Part2.CFrame = CFrame.new(-542.362, 84.453186, 64.4654312, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  3401. Part2.Orientation = Vector3.new(0, 0, 90)
  3402. Part2.Position = Vector3.new(-542.362, 84.453186, 64.4654312)
  3403. Part2.Rotation = Vector3.new(0, 0, 90)
  3404. Part2.Transparency = 1
  3405. Part2.Size = Vector3.new(2.05412745, 77.9478531, 77.9478531)
  3406. Part2.Anchored = true
  3407. Part2.BottomSurface = Enum.SurfaceType.Smooth
  3408. Part2.Material = Enum.Material.SmoothPlastic
  3409. Part2.TopSurface = Enum.SurfaceType.Smooth
  3410. Part2.Shape = Enum.PartType.Cylinder
  3411. Part3.Parent = Model1
  3412. Part3.CFrame = CFrame.new(-542.737, 95.8481674, 63.9203873, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3413. Part3.Position = Vector3.new(-542.737, 95.8481674, 63.9203873)
  3414. Part3.Color = Color3.new(0, 0, 1)
  3415. Part3.Transparency = 1
  3416. Part3.Size = Vector3.new(11.8312006, 21.6499958, 12.28965)
  3417. Part3.Anchored = true
  3418. Part3.BottomSurface = Enum.SurfaceType.Smooth
  3419. Part3.BrickColor = BrickColor.new("Really blue")
  3420. Part3.TopSurface = Enum.SurfaceType.Smooth
  3421. Part3.brickColor = BrickColor.new("Really blue")
  3422. UnionOperation4.Parent = Model1
  3423. UnionOperation4.CFrame = CFrame.new(-542.859009, 95.8502197, 64.923317, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3424. UnionOperation4.Orientation = Vector3.new(0, 90, 0)
  3425. UnionOperation4.Position = Vector3.new(-542.859009, 95.8502197, 64.923317)
  3426. UnionOperation4.Rotation = Vector3.new(0, 90, 0)
  3427. UnionOperation4.Color = Color3.new(0, 0, 1)
  3428. UnionOperation4.Size = Vector3.new(78.035202, 28.0076447, 76.9837036)
  3429. UnionOperation4.BrickColor = BrickColor.new("Really blue")
  3430. UnionOperation4.CanCollide = false
  3431. UnionOperation4.brickColor = BrickColor.new("Really blue")
  3432. Part5.Parent = Model1
  3433. Part5.CFrame = CFrame.new(-542.731995, 80.3513184, 63.8854446, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3434. Part5.Position = Vector3.new(-542.731995, 80.3513184, 63.8854446)
  3435. Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3436. Part5.Size = Vector3.new(86.9104919, 2.91001558, 85.2406006)
  3437. Part5.Anchored = true
  3438. Part5.BottomSurface = Enum.SurfaceType.Smooth
  3439. Part5.BrickColor = BrickColor.new("Really black")
  3440. Part5.TopParamA = -0.10000000149012
  3441. Part5.TopParamB = 0.10000000149012
  3442. Part5.TopSurface = Enum.SurfaceType.Motor
  3443. Part5.TopSurfaceInput = Enum.InputType.Constant
  3444. Part5.brickColor = BrickColor.new("Really black")
  3445. PointLight6.Parent = Part5
  3446. PointLight6.Range = 45
  3447. PointLight6.Brightness = 0.60000002384186
  3448. RotateV7.Parent = Part5
  3449. RotateV7.C0 = CFrame.new(0, 1.45500779, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3450. RotateV7.C1 = CFrame.new(1.03999996, -14.04, 0.129999995, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  3451. RotateV7.Part0 = Part5
  3452. RotateV7.Part1 = UnionOperation4
  3453. RotateV7.part1 = UnionOperation4
  3454. RotateV7.BaseAngle = 1.5707963705063
  3455. SpawnLocation8.Parent = mas
  3456. SpawnLocation8.CFrame = CFrame.new(-522.671448, 85.6833878, 81.3869476, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3457. SpawnLocation8.Orientation = Vector3.new(0, 180, 0)
  3458. SpawnLocation8.Position = Vector3.new(-522.671448, 85.6833878, 81.3869476)
  3459. SpawnLocation8.Rotation = Vector3.new(-180, 0, -180)
  3460. SpawnLocation8.Transparency = 1
  3461. SpawnLocation8.Size = Vector3.new(6, 0.200000048, 6)
  3462. SpawnLocation8.Anchored = true
  3463. SpawnLocation8.BackSurface = Enum.SurfaceType.Weld
  3464. SpawnLocation8.BottomSurface = Enum.SurfaceType.Weld
  3465. SpawnLocation8.FrontSurface = Enum.SurfaceType.Weld
  3466. SpawnLocation8.LeftSurface = Enum.SurfaceType.Weld
  3467. SpawnLocation8.RightSurface = Enum.SurfaceType.Weld
  3468. SpawnLocation8.TopSurface = Enum.SurfaceType.Smooth
  3469. Model9.Name = "Joofil"
  3470. Model9.Parent = mas
  3471. Model9.PrimaryPart = Part24
  3472. UnionOperation10.Name = "Torso"
  3473. UnionOperation10.Parent = Model9
  3474. UnionOperation10.CFrame = CFrame.new(-544.792603, 88.5832062, 50.7608109, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3475. UnionOperation10.Position = Vector3.new(-544.792603, 88.5832062, 50.7608109)
  3476. UnionOperation10.Color = Color3.new(0.129412, 0.329412, 0.72549)
  3477. UnionOperation10.Size = Vector3.new(2.00003052, 2.00002933, 1.00000763)
  3478. UnionOperation10.BrickColor = BrickColor.new("Deep blue")
  3479. UnionOperation10.Material = Enum.Material.SmoothPlastic
  3480. UnionOperation10.brickColor = BrickColor.new("Deep blue")
  3481. UnionOperation10.UsePartColor = true
  3482. Beam11.Name = "Neck"
  3483. Beam11.Parent = UnionOperation10
  3484. Beam11.Attachment0 = nil
  3485. Beam11.Attachment1 = nil
  3486. Beam11.FaceCamera = true
  3487. Beam11.LightEmission = 1
  3488. Beam11.LightInfluence = 1
  3489. Beam11.Segments = 50
  3490. Beam11.Texture = "rbxassetid://1134824633"
  3491. Beam11.TextureLength = 5
  3492. Beam11.TextureMode = Enum.TextureMode.Static
  3493. Beam11.TextureSpeed = 2
  3494. Beam11.Transparency = NumberSequence.new(0.20000000298023,0.20000000298023)
  3495. Beam11.Width0 = 0.5
  3496. Beam11.Width1 = 0.5
  3497. Sound12.Name = "Die"
  3498. Sound12.Parent = UnionOperation10
  3499. Sound12.MaxDistance = 300
  3500. Sound12.EmitterSize = 35
  3501. Sound12.MinDistance = 35
  3502. Sound12.SoundId = "rbxassetid://2150821806"
  3503. Sound12.Volume = 2
  3504. Motor6D13.Name = "Head"
  3505. Motor6D13.Parent = UnionOperation10
  3506. Motor6D13.C1 = CFrame.new(-3.9100647e-05, -1.49995828, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3507. Motor6D13.Part0 = UnionOperation10
  3508. Motor6D13.Part1 = UnionOperation18
  3509. Motor6D13.part1 = UnionOperation18
  3510. Motor6D14.Name = "RArm"
  3511. Motor6D14.Parent = UnionOperation10
  3512. Motor6D14.C1 = CFrame.new(-1.50003719, 0.000101089478, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3513. Motor6D14.Part0 = UnionOperation10
  3514. Motor6D14.Part1 = MeshPart38
  3515. Motor6D14.part1 = MeshPart38
  3516. Motor6D15.Name = "LArm"
  3517. Motor6D15.Parent = UnionOperation10
  3518. Motor6D15.C1 = CFrame.new(1.49996281, 0.000101089478, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3519. Motor6D15.Part0 = UnionOperation10
  3520. Motor6D15.Part1 = MeshPart37
  3521. Motor6D15.part1 = MeshPart37
  3522. Motor6D16.Name = "RLeg"
  3523. Motor6D16.Parent = UnionOperation10
  3524. Motor6D16.C1 = CFrame.new(-0.500037193, 2.00010109, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3525. Motor6D16.Part0 = UnionOperation10
  3526. Motor6D16.Part1 = MeshPart39
  3527. Motor6D16.part1 = MeshPart39
  3528. Motor6D17.Name = "LLeg"
  3529. Motor6D17.Parent = UnionOperation10
  3530. Motor6D17.C1 = CFrame.new(0.499962807, 2.00010109, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3531. Motor6D17.Part0 = UnionOperation10
  3532. Motor6D17.Part1 = MeshPart40
  3533. Motor6D17.part1 = MeshPart40
  3534. UnionOperation18.Name = "Head"
  3535. UnionOperation18.Parent = Model9
  3536. UnionOperation18.CFrame = CFrame.new(-544.792542, 90.083168, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3537. UnionOperation18.Position = Vector3.new(-544.792542, 90.083168, 50.760788)
  3538. UnionOperation18.Color = Color3.new(0.937255, 0.721569, 0.219608)
  3539. UnionOperation18.Size = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  3540. UnionOperation18.BrickColor = BrickColor.new("Gold")
  3541. UnionOperation18.Material = Enum.Material.SmoothPlastic
  3542. UnionOperation18.brickColor = BrickColor.new("Gold")
  3543. UnionOperation18.UsePartColor = true
  3544. Decal19.Name = "Smile"
  3545. Decal19.Parent = UnionOperation18
  3546. Decal19.Texture = "http://www.roblox.com/asset/?id=288072938"
  3547. BillboardGui20.Name = "Nametag"
  3548. BillboardGui20.Parent = UnionOperation18
  3549. BillboardGui20.Size = UDim2.new(4, 0, 4, 0)
  3550. BillboardGui20.AlwaysOnTop = true
  3551. BillboardGui20.StudsOffset = Vector3.new(0, 2, 0)
  3552. TextLabel21.Name = "Title"
  3553. TextLabel21.Parent = BillboardGui20
  3554. TextLabel21.Size = UDim2.new(1, 0, 0.25, 0)
  3555. TextLabel21.BackgroundColor = BrickColor.new("Institutional white")
  3556. TextLabel21.BackgroundColor3 = Color3.new(1, 1, 1)
  3557. TextLabel21.BackgroundTransparency = 1
  3558. TextLabel21.BorderSizePixel = 0
  3559. TextLabel21.ClipsDescendants = true
  3560. TextLabel21.Font = Enum.Font.Fantasy
  3561. TextLabel21.FontSize = Enum.FontSize.Size14
  3562. TextLabel21.Text = "Joofil"
  3563. TextLabel21.TextColor = BrickColor.new("Institutional white")
  3564. TextLabel21.TextColor3 = Color3.new(1, 1, 1)
  3565. TextLabel21.TextScaled = true
  3566. TextLabel21.TextSize = 14
  3567. TextLabel21.TextWrap = true
  3568. TextLabel21.TextWrapped = true
  3569. TextLabel22.Name = "HP"
  3570. TextLabel22.Parent = BillboardGui20
  3571. TextLabel22.Position = UDim2.new(0, 0, 0.25, 0)
  3572. TextLabel22.Size = UDim2.new(1, 0, 0.100000001, 0)
  3573. TextLabel22.BackgroundColor = BrickColor.new("Institutional white")
  3574. TextLabel22.BackgroundColor3 = Color3.new(1, 1, 1)
  3575. TextLabel22.BackgroundTransparency = 1
  3576. TextLabel22.BorderSizePixel = 0
  3577. TextLabel22.ClipsDescendants = true
  3578. TextLabel22.Font = Enum.Font.Fantasy
  3579. TextLabel22.FontSize = Enum.FontSize.Size48
  3580. TextLabel22.Text = "0/0"
  3581. TextLabel22.TextColor = BrickColor.new("Mint")
  3582. TextLabel22.TextColor3 = Color3.new(0.686275, 1, 0.686275)
  3583. TextLabel22.TextScaled = true
  3584. TextLabel22.TextSize = 45
  3585. TextLabel22.TextWrap = true
  3586. TextLabel22.TextWrapped = true
  3587. Script23.Parent = BillboardGui20
  3588. table.insert(cors,sandbox(Script23,function()
  3589. wait(0.05)
  3590. Humanoid = script.Parent.Parent.Parent:FindFirstChildOfClass("Humanoid")
  3591. script.Parent.HP.Text = math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  3592.  
  3593. Humanoid.Changed:connect(function()
  3594. if Humanoid.Health > Humanoid.MaxHealth/2 then
  3595. script.Parent.HP.TextColor3 = Color3.new(175/255,1,175/255)
  3596. end
  3597. if Humanoid.Health > Humanoid.MaxHealth then
  3598. script.Parent.HP.TextColor3 = Color3.new(175/255,1,225/255)
  3599. end
  3600. if Humanoid.Health > Humanoid.MaxHealth * 1.5 then
  3601. script.Parent.HP.TextColor3 = Color3.new(175/255,1,1)
  3602. end
  3603. if Humanoid.Health > Humanoid.MaxHealth * 3 then
  3604. script.Parent.HP.TextColor3 = Color3.new(175/255,220/255,1)
  3605. end
  3606. if Humanoid.Health > Humanoid.MaxHealth * 10 then
  3607. script.Parent.HP.TextColor3 = Color3.new(175/255,175/255,1)
  3608. end
  3609. if Humanoid.Health < Humanoid.MaxHealth/2 then
  3610. script.Parent.HP.TextColor3 = Color3.new(210/255,1,175/255)
  3611. end
  3612. if Humanoid.Health < Humanoid.MaxHealth/2.5 then
  3613. script.Parent.HP.TextColor3 = Color3.new(230/255,1,175/255)
  3614. end
  3615. if Humanoid.Health < Humanoid.MaxHealth/3 then
  3616. script.Parent.HP.TextColor3 = Color3.new(1,1,175/255)
  3617. end
  3618. if Humanoid.Health < Humanoid.MaxHealth/5 then
  3619. script.Parent.HP.TextColor3 = Color3.new(1,225/255,175/255)
  3620. end
  3621. if Humanoid.Health < Humanoid.MaxHealth/7.5 then
  3622. script.Parent.HP.TextColor3 = Color3.new(1,200/255,175/255)
  3623. end
  3624. if Humanoid.Health < Humanoid.MaxHealth/10 then
  3625. script.Parent.HP.TextColor3 = Color3.new(1,175/255,175/255)
  3626. end
  3627. if Humanoid.Health == 0 then
  3628. script.Parent.HP.Text = "Dead"
  3629. else
  3630. script.Parent.HP.Text = math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  3631. end
  3632. if Humanoid.Health == math.huge then
  3633. script.Parent.HP.Text = "Godded"
  3634. script.Parent.HP.TextColor3 = Color3.new(175/255,175/255,175/255)
  3635. end
  3636. end)
  3637. end))
  3638. Part24.Name = "HumanoidRootPart"
  3639. Part24.Parent = Model9
  3640. Part24.CFrame = CFrame.new(-544.792542, 88.583168, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3641. Part24.Position = Vector3.new(-544.792542, 88.583168, 50.760788)
  3642. Part24.Color = Color3.new(0.937255, 0.721569, 0.219608)
  3643. Part24.Transparency = 1
  3644. Part24.Size = Vector3.new(2, 2, 1)
  3645. Part24.Anchored = true
  3646. Part24.BottomSurface = Enum.SurfaceType.Smooth
  3647. Part24.BrickColor = BrickColor.new("Gold")
  3648. Part24.Material = Enum.Material.SmoothPlastic
  3649. Part24.TopSurface = Enum.SurfaceType.Smooth
  3650. Part24.brickColor = BrickColor.new("Gold")
  3651. Sound25.Name = "Chuckle"
  3652. Sound25.Parent = Part24
  3653. Sound25.MaxDistance = 300
  3654. Sound25.EmitterSize = 35
  3655. Sound25.MinDistance = 35
  3656. Sound25.SoundId = "rbxassetid://2545010175"
  3657. Sound25.Volume = 5
  3658. Sound26.Name = "ByeBye"
  3659. Sound26.Parent = Part24
  3660. Sound26.MaxDistance = 300
  3661. Sound26.EmitterSize = 35
  3662. Sound26.MinDistance = 35
  3663. Sound26.SoundId = "rbxassetid://2545211516"
  3664. Sound26.Volume = 5
  3665. Sound27.Name = "ChaosChaos"
  3666. Sound27.Parent = Part24
  3667. Sound27.MaxDistance = 300
  3668. Sound27.EmitterSize = 35
  3669. Sound27.MinDistance = 35
  3670. Sound27.SoundId = "rbxassetid://2545008459"
  3671. Sound27.Volume = 5
  3672. Sound28.Name = "Ha2"
  3673. Sound28.Parent = Part24
  3674. Sound28.MaxDistance = 300
  3675. Sound28.EmitterSize = 35
  3676. Sound28.MinDistance = 35
  3677. Sound28.SoundId = "rbxassetid://2606662454"
  3678. Sound28.Volume = 5
  3679. Sound29.Name = "Ha1"
  3680. Sound29.Parent = Part24
  3681. Sound29.MaxDistance = 300
  3682. Sound29.EmitterSize = 35
  3683. Sound29.MinDistance = 35
  3684. Sound29.SoundId = "rbxassetid://2606661976"
  3685. Sound29.Volume = 5
  3686. Sound30.Name = "Neo"
  3687. Sound30.Parent = Part24
  3688. Sound30.MaxDistance = 300
  3689. Sound30.EmitterSize = 35
  3690. Sound30.MinDistance = 35
  3691. Sound30.SoundId = "rbxassetid://2545018472"
  3692. Sound30.Volume = 5
  3693. Sound31.Name = "MeDoAnything"
  3694. Sound31.Parent = Part24
  3695. Sound31.MaxDistance = 300
  3696. Sound31.EmitterSize = 35
  3697. Sound31.MinDistance = 35
  3698. Sound31.SoundId = "rbxassetid://2544975373"
  3699. Sound31.Volume = 5
  3700. Sound32.Name = "OH"
  3701. Sound32.Parent = Part24
  3702. Sound32.MaxDistance = 300
  3703. Sound32.EmitterSize = 35
  3704. Sound32.MinDistance = 35
  3705. Sound32.SoundId = "rbxassetid://2545012765"
  3706. Sound32.Volume = 5
  3707. Sound33.Name = "Laugh"
  3708. Sound33.Parent = Part24
  3709. Sound33.MaxDistance = 300
  3710. Sound33.EmitterSize = 35
  3711. Sound33.MinDistance = 35
  3712. Sound33.SoundId = "rbxassetid://2545211765"
  3713. Sound33.Volume = 5
  3714. Sound34.Name = "Metamorph"
  3715. Sound34.Parent = Part24
  3716. Sound34.MaxDistance = 300
  3717. Sound34.EmitterSize = 35
  3718. Sound34.MinDistance = 35
  3719. Sound34.SoundId = "rbxassetid://2545011398"
  3720. Sound34.Volume = 5
  3721. Sound35.Name = "Deathed"
  3722. Sound35.Parent = Part24
  3723. Sound35.MaxDistance = 300
  3724. Sound35.EmitterSize = 35
  3725. Sound35.MinDistance = 35
  3726. Sound35.SoundId = "rbxassetid://2637401925"
  3727. Sound35.Volume = 2
  3728. Motor6D36.Name = "Root"
  3729. Motor6D36.Parent = Part24
  3730. Motor6D36.C1 = CFrame.new(3.9100647e-05, -4.17232513e-05, -2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3731. Motor6D36.Part0 = Part24
  3732. Motor6D36.Part1 = UnionOperation10
  3733. Motor6D36.part1 = UnionOperation10
  3734. MeshPart37.Name = "Left Arm"
  3735. MeshPart37.Parent = Model9
  3736. MeshPart37.CFrame = CFrame.new(-546.292542, 88.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3737. MeshPart37.Position = Vector3.new(-546.292542, 88.583107, 50.760788)
  3738. MeshPart37.Color = Color3.new(0.937255, 0.721569, 0.219608)
  3739. MeshPart37.Size = Vector3.new(1.00004005, 2.00002551, 1)
  3740. MeshPart37.BrickColor = BrickColor.new("Gold")
  3741. MeshPart37.Material = Enum.Material.SmoothPlastic
  3742. MeshPart37.brickColor = BrickColor.new("Gold")
  3743. MeshPart38.Name = "Right Arm"
  3744. MeshPart38.Parent = Model9
  3745. MeshPart38.CFrame = CFrame.new(-543.292542, 88.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3746. MeshPart38.Position = Vector3.new(-543.292542, 88.583107, 50.760788)
  3747. MeshPart38.Color = Color3.new(0.937255, 0.721569, 0.219608)
  3748. MeshPart38.Size = Vector3.new(1.00004005, 2.00002551, 1)
  3749. MeshPart38.BrickColor = BrickColor.new("Gold")
  3750. MeshPart38.Material = Enum.Material.SmoothPlastic
  3751. MeshPart38.brickColor = BrickColor.new("Gold")
  3752. MeshPart39.Name = "Right Leg"
  3753. MeshPart39.Parent = Model9
  3754. MeshPart39.CFrame = CFrame.new(-544.292542, 86.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3755. MeshPart39.Position = Vector3.new(-544.292542, 86.583107, 50.760788)
  3756. MeshPart39.Color = Color3.new(0.294118, 0.592157, 0.294118)
  3757. MeshPart39.Size = Vector3.new(1.00004005, 2.00002551, 1)
  3758. MeshPart39.BrickColor = BrickColor.new("Bright green")
  3759. MeshPart39.Material = Enum.Material.SmoothPlastic
  3760. MeshPart39.brickColor = BrickColor.new("Bright green")
  3761. MeshPart40.Name = "Left Leg"
  3762. MeshPart40.Parent = Model9
  3763. MeshPart40.CFrame = CFrame.new(-545.292542, 86.583107, 50.760788, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3764. MeshPart40.Position = Vector3.new(-545.292542, 86.583107, 50.760788)
  3765. MeshPart40.Color = Color3.new(0.294118, 0.592157, 0.294118)
  3766. MeshPart40.Size = Vector3.new(1.00004005, 2.00002551, 1)
  3767. MeshPart40.BrickColor = BrickColor.new("Bright green")
  3768. MeshPart40.Material = Enum.Material.SmoothPlastic
  3769. MeshPart40.brickColor = BrickColor.new("Bright green")
  3770. Script41.Name = "REOOFING"
  3771. Script41.Parent = Model9
  3772. table.insert(cors,sandbox(Script41,function()
  3773. IT = Instance.new
  3774. CF = CFrame.new
  3775. VT = Vector3.new
  3776. RAD = math.rad
  3777. C3 = Color3.new
  3778. UD2 = UDim2.new
  3779. BRICKC = BrickColor.new
  3780. ANGLES = CFrame.Angles
  3781. EULER = CFrame.fromEulerAnglesXYZ
  3782. COS = math.cos
  3783. ACOS = math.acos
  3784. SIN = math.sin
  3785. ASIN = math.asin
  3786. ABS = math.abs
  3787. MRANDOM = math.random
  3788. FLOOR = math.floor
  3789.  
  3790. local GYRO = nil
  3791. local CHARACTER = script.Parent
  3792. local HUMANOID = CHARACTER:FindFirstChildOfClass("Humanoid")
  3793. local TORSO = CHARACTER.Torso
  3794. local ROOT = CHARACTER.HumanoidRootPart
  3795. local RIGHTARM = CHARACTER["Right Arm"]
  3796. local LEFTARM = CHARACTER["Left Arm"]
  3797. local RIGHTLEG = CHARACTER["Right Leg"]
  3798. local LEFTLEG = CHARACTER["Left Leg"]
  3799. RootJoint = ROOT["Root"]
  3800. Neck = TORSO["Head"]
  3801. RightShoulder = TORSO["RArm"]
  3802. LeftShoulder = TORSO["LArm"]
  3803. RightHip = TORSO["RLeg"]
  3804. LeftHip = TORSO["LLeg"]
  3805. local BODY = {}
  3806. local CHAIR = CHARACTER.Wheelchair
  3807. for index, CHILD in pairs(CHARACTER:GetDescendants()) do
  3808. if (CHILD:IsA("BasePart") or CHILD:IsA("Decal") or CHILD:IsA("Beam")) and CHILD ~= ROOT and CHILD ~= CHAIR then
  3809. table.insert(BODY,CHILD)
  3810. end
  3811. end
  3812. local ATTACKING = false
  3813. if script:FindFirstChild("Color") then
  3814. script.Color.Parent = game.Lighting
  3815. end
  3816. local HIT = false
  3817. local MUSIC = script.Music
  3818. local DEAD = false
  3819. MUSIC:Play()
  3820. local CLUBSMESH = 2761335666
  3821. local DIAMONDMESH = 1254392112
  3822. local SPADEMESH = 2760895053
  3823. local HEARTMESH = 105992239 --VT(3.5,3.5,3.5)
  3824. local SCYTHEMESH = 455516381
  3825. local SINE = 0
  3826. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  3827.  
  3828. Debris = game:GetService("Debris")
  3829.  
  3830. local Effects = IT("Folder",CHARACTER)
  3831.  
  3832. --//=================================\\
  3833. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  3834. --\\=================================//
  3835.  
  3836. ArtificialHB = Instance.new("BindableEvent", script)
  3837. ArtificialHB.Name = "ArtificialHB"
  3838.  
  3839. script:WaitForChild("ArtificialHB")
  3840.  
  3841. frame = 1/60
  3842. tf = 0
  3843. allowframeloss = false
  3844. tossremainder = false
  3845. lastframe = tick()
  3846. script.ArtificialHB:Fire()
  3847.  
  3848. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3849. tf = tf + s
  3850. if tf >= frame then
  3851. if allowframeloss then
  3852. script.ArtificialHB:Fire()
  3853. lastframe = tick()
  3854. else
  3855. for i = 1, math.floor(tf / frame) do
  3856. script.ArtificialHB:Fire()
  3857. end
  3858. lastframe = tick()
  3859. end
  3860. if tossremainder then
  3861. tf = 0
  3862. else
  3863. tf = tf - frame * math.floor(tf / frame)
  3864. end
  3865. end
  3866. end)
  3867.  
  3868. function PositiveAngle(NUMBER)
  3869. if NUMBER >= 0 then
  3870. NUMBER = 0
  3871. end
  3872. return NUMBER
  3873. end
  3874.  
  3875. function NegativeAngle(NUMBER)
  3876. if NUMBER <= 0 then
  3877. NUMBER = 0
  3878. end
  3879. return NUMBER
  3880. end
  3881.  
  3882. function Swait(NUMBER)
  3883. if NUMBER == 0 or NUMBER == nil then
  3884. ArtificialHB.Event:wait()
  3885. else
  3886. for i = 1, NUMBER do
  3887. ArtificialHB.Event:wait()
  3888. end
  3889. end
  3890. end
  3891.  
  3892. --//=================================\\
  3893. --|| FUNCTIONS
  3894. --\\=================================//
  3895.  
  3896. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  3897. local NEWMESH = IT(MESH)
  3898. if MESH == "SpecialMesh" then
  3899. NEWMESH.MeshType = MESHTYPE
  3900. if MESHID ~= "nil" and MESHID ~= "" then
  3901. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  3902. end
  3903. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  3904. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  3905. end
  3906. end
  3907. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  3908. NEWMESH.Scale = SCALE
  3909. NEWMESH.Parent = PARENT
  3910. return NEWMESH
  3911. end
  3912.  
  3913. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  3914. local NEWPART = IT("Part")
  3915. NEWPART.formFactor = FORMFACTOR
  3916. NEWPART.Reflectance = REFLECTANCE
  3917. NEWPART.Transparency = TRANSPARENCY
  3918. NEWPART.CanCollide = false
  3919. NEWPART.Locked = true
  3920. NEWPART.Anchored = true
  3921. if ANCHOR == false then
  3922. NEWPART.Anchored = false
  3923. end
  3924. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  3925. NEWPART.Name = NAME
  3926. NEWPART.Size = SIZE
  3927. NEWPART.Position = TORSO.Position
  3928. NEWPART.Material = MATERIAL
  3929. NEWPART:BreakJoints()
  3930. NEWPART.Parent = PARENT
  3931. return NEWPART
  3932. end
  3933.  
  3934. local function weldBetween(a, b)
  3935. local weldd = IT("ManualWeld")
  3936. weldd.Part0 = a
  3937. weldd.Part1 = b
  3938. weldd.C0 = CF()
  3939. weldd.C1 = b.CFrame:inverse() * a.CFrame
  3940. weldd.Parent = a
  3941. return weldd
  3942. end
  3943.  
  3944. local S = IT("Sound")
  3945. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  3946. local NEWSOUND = nil
  3947. coroutine.resume(coroutine.create(function()
  3948. NEWSOUND = S:Clone()
  3949. NEWSOUND.Parent = PARENT
  3950. NEWSOUND.Volume = VOLUME
  3951. NEWSOUND.Pitch = PITCH
  3952. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  3953. NEWSOUND:play()
  3954. if DOESLOOP == true then
  3955. NEWSOUND.Looped = true
  3956. else
  3957. repeat wait(1) until NEWSOUND.Playing == false
  3958. NEWSOUND:remove()
  3959. end
  3960. end))
  3961. return NEWSOUND
  3962. end
  3963.  
  3964. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  3965. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  3966. end
  3967.  
  3968. function ApplyDamage(Humanoid,Damage)
  3969. Damage = Damage * 1
  3970. if Humanoid.Health ~= 0 then
  3971. Humanoid.Health = Humanoid.Health - Damage
  3972. end
  3973. end
  3974.  
  3975. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3976. for index, CHILD in pairs(workspace:GetDescendants()) do
  3977. if CHILD.ClassName == "Model" and CHILD ~= CHARACTER then
  3978. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3979. if HUM then
  3980. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3981. if TORSO then
  3982. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3983. if INSTAKILL == true then
  3984. CHILD:BreakJoints()
  3985. else
  3986. local DMG = MRANDOM(MINDMG,MAXDMG)
  3987. ApplyDamage(HUM,DMG)
  3988. end
  3989. if FLING > 0 then
  3990. for _, c in pairs(CHILD:GetChildren()) do
  3991. if c:IsA("BasePart") then
  3992. local bv = Instance.new("BodyVelocity")
  3993. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3994. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3995. bv.Parent = c
  3996. Debris:AddItem(bv,0.05)
  3997. end
  3998. end
  3999. end
  4000. end
  4001. end
  4002. end
  4003. end
  4004. end
  4005. end
  4006.  
  4007. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4008. function WACKYEFFECT(Table)
  4009. local TYPE = (Table.EffectType or "Sphere")
  4010. local SIZE = (Table.Size or VT(1,1,1))
  4011. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  4012. local TRANSPARENCY = (Table.Transparency or 0)
  4013. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  4014. local CFRAME = (Table.CFrame or TORSO.CFrame)
  4015. local MOVEDIRECTION = (Table.MoveToPos or nil)
  4016. local ROTATION1 = (Table.RotationX or 0)
  4017. local ROTATION2 = (Table.RotationY or 0)
  4018. local ROTATION3 = (Table.RotationZ or 0)
  4019. local MATERIAL = (Table.Material or "Neon")
  4020. local COLOR = (Table.Color or C3(1,1,1))
  4021. local TIME = (Table.Time or 45)
  4022. local SOUNDID = (Table.SoundID or nil)
  4023. local SOUNDPITCH = (Table.SoundPitch or nil)
  4024. local SOUNDVOLUME = (Table.SoundVolume or nil)
  4025. coroutine.resume(coroutine.create(function()
  4026. local PLAYSSOUND = false
  4027. local SOUND = nil
  4028. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  4029. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  4030. PLAYSSOUND = true
  4031. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  4032. end
  4033. EFFECT.Color = COLOR
  4034. local MSH = nil
  4035. if TYPE == "Sphere" then
  4036. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  4037. elseif TYPE == "Block" or TYPE == "Box" then
  4038. MSH = IT("BlockMesh",EFFECT)
  4039. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  4040. elseif TYPE == "Wave" then
  4041. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  4042. elseif TYPE == "Ring" then
  4043. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  4044. elseif TYPE == "Slash" then
  4045. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  4046. elseif TYPE == "Round Slash" then
  4047. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  4048. elseif TYPE == "Swirl" then
  4049. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  4050. elseif TYPE == "Skull" then
  4051. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  4052. elseif TYPE == "Crystal" then
  4053. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  4054. end
  4055. if MSH ~= nil then
  4056. local MOVESPEED = nil
  4057. if MOVEDIRECTION ~= nil then
  4058. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  4059. end
  4060. local GROWTH = SIZE - ENDSIZE
  4061. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  4062. if TYPE == "Block" then
  4063. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4064. else
  4065. EFFECT.CFrame = CFRAME
  4066. end
  4067. for LOOP = 1, TIME+1 do
  4068. Swait()
  4069. MSH.Scale = MSH.Scale - GROWTH/TIME
  4070. if TYPE == "Wave" then
  4071. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  4072. end
  4073. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  4074. if TYPE == "Block" then
  4075. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4076. else
  4077. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  4078. end
  4079. if MOVEDIRECTION ~= nil then
  4080. local ORI = EFFECT.Orientation
  4081. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  4082. EFFECT.Orientation = ORI
  4083. end
  4084. end
  4085. if PLAYSSOUND == false then
  4086. EFFECT:remove()
  4087. else
  4088. repeat Swait() until SOUND.Playing == false
  4089. EFFECT:remove()
  4090. end
  4091. else
  4092. if PLAYSSOUND == false then
  4093. EFFECT:remove()
  4094. else
  4095. repeat Swait() until SOUND.Playing == false
  4096. EFFECT:remove()
  4097. end
  4098. end
  4099. end))
  4100. end
  4101.  
  4102. function Transparent(CY)
  4103. for E = 1, #BODY do
  4104. if BODY[E].ClassName ~= "Beam" then
  4105. BODY[E].Transparency = CY
  4106. else
  4107. BODY[E].Transparency = NumberSequence.new(CY)
  4108. end
  4109. end
  4110. end
  4111.  
  4112. --//=================================\\
  4113. --|| CLERPING
  4114. --\\=================================//
  4115.  
  4116. function QuaternionFromCFrame(cf)
  4117. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  4118. local trace = m00 + m11 + m22
  4119. if trace > 0 then
  4120. local s = math.sqrt(1 + trace)
  4121. local recip = 0.5 / s
  4122. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  4123. else
  4124. local i = 0
  4125. if m11 > m00 then
  4126. i = 1
  4127. end
  4128. if m22 > (i == 0 and m00 or m11) then
  4129. i = 2
  4130. end
  4131. if i == 0 then
  4132. local s = math.sqrt(m00 - m11 - m22 + 1)
  4133. local recip = 0.5 / s
  4134. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  4135. elseif i == 1 then
  4136. local s = math.sqrt(m11 - m22 - m00 + 1)
  4137. local recip = 0.5 / s
  4138. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  4139. elseif i == 2 then
  4140. local s = math.sqrt(m22 - m00 - m11 + 1)
  4141. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  4142. end
  4143. end
  4144. end
  4145.  
  4146. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  4147. local xs, ys, zs = x + x, y + y, z + z
  4148. local wx, wy, wz = w * xs, w * ys, w * zs
  4149. local xx = x * xs
  4150. local xy = x * ys
  4151. local xz = x * zs
  4152. local yy = y * ys
  4153. local yz = y * zs
  4154. local zz = z * zs
  4155. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  4156. end
  4157.  
  4158. function QuaternionSlerp(a, b, t)
  4159. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  4160. local startInterp, finishInterp;
  4161. if cosTheta >= 0.0001 then
  4162. if (1 - cosTheta) > 0.0001 then
  4163. local theta = ACOS(cosTheta)
  4164. local invSinTheta = 1 / SIN(theta)
  4165. startInterp = SIN((1 - t) * theta) * invSinTheta
  4166. finishInterp = SIN(t * theta) * invSinTheta
  4167. else
  4168. startInterp = 1 - t
  4169. finishInterp = t
  4170. end
  4171. else
  4172. if (1 + cosTheta) > 0.0001 then
  4173. local theta = ACOS(-cosTheta)
  4174. local invSinTheta = 1 / SIN(theta)
  4175. startInterp = SIN((t - 1) * theta) * invSinTheta
  4176. finishInterp = SIN(t * theta) * invSinTheta
  4177. else
  4178. startInterp = t - 1
  4179. finishInterp = t
  4180. end
  4181. end
  4182. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  4183. end
  4184.  
  4185. function Clerp(a, b, t)
  4186. local qa = {QuaternionFromCFrame(a)}
  4187. local qb = {QuaternionFromCFrame(b)}
  4188. local ax, ay, az = a.x, a.y, a.z
  4189. local bx, by, bz = b.x, b.y, b.z
  4190. local _t = 1 - t
  4191. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  4192. end
  4193.  
  4194. function ClerpBody(TABLE,PRIORITY)
  4195. if PRIORITY == "Attack" or ATTACKING == false then
  4196. RootJoint.C1 = Clerp(RootJoint.C1, TABLE[1], 0.35)
  4197. if HIT == false then
  4198. Neck.C1 = Clerp(Neck.C1, TABLE[2], 0.35)
  4199. end
  4200. RightShoulder.C1 = Clerp(RightShoulder.C1, TABLE[3], 0.35)
  4201. LeftShoulder.C1 = Clerp(LeftShoulder.C1, TABLE[4], 0.35)
  4202. RightHip.C1 = Clerp(RightHip.C1, TABLE[5], 0.35)
  4203. LeftHip.C1 = Clerp(LeftHip.C1, TABLE[6], 0.35)
  4204. end
  4205. end
  4206.  
  4207. --//=================================\\
  4208. --|| ATRIFICIAL INTELLIGENCE
  4209. --\\=================================//
  4210.  
  4211. local GoTo = function(TO)
  4212. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,TO),0.5)*CF(0,0,-HUMANOID.WalkSpeed/32))
  4213. CHARACTER:SetPrimaryPartCFrame(CF(ROOT.Position)*ANGLES(0,RAD(ROOT.Orientation.Y),0))
  4214. end
  4215.  
  4216. function TestForTarget(PRT,target)
  4217. local to = true
  4218. if PRT then
  4219. if PRT:FindFirstAncestorOfClass("Model") == target.Parent then
  4220. to = false
  4221. end
  4222. end
  4223. return to
  4224. end
  4225.  
  4226. function ChaosOrAnything()
  4227. local PLAY = {ROOT.MeDoAnything,ROOT.ChaosChaos}
  4228. PLAY[MRANDOM(1,2)]:Play()
  4229. end
  4230.  
  4231. function OhOhOh(TARGET)
  4232. local FOE = TARGET.Torso
  4233. if FOE then
  4234. ATTACKING = true
  4235. ChaosOrAnything()
  4236. local E = 0
  4237. repeat
  4238. Swait()
  4239. E = E + 1
  4240. ClerpBody({
  4241. CF(0,-E/25,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4242. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0,-1,0),
  4243. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  4244. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  4245. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4246. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  4247. },"Attack")
  4248. until ROOT.ChaosChaos.Playing == false and ROOT.MeDoAnything.Playing == false
  4249. for i = 1, MRANDOM(3,5) do
  4250. local TO = FOE.Position
  4251. local MOVETO = CF(FOE.Position+VT(0,1,0))*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,0,15)
  4252. CHARACTER:SetPrimaryPartCFrame(MOVETO)
  4253. Transparent(0)
  4254. ROOT.OH:Play()
  4255. for i = 1, 5 do
  4256. ClerpBody({
  4257. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4258. CF(0,-0.5,0)*ANGLES(RAD(5),RAD(0),RAD(0))*CF(0,-1,0),
  4259. CF(0,0.5,0)*ANGLES(RAD(-75),RAD(0),RAD(-35))*CF(-1.5,-0.5,0),
  4260. CF(0,0.5,0)*ANGLES(RAD(-75),RAD(0),RAD(35))*CF(1.5,-0.5,0),
  4261. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4262. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  4263. },"Attack")
  4264. end
  4265. for i = 1, 3 do
  4266. local ANGLE = (50-(25*i))/1.25
  4267. coroutine.resume(coroutine.create(function()
  4268. local TOFIREFROM = ROOT.CFrame*ANGLES(0,RAD(ANGLE),0)
  4269. local CLUB = CreatePart(3, workspace, "Granite", 0, 0, TORSO.BrickColor, "Spade", VT(1.5,0.5,1.5), false)
  4270. CreateMesh("SpecialMesh", CLUB, "FileMesh", CLUBSMESH, "", VT(0.75,0.75,0.75), VT(0,0,0))
  4271. CLUB.CFrame = TOFIREFROM
  4272. local GO = IT("BodyVelocity",CLUB)
  4273. GO.Velocity = CLUB.CFrame.lookVector*65
  4274. Debris:AddItem(CLUB,1)
  4275. CLUB.Touched:Connect(function(HIT)
  4276. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  4277. CLUB:Remove()
  4278. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  4279. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 10
  4280. end
  4281. end)
  4282. end))
  4283. end
  4284. for i = 1, 35 do
  4285. Swait()
  4286. ClerpBody({
  4287. CF(0,-i/350,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4288. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0,-1,0),
  4289. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  4290. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  4291. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4292. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  4293. },"Attack")
  4294. Transparent(i/35)
  4295. end
  4296. if TARGET.Health <= 0 or DEAD == true then
  4297. break
  4298. end
  4299. end
  4300. ATTACKING = false
  4301. for i = 1, 25 do
  4302. Swait()
  4303. Transparent((25-i)/25)
  4304. end
  4305. Transparent(0)
  4306. end
  4307. end
  4308. function Diamonds(TARGET)
  4309. local FOE = TARGET.Torso
  4310. if FOE then
  4311. ChaosOrAnything()
  4312. ATTACKING = true
  4313. coroutine.resume(coroutine.create(function()
  4314. repeat
  4315. Swait()
  4316. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(VT(ROOT.Position.X,FOE.Position.Y,ROOT.Position.Z),FOE.Position),0.2))
  4317. ClerpBody({
  4318. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4319. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  4320. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  4321. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  4322. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4323. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  4324. },"Attack")
  4325. until ATTACKING == false
  4326. end))
  4327. for i = 1, MRANDOM(25,35) do
  4328. coroutine.resume(coroutine.create(function()
  4329. local DIAMOND = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Diamond", VT(0.5,0.5,1.5), true)
  4330. CreateMesh("SpecialMesh", DIAMOND, "FileMesh", DIAMONDMESH, "", VT(0.1, 0.05, 0.15), VT(0,0,0))
  4331. DIAMOND.CFrame = ROOT.CFrame*CF(MRANDOM(-150,150)/20,0,-1.5)
  4332. for i = 1, 15 do
  4333. Swait()
  4334. DIAMOND.Transparency = (15-i)/15
  4335. DIAMOND.CFrame = DIAMOND.CFrame*CF(0,0,-(15-i)/35)
  4336. end
  4337. DIAMOND.Anchored = false
  4338. DIAMOND.Transparency = 0
  4339. local GO = IT("BodyVelocity",DIAMOND)
  4340. GO.Velocity = DIAMOND.CFrame.lookVector*15
  4341. Debris:AddItem(DIAMOND,1)
  4342. DIAMOND.Touched:Connect(function(HIT)
  4343. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  4344. DIAMOND:Remove()
  4345. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  4346. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 7.5
  4347. end
  4348. end)
  4349. for i = 1, 5 do
  4350. Swait()
  4351. GO.Velocity = DIAMOND.CFrame.lookVector*(15*i)
  4352. end
  4353. end))
  4354. if TARGET.Health <= 0 or DEAD == true then
  4355. break
  4356. end
  4357. Swait(7)
  4358. end
  4359. ATTACKING = false
  4360. end
  4361. end
  4362. function RingAround(TARGET)
  4363. local FOE = TARGET.Torso
  4364. if FOE then
  4365. ATTACKING = true
  4366. ChaosOrAnything()
  4367. local E = 0
  4368. repeat
  4369. Swait()
  4370. E = E + 1
  4371. ClerpBody({
  4372. CF(0,(-E/25)+0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4373. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  4374. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  4375. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  4376. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4377. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  4378. },"Attack")
  4379. until ROOT.ChaosChaos.Playing == false and ROOT.MeDoAnything.Playing == false
  4380. coroutine.resume(coroutine.create(function()
  4381. repeat
  4382. Swait()
  4383. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,VT(FOE.Position.X,ROOT.Position.Y,FOE.Position.Z)),0.2))
  4384. ClerpBody({
  4385. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4386. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  4387. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  4388. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  4389. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4390. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  4391. },"Attack")
  4392. until ATTACKING == false
  4393. end))
  4394. for i = 1, MRANDOM(2,4) do
  4395. local SPAWN = CF(FOE.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)
  4396. local SPADES = {}
  4397. for i = 1, 10 do
  4398. local SPADE = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Spade", VT(2,2,2), true)
  4399. CreateMesh("SpecialMesh", SPADE, "FileMesh", SPADEMESH, "", VT(1.2,1.2,1.2), VT(0,0,0))
  4400. SPADE.CFrame = SPAWN*ANGLES(0,RAD(36*i),0)*CF(0,0,35)
  4401. SPADE.Touched:Connect(function(HIT)
  4402. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  4403. SPADE:Remove()
  4404. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  4405. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 10
  4406. end
  4407. end)
  4408. table.insert(SPADES,SPADE)
  4409. end
  4410. for i = 1, 25 do
  4411. for E = 1, #SPADES do
  4412. SPADES[E].CFrame = SPADES[E].CFrame * CF(0,0,-0.5)
  4413. SPADES[E].Transparency = (10-i)/9.5
  4414. end
  4415. Swait()
  4416. end
  4417. wait(0.2)
  4418. for E = 1, #SPADES do
  4419. coroutine.resume(coroutine.create(function()
  4420. local SPADE = SPADES[E]
  4421. for i = 1, 15 do
  4422. SPADE.CFrame = SPADE.CFrame*CF(0,0,(15-i)/15)
  4423. Swait()
  4424. end
  4425. SPADE.Anchored = false
  4426. local GO = IT("BodyVelocity",SPADE)
  4427. GO.Velocity = SPADE.CFrame.lookVector*5
  4428. GO.MaxForce = GO.MaxForce * 100
  4429. Debris:AddItem(SPADE,1)
  4430. SPADE.Touched:Connect(function(HIT)
  4431. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  4432. SPADE:Remove()
  4433. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  4434. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 2.5
  4435. end
  4436. end)
  4437. for i = 1, 15 do
  4438. Swait()
  4439. GO.Velocity = SPADE.CFrame.lookVector*(5*i)
  4440. end
  4441. end))
  4442. Swait(5)
  4443. end
  4444. if TARGET.Health <= 0 or DEAD == true then
  4445. break
  4446. end
  4447. end
  4448. wait(0.5)
  4449. ATTACKING = false
  4450. end
  4451. end
  4452. function HeartsGoesOut(TARGET)
  4453. local FOE = TARGET.Torso
  4454. if FOE then
  4455. ChaosOrAnything()
  4456. ATTACKING = true
  4457. coroutine.resume(coroutine.create(function()
  4458. repeat
  4459. Swait()
  4460. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,VT(FOE.Position.X,ROOT.Position.Y,FOE.Position.Z)),0.2))
  4461. ClerpBody({
  4462. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4463. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  4464. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  4465. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  4466. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4467. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  4468. },"Attack")
  4469. until ATTACKING == false
  4470. end))
  4471. for i = 1, MRANDOM(5,7) do
  4472. local SPAWN = CF(FOE.Position+VT(0,1,0))*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,0,35)
  4473. SPAWN = CF(SPAWN.p,FOE.Position+VT(0,1,0))
  4474. coroutine.resume(coroutine.create(function()
  4475. local HEARTS = {}
  4476. for i = 1, 4 do
  4477. local HEART = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Heart", VT(2,2,2), true)
  4478. CreateMesh("SpecialMesh", HEART, "FileMesh", HEARTMESH, "", VT(3.5,3.5,3.5), VT(0,0,0))
  4479. HEART.CFrame = SPAWN*ANGLES(0,RAD((360/4)*i),0)
  4480. HEART.Touched:Connect(function(HIT)
  4481. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  4482. HEART:Remove()
  4483. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  4484. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 7.5
  4485. end
  4486. end)
  4487. table.insert(HEARTS,HEART)
  4488. end
  4489. for i = 1, 10 do
  4490. Swait()
  4491. for E = 1, #HEARTS do
  4492. HEARTS[E].CFrame = HEARTS[E].CFrame*CF(0,0,-(10-i)/10)
  4493. HEARTS[E].Transparency = (10-i)/9.5
  4494. end
  4495. end
  4496. local DIST = (HEARTS[1].Position - SPAWN.p).Magnitude
  4497. for i = 1, 100 do
  4498. Swait()
  4499. SPAWN = SPAWN*CF(0,0,-1)
  4500. for E = 1, #HEARTS do
  4501. HEARTS[E].Transparency = 0
  4502. HEARTS[E].CFrame = SPAWN*ANGLES(0,RAD(((360/4)*E)+(i*5)),0)*CF(0,0,-DIST)
  4503. end
  4504. end
  4505. for E = 1, #HEARTS do
  4506. HEARTS[E]:Destroy()
  4507. end
  4508. end))
  4509. Swait(35)
  4510. if TARGET.Health <= 0 or DEAD == true then
  4511. break
  4512. end
  4513. end
  4514. wait(0.5)
  4515. ATTACKING = false
  4516. end
  4517. end
  4518. function Meta(TARGET)
  4519. local FOE = TARGET.Torso
  4520. if FOE then
  4521. ROOT.Metamorph:Play()
  4522. ATTACKING = true
  4523. local SCYTHE = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Diamond", VT(3,0,3), true)
  4524. CreateMesh("SpecialMesh", SCYTHE, "FileMesh", SCYTHEMESH, "", VT(0.01, 0.01, 0.01), VT(0,0,0))
  4525. SCYTHE.CFrame = TORSO.CFrame
  4526. for i = 1, 3 do
  4527. for i = 1, 15 do
  4528. Swait()
  4529. ClerpBody({
  4530. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4531. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  4532. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  4533. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  4534. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4535. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  4536. },"Attack")
  4537. Transparent(i/15)
  4538. SCYTHE.Transparency = (15-i)/15
  4539. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  4540. end
  4541. for i = 1, 15 do
  4542. Swait()
  4543. ClerpBody({
  4544. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4545. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  4546. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  4547. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  4548. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4549. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  4550. },"Attack")
  4551. Transparent((15-i)/15)
  4552. SCYTHE.Transparency = i/15
  4553. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  4554. end
  4555. end
  4556. for i = 1, 15 do
  4557. Swait()
  4558. ClerpBody({
  4559. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4560. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  4561. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  4562. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  4563. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4564. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  4565. },"Attack")
  4566. Transparent(i/15)
  4567. SCYTHE.Transparency = (15-i)/15
  4568. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  4569. end
  4570. Transparent(1)
  4571. SCYTHE.Transparency = 0
  4572. local SCYTHES = {SCYTHE}
  4573. for i = 1, 3 do
  4574. local COPY = SCYTHE:Clone()
  4575. COPY.Parent = workspace
  4576. COPY.CFrame = SCYTHE.CFrame
  4577. table.insert(SCYTHES,COPY)
  4578. end
  4579. for E = 1, #SCYTHES do
  4580. local DELAY = false
  4581. SCYTHES[E].Touched:Connect(function(HIT)
  4582. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER and DELAY == false then
  4583. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 3.5
  4584. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  4585. DELAY = true
  4586. wait(1)
  4587. DELAY = false
  4588. end
  4589. end)
  4590. end
  4591. local NOW = ROOT.CFrame
  4592. CHARACTER:SetPrimaryPartCFrame(CF(0,5000,0))
  4593. HUMANOID.Parent = nil
  4594. local Y = FOE.Position.Y
  4595. for i = 1, 750 do
  4596. Swait()
  4597. for E = 1, #SCYTHES do
  4598. SCYTHES[E].CFrame = CF(Clerp(SCYTHES[E].CFrame,CF(FOE.Position.X,Y,FOE.Position.Z)*ANGLES(0,RAD((360/4*E)+SINE),0)*CF(0,0,45*SIN(i/50)),0.1).p)*ANGLES(0,RAD(SINE*5),0)
  4599. end
  4600. if TARGET.Health <= 0 or DEAD == true then
  4601. break
  4602. end
  4603. end
  4604. for i = 1, 25 do
  4605. for E = 1, #SCYTHES do
  4606. SCYTHES[E].CFrame = CF(Clerp(SCYTHES[E].CFrame,NOW,0.15).p)*ANGLES(0,RAD(SINE*5),0)
  4607. end
  4608. Swait()
  4609. end
  4610. CHARACTER:SetPrimaryPartCFrame(NOW)
  4611. HUMANOID.Parent = CHARACTER
  4612. for i = 1, 15 do
  4613. Swait()
  4614. ClerpBody({
  4615. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4616. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  4617. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(35+5*COS(SINE/12)))*CF(-1.5,-0.5,0),
  4618. CF(0,0.5,0)*ANGLES(RAD(-120+15*COS(SINE/12)),RAD(0),RAD(-35-5*COS(SINE/12)))*CF(1.5,-0.5,0),
  4619. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4620. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  4621. },"Attack")
  4622. Transparent((15-i)/15)
  4623. for E = 1, #SCYTHES do
  4624. SCYTHES[E].CFrame = CF(ROOT.Position)*ANGLES(0,RAD(SINE*5),0)
  4625. SCYTHES[E].Transparency = i/15
  4626. end
  4627. end
  4628. for E = 1, #SCYTHES do
  4629. SCYTHES[E]:Remove()
  4630. end
  4631. ATTACKING = false
  4632. end
  4633. end
  4634. local ATTACKS = {OhOhOh,Diamonds,RingAround,HeartsGoesOut,Meta}
  4635.  
  4636. --//=================================\\
  4637. --|| WRAP
  4638. --\\=================================//
  4639.  
  4640. function BEGINAI()
  4641. local TORSOROT = 0
  4642. CHARACTER:SetPrimaryPartCFrame(ROOT.CFrame*CF(0,1,0))
  4643. coroutine.resume(coroutine.create(function()
  4644. game:GetService("RunService").Heartbeat:connect(function()
  4645. local DEFAULTS = {
  4646. CF(0,0,0),
  4647. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0,-1,0),
  4648. CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  4649. CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  4650. CF(-0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,0),
  4651. CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,1,0),
  4652. }
  4653. SINE = SINE + 1
  4654. end)
  4655. while true do
  4656. TORSOROT = 35
  4657. for i = 1, 5 do
  4658. ClerpBody({
  4659. CF(0,0,0)*ANGLES(RAD(0),RAD(35),RAD(0)),
  4660. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(-20),RAD(0))*CF(0,-1,0),
  4661. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  4662. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  4663. CF(-0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,1),
  4664. CF(0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.2),
  4665. },nil)
  4666. end
  4667. for i = 1, 15 do
  4668. Swait()
  4669. ClerpBody({
  4670. CF(0,0.3,0)*ANGLES(RAD(0),RAD(35),RAD(0)),
  4671. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(-35),RAD(0))*CF(0,-1,0),
  4672. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  4673. CF(0,0.75,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.25,0),
  4674. CF(-0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  4675. CF(0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.2),
  4676. },nil)
  4677. if DEAD == true then
  4678. break
  4679. end
  4680. end
  4681. if DEAD == true then
  4682. break
  4683. end
  4684. TORSOROT = -35
  4685. for i = 1, 5 do
  4686. ClerpBody({
  4687. CF(0,0,0)*ANGLES(RAD(0),RAD(-35),RAD(0)),
  4688. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(20),RAD(0))*CF(0,-1,0),
  4689. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  4690. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  4691. CF(-0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,0.9,0.2),
  4692. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,0.9,1),
  4693. },nil)
  4694. end
  4695. for i = 1, 15 do
  4696. Swait()
  4697. ClerpBody({
  4698. CF(0,0.3,0)*ANGLES(RAD(0),RAD(-35),RAD(0)),
  4699. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(35),RAD(0))*CF(0,-1,0),
  4700. CF(0,0.75,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.25,0),
  4701. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  4702. CF(-0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.2),
  4703. CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,1,0.5),
  4704. },nil)
  4705. if DEAD == true then
  4706. break
  4707. end
  4708. end
  4709. if DEAD == true then
  4710. break
  4711. end
  4712. end
  4713. end))
  4714. local TARGET = nil
  4715. local TARGETHUM = nil
  4716. coroutine.resume(coroutine.create(function()
  4717. --local h = HUMANOID
  4718. local pathService = game:GetService("PathfindingService")
  4719. local goToPos = function(loc,target)
  4720. local distance = (loc-ROOT.Position).magnitude
  4721. local start = tick()
  4722. while distance > 7 do
  4723. if target then
  4724. if target.Torso and ATTACKING == false then
  4725. GoTo(loc+VT(0,4.5,0))
  4726. Swait()
  4727. local RAYTEST = Raycast(ROOT.Position,CF(ROOT.Position,target.Torso.Position).lookVector,500,CHARACTER)
  4728. if distance <= 7 or TARGETHUM ~= target or TestForTarget(RAYTEST,target) == false then -- Something may have gone wrong. Just break.
  4729. break
  4730. end
  4731. distance = (loc+VT(0,4.5,0)-ROOT.Position).magnitude
  4732. else
  4733. break
  4734. end
  4735. else
  4736. break
  4737. end
  4738. end
  4739. end
  4740.  
  4741. while true do
  4742. if DEAD == true then
  4743. break
  4744. end
  4745. Swait()
  4746. if TARGETHUM then
  4747. local target = TARGETHUM
  4748. if TARGETHUM.Torso then
  4749. local RAYTEST = Raycast(ROOT.Position,CF(ROOT.Position,VT(target.Torso.Position.X,ROOT.Position.Y,target.Torso.Position.Z)).lookVector,500,CHARACTER)
  4750. if TestForTarget(RAYTEST,target) == true then
  4751. local path = pathService:ComputeRawPathAsync(ROOT.Position,TARGETHUM.Torso.Position,5000)
  4752. local didBreak = false
  4753. local targetStart
  4754. if target and ROOT and target.Torso then
  4755. targetStart = target.Torso.Position
  4756. local previous = ROOT.Position
  4757. local points = path:GetWaypoints()
  4758. local s = #points > 1 and 2 or 1
  4759. for i = s,#points do
  4760. if GYRO == nil then
  4761. local point = points[i].Position
  4762. if didBreak then
  4763. break
  4764. end
  4765. if target and target.Torso and target.Health > 0 and ATTACKING == false then
  4766. if (ROOT.Position - point).Magnitude > 1 and TARGETHUM == target then
  4767. local pos = previous:lerp(point,0.65)
  4768. goToPos(previous:lerp(point,0.65),target)
  4769. previous = point
  4770. end
  4771. else
  4772. didBreak = true
  4773. break
  4774. end
  4775. end
  4776. end
  4777. end
  4778. if not didBreak and targetStart then
  4779. goToPos(targetStart)
  4780. end
  4781. else
  4782. if ATTACKING == false then
  4783. GoTo(target.Torso.Position+VT(0,2.5,0))
  4784. end
  4785. end
  4786. end
  4787. end
  4788. end
  4789. end))
  4790. HUMANOID.Died:Connect(function()
  4791. if DEAD == false then
  4792. DEAD = true
  4793. repeat
  4794. Swait()
  4795. until ATTACKING == false
  4796. CHAIR.Transparency = 0
  4797. Transparent(0)
  4798. script.Music:Stop()
  4799. ROOT.Deathed:Play()
  4800. repeat
  4801. Swait()
  4802. ClerpBody({
  4803. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  4804. CF(0,-0.5,0)*ANGLES(RAD(35),RAD(0),RAD(0))*CF(0,-1,0),
  4805. CF(0,0.5,0)*ANGLES(RAD(-35),RAD(0),RAD(5))*CF(-1.5,-0.3,0),
  4806. CF(0,0.5,0)*ANGLES(RAD(-35),RAD(0),RAD(-5))*CF(1.5,-0.3,0),
  4807. CF(-0,0,0)*ANGLES(RAD(-15),RAD(0),RAD(0))*CF(-0.5,1,1),
  4808. CF(0,0,0)*ANGLES(RAD(-15),RAD(0),RAD(0))*CF(0.5,1,1),
  4809. },nil)
  4810. until ROOT.Deathed.Playing == false
  4811. CHARACTER.Head.Nametag:Remove()
  4812. TORSO.Neck:Remove()
  4813. TORSO.Die:Play()
  4814. ROOT:Remove()
  4815. CHARACTER:BreakJoints()
  4816. CHAIR:Destroy()
  4817. Debris:AddItem(CHARACTER,5)
  4818. end
  4819. end)
  4820. HUMANOID.HealthChanged:Connect(function()
  4821. if HIT == false and DEAD == false then
  4822. HIT = true
  4823. local HA = {ROOT.Ha1,ROOT.Ha2}
  4824. HA[MRANDOM(1,2)]:Play()
  4825. for i = 1, 100 do
  4826. Swait()
  4827. if ATTACKING == true then
  4828. Neck.C1 = Clerp(Neck.C1, CF(0,-2.5,0)*ANGLES(0,0,RAD(65*SIN(i/6)))*CF(0,-1,0), 0.2)
  4829. else
  4830. Neck.C1 = Clerp(Neck.C1, CF(0,-2.5,0)*ANGLES(0,0,RAD(65*SIN(i/6)))*ANGLES(0,RAD(-TORSOROT),0)*CF(0,-1,0), 0.7)
  4831. end
  4832. if DEAD == true then
  4833. break
  4834. end
  4835. end
  4836. HIT = false
  4837. end
  4838. end)
  4839. while true do
  4840. if DEAD == true then
  4841. break
  4842. end
  4843. local TARGETVARIANTS = {}
  4844. TARGET = nil
  4845. for index, CHILD in pairs(workspace:GetChildren()) do
  4846. if CHILD ~= CHARACTER and CHILD:FindFirstChild("Slain") == nil then
  4847. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  4848. if HUMAN then
  4849. if HUMAN.Health > 0 then
  4850. if HUMAN.Torso then
  4851. local DISTANCE = (HUMAN.Torso.Position - ROOT.Position).Magnitude
  4852. table.insert(TARGETVARIANTS,{CHILD,DISTANCE})
  4853. end
  4854. end
  4855. end
  4856. end
  4857. end
  4858. local DIST = math.huge
  4859. for E = 1, #TARGETVARIANTS do
  4860. local PLAYER = TARGETVARIANTS[E]
  4861. local CHARACTER = PLAYER[1]
  4862. local DISTANCE = PLAYER[2]
  4863. if DISTANCE < DIST then
  4864. DIST = DISTANCE
  4865. TARGET = CHARACTER
  4866. end
  4867. end
  4868. if TARGET and TARGET:FindFirstChild("HumanoidRootPart") then
  4869. TARGETHUM = TARGET:FindFirstChildOfClass("Humanoid")
  4870. --[[HUMANOID.WalkSpeed = 22
  4871. HUMANOID.JumpPower = 125]]
  4872. local RAY = Raycast(ROOT.Position,CF(ROOT.Position,TARGETHUM.Torso.Position).lookVector,25,CHARACTER)
  4873. if DIST <= 25 and TestForTarget(RAY,TARGETHUM) == false and (TARGETHUM.Torso.Position.Y > ROOT.Position.Y-1 or TARGETHUM.Torso.Position.Y < ROOT.Position.Y+2) then
  4874. ATTACKS[MRANDOM(1,#ATTACKS)](TARGETHUM)
  4875. end
  4876. else
  4877. TARGETHUM = nil
  4878. end
  4879. wait()
  4880. end
  4881. end
  4882.  
  4883. BEGINAI()
  4884. end))
  4885. Sound42.Name = "Music"
  4886. Sound42.Parent = Script41
  4887. Sound42.Looped = true
  4888. Sound42.SoundId = "rbxassetid://2701520256"
  4889. Sound42.Volume = 2.5
  4890. MeshPart43.Name = "Hat"
  4891. MeshPart43.Parent = Model9
  4892. MeshPart43.CFrame = CFrame.new(-544.792542, 90.7830505, 51.2608185, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4893. MeshPart43.Position = Vector3.new(-544.792542, 90.7830505, 51.2608185)
  4894. MeshPart43.Color = Color3.new(0.129412, 0.329412, 0.72549)
  4895. MeshPart43.Size = Vector3.new(2.75788856, 1.64599526, 2.41334939)
  4896. MeshPart43.BrickColor = BrickColor.new("Deep blue")
  4897. MeshPart43.CanCollide = false
  4898. MeshPart43.Material = Enum.Material.SmoothPlastic
  4899. MeshPart43.brickColor = BrickColor.new("Deep blue")
  4900. Weld44.Name = "Joint"
  4901. Weld44.Parent = MeshPart43
  4902. Weld44.C0 = CFrame.new(0, -0.699880123, -0.500030518, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4903. Weld44.Part0 = MeshPart43
  4904. Weld44.Part1 = UnionOperation18
  4905. Weld44.part1 = UnionOperation18
  4906. MeshPart45.Name = "Tail"
  4907. MeshPart45.Parent = Model9
  4908. MeshPart45.CFrame = CFrame.new(-544.792542, 87.0130463, 52.3607712, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4909. MeshPart45.Position = Vector3.new(-544.792542, 87.0130463, 52.3607712)
  4910. MeshPart45.Color = Color3.new(0.129412, 0.329412, 0.72549)
  4911. MeshPart45.Size = Vector3.new(0.462002546, 1.40317202, 2.49498963)
  4912. MeshPart45.BrickColor = BrickColor.new("Deep blue")
  4913. MeshPart45.CanCollide = false
  4914. MeshPart45.Material = Enum.Material.SmoothPlastic
  4915. MeshPart45.brickColor = BrickColor.new("Deep blue")
  4916. Weld46.Name = "Joint"
  4917. Weld46.Parent = MeshPart45
  4918. Weld46.C0 = CFrame.new(-3.81469727e-05, 1.57016039, -1.59996033, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4919. Weld46.Part0 = MeshPart45
  4920. Weld46.Part1 = UnionOperation10
  4921. Weld46.part1 = UnionOperation10
  4922. Humanoid47.Parent = Model9
  4923. Humanoid47.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  4924. Humanoid47.Health = 6500
  4925. Humanoid47.LeftLeg = MeshPart40
  4926. Humanoid47.MaxHealth = 6500
  4927. Humanoid47.MaxSlopeAngle = 89.900001525879
  4928. Humanoid47.RightLeg = MeshPart39
  4929. Humanoid47.Torso = Part24
  4930. Humanoid47.maxHealth = 6500
  4931. Part48.Name = "Wheelchair"
  4932. Part48.Parent = Model9
  4933. Part48.CFrame = CFrame.new(-544.792542, 87.6830444, 50.7607727, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4934. Part48.Position = Vector3.new(-544.792542, 87.6830444, 50.7607727)
  4935. Part48.Transparency = 1
  4936. Part48.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  4937. Part48.Anchored = true
  4938. Part48.BottomSurface = Enum.SurfaceType.Smooth
  4939. Part48.CanCollide = false
  4940. Part48.Material = Enum.Material.SmoothPlastic
  4941. Part48.TopSurface = Enum.SurfaceType.Smooth
  4942. SpecialMesh49.Parent = Part48
  4943. SpecialMesh49.MeshId = "rbxassetid://1226669573"
  4944. SpecialMesh49.Scale = Vector3.new(2, 2, 2)
  4945. SpecialMesh49.TextureId = "rbxassetid://1226669284"
  4946. SpecialMesh49.MeshType = Enum.MeshType.FileMesh
  4947. for i,v in pairs(mas:GetChildren()) do
  4948. v.Parent = script
  4949. pcall(function() v:MakeJoints() end)
  4950. end
  4951. mas:Destroy()
  4952. for i,v in pairs(cors) do
  4953. spawn(function()
  4954. pcall(v)
  4955. end)
  4956. end
  4957.  
  4958. end))
  4959. for i,v in pairs(mas:GetChildren()) do
  4960. v.Parent = script
  4961. pcall(function() v:MakeJoints() end)
  4962. end
  4963. mas:Destroy()
  4964. for i,v in pairs(cors) do
  4965. spawn(function()
  4966. pcall(v)
  4967. end)
  4968. end
  4969.  
  4970. end))
  4971. Model5.Name = "TOP Half-time"
  4972. Model5.Parent = mas
  4973. MeshPart6.Name = "Cone"
  4974. MeshPart6.Parent = Model5
  4975. MeshPart6.CFrame = CFrame.new(-556.311157, 296.972107, 81.4345856, 0, 0, -1, 0, -1, -0, -1, 0, -0)
  4976. MeshPart6.Orientation = Vector3.new(0, -90, 180)
  4977. MeshPart6.Position = Vector3.new(-556.311157, 296.972107, 81.4345856)
  4978. MeshPart6.Rotation = Vector3.new(-180, -90, 0)
  4979. MeshPart6.Color = Color3.new(0.890196, 0.815686, 0.639216)
  4980. MeshPart6.Size = Vector3.new(1098.82141, 422.377502, 1098.82141)
  4981. MeshPart6.Anchored = true
  4982. MeshPart6.BrickColor = BrickColor.new("Light brick yellow")
  4983. MeshPart6.Material = Enum.Material.Concrete
  4984. MeshPart6.brickColor = BrickColor.new("Light brick yellow")
  4985. Decal7.Parent = MeshPart6
  4986. Decal7.Texture = "rbxassetid://2197350753"
  4987. Decal7.Color3 = Color3.new(0.772549, 0.772549, 0.772549)
  4988. Decal8.Parent = MeshPart6
  4989. Decal8.Texture = "rbxassetid://2197350753"
  4990. Decal8.Face = Enum.NormalId.Right
  4991. Decal8.Color3 = Color3.new(0.772549, 0.772549, 0.772549)
  4992. Decal9.Parent = MeshPart6
  4993. Decal9.Texture = "rbxassetid://2197350753"
  4994. Decal9.Face = Enum.NormalId.Left
  4995. Decal9.Color3 = Color3.new(0.772549, 0.772549, 0.772549)
  4996. Decal10.Parent = MeshPart6
  4997. Decal10.Texture = "rbxassetid://2197350753"
  4998. Decal10.Face = Enum.NormalId.Back
  4999. Decal10.Color3 = Color3.new(0.772549, 0.772549, 0.772549)
  5000. UnionOperation11.Parent = Model5
  5001. UnionOperation11.CFrame = CFrame.new(-556.921265, 588.843933, 81.4262238, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  5002. UnionOperation11.Orientation = Vector3.new(0, 180, 180)
  5003. UnionOperation11.Position = Vector3.new(-556.921265, 588.843933, 81.4262238)
  5004. UnionOperation11.Rotation = Vector3.new(-180, 0, 0)
  5005. UnionOperation11.Color = Color3.new(0.843137, 0.772549, 0.603922)
  5006. UnionOperation11.Size = Vector3.new(53.062912, 561.879272, 53.0633583)
  5007. UnionOperation11.Anchored = true
  5008. UnionOperation11.BrickColor = BrickColor.new("Brick yellow")
  5009. UnionOperation11.Material = Enum.Material.Concrete
  5010. UnionOperation11.brickColor = BrickColor.new("Brick yellow")
  5011. UnionOperation12.Parent = Model5
  5012. UnionOperation12.CFrame = CFrame.new(-556.921265, 95.0540466, 81.4262238, 0, -0.999999821, -0.000488311052, 0.99999994, 0, -2.91038305e-11, -2.91038305e-11, -0.000488311052, 0.999999881)
  5013. UnionOperation12.Orientation = Vector3.new(0, -0.0299999993, 90)
  5014. UnionOperation12.Position = Vector3.new(-556.921265, 95.0540466, 81.4262238)
  5015. UnionOperation12.Rotation = Vector3.new(0, -0.0299999993, 90)
  5016. UnionOperation12.Color = Color3.new(0.403922, 0.45098, 0.509804)
  5017. UnionOperation12.Size = Vector3.new(425.650848, 53.063076, 53.0636597)
  5018. UnionOperation12.Anchored = true
  5019. UnionOperation12.BrickColor = BrickColor.new("Dark grey")
  5020. UnionOperation12.Material = Enum.Material.Concrete
  5021. UnionOperation12.brickColor = BrickColor.new("Dark grey")
  5022. UnionOperation13.Parent = Model5
  5023. UnionOperation13.CFrame = CFrame.new(-556.921265, 388.159149, 81.4262238, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  5024. UnionOperation13.Orientation = Vector3.new(0, 180, 180)
  5025. UnionOperation13.Position = Vector3.new(-556.921265, 388.159149, 81.4262238)
  5026. UnionOperation13.Rotation = Vector3.new(-180, 0, 0)
  5027. UnionOperation13.Color = Color3.new(0.403922, 0.45098, 0.509804)
  5028. UnionOperation13.Size = Vector3.new(53.0629539, 401.355591, 53.0632401)
  5029. UnionOperation13.Anchored = true
  5030. UnionOperation13.BrickColor = BrickColor.new("Dark grey")
  5031. UnionOperation13.Material = Enum.Material.Concrete
  5032. UnionOperation13.brickColor = BrickColor.new("Dark grey")
  5033. UnionOperation14.Parent = Model5
  5034. UnionOperation14.CFrame = CFrame.new(-556.91272, 548.082092, 81.4253693, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  5035. UnionOperation14.Orientation = Vector3.new(0, 180, 180)
  5036. UnionOperation14.Position = Vector3.new(-556.91272, 548.082092, 81.4253693)
  5037. UnionOperation14.Rotation = Vector3.new(-180, 0, 0)
  5038. UnionOperation14.Color = Color3.new(0.843137, 0.772549, 0.603922)
  5039. UnionOperation14.Size = Vector3.new(1102.73926, 81.6980743, 1102.73889)
  5040. UnionOperation14.Anchored = true
  5041. UnionOperation14.BrickColor = BrickColor.new("Brick yellow")
  5042. UnionOperation14.Material = Enum.Material.Concrete
  5043. UnionOperation14.brickColor = BrickColor.new("Brick yellow")
  5044. UnionOperation15.Parent = Model5
  5045. UnionOperation15.CFrame = CFrame.new(-556.91272, 548.318665, 81.4253082, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  5046. UnionOperation15.Orientation = Vector3.new(0, 180, 180)
  5047. UnionOperation15.Position = Vector3.new(-556.91272, 548.318665, 81.4253082)
  5048. UnionOperation15.Rotation = Vector3.new(-180, 0, 0)
  5049. UnionOperation15.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5050. UnionOperation15.Size = Vector3.new(1071.78406, 81.6402588, 1071.78418)
  5051. UnionOperation15.Anchored = true
  5052. UnionOperation15.BrickColor = BrickColor.new("Gun metallic")
  5053. UnionOperation15.Material = Enum.Material.Concrete
  5054. UnionOperation15.brickColor = BrickColor.new("Gun metallic")
  5055. MeshPart16.Name = "Meshes/Rock"
  5056. MeshPart16.Parent = Model5
  5057. MeshPart16.CFrame = CFrame.new(-657.149048, 614.061829, 471.819214, 0.965926826, 0.129427612, 0.224129096, -2.99140811e-05, 0.866036654, -0.499980479, -0.258815289, 0.482937843, 0.836531937)
  5058. MeshPart16.Orientation = Vector3.new(30, 15, 0)
  5059. MeshPart16.Position = Vector3.new(-657.149048, 614.061829, 471.819214)
  5060. MeshPart16.Rotation = Vector3.new(30.8700008, 12.9499998, -7.63000011)
  5061. MeshPart16.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5062. MeshPart16.Size = Vector3.new(78.8275986, 137.381149, 64.940773)
  5063. MeshPart16.Anchored = true
  5064. MeshPart16.BrickColor = BrickColor.new("Gun metallic")
  5065. MeshPart16.Material = Enum.Material.Concrete
  5066. MeshPart16.brickColor = BrickColor.new("Gun metallic")
  5067. MeshPart17.Name = "Meshes/Rock"
  5068. MeshPart17.Parent = Model5
  5069. MeshPart17.CFrame = CFrame.new(-194.329254, 609.250488, -113.019272, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5070. MeshPart17.Position = Vector3.new(-194.329254, 609.250488, -113.019272)
  5071. MeshPart17.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5072. MeshPart17.Size = Vector3.new(202.755081, 53.6307259, 222.96994)
  5073. MeshPart17.Anchored = true
  5074. MeshPart17.BrickColor = BrickColor.new("Gun metallic")
  5075. MeshPart17.Material = Enum.Material.Concrete
  5076. MeshPart17.brickColor = BrickColor.new("Gun metallic")
  5077. UnionOperation18.Parent = Model5
  5078. UnionOperation18.CFrame = CFrame.new(-559.805847, 569.609314, 81.4253082, 0, 1, 0, 0, 0, -1, -1, 0, 0)
  5079. UnionOperation18.Orientation = Vector3.new(90, 90, 0)
  5080. UnionOperation18.Position = Vector3.new(-559.805847, 569.609314, 81.4253082)
  5081. UnionOperation18.Rotation = Vector3.new(90, 0, -90)
  5082. UnionOperation18.Color = Color3.new(0.596078, 0.407843, 0.282353)
  5083. UnionOperation18.Size = Vector3.new(519.856323, 514.069336, 38.5281067)
  5084. UnionOperation18.Anchored = true
  5085. UnionOperation18.BrickColor = BrickColor.new("Red flip/flop")
  5086. UnionOperation18.Material = Enum.Material.Concrete
  5087. UnionOperation18.brickColor = BrickColor.new("Red flip/flop")
  5088. UnionOperation19.Parent = Model5
  5089. UnionOperation19.CFrame = CFrame.new(-556.912476, 548.417542, 81.4253082, 0, 1, 0, 0, 0, -1, -1, 0, 0)
  5090. UnionOperation19.Orientation = Vector3.new(90, 90, 0)
  5091. UnionOperation19.Position = Vector3.new(-556.912476, 548.417542, 81.4253082)
  5092. UnionOperation19.Rotation = Vector3.new(90, 0, -90)
  5093. UnionOperation19.Color = Color3.new(0.403922, 0.45098, 0.509804)
  5094. UnionOperation19.Size = Vector3.new(1152.94543, 1152.94556, 80.9315491)
  5095. UnionOperation19.Anchored = true
  5096. UnionOperation19.BrickColor = BrickColor.new("Dark grey")
  5097. UnionOperation19.Material = Enum.Material.Concrete
  5098. UnionOperation19.brickColor = BrickColor.new("Dark grey")
  5099. UnionOperation20.Parent = Model5
  5100. UnionOperation20.CFrame = CFrame.new(-566.0849, 569.64093, 81.4290314, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  5101. UnionOperation20.Orientation = Vector3.new(0, 180, 180)
  5102. UnionOperation20.Position = Vector3.new(-566.0849, 569.64093, 81.4290314)
  5103. UnionOperation20.Rotation = Vector3.new(-180, 0, 0)
  5104. UnionOperation20.Color = Color3.new(0.596078, 0.407843, 0.282353)
  5105. UnionOperation20.Size = Vector3.new(494.191437, 38.4646378, 513.744263)
  5106. UnionOperation20.Anchored = true
  5107. UnionOperation20.BrickColor = BrickColor.new("Red flip/flop")
  5108. UnionOperation20.Material = Enum.Material.Concrete
  5109. UnionOperation20.brickColor = BrickColor.new("Red flip/flop")
  5110. MeshPart21.Name = "Meshes/Rock"
  5111. MeshPart21.Parent = Model5
  5112. MeshPart21.CFrame = CFrame.new(-912.981323, 586.005188, -247.059494, 0.707080603, -0.182993919, -0.683044851, -3.00034881e-05, 0.96592772, -0.258811921, 0.707132995, 0.183021426, 0.682983279)
  5113. MeshPart21.Orientation = Vector3.new(15, -45, 0)
  5114. MeshPart21.Position = Vector3.new(-912.981323, 586.005188, -247.059494)
  5115. MeshPart21.Rotation = Vector3.new(20.75, -43.0800018, 14.5100002)
  5116. MeshPart21.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5117. MeshPart21.Size = Vector3.new(151.406845, 72.8633423, 222.96994)
  5118. MeshPart21.Anchored = true
  5119. MeshPart21.BrickColor = BrickColor.new("Gun metallic")
  5120. MeshPart21.Material = Enum.Material.Concrete
  5121. MeshPart21.brickColor = BrickColor.new("Gun metallic")
  5122. MeshPart22.Name = "Meshes/Rock"
  5123. MeshPart22.Parent = Model5
  5124. MeshPart22.CFrame = CFrame.new(-399.449371, 586.023865, 453.038452, 0.965926826, 0.129427612, 0.224129096, -2.99140811e-05, 0.866036654, -0.499980479, -0.258815289, 0.482937843, 0.836531937)
  5125. MeshPart22.Orientation = Vector3.new(30, 15, 0)
  5126. MeshPart22.Position = Vector3.new(-399.449371, 586.023865, 453.038452)
  5127. MeshPart22.Rotation = Vector3.new(30.8700008, 12.9499998, -7.63000011)
  5128. MeshPart22.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5129. MeshPart22.Size = Vector3.new(78.8275986, 137.381149, 64.940773)
  5130. MeshPart22.Anchored = true
  5131. MeshPart22.BrickColor = BrickColor.new("Gun metallic")
  5132. MeshPart22.Material = Enum.Material.Concrete
  5133. MeshPart22.brickColor = BrickColor.new("Gun metallic")
  5134. MeshPart23.Name = "Meshes/Rock"
  5135. MeshPart23.Parent = Model5
  5136. MeshPart23.CFrame = CFrame.new(-735.242554, 624.273926, -144.089523, 0.948590219, 0.307931036, -0.0731787384, -0.249986559, 0.870729566, 0.423481792, 0.194122046, -0.383416981, 0.902944088)
  5137. MeshPart23.Orientation = Vector3.new(-25.0499992, -4.63000011, -16.0200005)
  5138. MeshPart23.Position = Vector3.new(-735.242554, 624.273926, -144.089523)
  5139. MeshPart23.Rotation = Vector3.new(-25.1299992, -4.19999981, -17.9799995)
  5140. MeshPart23.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5141. MeshPart23.Size = Vector3.new(78.8275986, 137.381149, 64.940773)
  5142. MeshPart23.Anchored = true
  5143. MeshPart23.BrickColor = BrickColor.new("Gun metallic")
  5144. MeshPart23.Material = Enum.Material.Concrete
  5145. MeshPart23.brickColor = BrickColor.new("Gun metallic")
  5146. MeshPart24.Name = "Meshes/Rock"
  5147. MeshPart24.Parent = Model5
  5148. MeshPart24.CFrame = CFrame.new(-730.316772, 594.558533, -239.428085, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5149. MeshPart24.Position = Vector3.new(-730.316772, 594.558533, -239.428085)
  5150. MeshPart24.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5151. MeshPart24.Size = Vector3.new(26.9495564, 13.0489311, 29.6364441)
  5152. MeshPart24.Anchored = true
  5153. MeshPart24.BrickColor = BrickColor.new("Gun metallic")
  5154. MeshPart24.Material = Enum.Material.Concrete
  5155. MeshPart24.brickColor = BrickColor.new("Gun metallic")
  5156. MeshPart25.Name = "Meshes/Rock"
  5157. MeshPart25.Parent = Model5
  5158. MeshPart25.CFrame = CFrame.new(-880.491089, 588.001221, 528.221802, -0.68706274, -0.527242839, -0.499960542, -0.60877341, 0.7933442, -3.96519899e-05, 0.396661758, 0.304335356, -0.866048694)
  5159. MeshPart25.Orientation = Vector3.new(0, -150, -37.5)
  5160. MeshPart25.Position = Vector3.new(-880.491089, 588.001221, 528.221802)
  5161. MeshPart25.Rotation = Vector3.new(180, -30, 142.5)
  5162. MeshPart25.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5163. MeshPart25.Size = Vector3.new(78.8275986, 85.4082413, 86.6867905)
  5164. MeshPart25.Anchored = true
  5165. MeshPart25.BrickColor = BrickColor.new("Gun metallic")
  5166. MeshPart25.Material = Enum.Material.Concrete
  5167. MeshPart25.brickColor = BrickColor.new("Gun metallic")
  5168. MeshPart26.Name = "Meshes/Rock"
  5169. MeshPart26.Parent = Model5
  5170. MeshPart26.CFrame = CFrame.new(-358.436401, 545.292725, 134.908646, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5171. MeshPart26.Orientation = Vector3.new(0, -90, 0)
  5172. MeshPart26.Position = Vector3.new(-358.436401, 545.292725, 134.908646)
  5173. MeshPart26.Rotation = Vector3.new(0, -90, 0)
  5174. MeshPart26.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5175. MeshPart26.Size = Vector3.new(133.012711, 64.4045029, 146.274155)
  5176. MeshPart26.Anchored = true
  5177. MeshPart26.BrickColor = BrickColor.new("Gun metallic")
  5178. MeshPart26.Material = Enum.Material.Concrete
  5179. MeshPart26.brickColor = BrickColor.new("Gun metallic")
  5180. MeshPart27.Name = "Meshes/Rock"
  5181. MeshPart27.Parent = Model5
  5182. MeshPart27.CFrame = CFrame.new(-178.49649, 556.782166, 255.420792, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5183. MeshPart27.Orientation = Vector3.new(0, -90, 0)
  5184. MeshPart27.Position = Vector3.new(-178.49649, 556.782166, 255.420792)
  5185. MeshPart27.Rotation = Vector3.new(0, -90, 0)
  5186. MeshPart27.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5187. MeshPart27.Size = Vector3.new(133.012711, 64.4045029, 146.274155)
  5188. MeshPart27.Anchored = true
  5189. MeshPart27.BrickColor = BrickColor.new("Gun metallic")
  5190. MeshPart27.Material = Enum.Material.Concrete
  5191. MeshPart27.brickColor = BrickColor.new("Gun metallic")
  5192. MeshPart28.Name = "Meshes/Rock"
  5193. MeshPart28.Parent = Model5
  5194. MeshPart28.CFrame = CFrame.new(-539.393433, 590.585999, -479.363892, 0.499959469, -0, -0.866048813, 0, 1, -0, 0.866048813, 0, 0.499959469)
  5195. MeshPart28.Orientation = Vector3.new(0, -60, 0)
  5196. MeshPart28.Position = Vector3.new(-539.393433, 590.585999, -479.363892)
  5197. MeshPart28.Rotation = Vector3.new(0, -60, 0)
  5198. MeshPart28.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5199. MeshPart28.Size = Vector3.new(19.3454304, 9.36702633, 21.2741871)
  5200. MeshPart28.Anchored = true
  5201. MeshPart28.BrickColor = BrickColor.new("Gun metallic")
  5202. MeshPart28.Material = Enum.Material.Concrete
  5203. MeshPart28.brickColor = BrickColor.new("Gun metallic")
  5204. MeshPart29.Name = "Meshes/Rock"
  5205. MeshPart29.Parent = Model5
  5206. MeshPart29.CFrame = CFrame.new(-518.598511, 598.666809, 157.102188, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5207. MeshPart29.Orientation = Vector3.new(0, -90, 0)
  5208. MeshPart29.Position = Vector3.new(-518.598511, 598.666809, 157.102188)
  5209. MeshPart29.Rotation = Vector3.new(0, -90, 0)
  5210. MeshPart29.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5211. MeshPart29.Size = Vector3.new(50.7788429, 24.5870228, 55.8415413)
  5212. MeshPart29.Anchored = true
  5213. MeshPart29.BrickColor = BrickColor.new("Gun metallic")
  5214. MeshPart29.Material = Enum.Material.Concrete
  5215. MeshPart29.brickColor = BrickColor.new("Gun metallic")
  5216. MeshPart30.Name = "Meshes/Rock"
  5217. MeshPart30.Parent = Model5
  5218. MeshPart30.CFrame = CFrame.new(-635.455933, 598.666809, 5.07441711, 0.499959469, -0, -0.866048813, 0, 1, -0, 0.866048813, 0, 0.499959469)
  5219. MeshPart30.Orientation = Vector3.new(0, -60, 0)
  5220. MeshPart30.Position = Vector3.new(-635.455933, 598.666809, 5.07441711)
  5221. MeshPart30.Rotation = Vector3.new(0, -60, 0)
  5222. MeshPart30.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5223. MeshPart30.Size = Vector3.new(50.7788429, 24.5870228, 55.8415413)
  5224. MeshPart30.Anchored = true
  5225. MeshPart30.BrickColor = BrickColor.new("Gun metallic")
  5226. MeshPart30.Material = Enum.Material.Concrete
  5227. MeshPart30.brickColor = BrickColor.new("Gun metallic")
  5228. MeshPart31.Name = "Meshes/Rock"
  5229. MeshPart31.Parent = Model5
  5230. MeshPart31.CFrame = CFrame.new(-934.546387, 561.482117, 86.853714, 0.499995053, -0.331392288, -0.800115168, 1.80453062e-05, 0.923894227, -0.382648051, 0.866028368, 0.191307738, 0.461948514)
  5231. MeshPart31.Orientation = Vector3.new(22.5, -60, 0)
  5232. MeshPart31.Position = Vector3.new(-934.546387, 561.482117, 86.853714)
  5233. MeshPart31.Rotation = Vector3.new(39.6399994, -53.1399994, 33.5400009)
  5234. MeshPart31.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5235. MeshPart31.Size = Vector3.new(62.7076874, 30.3629436, 68.9597092)
  5236. MeshPart31.Anchored = true
  5237. MeshPart31.BrickColor = BrickColor.new("Gun metallic")
  5238. MeshPart31.Material = Enum.Material.Concrete
  5239. MeshPart31.brickColor = BrickColor.new("Gun metallic")
  5240. MeshPart32.Name = "Meshes/Rock"
  5241. MeshPart32.Parent = Model5
  5242. MeshPart32.CFrame = CFrame.new(-566.543823, 591.282654, 374.131958, 0.499959469, -0, -0.866048813, 0, 1, -0, 0.866048813, 0, 0.499959469)
  5243. MeshPart32.Orientation = Vector3.new(0, -60, 0)
  5244. MeshPart32.Position = Vector3.new(-566.543823, 591.282654, 374.131958)
  5245. MeshPart32.Rotation = Vector3.new(0, -60, 0)
  5246. MeshPart32.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5247. MeshPart32.Size = Vector3.new(78.8275986, 48.941967, 86.6867905)
  5248. MeshPart32.Anchored = true
  5249. MeshPart32.BrickColor = BrickColor.new("Gun metallic")
  5250. MeshPart32.Material = Enum.Material.Concrete
  5251. MeshPart32.brickColor = BrickColor.new("Gun metallic")
  5252. MeshPart33.Name = "Meshes/Rock"
  5253. MeshPart33.Parent = Model5
  5254. MeshPart33.CFrame = CFrame.new(-791.928833, 610.846008, 302.648376, 0.499959469, -0, -0.866048813, 0, 1, -0, 0.866048813, 0, 0.499959469)
  5255. MeshPart33.Orientation = Vector3.new(0, -60, 0)
  5256. MeshPart33.Position = Vector3.new(-791.928833, 610.846008, 302.648376)
  5257. MeshPart33.Rotation = Vector3.new(0, -60, 0)
  5258. MeshPart33.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5259. MeshPart33.Size = Vector3.new(78.8275986, 48.941967, 86.6867905)
  5260. MeshPart33.Anchored = true
  5261. MeshPart33.BrickColor = BrickColor.new("Gun metallic")
  5262. MeshPart33.Material = Enum.Material.Concrete
  5263. MeshPart33.brickColor = BrickColor.new("Gun metallic")
  5264. MeshPart34.Name = "Meshes/Rock"
  5265. MeshPart34.Parent = Model5
  5266. MeshPart34.CFrame = CFrame.new(-341.018219, 591.282654, -255.756271, -0.866007447, 0, -0.500031412, 0, 1, 0, 0.500031412, 0, -0.866007447)
  5267. MeshPart34.Orientation = Vector3.new(0, -150, 0)
  5268. MeshPart34.Position = Vector3.new(-341.018219, 591.282654, -255.756271)
  5269. MeshPart34.Rotation = Vector3.new(-180, -30, -180)
  5270. MeshPart34.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5271. MeshPart34.Size = Vector3.new(78.8275986, 48.941967, 86.6867905)
  5272. MeshPart34.Anchored = true
  5273. MeshPart34.BrickColor = BrickColor.new("Gun metallic")
  5274. MeshPart34.Material = Enum.Material.Concrete
  5275. MeshPart34.brickColor = BrickColor.new("Gun metallic")
  5276. MeshPart35.Name = "Meshes/Rock"
  5277. MeshPart35.Parent = Model5
  5278. MeshPart35.CFrame = CFrame.new(-455.77359, 591.282654, 565.991577, -0.866007447, 0, -0.500031412, 0, 1, 0, 0.500031412, 0, -0.866007447)
  5279. MeshPart35.Orientation = Vector3.new(0, -150, 0)
  5280. MeshPart35.Position = Vector3.new(-455.77359, 591.282654, 565.991577)
  5281. MeshPart35.Rotation = Vector3.new(-180, -30, -180)
  5282. MeshPart35.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5283. MeshPart35.Size = Vector3.new(78.8275986, 48.941967, 86.6867905)
  5284. MeshPart35.Anchored = true
  5285. MeshPart35.BrickColor = BrickColor.new("Gun metallic")
  5286. MeshPart35.Material = Enum.Material.Concrete
  5287. MeshPart35.brickColor = BrickColor.new("Gun metallic")
  5288. MeshPart36.Name = "Meshes/Rock"
  5289. MeshPart36.Parent = Model5
  5290. MeshPart36.CFrame = CFrame.new(-476.207428, 585.530945, -148.972336, 0.499959469, -0, -0.866048813, 0, 1, -0, 0.866048813, 0, 0.499959469)
  5291. MeshPart36.Orientation = Vector3.new(0, -60, 0)
  5292. MeshPart36.Position = Vector3.new(-476.207428, 585.530945, -148.972336)
  5293. MeshPart36.Rotation = Vector3.new(0, -60, 0)
  5294. MeshPart36.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5295. MeshPart36.Size = Vector3.new(104.29612, 72.5693665, 114.694527)
  5296. MeshPart36.Anchored = true
  5297. MeshPart36.BrickColor = BrickColor.new("Gun metallic")
  5298. MeshPart36.Material = Enum.Material.Concrete
  5299. MeshPart36.brickColor = BrickColor.new("Gun metallic")
  5300. MeshPart37.Name = "Meshes/Rock"
  5301. MeshPart37.Parent = Model5
  5302. MeshPart37.CFrame = CFrame.new(-254.235001, 586.005188, 411.687134, 0.145163059, -0.183046266, -0.972328007, -0.157566026, 0.96591866, -0.205363393, 0.976780713, 0.183017045, 0.111373842)
  5303. MeshPart37.Orientation = Vector3.new(11.8500004, -83.4700012, -9.26000023)
  5304. MeshPart37.Position = Vector3.new(-254.235001, 586.005188, 411.687134)
  5305. MeshPart37.Rotation = Vector3.new(61.5299988, -76.4899979, 51.5800018)
  5306. MeshPart37.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5307. MeshPart37.Size = Vector3.new(151.406845, 72.8633423, 222.96994)
  5308. MeshPart37.Anchored = true
  5309. MeshPart37.BrickColor = BrickColor.new("Gun metallic")
  5310. MeshPart37.Material = Enum.Material.Concrete
  5311. MeshPart37.brickColor = BrickColor.new("Gun metallic")
  5312. MeshPart38.Name = "Meshes/Rock"
  5313. MeshPart38.Parent = Model5
  5314. MeshPart38.CFrame = CFrame.new(-745.43811, 633.091064, 404.919067, 0.499959469, -0, -0.866048813, 0, 1, -0, 0.866048813, 0, 0.499959469)
  5315. MeshPart38.Orientation = Vector3.new(0, -60, 0)
  5316. MeshPart38.Position = Vector3.new(-745.43811, 633.091064, 404.919067)
  5317. MeshPart38.Rotation = Vector3.new(0, -60, 0)
  5318. MeshPart38.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5319. MeshPart38.Size = Vector3.new(78.8275986, 93.4334717, 64.940773)
  5320. MeshPart38.Anchored = true
  5321. MeshPart38.BrickColor = BrickColor.new("Gun metallic")
  5322. MeshPart38.Material = Enum.Material.Concrete
  5323. MeshPart38.brickColor = BrickColor.new("Gun metallic")
  5324. MeshPart39.Name = "Meshes/Rock"
  5325. MeshPart39.Parent = Model5
  5326. MeshPart39.CFrame = CFrame.new(-795.842407, 619.992249, 146.560013, 0.948587477, 0.129430503, -0.288841814, -0.250013053, 0.866027355, -0.43300131, 0.194101334, 0.482953817, 0.853861988)
  5327. MeshPart39.Orientation = Vector3.new(25.6599998, -18.6900005, -16.1000004)
  5328. MeshPart39.Position = Vector3.new(-795.842407, 619.992249, 146.560013)
  5329. MeshPart39.Rotation = Vector3.new(26.8899994, -16.7900009, -7.76999998)
  5330. MeshPart39.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5331. MeshPart39.Size = Vector3.new(78.8275986, 137.381149, 64.940773)
  5332. MeshPart39.Anchored = true
  5333. MeshPart39.BrickColor = BrickColor.new("Gun metallic")
  5334. MeshPart39.Material = Enum.Material.Concrete
  5335. MeshPart39.brickColor = BrickColor.new("Gun metallic")
  5336. MeshPart40.Name = "Meshes/Rock"
  5337. MeshPart40.Parent = Model5
  5338. MeshPart40.CFrame = CFrame.new(-485.847565, 600.978516, -344.780884, 0.948590219, 0.307931036, -0.0731787384, -0.249986559, 0.870729566, 0.423481792, 0.194122046, -0.383416981, 0.902944088)
  5339. MeshPart40.Orientation = Vector3.new(-25.0499992, -4.63000011, -16.0200005)
  5340. MeshPart40.Position = Vector3.new(-485.847565, 600.978516, -344.780884)
  5341. MeshPart40.Rotation = Vector3.new(-25.1299992, -4.19999981, -17.9799995)
  5342. MeshPart40.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5343. MeshPart40.Size = Vector3.new(78.8275986, 137.381149, 64.940773)
  5344. MeshPart40.Anchored = true
  5345. MeshPart40.BrickColor = BrickColor.new("Gun metallic")
  5346. MeshPart40.Material = Enum.Material.Concrete
  5347. MeshPart40.brickColor = BrickColor.new("Gun metallic")
  5348. MeshPart41.Name = "Meshes/Rock"
  5349. MeshPart41.Parent = Model5
  5350. MeshPart41.CFrame = CFrame.new(-745.980347, 590.585999, -444.622559, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5351. MeshPart41.Position = Vector3.new(-745.980347, 590.585999, -444.622559)
  5352. MeshPart41.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5353. MeshPart41.Size = Vector3.new(19.3454304, 9.36702633, 21.2741871)
  5354. MeshPart41.Anchored = true
  5355. MeshPart41.BrickColor = BrickColor.new("Gun metallic")
  5356. MeshPart41.Material = Enum.Material.Concrete
  5357. MeshPart41.brickColor = BrickColor.new("Gun metallic")
  5358. MeshPart42.Name = "Meshes/Rock"
  5359. MeshPart42.Parent = Model5
  5360. MeshPart42.CFrame = CFrame.new(-20.1160889, 581.989868, 134.90834, -5.19752502e-05, 0.793352008, -0.608763099, 2.56597996e-05, 0.608763099, 0.793352008, 1, 2.56597996e-05, -5.19752502e-05)
  5361. MeshPart42.Orientation = Vector3.new(-52.5, -90, 0)
  5362. MeshPart42.Position = Vector3.new(-20.1160889, 581.989868, 134.90834)
  5363. MeshPart42.Rotation = Vector3.new(-90, -37.5, -90)
  5364. MeshPart42.Color = Color3.new(0.486275, 0.447059, 0.345098)
  5365. MeshPart42.Size = Vector3.new(133.012711, 183.7173, 103.906502)
  5366. MeshPart42.Anchored = true
  5367. MeshPart42.BrickColor = BrickColor.new("Gun metallic")
  5368. MeshPart42.Material = Enum.Material.Concrete
  5369. MeshPart42.brickColor = BrickColor.new("Gun metallic")
  5370. Part43.Name = "Smooth Block Model"
  5371. Part43.Parent = Model5
  5372. Part43.CFrame = CFrame.new(-544.43512, 588.331604, 78.7675934, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  5373. Part43.Orientation = Vector3.new(0, 90, 90)
  5374. Part43.Position = Vector3.new(-544.43512, 588.331604, 78.7675934)
  5375. Part43.Rotation = Vector3.new(90, 90, 0)
  5376. Part43.Color = Color3.new(0.27451, 0.403922, 0.643137)
  5377. Part43.Transparency = 40
  5378. Part43.Size = Vector3.new(1, 1141.85034, 1123.23999)
  5379. Part43.Anchored = true
  5380. Part43.BrickColor = BrickColor.new("Royal blue")
  5381. Part43.brickColor = BrickColor.new("Royal blue")
  5382. Model44.Name = "Spawns"
  5383. Model44.Parent = Model5
  5384. SpawnLocation45.Parent = Model44
  5385. SpawnLocation45.CFrame = CFrame.new(-864.438721, 628.780579, -198.585205, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5386. SpawnLocation45.Position = Vector3.new(-864.438721, 628.780579, -198.585205)
  5387. SpawnLocation45.Size = Vector3.new(6, 1, 6)
  5388. SpawnLocation45.Anchored = true
  5389. SpawnLocation45.BottomSurface = Enum.SurfaceType.Smooth
  5390. SpawnLocation45.TopSurface = Enum.SurfaceType.Smooth
  5391. Decal46.Parent = SpawnLocation45
  5392. Decal46.Texture = "rbxasset://textures/SpawnLocation.png"
  5393. Decal46.Face = Enum.NormalId.Top
  5394. SpawnLocation47.Parent = Model44
  5395. SpawnLocation47.CFrame = CFrame.new(-864.438721, 628.780579, -191.585327, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5396. SpawnLocation47.Position = Vector3.new(-864.438721, 628.780579, -191.585327)
  5397. SpawnLocation47.Size = Vector3.new(6, 1, 6)
  5398. SpawnLocation47.Anchored = true
  5399. SpawnLocation47.BottomSurface = Enum.SurfaceType.Smooth
  5400. SpawnLocation47.TopSurface = Enum.SurfaceType.Smooth
  5401. Decal48.Parent = SpawnLocation47
  5402. Decal48.Texture = "rbxasset://textures/SpawnLocation.png"
  5403. Decal48.Face = Enum.NormalId.Top
  5404. SpawnLocation49.Parent = Model44
  5405. SpawnLocation49.CFrame = CFrame.new(-871.438721, 628.780579, -198.585205, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5406. SpawnLocation49.Position = Vector3.new(-871.438721, 628.780579, -198.585205)
  5407. SpawnLocation49.Size = Vector3.new(6, 1, 6)
  5408. SpawnLocation49.Anchored = true
  5409. SpawnLocation49.BottomSurface = Enum.SurfaceType.Smooth
  5410. SpawnLocation49.TopSurface = Enum.SurfaceType.Smooth
  5411. Decal50.Parent = SpawnLocation49
  5412. Decal50.Texture = "rbxasset://textures/SpawnLocation.png"
  5413. Decal50.Face = Enum.NormalId.Top
  5414. Part51.Parent = Model44
  5415. Part51.CFrame = CFrame.new(-864.438721, 628.780579, -187.585327, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5416. Part51.Position = Vector3.new(-864.438721, 628.780579, -187.585327)
  5417. Part51.Size = Vector3.new(24, 1, 2)
  5418. Part51.BottomSurface = Enum.SurfaceType.Smooth
  5419. Part51.TopSurface = Enum.SurfaceType.Smooth
  5420. SpawnLocation52.Parent = Model44
  5421. SpawnLocation52.CFrame = CFrame.new(-857.438721, 628.780579, -191.585327, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5422. SpawnLocation52.Position = Vector3.new(-857.438721, 628.780579, -191.585327)
  5423. SpawnLocation52.Size = Vector3.new(6, 1, 6)
  5424. SpawnLocation52.Anchored = true
  5425. SpawnLocation52.BottomSurface = Enum.SurfaceType.Smooth
  5426. SpawnLocation52.TopSurface = Enum.SurfaceType.Smooth
  5427. Decal53.Parent = SpawnLocation52
  5428. Decal53.Texture = "rbxasset://textures/SpawnLocation.png"
  5429. Decal53.Face = Enum.NormalId.Top
  5430. SpawnLocation54.Parent = Model44
  5431. SpawnLocation54.CFrame = CFrame.new(-857.438721, 628.780579, -205.585327, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5432. SpawnLocation54.Position = Vector3.new(-857.438721, 628.780579, -205.585327)
  5433. SpawnLocation54.Size = Vector3.new(6, 1, 6)
  5434. SpawnLocation54.Anchored = true
  5435. SpawnLocation54.BottomSurface = Enum.SurfaceType.Smooth
  5436. SpawnLocation54.TopSurface = Enum.SurfaceType.Smooth
  5437. Decal55.Parent = SpawnLocation54
  5438. Decal55.Texture = "rbxasset://textures/SpawnLocation.png"
  5439. Decal55.Face = Enum.NormalId.Top
  5440. SpawnLocation56.Parent = Model44
  5441. SpawnLocation56.CFrame = CFrame.new(-857.438721, 628.780579, -198.585205, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5442. SpawnLocation56.Position = Vector3.new(-857.438721, 628.780579, -198.585205)
  5443. SpawnLocation56.Size = Vector3.new(6, 1, 6)
  5444. SpawnLocation56.Anchored = true
  5445. SpawnLocation56.BottomSurface = Enum.SurfaceType.Smooth
  5446. SpawnLocation56.TopSurface = Enum.SurfaceType.Smooth
  5447. Decal57.Parent = SpawnLocation56
  5448. Decal57.Texture = "rbxasset://textures/SpawnLocation.png"
  5449. Decal57.Face = Enum.NormalId.Top
  5450. Part58.Parent = Model44
  5451. Part58.CFrame = CFrame.new(-864.438721, 628.780579, -209.585327, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5452. Part58.Position = Vector3.new(-864.438721, 628.780579, -209.585327)
  5453. Part58.Size = Vector3.new(24, 1, 2)
  5454. Part58.BottomSurface = Enum.SurfaceType.Smooth
  5455. Part58.TopSurface = Enum.SurfaceType.Smooth
  5456. Part59.Parent = Model44
  5457. Part59.CFrame = CFrame.new(-875.438721, 628.780579, -198.585205, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5458. Part59.Orientation = Vector3.new(0, -90, 0)
  5459. Part59.Position = Vector3.new(-875.438721, 628.780579, -198.585205)
  5460. Part59.Rotation = Vector3.new(0, -90, 0)
  5461. Part59.Size = Vector3.new(20, 1, 2)
  5462. Part59.BottomSurface = Enum.SurfaceType.Smooth
  5463. Part59.TopSurface = Enum.SurfaceType.Smooth
  5464. SpawnLocation60.Parent = Model44
  5465. SpawnLocation60.CFrame = CFrame.new(-871.438721, 628.780579, -205.585327, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5466. SpawnLocation60.Position = Vector3.new(-871.438721, 628.780579, -205.585327)
  5467. SpawnLocation60.Size = Vector3.new(6, 1, 6)
  5468. SpawnLocation60.Anchored = true
  5469. SpawnLocation60.BottomSurface = Enum.SurfaceType.Smooth
  5470. SpawnLocation60.TopSurface = Enum.SurfaceType.Smooth
  5471. Decal61.Parent = SpawnLocation60
  5472. Decal61.Texture = "rbxasset://textures/SpawnLocation.png"
  5473. Decal61.Face = Enum.NormalId.Top
  5474. SpawnLocation62.Parent = Model44
  5475. SpawnLocation62.CFrame = CFrame.new(-871.438721, 628.780579, -191.585327, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5476. SpawnLocation62.Position = Vector3.new(-871.438721, 628.780579, -191.585327)
  5477. SpawnLocation62.Size = Vector3.new(6, 1, 6)
  5478. SpawnLocation62.Anchored = true
  5479. SpawnLocation62.BottomSurface = Enum.SurfaceType.Smooth
  5480. SpawnLocation62.TopSurface = Enum.SurfaceType.Smooth
  5481. Decal63.Parent = SpawnLocation62
  5482. Decal63.Texture = "rbxasset://textures/SpawnLocation.png"
  5483. Decal63.Face = Enum.NormalId.Top
  5484. Part64.Parent = Model44
  5485. Part64.CFrame = CFrame.new(-853.438721, 628.780579, -198.585205, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5486. Part64.Orientation = Vector3.new(0, -90, 0)
  5487. Part64.Position = Vector3.new(-853.438721, 628.780579, -198.585205)
  5488. Part64.Rotation = Vector3.new(0, -90, 0)
  5489. Part64.Size = Vector3.new(20, 1, 2)
  5490. Part64.BottomSurface = Enum.SurfaceType.Smooth
  5491. Part64.TopSurface = Enum.SurfaceType.Smooth
  5492. SpawnLocation65.Parent = Model44
  5493. SpawnLocation65.CFrame = CFrame.new(-864.438721, 628.780579, -205.585327, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5494. SpawnLocation65.Position = Vector3.new(-864.438721, 628.780579, -205.585327)
  5495. SpawnLocation65.Size = Vector3.new(6, 1, 6)
  5496. SpawnLocation65.Anchored = true
  5497. SpawnLocation65.BottomSurface = Enum.SurfaceType.Smooth
  5498. SpawnLocation65.TopSurface = Enum.SurfaceType.Smooth
  5499. Decal66.Parent = SpawnLocation65
  5500. Decal66.Texture = "rbxasset://textures/SpawnLocation.png"
  5501. Decal66.Face = Enum.NormalId.Top
  5502. Sound67.Name = "Dragon Ball Super Opening"
  5503. Sound67.Parent = Model5
  5504. Sound67.SoundId = "rbxassetid://433054111"
  5505. Sound67.Volume = 8
  5506. for i,v in pairs(mas:GetChildren()) do
  5507. v.Parent = script
  5508. pcall(function() v:MakeJoints() end)
  5509. end
  5510. mas:Destroy()
  5511. for i,v in pairs(cors) do
  5512. spawn(function()
  5513. pcall(v)
  5514. end)
  5515. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement