Advertisement
MESCRIPT

Testing map again

Jul 31st, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.72 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. Part2 = Instance.new("Part")
  28. UnionOperation3 = Instance.new("UnionOperation")
  29. Part4 = Instance.new("Part")
  30. Model5 = Instance.new("Model")
  31. UnionOperation6 = Instance.new("UnionOperation")
  32. Motor6D7 = Instance.new("Motor6D")
  33. Motor6D8 = Instance.new("Motor6D")
  34. Motor6D9 = Instance.new("Motor6D")
  35. Motor6D10 = Instance.new("Motor6D")
  36. Motor6D11 = Instance.new("Motor6D")
  37. Beam12 = Instance.new("Beam")
  38. Sound13 = Instance.new("Sound")
  39. UnionOperation14 = Instance.new("UnionOperation")
  40. Decal15 = Instance.new("Decal")
  41. BillboardGui16 = Instance.new("BillboardGui")
  42. TextLabel17 = Instance.new("TextLabel")
  43. TextLabel18 = Instance.new("TextLabel")
  44. Script19 = Instance.new("Script")
  45. Part20 = Instance.new("Part")
  46. Motor6D21 = Instance.new("Motor6D")
  47. Sound22 = Instance.new("Sound")
  48. Sound23 = Instance.new("Sound")
  49. Sound24 = Instance.new("Sound")
  50. Sound25 = Instance.new("Sound")
  51. Sound26 = Instance.new("Sound")
  52. Sound27 = Instance.new("Sound")
  53. Sound28 = Instance.new("Sound")
  54. Sound29 = Instance.new("Sound")
  55. Sound30 = Instance.new("Sound")
  56. Sound31 = Instance.new("Sound")
  57. Sound32 = Instance.new("Sound")
  58. MeshPart33 = Instance.new("MeshPart")
  59. MeshPart34 = Instance.new("MeshPart")
  60. MeshPart35 = Instance.new("MeshPart")
  61. MeshPart36 = Instance.new("MeshPart")
  62. Script37 = Instance.new("Script")
  63. Sound38 = Instance.new("Sound")
  64. MeshPart39 = Instance.new("MeshPart")
  65. Weld40 = Instance.new("Weld")
  66. MeshPart41 = Instance.new("MeshPart")
  67. Weld42 = Instance.new("Weld")
  68. Humanoid43 = Instance.new("Humanoid")
  69. Part44 = Instance.new("Part")
  70. SpecialMesh45 = Instance.new("SpecialMesh")
  71. Model46 = Instance.new("Model")
  72. SpawnLocation47 = Instance.new("SpawnLocation")
  73. Decal48 = Instance.new("Decal")
  74. SpawnLocation49 = Instance.new("SpawnLocation")
  75. Decal50 = Instance.new("Decal")
  76. SpawnLocation51 = Instance.new("SpawnLocation")
  77. Decal52 = Instance.new("Decal")
  78. Part53 = Instance.new("Part")
  79. SpawnLocation54 = Instance.new("SpawnLocation")
  80. Decal55 = Instance.new("Decal")
  81. SpawnLocation56 = Instance.new("SpawnLocation")
  82. Decal57 = Instance.new("Decal")
  83. SpawnLocation58 = Instance.new("SpawnLocation")
  84. Decal59 = Instance.new("Decal")
  85. Part60 = Instance.new("Part")
  86. Part61 = Instance.new("Part")
  87. SpawnLocation62 = Instance.new("SpawnLocation")
  88. Decal63 = Instance.new("Decal")
  89. SpawnLocation64 = Instance.new("SpawnLocation")
  90. Decal65 = Instance.new("Decal")
  91. Part66 = Instance.new("Part")
  92. SpawnLocation67 = Instance.new("SpawnLocation")
  93. Decal68 = Instance.new("Decal")
  94. Camera0.Parent = mas
  95. Camera0.CFrame = CFrame.new(46.878933, 19.3350315, -48.1704102, -0.117004655, -0.42346862, 0.898323119, -3.7252903e-09, 0.904536128, 0.426397353, -0.993131459, 0.0498904735, -0.105834916)
  96. Camera0.CoordinateFrame = CFrame.new(46.878933, 19.3350315, -48.1704102, -0.117004655, -0.42346862, 0.898323119, -3.7252903e-09, 0.904536128, 0.426397353, -0.993131459, 0.0498904735, -0.105834916)
  97. Camera0.Focus = CFrame.new(10.2748413, 1.96056199, -43.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  98. Camera0.focus = CFrame.new(10.2748413, 1.96056199, -43.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  99. Model1.Parent = mas
  100. Part2.Parent = Model1
  101. Part2.CFrame = CFrame.new(-9.97735596, 4.67629385, -32.2881622, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  102. Part2.Position = Vector3.new(-9.97735596, 4.67629385, -32.2881622)
  103. Part2.Color = Color3.new(0, 0, 1)
  104. Part2.Transparency = 1
  105. Part2.Size = Vector3.new(11.8312006, 21.6499958, 12.28965)
  106. Part2.Anchored = true
  107. Part2.BottomSurface = Enum.SurfaceType.Smooth
  108. Part2.BrickColor = BrickColor.new("Really blue")
  109. Part2.TopSurface = Enum.SurfaceType.Smooth
  110. Part2.brickColor = BrickColor.new("Really blue")
  111. UnionOperation3.Parent = Model1
  112. UnionOperation3.CFrame = CFrame.new(-10.0993462, 4.67834091, -31.2852325, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  113. UnionOperation3.Orientation = Vector3.new(0, 90, 0)
  114. UnionOperation3.Position = Vector3.new(-10.0993462, 4.67834091, -31.2852325)
  115. UnionOperation3.Rotation = Vector3.new(0, 90, 0)
  116. UnionOperation3.Color = Color3.new(0, 0, 1)
  117. UnionOperation3.Size = Vector3.new(78.035202, 28.0076447, 76.9837036)
  118. UnionOperation3.BrickColor = BrickColor.new("Really blue")
  119. UnionOperation3.CanCollide = false
  120. UnionOperation3.brickColor = BrickColor.new("Really blue")
  121. Part4.Parent = Model1
  122. Part4.CFrame = CFrame.new(-9.60234833, -6.71868181, -31.7431183, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  123. Part4.Orientation = Vector3.new(0, 0, 90)
  124. Part4.Position = Vector3.new(-9.60234833, -6.71868181, -31.7431183)
  125. Part4.Rotation = Vector3.new(0, 0, 90)
  126. Part4.Transparency = 1
  127. Part4.Size = Vector3.new(2.05412745, 77.9478531, 77.9478531)
  128. Part4.Anchored = true
  129. Part4.BottomSurface = Enum.SurfaceType.Smooth
  130. Part4.Material = Enum.Material.SmoothPlastic
  131. Part4.TopSurface = Enum.SurfaceType.Smooth
  132. Part4.Shape = Enum.PartType.Cylinder
  133. Model5.Name = "Joofil"
  134. Model5.Parent = mas
  135. Model5.PrimaryPart = Part20
  136. UnionOperation6.Name = "Torso"
  137. UnionOperation6.Parent = Model5
  138. UnionOperation6.CFrame = CFrame.new(-18.0134163, -2.58869219, -45.6248856, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  139. UnionOperation6.Position = Vector3.new(-18.0134163, -2.58869219, -45.6248856)
  140. UnionOperation6.Color = Color3.new(0.129412, 0.329412, 0.72549)
  141. UnionOperation6.Size = Vector3.new(2.00003052, 2.00002933, 1.00000763)
  142. UnionOperation6.BrickColor = BrickColor.new("Deep blue")
  143. UnionOperation6.Material = Enum.Material.SmoothPlastic
  144. UnionOperation6.brickColor = BrickColor.new("Deep blue")
  145. UnionOperation6.UsePartColor = true
  146. Motor6D7.Name = "Head"
  147. Motor6D7.Parent = UnionOperation6
  148. Motor6D7.C1 = CFrame.new(-3.9100647e-05, -1.49995828, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  149. Motor6D7.Part0 = UnionOperation6
  150. Motor6D7.Part1 = UnionOperation14
  151. Motor6D7.part1 = UnionOperation14
  152. Motor6D8.Name = "RArm"
  153. Motor6D8.Parent = UnionOperation6
  154. Motor6D8.C1 = CFrame.new(-1.50003719, 0.000101089478, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  155. Motor6D8.Part0 = UnionOperation6
  156. Motor6D8.Part1 = MeshPart34
  157. Motor6D8.part1 = MeshPart34
  158. Motor6D9.Name = "LArm"
  159. Motor6D9.Parent = UnionOperation6
  160. Motor6D9.C1 = CFrame.new(1.49996281, 0.000101089478, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  161. Motor6D9.Part0 = UnionOperation6
  162. Motor6D9.Part1 = MeshPart33
  163. Motor6D9.part1 = MeshPart33
  164. Motor6D10.Name = "RLeg"
  165. Motor6D10.Parent = UnionOperation6
  166. Motor6D10.C1 = CFrame.new(-0.500037193, 2.00010109, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  167. Motor6D10.Part0 = UnionOperation6
  168. Motor6D10.Part1 = MeshPart35
  169. Motor6D10.part1 = MeshPart35
  170. Motor6D11.Name = "LLeg"
  171. Motor6D11.Parent = UnionOperation6
  172. Motor6D11.C1 = CFrame.new(0.499962807, 2.00010109, 2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  173. Motor6D11.Part0 = UnionOperation6
  174. Motor6D11.Part1 = MeshPart36
  175. Motor6D11.part1 = MeshPart36
  176. Beam12.Name = "Neck"
  177. Beam12.Parent = UnionOperation6
  178. Beam12.Attachment0 = nil
  179. Beam12.Attachment1 = nil
  180. Beam12.FaceCamera = true
  181. Beam12.LightEmission = 1
  182. Beam12.LightInfluence = 1
  183. Beam12.Segments = 50
  184. Beam12.Texture = "rbxassetid://1134824633"
  185. Beam12.TextureLength = 5
  186. Beam12.TextureMode = Enum.TextureMode.Static
  187. Beam12.TextureSpeed = 2
  188. Beam12.Transparency = NumberSequence.new(0.20000000298023,0.20000000298023)
  189. Beam12.Width0 = 0.5
  190. Beam12.Width1 = 0.5
  191. Sound13.Name = "Die"
  192. Sound13.Parent = UnionOperation6
  193. Sound13.MaxDistance = 300
  194. Sound13.EmitterSize = 35
  195. Sound13.MinDistance = 35
  196. Sound13.SoundId = "rbxassetid://2150821806"
  197. Sound13.Volume = 2
  198. UnionOperation14.Name = "Head"
  199. UnionOperation14.Parent = Model5
  200. UnionOperation14.CFrame = CFrame.new(-18.0133781, -1.08873391, -45.6249084, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  201. UnionOperation14.Position = Vector3.new(-18.0133781, -1.08873391, -45.6249084)
  202. UnionOperation14.Color = Color3.new(0.937255, 0.721569, 0.219608)
  203. UnionOperation14.Size = Vector3.new(1.20000005, 1.20000005, 1.20000005)
  204. UnionOperation14.BrickColor = BrickColor.new("Gold")
  205. UnionOperation14.Material = Enum.Material.SmoothPlastic
  206. UnionOperation14.brickColor = BrickColor.new("Gold")
  207. UnionOperation14.UsePartColor = true
  208. Decal15.Name = "Smile"
  209. Decal15.Parent = UnionOperation14
  210. Decal15.Texture = "http://www.roblox.com/asset/?id=288072938"
  211. BillboardGui16.Name = "Nametag"
  212. BillboardGui16.Parent = UnionOperation14
  213. BillboardGui16.Size = UDim2.new(4, 0, 4, 0)
  214. BillboardGui16.AlwaysOnTop = true
  215. BillboardGui16.StudsOffset = Vector3.new(0, 2, 0)
  216. TextLabel17.Name = "Title"
  217. TextLabel17.Parent = BillboardGui16
  218. TextLabel17.Size = UDim2.new(1, 0, 0.25, 0)
  219. TextLabel17.BackgroundColor = BrickColor.new("Institutional white")
  220. TextLabel17.BackgroundColor3 = Color3.new(1, 1, 1)
  221. TextLabel17.BackgroundTransparency = 1
  222. TextLabel17.BorderSizePixel = 0
  223. TextLabel17.ClipsDescendants = true
  224. TextLabel17.Font = Enum.Font.Fantasy
  225. TextLabel17.FontSize = Enum.FontSize.Size14
  226. TextLabel17.Text = "Joofil"
  227. TextLabel17.TextColor = BrickColor.new("Institutional white")
  228. TextLabel17.TextColor3 = Color3.new(1, 1, 1)
  229. TextLabel17.TextScaled = true
  230. TextLabel17.TextSize = 14
  231. TextLabel17.TextWrap = true
  232. TextLabel17.TextWrapped = true
  233. TextLabel18.Name = "HP"
  234. TextLabel18.Parent = BillboardGui16
  235. TextLabel18.Position = UDim2.new(0, 0, 0.25, 0)
  236. TextLabel18.Size = UDim2.new(1, 0, 0.100000001, 0)
  237. TextLabel18.BackgroundColor = BrickColor.new("Institutional white")
  238. TextLabel18.BackgroundColor3 = Color3.new(1, 1, 1)
  239. TextLabel18.BackgroundTransparency = 1
  240. TextLabel18.BorderSizePixel = 0
  241. TextLabel18.ClipsDescendants = true
  242. TextLabel18.Font = Enum.Font.Fantasy
  243. TextLabel18.FontSize = Enum.FontSize.Size48
  244. TextLabel18.Text = "0/0"
  245. TextLabel18.TextColor = BrickColor.new("Mint")
  246. TextLabel18.TextColor3 = Color3.new(0.686275, 1, 0.686275)
  247. TextLabel18.TextScaled = true
  248. TextLabel18.TextSize = 45
  249. TextLabel18.TextWrap = true
  250. TextLabel18.TextWrapped = true
  251. Script19.Parent = BillboardGui16
  252. table.insert(cors,sandbox(Script19,function()
  253. wait(0.05)
  254. Humanoid = script.Parent.Parent.Parent:FindFirstChildOfClass("Humanoid")
  255. script.Parent.HP.Text = math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  256.  
  257. Humanoid.Changed:connect(function()
  258. if Humanoid.Health > Humanoid.MaxHealth/2 then
  259. script.Parent.HP.TextColor3 = Color3.new(175/255,1,175/255)
  260. end
  261. if Humanoid.Health > Humanoid.MaxHealth then
  262. script.Parent.HP.TextColor3 = Color3.new(175/255,1,225/255)
  263. end
  264. if Humanoid.Health > Humanoid.MaxHealth * 1.5 then
  265. script.Parent.HP.TextColor3 = Color3.new(175/255,1,1)
  266. end
  267. if Humanoid.Health > Humanoid.MaxHealth * 3 then
  268. script.Parent.HP.TextColor3 = Color3.new(175/255,220/255,1)
  269. end
  270. if Humanoid.Health > Humanoid.MaxHealth * 10 then
  271. script.Parent.HP.TextColor3 = Color3.new(175/255,175/255,1)
  272. end
  273. if Humanoid.Health < Humanoid.MaxHealth/2 then
  274. script.Parent.HP.TextColor3 = Color3.new(210/255,1,175/255)
  275. end
  276. if Humanoid.Health < Humanoid.MaxHealth/2.5 then
  277. script.Parent.HP.TextColor3 = Color3.new(230/255,1,175/255)
  278. end
  279. if Humanoid.Health < Humanoid.MaxHealth/3 then
  280. script.Parent.HP.TextColor3 = Color3.new(1,1,175/255)
  281. end
  282. if Humanoid.Health < Humanoid.MaxHealth/5 then
  283. script.Parent.HP.TextColor3 = Color3.new(1,225/255,175/255)
  284. end
  285. if Humanoid.Health < Humanoid.MaxHealth/7.5 then
  286. script.Parent.HP.TextColor3 = Color3.new(1,200/255,175/255)
  287. end
  288. if Humanoid.Health < Humanoid.MaxHealth/10 then
  289. script.Parent.HP.TextColor3 = Color3.new(1,175/255,175/255)
  290. end
  291. if Humanoid.Health == 0 then
  292. script.Parent.HP.Text = "Dead"
  293. else
  294. script.Parent.HP.Text = math.ceil(Humanoid.Health).."/"..Humanoid.MaxHealth
  295. end
  296. if Humanoid.Health == math.huge then
  297. script.Parent.HP.Text = "Godded"
  298. script.Parent.HP.TextColor3 = Color3.new(175/255,175/255,175/255)
  299. end
  300. end)
  301. end))
  302. Part20.Name = "HumanoidRootPart"
  303. Part20.Parent = Model5
  304. Part20.CFrame = CFrame.new(-18.0133781, -2.58873391, -45.6249084, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  305. Part20.Position = Vector3.new(-18.0133781, -2.58873391, -45.6249084)
  306. Part20.Color = Color3.new(0.937255, 0.721569, 0.219608)
  307. Part20.Transparency = 1
  308. Part20.Size = Vector3.new(2, 2, 1)
  309. Part20.Anchored = true
  310. Part20.BottomSurface = Enum.SurfaceType.Smooth
  311. Part20.BrickColor = BrickColor.new("Gold")
  312. Part20.Material = Enum.Material.SmoothPlastic
  313. Part20.TopSurface = Enum.SurfaceType.Smooth
  314. Part20.brickColor = BrickColor.new("Gold")
  315. Motor6D21.Name = "Root"
  316. Motor6D21.Parent = Part20
  317. Motor6D21.C1 = CFrame.new(3.9100647e-05, -4.17232513e-05, -2.28881836e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  318. Motor6D21.Part0 = Part20
  319. Motor6D21.Part1 = UnionOperation6
  320. Motor6D21.part1 = UnionOperation6
  321. Sound22.Name = "Chuckle"
  322. Sound22.Parent = Part20
  323. Sound22.MaxDistance = 300
  324. Sound22.EmitterSize = 35
  325. Sound22.MinDistance = 35
  326. Sound22.SoundId = "rbxassetid://2545010175"
  327. Sound22.Volume = 5
  328. Sound23.Name = "ByeBye"
  329. Sound23.Parent = Part20
  330. Sound23.MaxDistance = 300
  331. Sound23.EmitterSize = 35
  332. Sound23.MinDistance = 35
  333. Sound23.SoundId = "rbxassetid://2545211516"
  334. Sound23.Volume = 5
  335. Sound24.Name = "ChaosChaos"
  336. Sound24.Parent = Part20
  337. Sound24.MaxDistance = 300
  338. Sound24.EmitterSize = 35
  339. Sound24.MinDistance = 35
  340. Sound24.SoundId = "rbxassetid://2545008459"
  341. Sound24.Volume = 5
  342. Sound25.Name = "Ha2"
  343. Sound25.Parent = Part20
  344. Sound25.MaxDistance = 300
  345. Sound25.EmitterSize = 35
  346. Sound25.MinDistance = 35
  347. Sound25.SoundId = "rbxassetid://2606662454"
  348. Sound25.Volume = 5
  349. Sound26.Name = "Ha1"
  350. Sound26.Parent = Part20
  351. Sound26.MaxDistance = 300
  352. Sound26.EmitterSize = 35
  353. Sound26.MinDistance = 35
  354. Sound26.SoundId = "rbxassetid://2606661976"
  355. Sound26.Volume = 5
  356. Sound27.Name = "Neo"
  357. Sound27.Parent = Part20
  358. Sound27.MaxDistance = 300
  359. Sound27.EmitterSize = 35
  360. Sound27.MinDistance = 35
  361. Sound27.SoundId = "rbxassetid://2545018472"
  362. Sound27.Volume = 5
  363. Sound28.Name = "MeDoAnything"
  364. Sound28.Parent = Part20
  365. Sound28.MaxDistance = 300
  366. Sound28.EmitterSize = 35
  367. Sound28.MinDistance = 35
  368. Sound28.SoundId = "rbxassetid://2544975373"
  369. Sound28.Volume = 5
  370. Sound29.Name = "OH"
  371. Sound29.Parent = Part20
  372. Sound29.MaxDistance = 300
  373. Sound29.EmitterSize = 35
  374. Sound29.MinDistance = 35
  375. Sound29.SoundId = "rbxassetid://2545012765"
  376. Sound29.Volume = 5
  377. Sound30.Name = "Laugh"
  378. Sound30.Parent = Part20
  379. Sound30.MaxDistance = 300
  380. Sound30.EmitterSize = 35
  381. Sound30.MinDistance = 35
  382. Sound30.SoundId = "rbxassetid://2545211765"
  383. Sound30.Volume = 5
  384. Sound31.Name = "Metamorph"
  385. Sound31.Parent = Part20
  386. Sound31.MaxDistance = 300
  387. Sound31.EmitterSize = 35
  388. Sound31.MinDistance = 35
  389. Sound31.SoundId = "rbxassetid://2545011398"
  390. Sound31.Volume = 5
  391. Sound32.Name = "Deathed"
  392. Sound32.Parent = Part20
  393. Sound32.MaxDistance = 300
  394. Sound32.EmitterSize = 35
  395. Sound32.MinDistance = 35
  396. Sound32.SoundId = "rbxassetid://2637401925"
  397. Sound32.Volume = 2
  398. MeshPart33.Name = "Left Arm"
  399. MeshPart33.Parent = Model5
  400. MeshPart33.CFrame = CFrame.new(-19.5133781, -2.58879328, -45.6249084, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  401. MeshPart33.Position = Vector3.new(-19.5133781, -2.58879328, -45.6249084)
  402. MeshPart33.Color = Color3.new(0.937255, 0.721569, 0.219608)
  403. MeshPart33.Size = Vector3.new(1.00004005, 2.00002551, 1)
  404. MeshPart33.BrickColor = BrickColor.new("Gold")
  405. MeshPart33.Material = Enum.Material.SmoothPlastic
  406. MeshPart33.brickColor = BrickColor.new("Gold")
  407. MeshPart34.Name = "Right Arm"
  408. MeshPart34.Parent = Model5
  409. MeshPart34.CFrame = CFrame.new(-16.5133781, -2.58879328, -45.6249084, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  410. MeshPart34.Position = Vector3.new(-16.5133781, -2.58879328, -45.6249084)
  411. MeshPart34.Color = Color3.new(0.937255, 0.721569, 0.219608)
  412. MeshPart34.Size = Vector3.new(1.00004005, 2.00002551, 1)
  413. MeshPart34.BrickColor = BrickColor.new("Gold")
  414. MeshPart34.Material = Enum.Material.SmoothPlastic
  415. MeshPart34.brickColor = BrickColor.new("Gold")
  416. MeshPart35.Name = "Right Leg"
  417. MeshPart35.Parent = Model5
  418. MeshPart35.CFrame = CFrame.new(-17.5133781, -4.58879328, -45.6249084, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  419. MeshPart35.Position = Vector3.new(-17.5133781, -4.58879328, -45.6249084)
  420. MeshPart35.Color = Color3.new(0.294118, 0.592157, 0.294118)
  421. MeshPart35.Size = Vector3.new(1.00004005, 2.00002551, 1)
  422. MeshPart35.BrickColor = BrickColor.new("Bright green")
  423. MeshPart35.Material = Enum.Material.SmoothPlastic
  424. MeshPart35.brickColor = BrickColor.new("Bright green")
  425. MeshPart36.Name = "Left Leg"
  426. MeshPart36.Parent = Model5
  427. MeshPart36.CFrame = CFrame.new(-18.5133781, -4.58879328, -45.6249084, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  428. MeshPart36.Position = Vector3.new(-18.5133781, -4.58879328, -45.6249084)
  429. MeshPart36.Color = Color3.new(0.294118, 0.592157, 0.294118)
  430. MeshPart36.Size = Vector3.new(1.00004005, 2.00002551, 1)
  431. MeshPart36.BrickColor = BrickColor.new("Bright green")
  432. MeshPart36.Material = Enum.Material.SmoothPlastic
  433. MeshPart36.brickColor = BrickColor.new("Bright green")
  434. Script37.Name = "REOOFING"
  435. Script37.Parent = Model5
  436. table.insert(cors,sandbox(Script37,function()
  437. IT = Instance.new
  438. CF = CFrame.new
  439. VT = Vector3.new
  440. RAD = math.rad
  441. C3 = Color3.new
  442. UD2 = UDim2.new
  443. BRICKC = BrickColor.new
  444. ANGLES = CFrame.Angles
  445. EULER = CFrame.fromEulerAnglesXYZ
  446. COS = math.cos
  447. ACOS = math.acos
  448. SIN = math.sin
  449. ASIN = math.asin
  450. ABS = math.abs
  451. MRANDOM = math.random
  452. FLOOR = math.floor
  453.  
  454. local GYRO = nil
  455. local CHARACTER = script.Parent
  456. local HUMANOID = CHARACTER:FindFirstChildOfClass("Humanoid")
  457. local TORSO = CHARACTER.Torso
  458. local ROOT = CHARACTER.HumanoidRootPart
  459. local RIGHTARM = CHARACTER["Right Arm"]
  460. local LEFTARM = CHARACTER["Left Arm"]
  461. local RIGHTLEG = CHARACTER["Right Leg"]
  462. local LEFTLEG = CHARACTER["Left Leg"]
  463. RootJoint = ROOT["Root"]
  464. Neck = TORSO["Head"]
  465. RightShoulder = TORSO["RArm"]
  466. LeftShoulder = TORSO["LArm"]
  467. RightHip = TORSO["RLeg"]
  468. LeftHip = TORSO["LLeg"]
  469. local BODY = {}
  470. local CHAIR = CHARACTER.Wheelchair
  471. for index, CHILD in pairs(CHARACTER:GetDescendants()) do
  472. if (CHILD:IsA("BasePart") or CHILD:IsA("Decal") or CHILD:IsA("Beam")) and CHILD ~= ROOT and CHILD ~= CHAIR then
  473. table.insert(BODY,CHILD)
  474. end
  475. end
  476. local ATTACKING = false
  477. if script:FindFirstChild("Color") then
  478. script.Color.Parent = game.Lighting
  479. end
  480. local HIT = false
  481. local MUSIC = script.Music
  482. local DEAD = false
  483. MUSIC:Play()
  484. local CLUBSMESH = 2761335666
  485. local DIAMONDMESH = 1254392112
  486. local SPADEMESH = 2760895053
  487. local HEARTMESH = 105992239 --VT(3.5,3.5,3.5)
  488. local SCYTHEMESH = 455516381
  489. local SINE = 0
  490. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  491.  
  492. Debris = game:GetService("Debris")
  493.  
  494. local Effects = IT("Folder",CHARACTER)
  495.  
  496. --//=================================\\
  497. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  498. --\\=================================//
  499.  
  500. ArtificialHB = Instance.new("BindableEvent", script)
  501. ArtificialHB.Name = "ArtificialHB"
  502.  
  503. script:WaitForChild("ArtificialHB")
  504.  
  505. frame = 1/60
  506. tf = 0
  507. allowframeloss = false
  508. tossremainder = false
  509. lastframe = tick()
  510. script.ArtificialHB:Fire()
  511.  
  512. game:GetService("RunService").Heartbeat:connect(function(s, p)
  513. tf = tf + s
  514. if tf >= frame then
  515. if allowframeloss then
  516. script.ArtificialHB:Fire()
  517. lastframe = tick()
  518. else
  519. for i = 1, math.floor(tf / frame) do
  520. script.ArtificialHB:Fire()
  521. end
  522. lastframe = tick()
  523. end
  524. if tossremainder then
  525. tf = 0
  526. else
  527. tf = tf - frame * math.floor(tf / frame)
  528. end
  529. end
  530. end)
  531.  
  532. function PositiveAngle(NUMBER)
  533. if NUMBER >= 0 then
  534. NUMBER = 0
  535. end
  536. return NUMBER
  537. end
  538.  
  539. function NegativeAngle(NUMBER)
  540. if NUMBER <= 0 then
  541. NUMBER = 0
  542. end
  543. return NUMBER
  544. end
  545.  
  546. function Swait(NUMBER)
  547. if NUMBER == 0 or NUMBER == nil then
  548. ArtificialHB.Event:wait()
  549. else
  550. for i = 1, NUMBER do
  551. ArtificialHB.Event:wait()
  552. end
  553. end
  554. end
  555.  
  556. --//=================================\\
  557. --|| FUNCTIONS
  558. --\\=================================//
  559.  
  560. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  561. local NEWMESH = IT(MESH)
  562. if MESH == "SpecialMesh" then
  563. NEWMESH.MeshType = MESHTYPE
  564. if MESHID ~= "nil" and MESHID ~= "" then
  565. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  566. end
  567. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  568. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  569. end
  570. end
  571. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  572. NEWMESH.Scale = SCALE
  573. NEWMESH.Parent = PARENT
  574. return NEWMESH
  575. end
  576.  
  577. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  578. local NEWPART = IT("Part")
  579. NEWPART.formFactor = FORMFACTOR
  580. NEWPART.Reflectance = REFLECTANCE
  581. NEWPART.Transparency = TRANSPARENCY
  582. NEWPART.CanCollide = false
  583. NEWPART.Locked = true
  584. NEWPART.Anchored = true
  585. if ANCHOR == false then
  586. NEWPART.Anchored = false
  587. end
  588. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  589. NEWPART.Name = NAME
  590. NEWPART.Size = SIZE
  591. NEWPART.Position = TORSO.Position
  592. NEWPART.Material = MATERIAL
  593. NEWPART:BreakJoints()
  594. NEWPART.Parent = PARENT
  595. return NEWPART
  596. end
  597.  
  598. local function weldBetween(a, b)
  599. local weldd = IT("ManualWeld")
  600. weldd.Part0 = a
  601. weldd.Part1 = b
  602. weldd.C0 = CF()
  603. weldd.C1 = b.CFrame:inverse() * a.CFrame
  604. weldd.Parent = a
  605. return weldd
  606. end
  607.  
  608. local S = IT("Sound")
  609. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  610. local NEWSOUND = nil
  611. coroutine.resume(coroutine.create(function()
  612. NEWSOUND = S:Clone()
  613. NEWSOUND.Parent = PARENT
  614. NEWSOUND.Volume = VOLUME
  615. NEWSOUND.Pitch = PITCH
  616. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  617. NEWSOUND:play()
  618. if DOESLOOP == true then
  619. NEWSOUND.Looped = true
  620. else
  621. repeat wait(1) until NEWSOUND.Playing == false
  622. NEWSOUND:remove()
  623. end
  624. end))
  625. return NEWSOUND
  626. end
  627.  
  628. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  629. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  630. end
  631.  
  632. function ApplyDamage(Humanoid,Damage)
  633. Damage = Damage * 1
  634. if Humanoid.Health ~= 0 then
  635. Humanoid.Health = Humanoid.Health - Damage
  636. end
  637. end
  638.  
  639. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  640. for index, CHILD in pairs(workspace:GetDescendants()) do
  641. if CHILD.ClassName == "Model" and CHILD ~= CHARACTER then
  642. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  643. if HUM then
  644. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  645. if TORSO then
  646. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  647. if INSTAKILL == true then
  648. CHILD:BreakJoints()
  649. else
  650. local DMG = MRANDOM(MINDMG,MAXDMG)
  651. ApplyDamage(HUM,DMG)
  652. end
  653. if FLING > 0 then
  654. for _, c in pairs(CHILD:GetChildren()) do
  655. if c:IsA("BasePart") then
  656. local bv = Instance.new("BodyVelocity")
  657. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  658. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  659. bv.Parent = c
  660. Debris:AddItem(bv,0.05)
  661. end
  662. end
  663. end
  664. end
  665. end
  666. end
  667. end
  668. end
  669. end
  670.  
  671. --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})
  672. function WACKYEFFECT(Table)
  673. local TYPE = (Table.EffectType or "Sphere")
  674. local SIZE = (Table.Size or VT(1,1,1))
  675. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  676. local TRANSPARENCY = (Table.Transparency or 0)
  677. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  678. local CFRAME = (Table.CFrame or TORSO.CFrame)
  679. local MOVEDIRECTION = (Table.MoveToPos or nil)
  680. local ROTATION1 = (Table.RotationX or 0)
  681. local ROTATION2 = (Table.RotationY or 0)
  682. local ROTATION3 = (Table.RotationZ or 0)
  683. local MATERIAL = (Table.Material or "Neon")
  684. local COLOR = (Table.Color or C3(1,1,1))
  685. local TIME = (Table.Time or 45)
  686. local SOUNDID = (Table.SoundID or nil)
  687. local SOUNDPITCH = (Table.SoundPitch or nil)
  688. local SOUNDVOLUME = (Table.SoundVolume or nil)
  689. coroutine.resume(coroutine.create(function()
  690. local PLAYSSOUND = false
  691. local SOUND = nil
  692. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  693. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  694. PLAYSSOUND = true
  695. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  696. end
  697. EFFECT.Color = COLOR
  698. local MSH = nil
  699. if TYPE == "Sphere" then
  700. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  701. elseif TYPE == "Block" or TYPE == "Box" then
  702. MSH = IT("BlockMesh",EFFECT)
  703. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  704. elseif TYPE == "Wave" then
  705. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  706. elseif TYPE == "Ring" then
  707. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  708. elseif TYPE == "Slash" then
  709. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  710. elseif TYPE == "Round Slash" then
  711. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  712. elseif TYPE == "Swirl" then
  713. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  714. elseif TYPE == "Skull" then
  715. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  716. elseif TYPE == "Crystal" then
  717. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  718. end
  719. if MSH ~= nil then
  720. local MOVESPEED = nil
  721. if MOVEDIRECTION ~= nil then
  722. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  723. end
  724. local GROWTH = SIZE - ENDSIZE
  725. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  726. if TYPE == "Block" then
  727. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  728. else
  729. EFFECT.CFrame = CFRAME
  730. end
  731. for LOOP = 1, TIME+1 do
  732. Swait()
  733. MSH.Scale = MSH.Scale - GROWTH/TIME
  734. if TYPE == "Wave" then
  735. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  736. end
  737. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  738. if TYPE == "Block" then
  739. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  740. else
  741. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  742. end
  743. if MOVEDIRECTION ~= nil then
  744. local ORI = EFFECT.Orientation
  745. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  746. EFFECT.Orientation = ORI
  747. end
  748. end
  749. if PLAYSSOUND == false then
  750. EFFECT:remove()
  751. else
  752. repeat Swait() until SOUND.Playing == false
  753. EFFECT:remove()
  754. end
  755. else
  756. if PLAYSSOUND == false then
  757. EFFECT:remove()
  758. else
  759. repeat Swait() until SOUND.Playing == false
  760. EFFECT:remove()
  761. end
  762. end
  763. end))
  764. end
  765.  
  766. function Transparent(CY)
  767. for E = 1, #BODY do
  768. if BODY[E].ClassName ~= "Beam" then
  769. BODY[E].Transparency = CY
  770. else
  771. BODY[E].Transparency = NumberSequence.new(CY)
  772. end
  773. end
  774. end
  775.  
  776. --//=================================\\
  777. --|| CLERPING
  778. --\\=================================//
  779.  
  780. function QuaternionFromCFrame(cf)
  781. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  782. local trace = m00 + m11 + m22
  783. if trace > 0 then
  784. local s = math.sqrt(1 + trace)
  785. local recip = 0.5 / s
  786. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  787. else
  788. local i = 0
  789. if m11 > m00 then
  790. i = 1
  791. end
  792. if m22 > (i == 0 and m00 or m11) then
  793. i = 2
  794. end
  795. if i == 0 then
  796. local s = math.sqrt(m00 - m11 - m22 + 1)
  797. local recip = 0.5 / s
  798. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  799. elseif i == 1 then
  800. local s = math.sqrt(m11 - m22 - m00 + 1)
  801. local recip = 0.5 / s
  802. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  803. elseif i == 2 then
  804. local s = math.sqrt(m22 - m00 - m11 + 1)
  805. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  806. end
  807. end
  808. end
  809.  
  810. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  811. local xs, ys, zs = x + x, y + y, z + z
  812. local wx, wy, wz = w * xs, w * ys, w * zs
  813. local xx = x * xs
  814. local xy = x * ys
  815. local xz = x * zs
  816. local yy = y * ys
  817. local yz = y * zs
  818. local zz = z * zs
  819. 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))
  820. end
  821.  
  822. function QuaternionSlerp(a, b, t)
  823. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  824. local startInterp, finishInterp;
  825. if cosTheta >= 0.0001 then
  826. if (1 - cosTheta) > 0.0001 then
  827. local theta = ACOS(cosTheta)
  828. local invSinTheta = 1 / SIN(theta)
  829. startInterp = SIN((1 - t) * theta) * invSinTheta
  830. finishInterp = SIN(t * theta) * invSinTheta
  831. else
  832. startInterp = 1 - t
  833. finishInterp = t
  834. end
  835. else
  836. if (1 + cosTheta) > 0.0001 then
  837. local theta = ACOS(-cosTheta)
  838. local invSinTheta = 1 / SIN(theta)
  839. startInterp = SIN((t - 1) * theta) * invSinTheta
  840. finishInterp = SIN(t * theta) * invSinTheta
  841. else
  842. startInterp = t - 1
  843. finishInterp = t
  844. end
  845. end
  846. 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
  847. end
  848.  
  849. function Clerp(a, b, t)
  850. local qa = {QuaternionFromCFrame(a)}
  851. local qb = {QuaternionFromCFrame(b)}
  852. local ax, ay, az = a.x, a.y, a.z
  853. local bx, by, bz = b.x, b.y, b.z
  854. local _t = 1 - t
  855. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  856. end
  857.  
  858. function ClerpBody(TABLE,PRIORITY)
  859. if PRIORITY == "Attack" or ATTACKING == false then
  860. RootJoint.C1 = Clerp(RootJoint.C1, TABLE[1], 0.35)
  861. if HIT == false then
  862. Neck.C1 = Clerp(Neck.C1, TABLE[2], 0.35)
  863. end
  864. RightShoulder.C1 = Clerp(RightShoulder.C1, TABLE[3], 0.35)
  865. LeftShoulder.C1 = Clerp(LeftShoulder.C1, TABLE[4], 0.35)
  866. RightHip.C1 = Clerp(RightHip.C1, TABLE[5], 0.35)
  867. LeftHip.C1 = Clerp(LeftHip.C1, TABLE[6], 0.35)
  868. end
  869. end
  870.  
  871. --//=================================\\
  872. --|| ATRIFICIAL INTELLIGENCE
  873. --\\=================================//
  874.  
  875. local GoTo = function(TO)
  876. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,TO),0.5)*CF(0,0,-HUMANOID.WalkSpeed/32))
  877. CHARACTER:SetPrimaryPartCFrame(CF(ROOT.Position)*ANGLES(0,RAD(ROOT.Orientation.Y),0))
  878. end
  879.  
  880. function TestForTarget(PRT,target)
  881. local to = true
  882. if PRT then
  883. if PRT:FindFirstAncestorOfClass("Model") == target.Parent then
  884. to = false
  885. end
  886. end
  887. return to
  888. end
  889.  
  890. function ChaosOrAnything()
  891. local PLAY = {ROOT.MeDoAnything,ROOT.ChaosChaos}
  892. PLAY[MRANDOM(1,2)]:Play()
  893. end
  894.  
  895. function OhOhOh(TARGET)
  896. local FOE = TARGET.Torso
  897. if FOE then
  898. ATTACKING = true
  899. ChaosOrAnything()
  900. local E = 0
  901. repeat
  902. Swait()
  903. E = E + 1
  904. ClerpBody({
  905. CF(0,-E/25,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  906. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0,-1,0),
  907. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  908. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  909. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  910. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  911. },"Attack")
  912. until ROOT.ChaosChaos.Playing == false and ROOT.MeDoAnything.Playing == false
  913. for i = 1, MRANDOM(3,5) do
  914. local TO = FOE.Position
  915. local MOVETO = CF(FOE.Position+VT(0,1,0))*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,0,15)
  916. CHARACTER:SetPrimaryPartCFrame(MOVETO)
  917. Transparent(0)
  918. ROOT.OH:Play()
  919. for i = 1, 5 do
  920. ClerpBody({
  921. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  922. CF(0,-0.5,0)*ANGLES(RAD(5),RAD(0),RAD(0))*CF(0,-1,0),
  923. CF(0,0.5,0)*ANGLES(RAD(-75),RAD(0),RAD(-35))*CF(-1.5,-0.5,0),
  924. CF(0,0.5,0)*ANGLES(RAD(-75),RAD(0),RAD(35))*CF(1.5,-0.5,0),
  925. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  926. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  927. },"Attack")
  928. end
  929. for i = 1, 3 do
  930. local ANGLE = (50-(25*i))/1.25
  931. coroutine.resume(coroutine.create(function()
  932. local TOFIREFROM = ROOT.CFrame*ANGLES(0,RAD(ANGLE),0)
  933. local CLUB = CreatePart(3, workspace, "Granite", 0, 0, TORSO.BrickColor, "Spade", VT(1.5,0.5,1.5), false)
  934. CreateMesh("SpecialMesh", CLUB, "FileMesh", CLUBSMESH, "", VT(0.75,0.75,0.75), VT(0,0,0))
  935. CLUB.CFrame = TOFIREFROM
  936. local GO = IT("BodyVelocity",CLUB)
  937. GO.Velocity = CLUB.CFrame.lookVector*65
  938. Debris:AddItem(CLUB,1)
  939. CLUB.Touched:Connect(function(HIT)
  940. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  941. CLUB:Remove()
  942. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  943. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 10
  944. end
  945. end)
  946. end))
  947. end
  948. for i = 1, 35 do
  949. Swait()
  950. ClerpBody({
  951. CF(0,-i/350,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  952. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0,-1,0),
  953. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  954. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  955. CF(-0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  956. CF(0,0.5,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  957. },"Attack")
  958. Transparent(i/35)
  959. end
  960. if TARGET.Health <= 0 or DEAD == true then
  961. break
  962. end
  963. end
  964. ATTACKING = false
  965. for i = 1, 25 do
  966. Swait()
  967. Transparent((25-i)/25)
  968. end
  969. Transparent(0)
  970. end
  971. end
  972. function Diamonds(TARGET)
  973. local FOE = TARGET.Torso
  974. if FOE then
  975. ChaosOrAnything()
  976. ATTACKING = true
  977. coroutine.resume(coroutine.create(function()
  978. repeat
  979. Swait()
  980. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(VT(ROOT.Position.X,FOE.Position.Y,ROOT.Position.Z),FOE.Position),0.2))
  981. ClerpBody({
  982. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  983. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  984. 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),
  985. 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),
  986. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  987. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  988. },"Attack")
  989. until ATTACKING == false
  990. end))
  991. for i = 1, MRANDOM(25,35) do
  992. coroutine.resume(coroutine.create(function()
  993. local DIAMOND = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Diamond", VT(0.5,0.5,1.5), true)
  994. CreateMesh("SpecialMesh", DIAMOND, "FileMesh", DIAMONDMESH, "", VT(0.1, 0.05, 0.15), VT(0,0,0))
  995. DIAMOND.CFrame = ROOT.CFrame*CF(MRANDOM(-150,150)/20,0,-1.5)
  996. for i = 1, 15 do
  997. Swait()
  998. DIAMOND.Transparency = (15-i)/15
  999. DIAMOND.CFrame = DIAMOND.CFrame*CF(0,0,-(15-i)/35)
  1000. end
  1001. DIAMOND.Anchored = false
  1002. DIAMOND.Transparency = 0
  1003. local GO = IT("BodyVelocity",DIAMOND)
  1004. GO.Velocity = DIAMOND.CFrame.lookVector*15
  1005. Debris:AddItem(DIAMOND,1)
  1006. DIAMOND.Touched:Connect(function(HIT)
  1007. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  1008. DIAMOND:Remove()
  1009. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  1010. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 7.5
  1011. end
  1012. end)
  1013. for i = 1, 5 do
  1014. Swait()
  1015. GO.Velocity = DIAMOND.CFrame.lookVector*(15*i)
  1016. end
  1017. end))
  1018. if TARGET.Health <= 0 or DEAD == true then
  1019. break
  1020. end
  1021. Swait(7)
  1022. end
  1023. ATTACKING = false
  1024. end
  1025. end
  1026. function RingAround(TARGET)
  1027. local FOE = TARGET.Torso
  1028. if FOE then
  1029. ATTACKING = true
  1030. ChaosOrAnything()
  1031. local E = 0
  1032. repeat
  1033. Swait()
  1034. E = E + 1
  1035. ClerpBody({
  1036. CF(0,(-E/25)+0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1037. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1038. 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),
  1039. 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),
  1040. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1041. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1042. },"Attack")
  1043. until ROOT.ChaosChaos.Playing == false and ROOT.MeDoAnything.Playing == false
  1044. coroutine.resume(coroutine.create(function()
  1045. repeat
  1046. Swait()
  1047. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,VT(FOE.Position.X,ROOT.Position.Y,FOE.Position.Z)),0.2))
  1048. ClerpBody({
  1049. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1050. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1051. 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),
  1052. 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),
  1053. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1054. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1055. },"Attack")
  1056. until ATTACKING == false
  1057. end))
  1058. for i = 1, MRANDOM(2,4) do
  1059. local SPAWN = CF(FOE.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)
  1060. local SPADES = {}
  1061. for i = 1, 10 do
  1062. local SPADE = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Spade", VT(2,2,2), true)
  1063. CreateMesh("SpecialMesh", SPADE, "FileMesh", SPADEMESH, "", VT(1.2,1.2,1.2), VT(0,0,0))
  1064. SPADE.CFrame = SPAWN*ANGLES(0,RAD(36*i),0)*CF(0,0,35)
  1065. SPADE.Touched:Connect(function(HIT)
  1066. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  1067. SPADE:Remove()
  1068. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  1069. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 10
  1070. end
  1071. end)
  1072. table.insert(SPADES,SPADE)
  1073. end
  1074. for i = 1, 25 do
  1075. for E = 1, #SPADES do
  1076. SPADES[E].CFrame = SPADES[E].CFrame * CF(0,0,-0.5)
  1077. SPADES[E].Transparency = (10-i)/9.5
  1078. end
  1079. Swait()
  1080. end
  1081. wait(0.2)
  1082. for E = 1, #SPADES do
  1083. coroutine.resume(coroutine.create(function()
  1084. local SPADE = SPADES[E]
  1085. for i = 1, 15 do
  1086. SPADE.CFrame = SPADE.CFrame*CF(0,0,(15-i)/15)
  1087. Swait()
  1088. end
  1089. SPADE.Anchored = false
  1090. local GO = IT("BodyVelocity",SPADE)
  1091. GO.Velocity = SPADE.CFrame.lookVector*5
  1092. GO.MaxForce = GO.MaxForce * 100
  1093. Debris:AddItem(SPADE,1)
  1094. SPADE.Touched:Connect(function(HIT)
  1095. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  1096. SPADE:Remove()
  1097. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  1098. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 2.5
  1099. end
  1100. end)
  1101. for i = 1, 15 do
  1102. Swait()
  1103. GO.Velocity = SPADE.CFrame.lookVector*(5*i)
  1104. end
  1105. end))
  1106. Swait(5)
  1107. end
  1108. if TARGET.Health <= 0 or DEAD == true then
  1109. break
  1110. end
  1111. end
  1112. wait(0.5)
  1113. ATTACKING = false
  1114. end
  1115. end
  1116. function HeartsGoesOut(TARGET)
  1117. local FOE = TARGET.Torso
  1118. if FOE then
  1119. ChaosOrAnything()
  1120. ATTACKING = true
  1121. coroutine.resume(coroutine.create(function()
  1122. repeat
  1123. Swait()
  1124. CHARACTER:SetPrimaryPartCFrame(Clerp(ROOT.CFrame,CF(ROOT.Position,VT(FOE.Position.X,ROOT.Position.Y,FOE.Position.Z)),0.2))
  1125. ClerpBody({
  1126. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1127. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1128. 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),
  1129. 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),
  1130. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1131. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1132. },"Attack")
  1133. until ATTACKING == false
  1134. end))
  1135. for i = 1, MRANDOM(5,7) do
  1136. local SPAWN = CF(FOE.Position+VT(0,1,0))*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,0,35)
  1137. SPAWN = CF(SPAWN.p,FOE.Position+VT(0,1,0))
  1138. coroutine.resume(coroutine.create(function()
  1139. local HEARTS = {}
  1140. for i = 1, 4 do
  1141. local HEART = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Heart", VT(2,2,2), true)
  1142. CreateMesh("SpecialMesh", HEART, "FileMesh", HEARTMESH, "", VT(3.5,3.5,3.5), VT(0,0,0))
  1143. HEART.CFrame = SPAWN*ANGLES(0,RAD((360/4)*i),0)
  1144. HEART.Touched:Connect(function(HIT)
  1145. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER then
  1146. HEART:Remove()
  1147. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  1148. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 7.5
  1149. end
  1150. end)
  1151. table.insert(HEARTS,HEART)
  1152. end
  1153. for i = 1, 10 do
  1154. Swait()
  1155. for E = 1, #HEARTS do
  1156. HEARTS[E].CFrame = HEARTS[E].CFrame*CF(0,0,-(10-i)/10)
  1157. HEARTS[E].Transparency = (10-i)/9.5
  1158. end
  1159. end
  1160. local DIST = (HEARTS[1].Position - SPAWN.p).Magnitude
  1161. for i = 1, 100 do
  1162. Swait()
  1163. SPAWN = SPAWN*CF(0,0,-1)
  1164. for E = 1, #HEARTS do
  1165. HEARTS[E].Transparency = 0
  1166. HEARTS[E].CFrame = SPAWN*ANGLES(0,RAD(((360/4)*E)+(i*5)),0)*CF(0,0,-DIST)
  1167. end
  1168. end
  1169. for E = 1, #HEARTS do
  1170. HEARTS[E]:Destroy()
  1171. end
  1172. end))
  1173. Swait(35)
  1174. if TARGET.Health <= 0 or DEAD == true then
  1175. break
  1176. end
  1177. end
  1178. wait(0.5)
  1179. ATTACKING = false
  1180. end
  1181. end
  1182. function Meta(TARGET)
  1183. local FOE = TARGET.Torso
  1184. if FOE then
  1185. ROOT.Metamorph:Play()
  1186. ATTACKING = true
  1187. local SCYTHE = CreatePart(3, workspace, "Granite", 0, 1, TORSO.BrickColor, "Diamond", VT(3,0,3), true)
  1188. CreateMesh("SpecialMesh", SCYTHE, "FileMesh", SCYTHEMESH, "", VT(0.01, 0.01, 0.01), VT(0,0,0))
  1189. SCYTHE.CFrame = TORSO.CFrame
  1190. for i = 1, 3 do
  1191. for i = 1, 15 do
  1192. Swait()
  1193. ClerpBody({
  1194. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1195. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1196. 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),
  1197. 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),
  1198. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1199. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1200. },"Attack")
  1201. Transparent(i/15)
  1202. SCYTHE.Transparency = (15-i)/15
  1203. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  1204. end
  1205. for i = 1, 15 do
  1206. Swait()
  1207. ClerpBody({
  1208. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1209. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1210. 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),
  1211. 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),
  1212. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1213. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1214. },"Attack")
  1215. Transparent((15-i)/15)
  1216. SCYTHE.Transparency = i/15
  1217. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  1218. end
  1219. end
  1220. for i = 1, 15 do
  1221. Swait()
  1222. ClerpBody({
  1223. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1224. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1225. 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),
  1226. 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),
  1227. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1228. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1229. },"Attack")
  1230. Transparent(i/15)
  1231. SCYTHE.Transparency = (15-i)/15
  1232. SCYTHE.CFrame = CF(TORSO.Position)*ANGLES(0,RAD(SINE*5),0)
  1233. end
  1234. Transparent(1)
  1235. SCYTHE.Transparency = 0
  1236. local SCYTHES = {SCYTHE}
  1237. for i = 1, 3 do
  1238. local COPY = SCYTHE:Clone()
  1239. COPY.Parent = workspace
  1240. COPY.CFrame = SCYTHE.CFrame
  1241. table.insert(SCYTHES,COPY)
  1242. end
  1243. for E = 1, #SCYTHES do
  1244. local DELAY = false
  1245. SCYTHES[E].Touched:Connect(function(HIT)
  1246. if HIT.Parent:FindFirstChildOfClass("Humanoid") and HIT.Parent ~= CHARACTER and DELAY == false then
  1247. HIT.Parent:FindFirstChildOfClass("Humanoid").Health = HIT.Parent:FindFirstChildOfClass("Humanoid").Health - 3.5
  1248. CreateSound(410625063, HIT.Parent:FindFirstChildOfClass("Humanoid").Torso, 2, 1, false)
  1249. DELAY = true
  1250. wait(1)
  1251. DELAY = false
  1252. end
  1253. end)
  1254. end
  1255. local NOW = ROOT.CFrame
  1256. CHARACTER:SetPrimaryPartCFrame(CF(0,5000,0))
  1257. HUMANOID.Parent = nil
  1258. local Y = FOE.Position.Y
  1259. for i = 1, 750 do
  1260. Swait()
  1261. for E = 1, #SCYTHES do
  1262. 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)
  1263. end
  1264. if TARGET.Health <= 0 or DEAD == true then
  1265. break
  1266. end
  1267. end
  1268. for i = 1, 25 do
  1269. for E = 1, #SCYTHES do
  1270. SCYTHES[E].CFrame = CF(Clerp(SCYTHES[E].CFrame,NOW,0.15).p)*ANGLES(0,RAD(SINE*5),0)
  1271. end
  1272. Swait()
  1273. end
  1274. CHARACTER:SetPrimaryPartCFrame(NOW)
  1275. HUMANOID.Parent = CHARACTER
  1276. for i = 1, 15 do
  1277. Swait()
  1278. ClerpBody({
  1279. CF(0,0.1*SIN(SINE/12),0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1280. CF(0,-0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0,-1,0),
  1281. 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),
  1282. 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),
  1283. CF(-0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1284. CF(0,0.5,0)*ANGLES(RAD(15+2*COS(SINE/12)),RAD(0),RAD(0))*CF(0.5,0.9,0.5),
  1285. },"Attack")
  1286. Transparent((15-i)/15)
  1287. for E = 1, #SCYTHES do
  1288. SCYTHES[E].CFrame = CF(ROOT.Position)*ANGLES(0,RAD(SINE*5),0)
  1289. SCYTHES[E].Transparency = i/15
  1290. end
  1291. end
  1292. for E = 1, #SCYTHES do
  1293. SCYTHES[E]:Remove()
  1294. end
  1295. ATTACKING = false
  1296. end
  1297. end
  1298. local ATTACKS = {OhOhOh,Diamonds,RingAround,HeartsGoesOut,Meta}
  1299.  
  1300. --//=================================\\
  1301. --|| WRAP
  1302. --\\=================================//
  1303.  
  1304. function BEGINAI()
  1305. local TORSOROT = 0
  1306. CHARACTER:SetPrimaryPartCFrame(ROOT.CFrame*CF(0,1,0))
  1307. coroutine.resume(coroutine.create(function()
  1308. game:GetService("RunService").Heartbeat:connect(function()
  1309. local DEFAULTS = {
  1310. CF(0,0,0),
  1311. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0,-1,0),
  1312. CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  1313. CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  1314. CF(-0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,0),
  1315. CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,1,0),
  1316. }
  1317. SINE = SINE + 1
  1318. end)
  1319. while true do
  1320. TORSOROT = 35
  1321. for i = 1, 5 do
  1322. ClerpBody({
  1323. CF(0,0,0)*ANGLES(RAD(0),RAD(35),RAD(0)),
  1324. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(-20),RAD(0))*CF(0,-1,0),
  1325. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  1326. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.5,0),
  1327. CF(-0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,1),
  1328. CF(0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.2),
  1329. },nil)
  1330. end
  1331. for i = 1, 15 do
  1332. Swait()
  1333. ClerpBody({
  1334. CF(0,0.3,0)*ANGLES(RAD(0),RAD(35),RAD(0)),
  1335. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(-35),RAD(0))*CF(0,-1,0),
  1336. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(-1.5,-0.5,0),
  1337. CF(0,0.75,0)*ANGLES(RAD(-120),RAD(0),RAD(-35))*CF(1.5,-0.25,0),
  1338. CF(-0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(-0.5,1,0.5),
  1339. CF(0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(0.5,0.9,0.2),
  1340. },nil)
  1341. if DEAD == true then
  1342. break
  1343. end
  1344. end
  1345. if DEAD == true then
  1346. break
  1347. end
  1348. TORSOROT = -35
  1349. for i = 1, 5 do
  1350. ClerpBody({
  1351. CF(0,0,0)*ANGLES(RAD(0),RAD(-35),RAD(0)),
  1352. CF(0,-0.5,0)*ANGLES(RAD(15),RAD(20),RAD(0))*CF(0,-1,0),
  1353. CF(0,0.5,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.5,0),
  1354. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  1355. CF(-0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,0.9,0.2),
  1356. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,0.9,1),
  1357. },nil)
  1358. end
  1359. for i = 1, 15 do
  1360. Swait()
  1361. ClerpBody({
  1362. CF(0,0.3,0)*ANGLES(RAD(0),RAD(-35),RAD(0)),
  1363. CF(0,-0.5,0)*ANGLES(RAD(0),RAD(35),RAD(0))*CF(0,-1,0),
  1364. CF(0,0.75,0)*ANGLES(RAD(-120),RAD(0),RAD(35))*CF(-1.5,-0.25,0),
  1365. CF(0,0.5,0)*ANGLES(RAD(12),RAD(0),RAD(0))*CF(1.5,-0.5,0),
  1366. CF(-0,1,0)*ANGLES(RAD(15),RAD(0),RAD(0))*CF(-0.5,1,0.2),
  1367. CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0.5,1,0.5),
  1368. },nil)
  1369. if DEAD == true then
  1370. break
  1371. end
  1372. end
  1373. if DEAD == true then
  1374. break
  1375. end
  1376. end
  1377. end))
  1378. local TARGET = nil
  1379. local TARGETHUM = nil
  1380. coroutine.resume(coroutine.create(function()
  1381. --local h = HUMANOID
  1382. local pathService = game:GetService("PathfindingService")
  1383. local goToPos = function(loc,target)
  1384. local distance = (loc-ROOT.Position).magnitude
  1385. local start = tick()
  1386. while distance > 7 do
  1387. if target then
  1388. if target.Torso and ATTACKING == false then
  1389. GoTo(loc+VT(0,4.5,0))
  1390. Swait()
  1391. local RAYTEST = Raycast(ROOT.Position,CF(ROOT.Position,target.Torso.Position).lookVector,500,CHARACTER)
  1392. if distance <= 7 or TARGETHUM ~= target or TestForTarget(RAYTEST,target) == false then -- Something may have gone wrong. Just break.
  1393. break
  1394. end
  1395. distance = (loc+VT(0,4.5,0)-ROOT.Position).magnitude
  1396. else
  1397. break
  1398. end
  1399. else
  1400. break
  1401. end
  1402. end
  1403. end
  1404.  
  1405. while true do
  1406. if DEAD == true then
  1407. break
  1408. end
  1409. Swait()
  1410. if TARGETHUM then
  1411. local target = TARGETHUM
  1412. if TARGETHUM.Torso then
  1413. local RAYTEST = Raycast(ROOT.Position,CF(ROOT.Position,VT(target.Torso.Position.X,ROOT.Position.Y,target.Torso.Position.Z)).lookVector,500,CHARACTER)
  1414. if TestForTarget(RAYTEST,target) == true then
  1415. local path = pathService:ComputeRawPathAsync(ROOT.Position,TARGETHUM.Torso.Position,5000)
  1416. local didBreak = false
  1417. local targetStart
  1418. if target and ROOT and target.Torso then
  1419. targetStart = target.Torso.Position
  1420. local previous = ROOT.Position
  1421. local points = path:GetWaypoints()
  1422. local s = #points > 1 and 2 or 1
  1423. for i = s,#points do
  1424. if GYRO == nil then
  1425. local point = points[i].Position
  1426. if didBreak then
  1427. break
  1428. end
  1429. if target and target.Torso and target.Health > 0 and ATTACKING == false then
  1430. if (ROOT.Position - point).Magnitude > 1 and TARGETHUM == target then
  1431. local pos = previous:lerp(point,0.65)
  1432. goToPos(previous:lerp(point,0.65),target)
  1433. previous = point
  1434. end
  1435. else
  1436. didBreak = true
  1437. break
  1438. end
  1439. end
  1440. end
  1441. end
  1442. if not didBreak and targetStart then
  1443. goToPos(targetStart)
  1444. end
  1445. else
  1446. if ATTACKING == false then
  1447. GoTo(target.Torso.Position+VT(0,2.5,0))
  1448. end
  1449. end
  1450. end
  1451. end
  1452. end
  1453. end))
  1454. HUMANOID.Died:Connect(function()
  1455. if DEAD == false then
  1456. DEAD = true
  1457. repeat
  1458. Swait()
  1459. until ATTACKING == false
  1460. CHAIR.Transparency = 0
  1461. Transparent(0)
  1462. script.Music:Stop()
  1463. ROOT.Deathed:Play()
  1464. repeat
  1465. Swait()
  1466. ClerpBody({
  1467. CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0)),
  1468. CF(0,-0.5,0)*ANGLES(RAD(35),RAD(0),RAD(0))*CF(0,-1,0),
  1469. CF(0,0.5,0)*ANGLES(RAD(-35),RAD(0),RAD(5))*CF(-1.5,-0.3,0),
  1470. CF(0,0.5,0)*ANGLES(RAD(-35),RAD(0),RAD(-5))*CF(1.5,-0.3,0),
  1471. CF(-0,0,0)*ANGLES(RAD(-15),RAD(0),RAD(0))*CF(-0.5,1,1),
  1472. CF(0,0,0)*ANGLES(RAD(-15),RAD(0),RAD(0))*CF(0.5,1,1),
  1473. },nil)
  1474. until ROOT.Deathed.Playing == false
  1475. CHARACTER.Head.Nametag:Remove()
  1476. TORSO.Neck:Remove()
  1477. TORSO.Die:Play()
  1478. ROOT:Remove()
  1479. CHARACTER:BreakJoints()
  1480. CHAIR:Destroy()
  1481. Debris:AddItem(CHARACTER,5)
  1482. end
  1483. end)
  1484. HUMANOID.HealthChanged:Connect(function()
  1485. if HIT == false and DEAD == false then
  1486. HIT = true
  1487. local HA = {ROOT.Ha1,ROOT.Ha2}
  1488. HA[MRANDOM(1,2)]:Play()
  1489. for i = 1, 100 do
  1490. Swait()
  1491. if ATTACKING == true then
  1492. Neck.C1 = Clerp(Neck.C1, CF(0,-2.5,0)*ANGLES(0,0,RAD(65*SIN(i/6)))*CF(0,-1,0), 0.2)
  1493. else
  1494. 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)
  1495. end
  1496. if DEAD == true then
  1497. break
  1498. end
  1499. end
  1500. HIT = false
  1501. end
  1502. end)
  1503. while true do
  1504. if DEAD == true then
  1505. break
  1506. end
  1507. local TARGETVARIANTS = {}
  1508. TARGET = nil
  1509. for index, CHILD in pairs(workspace:GetChildren()) do
  1510. if CHILD ~= CHARACTER and CHILD:FindFirstChild("Slain") == nil then
  1511. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  1512. if HUMAN then
  1513. if HUMAN.Health > 0 then
  1514. if HUMAN.Torso then
  1515. local DISTANCE = (HUMAN.Torso.Position - ROOT.Position).Magnitude
  1516. table.insert(TARGETVARIANTS,{CHILD,DISTANCE})
  1517. end
  1518. end
  1519. end
  1520. end
  1521. end
  1522. local DIST = math.huge
  1523. for E = 1, #TARGETVARIANTS do
  1524. local PLAYER = TARGETVARIANTS[E]
  1525. local CHARACTER = PLAYER[1]
  1526. local DISTANCE = PLAYER[2]
  1527. if DISTANCE < DIST then
  1528. DIST = DISTANCE
  1529. TARGET = CHARACTER
  1530. end
  1531. end
  1532. if TARGET and TARGET:FindFirstChild("HumanoidRootPart") then
  1533. TARGETHUM = TARGET:FindFirstChildOfClass("Humanoid")
  1534. --[[HUMANOID.WalkSpeed = 22
  1535. HUMANOID.JumpPower = 125]]
  1536. local RAY = Raycast(ROOT.Position,CF(ROOT.Position,TARGETHUM.Torso.Position).lookVector,25,CHARACTER)
  1537. 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
  1538. ATTACKS[MRANDOM(1,#ATTACKS)](TARGETHUM)
  1539. end
  1540. else
  1541. TARGETHUM = nil
  1542. end
  1543. wait()
  1544. end
  1545. end
  1546.  
  1547. BEGINAI()
  1548. end))
  1549. Sound38.Name = "Music"
  1550. Sound38.Parent = Script37
  1551. Sound38.Looped = true
  1552. Sound38.SoundId = "rbxassetid://2701520256"
  1553. Sound38.Volume = 2.5
  1554. MeshPart39.Name = "Hat"
  1555. MeshPart39.Parent = Model5
  1556. MeshPart39.CFrame = CFrame.new(-18.0133781, -0.388853788, -45.1248779, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1557. MeshPart39.Position = Vector3.new(-18.0133781, -0.388853788, -45.1248779)
  1558. MeshPart39.Color = Color3.new(0.129412, 0.329412, 0.72549)
  1559. MeshPart39.Size = Vector3.new(2.75788856, 1.64599526, 2.41334939)
  1560. MeshPart39.BrickColor = BrickColor.new("Deep blue")
  1561. MeshPart39.CanCollide = false
  1562. MeshPart39.Material = Enum.Material.SmoothPlastic
  1563. MeshPart39.brickColor = BrickColor.new("Deep blue")
  1564. Weld40.Name = "Joint"
  1565. Weld40.Parent = MeshPart39
  1566. Weld40.C0 = CFrame.new(0, -0.699880123, -0.500030518, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1567. Weld40.Part0 = MeshPart39
  1568. Weld40.Part1 = UnionOperation14
  1569. Weld40.part1 = UnionOperation14
  1570. MeshPart41.Name = "Tail"
  1571. MeshPart41.Parent = Model5
  1572. MeshPart41.CFrame = CFrame.new(-18.0133781, -4.15885258, -44.0249252, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1573. MeshPart41.Position = Vector3.new(-18.0133781, -4.15885258, -44.0249252)
  1574. MeshPart41.Color = Color3.new(0.129412, 0.329412, 0.72549)
  1575. MeshPart41.Size = Vector3.new(0.462002546, 1.40317202, 2.49498963)
  1576. MeshPart41.BrickColor = BrickColor.new("Deep blue")
  1577. MeshPart41.CanCollide = false
  1578. MeshPart41.Material = Enum.Material.SmoothPlastic
  1579. MeshPart41.brickColor = BrickColor.new("Deep blue")
  1580. Weld42.Name = "Joint"
  1581. Weld42.Parent = MeshPart41
  1582. Weld42.C0 = CFrame.new(-3.81469727e-05, 1.57016039, -1.59996033, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1583. Weld42.Part0 = MeshPart41
  1584. Weld42.Part1 = UnionOperation6
  1585. Weld42.part1 = UnionOperation6
  1586. Humanoid43.Parent = Model5
  1587. Humanoid43.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  1588. Humanoid43.Health = 6500
  1589. Humanoid43.LeftLeg = MeshPart36
  1590. Humanoid43.MaxHealth = 6500
  1591. Humanoid43.MaxSlopeAngle = 89.900001525879
  1592. Humanoid43.RightLeg = MeshPart35
  1593. Humanoid43.Torso = Part20
  1594. Humanoid43.maxHealth = 6500
  1595. Part44.Name = "Wheelchair"
  1596. Part44.Parent = Model5
  1597. Part44.CFrame = CFrame.new(-18.0133781, -3.48885107, -45.6249237, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1598. Part44.Position = Vector3.new(-18.0133781, -3.48885107, -45.6249237)
  1599. Part44.Transparency = 1
  1600. Part44.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  1601. Part44.Anchored = true
  1602. Part44.BottomSurface = Enum.SurfaceType.Smooth
  1603. Part44.CanCollide = false
  1604. Part44.Material = Enum.Material.SmoothPlastic
  1605. Part44.TopSurface = Enum.SurfaceType.Smooth
  1606. SpecialMesh45.Parent = Part44
  1607. SpecialMesh45.MeshId = "rbxassetid://1226669573"
  1608. SpecialMesh45.Scale = Vector3.new(2, 2, 2)
  1609. SpecialMesh45.TextureId = "rbxassetid://1226669284"
  1610. SpecialMesh45.MeshType = Enum.MeshType.FileMesh
  1611. Model46.Name = "Spawns"
  1612. Model46.Parent = mas
  1613. SpawnLocation47.Parent = Model46
  1614. SpawnLocation47.CFrame = CFrame.new(10.2748404, 1.96056199, -43.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1615. SpawnLocation47.Position = Vector3.new(10.2748404, 1.96056199, -43.8579407)
  1616. SpawnLocation47.Size = Vector3.new(6, 1, 6)
  1617. SpawnLocation47.Anchored = true
  1618. SpawnLocation47.BottomSurface = Enum.SurfaceType.Smooth
  1619. SpawnLocation47.TopSurface = Enum.SurfaceType.Smooth
  1620. Decal48.Parent = SpawnLocation47
  1621. Decal48.Texture = "rbxasset://textures/SpawnLocation.png"
  1622. Decal48.Face = Enum.NormalId.Top
  1623. SpawnLocation49.Parent = Model46
  1624. SpawnLocation49.CFrame = CFrame.new(10.2748404, 1.96056199, -36.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1625. SpawnLocation49.Position = Vector3.new(10.2748404, 1.96056199, -36.8579407)
  1626. SpawnLocation49.Size = Vector3.new(6, 1, 6)
  1627. SpawnLocation49.Anchored = true
  1628. SpawnLocation49.BottomSurface = Enum.SurfaceType.Smooth
  1629. SpawnLocation49.TopSurface = Enum.SurfaceType.Smooth
  1630. Decal50.Parent = SpawnLocation49
  1631. Decal50.Texture = "rbxasset://textures/SpawnLocation.png"
  1632. Decal50.Face = Enum.NormalId.Top
  1633. SpawnLocation51.Parent = Model46
  1634. SpawnLocation51.CFrame = CFrame.new(3.27484107, 1.96056199, -43.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1635. SpawnLocation51.Position = Vector3.new(3.27484107, 1.96056199, -43.8579407)
  1636. SpawnLocation51.Size = Vector3.new(6, 1, 6)
  1637. SpawnLocation51.Anchored = true
  1638. SpawnLocation51.BottomSurface = Enum.SurfaceType.Smooth
  1639. SpawnLocation51.TopSurface = Enum.SurfaceType.Smooth
  1640. Decal52.Parent = SpawnLocation51
  1641. Decal52.Texture = "rbxasset://textures/SpawnLocation.png"
  1642. Decal52.Face = Enum.NormalId.Top
  1643. Part53.Parent = Model46
  1644. Part53.CFrame = CFrame.new(10.2748404, 1.96056199, -32.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1645. Part53.Position = Vector3.new(10.2748404, 1.96056199, -32.8579407)
  1646. Part53.Size = Vector3.new(24, 1, 2)
  1647. Part53.BottomSurface = Enum.SurfaceType.Smooth
  1648. Part53.TopSurface = Enum.SurfaceType.Smooth
  1649. SpawnLocation54.Parent = Model46
  1650. SpawnLocation54.CFrame = CFrame.new(17.2748413, 1.96056199, -36.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1651. SpawnLocation54.Position = Vector3.new(17.2748413, 1.96056199, -36.8579407)
  1652. SpawnLocation54.Size = Vector3.new(6, 1, 6)
  1653. SpawnLocation54.Anchored = true
  1654. SpawnLocation54.BottomSurface = Enum.SurfaceType.Smooth
  1655. SpawnLocation54.TopSurface = Enum.SurfaceType.Smooth
  1656. Decal55.Parent = SpawnLocation54
  1657. Decal55.Texture = "rbxasset://textures/SpawnLocation.png"
  1658. Decal55.Face = Enum.NormalId.Top
  1659. SpawnLocation56.Parent = Model46
  1660. SpawnLocation56.CFrame = CFrame.new(17.2748413, 1.96056199, -50.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1661. SpawnLocation56.Position = Vector3.new(17.2748413, 1.96056199, -50.8579407)
  1662. SpawnLocation56.Size = Vector3.new(6, 1, 6)
  1663. SpawnLocation56.Anchored = true
  1664. SpawnLocation56.BottomSurface = Enum.SurfaceType.Smooth
  1665. SpawnLocation56.TopSurface = Enum.SurfaceType.Smooth
  1666. Decal57.Parent = SpawnLocation56
  1667. Decal57.Texture = "rbxasset://textures/SpawnLocation.png"
  1668. Decal57.Face = Enum.NormalId.Top
  1669. SpawnLocation58.Parent = Model46
  1670. SpawnLocation58.CFrame = CFrame.new(17.2748413, 1.96056199, -43.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1671. SpawnLocation58.Position = Vector3.new(17.2748413, 1.96056199, -43.8579407)
  1672. SpawnLocation58.Size = Vector3.new(6, 1, 6)
  1673. SpawnLocation58.Anchored = true
  1674. SpawnLocation58.BottomSurface = Enum.SurfaceType.Smooth
  1675. SpawnLocation58.TopSurface = Enum.SurfaceType.Smooth
  1676. Decal59.Parent = SpawnLocation58
  1677. Decal59.Texture = "rbxasset://textures/SpawnLocation.png"
  1678. Decal59.Face = Enum.NormalId.Top
  1679. Part60.Parent = Model46
  1680. Part60.CFrame = CFrame.new(10.2748404, 1.96056199, -54.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1681. Part60.Position = Vector3.new(10.2748404, 1.96056199, -54.8579407)
  1682. Part60.Size = Vector3.new(24, 1, 2)
  1683. Part60.BottomSurface = Enum.SurfaceType.Smooth
  1684. Part60.TopSurface = Enum.SurfaceType.Smooth
  1685. Part61.Parent = Model46
  1686. Part61.CFrame = CFrame.new(-0.725158989, 1.96056199, -43.8579407, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1687. Part61.Orientation = Vector3.new(0, -90, 0)
  1688. Part61.Position = Vector3.new(-0.725158989, 1.96056199, -43.8579407)
  1689. Part61.Rotation = Vector3.new(0, -90, 0)
  1690. Part61.Size = Vector3.new(20, 1, 2)
  1691. Part61.BottomSurface = Enum.SurfaceType.Smooth
  1692. Part61.TopSurface = Enum.SurfaceType.Smooth
  1693. SpawnLocation62.Parent = Model46
  1694. SpawnLocation62.CFrame = CFrame.new(3.27484107, 1.96056199, -50.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1695. SpawnLocation62.Position = Vector3.new(3.27484107, 1.96056199, -50.8579407)
  1696. SpawnLocation62.Size = Vector3.new(6, 1, 6)
  1697. SpawnLocation62.Anchored = true
  1698. SpawnLocation62.BottomSurface = Enum.SurfaceType.Smooth
  1699. SpawnLocation62.TopSurface = Enum.SurfaceType.Smooth
  1700. Decal63.Parent = SpawnLocation62
  1701. Decal63.Texture = "rbxasset://textures/SpawnLocation.png"
  1702. Decal63.Face = Enum.NormalId.Top
  1703. SpawnLocation64.Parent = Model46
  1704. SpawnLocation64.CFrame = CFrame.new(3.27484107, 1.96056199, -36.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1705. SpawnLocation64.Position = Vector3.new(3.27484107, 1.96056199, -36.8579407)
  1706. SpawnLocation64.Size = Vector3.new(6, 1, 6)
  1707. SpawnLocation64.Anchored = true
  1708. SpawnLocation64.BottomSurface = Enum.SurfaceType.Smooth
  1709. SpawnLocation64.TopSurface = Enum.SurfaceType.Smooth
  1710. Decal65.Parent = SpawnLocation64
  1711. Decal65.Texture = "rbxasset://textures/SpawnLocation.png"
  1712. Decal65.Face = Enum.NormalId.Top
  1713. Part66.Parent = Model46
  1714. Part66.CFrame = CFrame.new(21.2748413, 1.96056199, -43.8579407, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1715. Part66.Orientation = Vector3.new(0, -90, 0)
  1716. Part66.Position = Vector3.new(21.2748413, 1.96056199, -43.8579407)
  1717. Part66.Rotation = Vector3.new(0, -90, 0)
  1718. Part66.Size = Vector3.new(20, 1, 2)
  1719. Part66.BottomSurface = Enum.SurfaceType.Smooth
  1720. Part66.TopSurface = Enum.SurfaceType.Smooth
  1721. SpawnLocation67.Parent = Model46
  1722. SpawnLocation67.CFrame = CFrame.new(10.2748404, 1.96056199, -50.8579407, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1723. SpawnLocation67.Position = Vector3.new(10.2748404, 1.96056199, -50.8579407)
  1724. SpawnLocation67.Size = Vector3.new(6, 1, 6)
  1725. SpawnLocation67.Anchored = true
  1726. SpawnLocation67.BottomSurface = Enum.SurfaceType.Smooth
  1727. SpawnLocation67.TopSurface = Enum.SurfaceType.Smooth
  1728. Decal68.Parent = SpawnLocation67
  1729. Decal68.Texture = "rbxasset://textures/SpawnLocation.png"
  1730. Decal68.Face = Enum.NormalId.Top
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement