ScriptBuilderSHEHAB

mlg cryo

Aug 7th, 2016
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 159.67 KB | None | 0 0
  1. script.Parent=Strife
  2. Player = game:GetService("Players").LocalPlayer
  3. Character = Player.Character
  4. PlayerGui = Player.PlayerGui
  5. Backpack = Player.Backpack
  6. Torso = Character.Torso
  7. Head = Character.Head
  8. Humanoid = Character.Humanoid
  9. LeftArm = Character["Left Arm"]
  10. LeftLeg = Character["Left Leg"]
  11. RightArm = Character["Right Arm"]
  12. RightLeg = Character["Right Leg"]
  13. LS = Torso["Left Shoulder"]
  14. LH = Torso["Left Hip"]
  15. RS = Torso["Right Shoulder"]
  16. RH = Torso["Right Hip"]
  17. Neck = Torso.Neck
  18. it = Instance.new
  19. vt = Vector3.new
  20. cf = CFrame.new
  21. euler = CFrame.fromEulerAnglesXYZ
  22. angles = CFrame.Angles
  23. mr = math.rad
  24. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  25. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  26. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  27. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  28. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  29. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  30. RootPart = Character.HumanoidRootPart
  31. RootJoint = RootPart.RootJoint
  32. RootCF = euler(-1.57, 0, 3.14)
  33. attack = false
  34. attackdebounce = false
  35. Mouse = Player:GetMouse()
  36. combo = 0
  37. local hitfloor, posfloor = nil, nil
  38. local idle = 0
  39. local Anim = "Idle"
  40. local Effects = {}
  41. local Weapon = {}
  42. local Welds = {}
  43. local Claw = {}
  44. local nClaw = {}
  45. local D1Welds = {}
  46. local D2Welds = {}
  47. local D3Welds = {}
  48. local HWelds = {}
  49. local FStacks = {}
  50. local dattack = false
  51. local drakes = 0
  52. local Frost = 0
  53. local Mode = "Drakes"
  54. local decreaseatk = 0
  55. local decreasedef = 0
  56. local decreasemvmt = 0
  57. local prt1 = nil
  58. local freeze = false
  59. local breakfreeze = false
  60. local dryice = false
  61. local move1 = "(Z)\nCold Front"
  62. local move2 = "(X)\nFrostfang"
  63. local move3 = "(C)\nDry Ice"
  64. local move4 = "(V)\nSavage Wrath"
  65. local Stats = Instance.new("BoolValue")
  66. Stats.Name = "Stats"
  67. Stats.Parent = Character
  68. local RecentEnemy = Instance.new("ObjectValue")
  69. RecentEnemy.Name = "RecentEnemy"
  70. RecentEnemy.Parent = Stats
  71. RecentEnemy.Value = nil
  72. local Mvmt = Instance.new("NumberValue")
  73. Mvmt.Name = "Movement"
  74. Mvmt.Parent = Stats
  75. Mvmt.Value = 1
  76. local Rooted = Instance.new("BoolValue")
  77. Rooted.Name = "Rooted"
  78. Rooted.Parent = Stats
  79. Rooted.Value = false
  80. player = nil
  81. RSH = nil
  82. RW = Instance.new("Motor")
  83. LW = Instance.new("Motor")
  84. RW.Name = "Right Shoulder"
  85. LW.Name = "Left Shoulder"
  86. LH = Torso["Left Hip"]
  87. RH = Torso["Right Hip"]
  88. TorsoColor = Torso.BrickColor
  89. NewCol = BrickColor.new("Really black").Color
  90. NewCol2 = BrickColor.new("Pastel light blue").Color
  91. NewCol3 = BrickColor.new("Medium blue").Color
  92. NewCol3aa = BrickColor.new("Medium blue").Color
  93. NewCol4 = BrickColor.new("Cyan").Color
  94. NewCol5 = BrickColor.new("Lily white").Color
  95. NewCol6 = BrickColor.new("Bright blue").Color
  96. if Player:findFirstChild("Color1") ~= nil then
  97. NewCol5 = Player.Color1.Value
  98. end
  99. local canjump = true
  100. removeControl = function()
  101. canjump = false
  102. end
  103.  
  104. resumeControl = function()
  105. canjump = true
  106. end
  107.  
  108. mw2 = function(parent, pitch)
  109. mw2s = Instance.new("Sound")
  110. mw2s.Parent=parent
  111. mw2s.SoundId="rbxassetid://193444173"
  112. mw2s.Volume=10
  113. mw2s.Pitch=pitch
  114. wait(0.001)
  115. mw2s:Play()
  116. end
  117.  
  118. pfv = function(parent, pitch)
  119. pfvs = Instance.new("Sound")
  120. pfvs.Parent=parent
  121. pfvs.SoundId="rbxassetid://231895368"
  122. pfvs.Volume=10
  123. pfvs.Pitch=pitch
  124. wait(0.001)
  125. pfvs:Play()
  126. end
  127.  
  128. rek = function(parent, pitch)
  129. reks = Instance.new("Sound")
  130. reks.Parent=parent
  131. reks.SoundId="rbxassetid://204032720"
  132. reks.Volume=10
  133. reks.Pitch=pitch
  134. wait(0.001)
  135. reks:Play()
  136. wait(1)
  137. reks:Stop()
  138. end
  139.  
  140. Player.Character.Humanoid.Changed:connect(function()
  141. if canjump == false then
  142. Player.Character.Humanoid.Jump = false
  143. end
  144. end
  145. )
  146. ArtificialHB = Instance.new("BindableEvent", script)
  147. ArtificialHB.Name = "Heartbeat"
  148.  
  149. script:WaitForChild("Heartbeat")
  150.  
  151. frame = 1 / 60
  152. tf = 0
  153. allowframeloss = false
  154. tossremainder = false
  155. lastframe = tick()
  156. script.Heartbeat:Fire()
  157.  
  158. game:GetService("RunService").Heartbeat:connect(function(s, p)
  159. tf = tf + s
  160. if tf >= frame then
  161. if allowframeloss then
  162. script.Heartbeat:Fire()
  163. lastframe = tick()
  164. else
  165. for i = 1, math.floor(tf / frame) do
  166. script.Heartbeat:Fire()
  167. end
  168. lastframe = tick()
  169. end
  170. if tossremainder then
  171. tf = 0
  172. else
  173. tf = tf - frame * math.floor(tf / frame)
  174. end
  175. end
  176. end)
  177.  
  178. function swait(num)
  179. if num == 0 or num == nil then
  180. ArtificialHB.Event:wait()
  181. else
  182. for i = 0, num do
  183. ArtificialHB.Event:wait()
  184. end
  185. end
  186. end
  187.  
  188.  
  189. NoOutline = function(Part)
  190. Part.TopSurface = 10
  191. end
  192.  
  193. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  194. local fp = it("Part")
  195. fp.formFactor = formfactor
  196. fp.Parent = parent
  197. fp.Reflectance = reflectance
  198. fp.Transparency = transparency
  199. fp.CanCollide = false
  200. fp.Locked = true
  201. fp.BrickColor = brickcolor
  202. fp.Name = name
  203. fp.Size = size
  204. fp.Position = Torso.Position
  205. NoOutline(fp)
  206. fp.Material = "SmoothPlastic"
  207. fp:BreakJoints()
  208. return fp
  209. end
  210.  
  211. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  212. local mesh = it(Mesh)
  213. mesh.Parent = part
  214. if Mesh == "SpecialMesh" then
  215. mesh.MeshType = meshtype
  216. if meshid ~= "nil" then
  217. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  218. end
  219. end
  220. mesh.Offset = offset
  221. mesh.Scale = scale
  222. return mesh
  223. end
  224.  
  225. weld = function(parent, part0, part1, c0)
  226. local weld = it("Motor")
  227. weld.Parent = parent
  228. weld.Part0 = part0
  229. weld.Part1 = part1
  230. weld.C0 = c0
  231. return weld
  232. end
  233.  
  234. AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  235. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  236. prt.Material = neon
  237. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  238. wld = weld(prt1, prt, wldpar, ceef)
  239. v = it("NumberValue", prt)
  240. v.Value = trans
  241. v.Name = "MainTransparency"
  242. return prt, msh, wld
  243. end
  244.  
  245. local nr = NumberRange.new
  246. local ns = NumberSequence.new
  247. local cs = ColorSequence.new
  248. local nsk = NumberSequenceKeypoint.new
  249.  
  250. particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread)
  251. local fp = it("ParticleEmitter")
  252. fp.Parent = parent
  253. fp.Color = cs(col1, col2)
  254. fp.LightEmission = lightemis
  255. fp.Size = size
  256. fp.Texture = texture
  257. fp.Transparency = transparency
  258. fp.ZOffset = zoffset
  259. fp.Acceleration = accel
  260. fp.Drag = drag
  261. fp.LockedToPart = ltp
  262. fp.VelocityInheritance = velinher
  263. fp.EmissionDirection = emisdir
  264. fp.Enabled = enabled
  265. fp.Lifetime = lifetime
  266. fp.Rate = rate
  267. fp.Rotation = rotation
  268. fp.RotSpeed = rotspeed
  269. fp.Speed = speed
  270. fp.VelocitySpread = velspread
  271. return fp
  272. end
  273.  
  274.  
  275. local modelzorz = Instance.new("Model")
  276. modelzorz.Parent = Character
  277. modelzorz.Name = "Drake Claw"
  278. local handle = part(3, modelzorz, 0, 1, BrickColor.new(NewCol), "Handle", vt())
  279. prt1 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part01", vt())
  280. msh1 = mesh("BlockMesh", prt1, "", "", vt(0, 0, 0), vt(5.25, 5, 5.25))
  281. local handlewld = weld(handle, handle, RightArm, euler(0, 0, 0) * cf(0, 0, 0))
  282. local wld1 = weld(prt1, prt1, handle, cf(0, 0, 0) * euler(0, 0, 0))
  283. prt4, msh4, wld4 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part04", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 3, 0.75, 1.5, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.575, -0.825, 0))
  284. prt5, msh5, wld5 = AesthPart(modelzorz, prt1, 0, 0, "Really black", "Part05", "Metal", "SpecialMesh", "Sphere", "nil", 0.475, 0.15, 0.675, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
  285. prt6, msh6, wld6 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part06", "Neon", "SpecialMesh", "Sphere", "nil", 0.4, 0.25, 0.6, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
  286. prt9, msh9, wld9 = AesthPart(modelzorz, prt1, 0.3, 0, NewCol2, "Part09", "SmoothPlastic", "SpecialMesh", "FileMesh", "19251107", 0.1, 0.1, 0.1, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
  287. prt12, msh12, wld12 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part12", "SmoothPlastic", "BlockMesh", "nil", "nil", 5.25, 4, 1, euler(0, mr(90), 0) * cf(-0.6, 0.375, 0))
  288. prt13, msh13, wld13 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part13", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 4, 3.05, 0.475, euler(0, mr(90), 0) * euler(0, 0, -mr(10)) * cf(-0.601, -0.316, 0))
  289. prt14, msh14, wld14 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part14", "SmoothPlastic", "BlockMesh", "nil", "nil", 2.5, 5, 1, euler(0, mr(90), 0) * euler(0, 0, -mr(10)) * cf(-0.676, -0.162, 0))
  290. prt15, msh15, wld15 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part15", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 5, 0.25, 1.25, euler(0, 0, mr(80)) * euler(0, 0, 0) * cf(-0.799, -0.184, 0.125))
  291. prt16, msh16, wld16 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part16", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 5, 0.25, 1.25, euler(0, 0, mr(100)) * euler(mr(180), 0, 0) * cf(-0.799, -0.184, -0.125))
  292. prt17, msh17, wld17 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part17", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 4.5, 4.5, 0.4, euler(0, mr(90), 0) * euler(0, 0, 0) * cf(-0.55, -0.475, 0))
  293. prt18, msh18, wld18 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part18", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 5.25, 1, 0.25, euler(0, mr(-90), 0) * euler(mr(180), 0, 0) * cf(-0.525, 0.875, 0))
  294. prt19, msh19, wld19 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part19", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 5.25, 1, 0.5, euler(0, mr(90), 0) * euler(mr(180), 0, 0) * cf(-0.65, 0.875, 0))
  295. prt20, msh20, wld20 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part20", "SmoothPlastic", "BlockMesh", "nil", "nil", 5.25, 1, 0.25, euler(0, mr(90), 0) * euler(0, 0, 0) * cf(-0.575, 0.875, 0))
  296. prt21, msh21, wld21 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part21", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 1.25, 1.5, 1.25, euler(mr(180), 0, 0) * euler(0, 0, 0) * cf(-0.675, 0.975, 0))
  297. prt24, msh24, wld24 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol5, "Part24", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 3.5, 2.5, 1.5, euler(0, mr(90), 0) * euler(mr(180), 0, 0) * cf(-0.7, 0.575, 0))
  298. prt25, msh25, wld25 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol5, "Part25", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.5, 0.3, 1.2, euler(mr(90), mr(90), 0) * euler(0, 0, mr(10)) * cf(-0.945, 0.378, 0))
  299. prt26, msh26, wld26 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol5, "Part26", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.625, 0.4, 0.5, euler(mr(90), mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.845, 0.428, 0))
  300. prt27, msh27, wld27 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol5, "Part27", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.525, 0.3, 0.75, euler(mr(90), mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.73, 0.174, 0))
  301. prt28, msh28, wld28 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part28", "Metal", "SpecialMesh", "Sphere", "nil", 0.6, 0.125, 0.85, euler(0, mr(95.221), mr(113.261)) * euler(0, mr(-19.53), 0) * cf(-1.058, 0.687, 0.252))
  302. prt29, msh29, wld29 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part29", "Neon", "SpecialMesh", "Sphere", "nil", 0.5, 0.25, 0.75, euler(0, mr(95.221), mr(113.261)) * euler(0, mr(-19.53), 0) * cf(-1.058, 0.687, 0.252))
  303. prt30, msh30, wld30 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part30", "Metal", "SpecialMesh", "Sphere", "nil", 0.6, 0.125, 0.85, euler(0, mr(84.779), mr(113.261)) * euler(0, mr(19.53), 0) * cf(-1.058, 0.687, -0.252))
  304. prt31, msh31, wld31 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part31", "Neon", "SpecialMesh", "Sphere", "nil", 0.5, 0.25, 0.75, euler(0, mr(84.779), mr(113.261)) * euler(0, mr(19.53), 0) * cf(-1.058, 0.687, -0.252))
  305. prt32, msh32, wld32 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part32", "Metal", "SpecialMesh", "Sphere", "nil", 0.275, 0.1, 0.475, euler(0, mr(94.208), mr(114.079)) * euler(0, mr(-24.666), 0) * cf(-1.093, 0.693, 0.137))
  306. prt33, msh33, wld33 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part33", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.25, 0.4, euler(0, mr(94.208), mr(114.079)) * euler(0, mr(-24.666), 0) * cf(-1.093, 0.693, 0.137))
  307. prt34, msh34, wld34 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part34", "Metal", "SpecialMesh", "Sphere", "nil", 0.275, 0.1, 0.475, euler(0, mr(85.792), mr(114.079)) * euler(0, mr(24.666), 0) * cf(-1.093, 0.693, -0.137))
  308. prt35, msh35, wld35 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part35", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.25, 0.4, euler(0, mr(85.792), mr(114.079)) * euler(0, mr(24.666), 0) * cf(-1.093, 0.693, -0.137))
  309. for i = -0.225, 0.226, 0.45 do
  310. prt36, msh36, wld36 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol6, "Part36", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.225, 0.225, 0.225, euler(0, 0, mr(-10)) * euler(0, 0, 0) * cf(-0.729, 0.85, i))
  311. prt37, msh37, wld37 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part37", "SmoothPlastic", "BlockMesh", "nil", "nil", 0.7, 1.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.751, 0.973, i))
  312. prt38, msh38, wld38 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part38", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.7, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(170)) * cf(-0.799, 1.244, i))
  313. prt39, msh39, wld39 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part39", "SmoothPlastic", "BlockMesh", "nil", "nil", 0.6, 1.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(0)) * cf(-0.772, 1.239, i))
  314. prt40, msh40, wld40 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part40", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.6, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(180)) * cf(-0.772, 1.514, i))
  315. prt41, msh41, wld41 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part41", "SmoothPlastic", "BlockMesh", "nil", "nil", 0.5, 2, 1, euler(0, mr(90), 0) * euler(0, 0, mr(10)) * cf(-0.738, 1.559, i))
  316. prt42, msh42, wld42 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part42", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.5, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(190)) * cf(-0.682, 1.879, i))
  317. prt43, msh43, wld43 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part43", "SmoothPlastic", "BlockMesh", "nil", "nil", 0.4, 2.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(20)) * cf(-0.624, 1.939, i))
  318. prt44, msh44, wld44 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part44", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.4, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(200)) * cf(-0.496, 2.291, i))
  319. prt45, msh45, wld45 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part45", "SmoothPlastic", "BlockMesh", "nil", "nil", 0.3, 2, 1, euler(0, mr(90), 0) * euler(0, 0, mr(35)) * cf(-0.428, 2.307, i))
  320. prt46, msh46, wld46 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part46", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.3, 2.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(215)) * cf(-0.184, 2.655, i))
  321. table.insert(Claw, prt37)
  322. table.insert(Claw, prt38)
  323. table.insert(Claw, prt39)
  324. table.insert(Claw, prt40)
  325. table.insert(Claw, prt41)
  326. table.insert(Claw, prt42)
  327. table.insert(Claw, prt43)
  328. table.insert(Claw, prt44)
  329. table.insert(Claw, prt45)
  330. table.insert(Claw, prt46)
  331. end
  332. for i = 1, #Claw do
  333. Claw[i].Transparency = 1
  334. end
  335. for i = -0.425, 0.426, 0.85 do
  336. local prt22, msh22, wld22 = AesthPart(modelzorz, prt1, 0.2, 0, NewCol2, "Part22", "SmoothPlastic", "BlockMesh", "nil", "nil", 1.01, 3.001, 0.26, euler(0, mr(90), 0) * euler(0, 0, 0) * cf(-0.675, 0.275, i))
  337. local prt23, msh23, wld23 = AesthPart(modelzorz, prt1, 0.2, 0, NewCol2, "Part23", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1.01, 1.01, 0.26, euler(0, mr(-90), 0) * euler(mr(180), 0, 0) * cf(-0.675, 0.675, i))
  338. end
  339. for i = -0.375, 0.376, 0.75 do
  340. local prt10, msh10, wld10 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol4, "Part10", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 2.25, 1, 1, euler(0, 0, mr(90)) * euler(0, 0, 0) * cf(-0.6, -0.75, i))
  341. local prt11, msh11, wld11 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol4, "Part10", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 5.25, 0.501, 1, euler(0, 0, mr(90)) * euler(0, 0, 0) * cf(-0.55, -0.45, i))
  342. end
  343. for i = -0.5, 0.5, 0.25 do
  344. local prt2, msh2, wld2 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part02", "SmoothPlastic", "BlockMesh", "", "", 5.3, 0.5, 5.3, cf(0, i, 0))
  345. end
  346. for i = -0.65, 0.66 do
  347. local prt3, msh3, wld3 = AesthPart(modelzorz, prt1, 0.3, 0, NewCol2, "Part03", "SmoothPlastic", "BlockMesh", "", "", 5.5, 1.5, 5.5, cf(0, i, 0))
  348. end
  349. for i = -0.075, 0.076, 0.15 do
  350. local prt7, msh7, wld7 = AesthPart(modelzorz, prt1, 0, 0, "Really black", "Part07", "Metal", "SpecialMesh", "Sphere", "nil", 0.2, 0.1, 0.35, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, i))
  351. local prt8, msh8, wld8 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part08", "Neon", "SpecialMesh", "Sphere", "nil", 0.15, 0.2, 0.3, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, i))
  352. end
  353. local model2 = it("Model", Character)
  354. model2.Name = "Drake1"
  355. dprt1, dmsh1, dwld1 = AesthPart(model2, RootPart, 0, 0, NewCol2, "Drake Part01", "Neon", "SpecialMesh", "Sphere", "nil", 2.75, 2.75, 2.75, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 5))
  356. dprt2, dmsh2, dwld2 = AesthPart(model2, dprt1, 0, 0.2, NewCol2, "Drake Part02", "Neon", "SpecialMesh", "Sphere", "nil", 3, 3, 3, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
  357. dprt3, dmsh3, dwld3 = AesthPart(model2, dprt2, 0, 0.7, NewCol4, "Drake Part03", "Neon", "SpecialMesh", "Sphere", "nil", 3.5, 3.5, 3.5, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
  358. dprt4, dmsh4, dwld4 = AesthPart(model2, dprt2, 0, 0.9, NewCol4, "Drake Part04", "Neon", "SpecialMesh", "Sphere", "nil", 4, 4, 4, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
  359. dprt5, dmsh5, dwld5 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part05", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 1, 1, 1, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, -0.3, -0.35))
  360. dprt6, dmsh6, dwld6 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part06", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.8, 0.8, 1.5, euler(mr(-5), 0, 0) * euler(0, 0, 0) * cf(0, -0.172, -1.054))
  361. dprt7, dmsh7, dwld7 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part07", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(20), 0, 0) * euler(0, 0, 0) * cf(0, -0.842, -0.355))
  362. dprt13, dmsh13, dwld13 = AesthPart(model2, dprt2, 0, 0, NewCol, "Drake Part13", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
  363. dprt14, dmsh14, dwld14 = AesthPart(model2, dprt2, 0, 0, NewCol, "Drake Part14", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
  364. dprt15, dmsh15, dwld15 = AesthPart(model2, dprt2, 0, 0, NewCol, "Drake Part15", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
  365. dprt16, dmsh16, dwld16 = AesthPart(model2, dprt2, 0, 0, NewCol, "Drake Part16", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
  366. dprt17, dmsh17, dwld17 = AesthPart(model2, dprt2, 0, 0, NewCol4, "Drake Part17", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
  367. dprt18, dmsh18, dwld18 = AesthPart(model2, dprt2, 0, 0, NewCol4, "Drake Part18", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
  368. dprt19, dmsh19, dwld19 = AesthPart(model2, dprt2, 0, 0, NewCol4, "Drake Part19", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
  369. dprt20, dmsh20, dwld20 = AesthPart(model2, dprt2, 0, 0, NewCol4, "Drake Part20", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
  370. table.insert(D1Welds, dwld1)
  371. table.insert(D1Welds, dwld2)
  372. table.insert(D1Welds, dwld3)
  373. table.insert(D1Welds, dwld4)
  374. table.insert(D1Welds, dwld5)
  375. table.insert(D1Welds, dwld6)
  376. table.insert(D1Welds, dwld7)
  377. table.insert(D1Welds, dwld13)
  378. table.insert(D1Welds, dwld14)
  379. table.insert(D1Welds, dwld15)
  380. table.insert(D1Welds, dwld16)
  381. table.insert(D1Welds, dwld17)
  382. table.insert(D1Welds, dwld18)
  383. table.insert(D1Welds, dwld19)
  384. table.insert(D1Welds, dwld20)
  385. for i = -1, 1, 2 do
  386. dprt10, dmsh10, dwld10 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part10", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 1, 0.25, euler(mr(34.897), 0, 0) * euler(0, 0, mr(44.099) * i) * euler(0, mr(2.865) * i, 0) * cf(1.369 * i, 0.43, -1.182))
  387. dprt11, dmsh11, dwld11 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part11", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.75, 0.25, euler(mr(20.486), 0, 0) * euler(0, 0, mr(43.384) * i) * euler(0, mr(16.995) * i, 0) * cf(1.144 * i, 0.609, -0.593))
  388. dprt12, dmsh12, dwld12 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part12", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.65, 0.2, euler(mr(3.814), 0, 0) * euler(0, 0, mr(36.66) * i) * euler(0, mr(29.955) * i, 0) * cf(0.908 * i, 0.762, -0.022))
  389. table.insert(D1Welds, dwld10)
  390. table.insert(D1Welds, dwld11)
  391. table.insert(D1Welds, dwld12)
  392. end
  393. for i = -1, 1, 2 do
  394. dprt8, dmsh8, dwld8 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part08", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(23.273), mr(-20.027 * i), mr(-95.696 * i)) * cf(0.903 * i, -0.554, -0.531))
  395. dprt9, dmsh9, dwld9 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part09", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.3, 0.15, 1.5, euler(mr(22.305), mr(-3.546 * i), mr(-101.084 * i)) * cf(0.836 * i, -0.195, -0.533))
  396. table.insert(D1Welds, dwld8)
  397. table.insert(D1Welds, dwld9)
  398. end
  399. sizeseq = ns({nsk(0, 0), nsk(0.096, 1.5), nsk(0.602, 3), nsk(1, 10)})
  400. transseq = ns({nsk(0, 0), nsk(0.05, 0.5), nsk(0.1, 1), nsk(1, 1)})
  401. parti1 = particle(dprt2, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "http://www.roblox.com/asset/?id=197195522", transseq, 0, vt(0, -1, 0), 0, false, 0, "Back", true, nr(7, 7), 80, nr(-360, 360), nr(-30, 30), nr(5), 30)
  402. sizeseq = ns({nsk(0, 0), nsk(0.054, 0.12), nsk(0.451, 0.12), nsk(1, 0.12)})
  403. transseq = ns({nsk(0, 1), nsk(0.03, 1), nsk(0.1, 0.137), nsk(0.232, 1), nsk(1, 1)})
  404. parti2 = particle(dprt2, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "http://www.roblox.com/asset/?id=269030572", transseq, 0, vt(0, -35, 0), 0, false, 0, "Back", true, nr(1, 1.5), 80, nr(-360, 360), nr(-180, 180), nr(20), 25)
  405. sizeseq = ns({nsk(0, 1), nsk(0.096, 2.5), nsk(0.3, 10), nsk(1, 10)})
  406. transseq = ns({nsk(0, 0), nsk(0.05, 0.5), nsk(0.1, 1), nsk(1, 1)})
  407. parti3 = particle(dprt2, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "http://www.roblox.com/asset/?id=197195522", transseq, 1, vt(0, -0.5, 0), 0, false, 0, "Back", false, nr(7, 7), 80, nr(-360, 360), nr(-30, 30), nr(0), 30)
  408. local model3 = it("Model", Character)
  409. model3.Name = "Drake2"
  410. d2prt1, d2msh1, d2wld1 = AesthPart(model3, RootPart, 0, 0, NewCol2, "Drake Part01", "Neon", "SpecialMesh", "Sphere", "nil", 2.75, 2.75, 2.75, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 5))
  411. d2prt2, d2msh2, d2wld2 = AesthPart(model3, d2prt1, 0, 0.2, NewCol2, "Drake Part02", "Neon", "SpecialMesh", "Sphere", "nil", 3, 3, 3, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
  412. d2prt3, d2msh3, d2wld3 = AesthPart(model3, d2prt2, 0, 0.7, NewCol4, "Drake Part03", "Neon", "SpecialMesh", "Sphere", "nil", 3.5, 3.5, 3.5, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
  413. d2prt4, d2msh4, d2wld4 = AesthPart(model3, d2prt2, 0, 0.9, NewCol4, "Drake Part04", "Neon", "SpecialMesh", "Sphere", "nil", 4, 4, 4, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
  414. d2prt5, d2msh5, d2wld5 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part05", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 1, 1, 1, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, -0.3, -0.35))
  415. d2prt6, d2msh6, d2wld6 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part06", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.8, 0.8, 1.5, euler(mr(-5), 0, 0) * euler(0, 0, 0) * cf(0, -0.172, -1.054))
  416. d2prt7, d2msh7, d2wld7 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part07", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(20), 0, 0) * euler(0, 0, 0) * cf(0, -0.842, -0.355))
  417. d2prt13, d2msh13, d2wld13 = AesthPart(model3, d2prt2, 0, 0, NewCol, "Drake Part13", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
  418. d2prt14, d2msh14, d2wld14 = AesthPart(model3, d2prt2, 0, 0, NewCol, "Drake Part14", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
  419. d2prt15, d2msh15, d2wld15 = AesthPart(model3, d2prt2, 0, 0, NewCol, "Drake Part15", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
  420. d2prt16, d2msh16, d2wld16 = AesthPart(model3, d2prt2, 0, 0, NewCol, "Drake Part16", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
  421. d2prt17, d2msh17, d2wld17 = AesthPart(model3, d2prt2, 0, 0, NewCol4, "Drake Part17", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
  422. d2prt18, d2msh18, d2wld18 = AesthPart(model3, d2prt2, 0, 0, NewCol4, "Drake Part18", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
  423. d2prt19, d2msh19, d2wld19 = AesthPart(model3, d2prt2, 0, 0, NewCol4, "Drake Part19", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
  424. d2prt20, d2msh20, d2wld20 = AesthPart(model3, d2prt2, 0, 0, NewCol4, "Drake Part20", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
  425. table.insert(D2Welds, d2wld1)
  426. table.insert(D2Welds, d2wld2)
  427. table.insert(D2Welds, d2wld3)
  428. table.insert(D2Welds, d2wld4)
  429. table.insert(D2Welds, d2wld5)
  430. table.insert(D2Welds, d2wld6)
  431. table.insert(D2Welds, d2wld7)
  432. table.insert(D2Welds, d2wld13)
  433. table.insert(D2Welds, d2wld14)
  434. table.insert(D2Welds, d2wld15)
  435. table.insert(D2Welds, d2wld16)
  436. table.insert(D2Welds, d2wld17)
  437. table.insert(D2Welds, d2wld18)
  438. table.insert(D2Welds, d2wld19)
  439. table.insert(D2Welds, d2wld20)
  440. for i = -1, 1, 2 do
  441. d2prt10, d2msh10, d2wld10 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part10", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 1, 0.25, euler(mr(34.897), 0, 0) * euler(0, 0, mr(44.099) * i) * euler(0, mr(2.865) * i, 0) * cf(1.369 * i, 0.43, -1.182))
  442. d2prt11, d2msh11, d2wld11 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part11", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.75, 0.25, euler(mr(20.486), 0, 0) * euler(0, 0, mr(43.384) * i) * euler(0, mr(16.995) * i, 0) * cf(1.144 * i, 0.609, -0.593))
  443. d2prt12, d2msh12, d2wld12 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part12", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.65, 0.2, euler(mr(3.814), 0, 0) * euler(0, 0, mr(36.66) * i) * euler(0, mr(29.955) * i, 0) * cf(0.908 * i, 0.762, -0.022))
  444. table.insert(D2Welds, d2wld10)
  445. table.insert(D2Welds, d2wld11)
  446. table.insert(D2Welds, d2wld12)
  447. end
  448. for i = -1, 1, 2 do
  449. d2prt8, d2msh8, d2wld8 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part08", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(23.273), mr(-20.027 * i), mr(-95.696 * i)) * cf(0.903 * i, -0.554, -0.531))
  450. d2prt9, d2msh9, d2wld9 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part09", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.3, 0.15, 1.5, euler(mr(22.305), mr(-3.546 * i), mr(-101.084 * i)) * cf(0.836 * i, -0.195, -0.533))
  451. table.insert(D2Welds, d2wld8)
  452. table.insert(D2Welds, d2wld9)
  453. end
  454. d2parti1 = parti1:Clone()
  455. d2parti1.Parent = d2prt2
  456. d2parti2 = parti2:Clone()
  457. d2parti2.Parent = d2prt2
  458. d2parti3 = parti3:Clone()
  459. d2parti3.Parent = d2prt2
  460. local model4 = it("Model", Character)
  461. model4.Name = "Drake3"
  462. d3prt1, d3msh1, d3wld1 = AesthPart(model4, RootPart, 0, 0, NewCol2, "Drake Part01", "Neon", "SpecialMesh", "Sphere", "nil", 2.75, 2.75, 2.75, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 5))
  463. d3prt2, d3msh2, d3wld2 = AesthPart(model4, d3prt1, 0, 0.2, NewCol2, "Drake Part02", "Neon", "SpecialMesh", "Sphere", "nil", 3, 3, 3, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
  464. d3prt3, d3msh3, d3wld3 = AesthPart(model4, d3prt2, 0, 0.7, NewCol4, "Drake Part03", "Neon", "SpecialMesh", "Sphere", "nil", 3.5, 3.5, 3.5, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
  465. d3prt4, d3msh4, d3wld4 = AesthPart(model4, d3prt2, 0, 0.9, NewCol4, "Drake Part04", "Neon", "SpecialMesh", "Sphere", "nil", 4, 4, 4, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
  466. d3prt5, d3msh5, d3wld5 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part05", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 1, 1, 1, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, -0.3, -0.35))
  467. d3prt6, d3msh6, d3wld6 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part06", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.8, 0.8, 1.5, euler(mr(-5), 0, 0) * euler(0, 0, 0) * cf(0, -0.172, -1.054))
  468. d3prt7, d3msh7, d3wld7 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part07", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(20), 0, 0) * euler(0, 0, 0) * cf(0, -0.842, -0.355))
  469. d3prt13, d3msh13, d3wld13 = AesthPart(model4, d3prt2, 0, 0, NewCol, "Drake Part13", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
  470. d3prt14, d3msh14, d3wld14 = AesthPart(model4, d3prt2, 0, 0, NewCol, "Drake Part14", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
  471. d3prt15, d3msh15, d3wld15 = AesthPart(model4, d3prt2, 0, 0, NewCol, "Drake Part15", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
  472. d3prt16, d3msh16, d3wld16 = AesthPart(model4, d3prt2, 0, 0, NewCol, "Drake Part16", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
  473. d3prt17, d3msh17, d3wld17 = AesthPart(model4, d3prt2, 0, 0, NewCol4, "Drake Part17", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
  474. d3prt18, d3msh18, d3wld18 = AesthPart(model4, d3prt2, 0, 0, NewCol4, "Drake Part18", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
  475. d3prt19, d3msh19, d3wld19 = AesthPart(model4, d3prt2, 0, 0, NewCol4, "Drake Part19", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
  476. d3prt20, d3msh20, d3wld20 = AesthPart(model4, d3prt2, 0, 0, NewCol4, "Drake Part20", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
  477. table.insert(D3Welds, d3wld1)
  478. table.insert(D3Welds, d3wld3)
  479. table.insert(D3Welds, d3wld2)
  480. table.insert(D3Welds, d3wld4)
  481. table.insert(D3Welds, d3wld5)
  482. table.insert(D3Welds, d3wld6)
  483. table.insert(D3Welds, d3wld7)
  484. table.insert(D3Welds, d3wld13)
  485. table.insert(D3Welds, d3wld14)
  486. table.insert(D3Welds, d3wld15)
  487. table.insert(D3Welds, d3wld16)
  488. table.insert(D3Welds, d3wld17)
  489. table.insert(D3Welds, d3wld18)
  490. table.insert(D3Welds, d3wld19)
  491. table.insert(D3Welds, d3wld20)
  492. for i = -1, 1, 2 do
  493. d3prt10, d3msh10, d3wld10 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part10", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 1, 0.25, euler(mr(34.897), 0, 0) * euler(0, 0, mr(44.099) * i) * euler(0, mr(2.865) * i, 0) * cf(1.369 * i, 0.43, -1.182))
  494. d3prt11, d3msh11, d3wld11 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part11", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.75, 0.25, euler(mr(20.486), 0, 0) * euler(0, 0, mr(43.384) * i) * euler(0, mr(16.995) * i, 0) * cf(1.144 * i, 0.609, -0.593))
  495. d3prt12, d3msh12, d3wld12 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part12", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.65, 0.2, euler(mr(3.814), 0, 0) * euler(0, 0, mr(36.66) * i) * euler(0, mr(29.955) * i, 0) * cf(0.908 * i, 0.762, -0.022))
  496. table.insert(D3Welds, d3wld10)
  497. table.insert(D3Welds, d3wld11)
  498. table.insert(D3Welds, d3wld12)
  499. end
  500. for i = -1, 1, 2 do
  501. d3prt8, d3msh8, d3wld8 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part08", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(23.273), mr(-20.027 * i), mr(-95.696 * i)) * cf(0.903 * i, -0.554, -0.531))
  502. d3prt9, d3msh9, d3wld9 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part09", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.3, 0.15, 1.5, euler(mr(22.305), mr(-3.546 * i), mr(-101.084 * i)) * cf(0.836 * i, -0.195, -0.533))
  503. table.insert(D3Welds, d3wld8)
  504. table.insert(D3Welds, d3wld9)
  505. end
  506. d3parti1 = parti1:Clone()
  507. d3parti1.Parent = d3prt2
  508. d3parti2 = parti2:Clone()
  509. d3parti2.Parent = d3prt2
  510. d3parti3 = parti3:Clone()
  511. d3parti3.Parent = d3prt2
  512. model2.Parent = nil
  513. model3.Parent = nil
  514. model4.Parent = nil
  515. dwld2.Part0 = dprt1
  516. dwld2.Part1 = dprt2
  517. d2wld2.Part0 = d2prt1
  518. d2wld2.Part1 = d2prt2
  519. d3wld2.Part0 = d3prt1
  520. d3wld2.Part1 = d3prt2
  521. local helm = it("Model", Character)
  522. helm.Name = "Monarch"
  523. Head.Transparency = 0
  524. Head.face.Transparency = 0
  525. for _,v in pairs(Character:children()) do
  526. if v.className == "Hat" then
  527. v.Handle.Transparency = 0
  528. end
  529. end
  530. mhead, mhmsh, mhwld = AesthPart(helm, Head, 0.5, 0, NewCol5, "Monarch Head", "Neon", "SpecialMesh", "Head", "nil", 5.5, 5.5, 5.5, euler(0, 0, 0) * cf(0, 0, 0))
  531. mprt1, mmsh1, mwld1 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part01", "SmoothPlastic", "SpecialMesh", "FileMesh", "9253927", 0.9, 0.9, 0.9, euler(0, 0, 0) * cf(0, 0, 0))
  532. mprt2, mmsh2, mwld2 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part02", "Metal", "SpecialMesh", "Sphere", "nil", 0.95, 1.8, 0.6, euler(0, 0, 0) * cf(0, -0.149, 0.558))
  533. mprt3, mmsh3, mwld3 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part03", "Neon", "SpecialMesh", "Sphere", "nil", 0.8, 1.5, 0.9, euler(0, 0, 0) * cf(0, -0.149, 0.558))
  534. mprt4, mmsh4, mwld4 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part04", "Metal", "SpecialMesh", "Sphere", "nil", 0.55, 1.2, 0.6, euler(0, mr(15), 0) * cf(-0.191, -0.149, 0.524))
  535. mprt5, mmsh5, mwld5 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part05", "Neon", "SpecialMesh", "Sphere", "nil", 0.4, 1, 0.75, euler(0, mr(15), 0) * cf(-0.191, -0.149, 0.524))
  536. mprt6, mmsh6, mwld6 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part06", "Metal", "SpecialMesh", "Sphere", "nil", 0.55, 1.2, 0.6, euler(0, mr(-15), 0) * cf(0.191, -0.149, 0.524))
  537. mprt7, mmsh7, mwld7 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part07", "Neon", "SpecialMesh", "Sphere", "nil", 0.4, 1, 0.75, euler(0, mr(-15), 0) * cf(0.191, -0.149, 0.524))
  538. mprt8, mmsh8, mwld8 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part08", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 1, 1, 1, euler(mr(-10), 0, 0) * cf(0, -0.063, -0.236))
  539. mprt9, mmsh9, mwld9 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part09", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.8, 0.8, 1.5, euler(mr(-15), 0, 0) * cf(0, 0.185, -0.907))
  540. mprt10, mmsh10, mwld10 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part10", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(10), 0, 0) * cf(0, -0.596, -0.335))
  541. mprt16, mmsh16, mwld16 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part16", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(29.252), 0, 0) * euler(0, 0, mr(-22.192)) * euler(0, mr(-3.81), 0) * cf(0.244, -0.563, 0.433))
  542. mprt17, mmsh17, mwld17 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part17", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.6, 1.1, euler(mr(29.252), 0, 0) * euler(0, 0, mr(-22.192)) * euler(0, mr(-3.81), 0) * cf(0.244, -0.563, 0.433))
  543. mprt18, mmsh18, mwld18 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part18", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(29.252), 0, 0) * euler(0, 0, mr(22.192)) * euler(0, mr(3.81), 0) * cf(-0.244, -0.563, 0.433))
  544. mprt19, mmsh19, mwld19 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part19", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.6, 1.1, euler(mr(29.252), 0, 0) * euler(0, 0, mr(22.192)) * euler(0, mr(3.81), 0) * cf(-0.244, -0.563, 0.433))
  545. mprt20, mmsh20, mwld20 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part20", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(26.107), 0, 0) * euler(0, 0, mr(-35.793)) * euler(0, mr(-12.017), 0) * cf(0.402, -0.525, 0.331))
  546. mprt21, mmsh21, mwld21 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part21", "Neon", "SpecialMesh", "Sphere", "nil", 0.1, 0.3, 0.3, euler(mr(26.107), 0, 0) * euler(0, 0, mr(-35.793)) * euler(0, mr(-12.017), 0) * cf(0.402, -0.525, 0.331))
  547. mprt22, mmsh22, mwld22 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part22", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(26.107), 0, 0) * euler(0, 0, mr(35.793)) * euler(0, mr(12.017), 0) * cf(-0.402, -0.525, 0.331))
  548. mprt23, mmsh23, mwld23 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part23", "Neon", "SpecialMesh", "Sphere", "nil", 0.1, 0.3, 0.3, euler(mr(26.107), 0, 0) * euler(0, 0, mr(35.793)) * euler(0, mr(12.017), 0) * cf(-0.402, -0.525, 0.331))
  549. table.insert(HWelds, mhwld)
  550. table.insert(HWelds, mwld1)
  551. table.insert(HWelds, mwld2)
  552. table.insert(HWelds, mwld3)
  553. table.insert(HWelds, mwld4)
  554. table.insert(HWelds, mwld5)
  555. table.insert(HWelds, mwld6)
  556. table.insert(HWelds, mwld7)
  557. table.insert(HWelds, mwld8)
  558. table.insert(HWelds, mwld9)
  559. table.insert(HWelds, mwld10)
  560. table.insert(HWelds, mwld16)
  561. table.insert(HWelds, mwld17)
  562. table.insert(HWelds, mwld18)
  563. table.insert(HWelds, mwld19)
  564. table.insert(HWelds, mwld20)
  565. table.insert(HWelds, mwld21)
  566. table.insert(HWelds, mwld22)
  567. table.insert(HWelds, mwld23)
  568. for i = -1, 1, 2 do
  569. mprt11, mmsh11, mwld11 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part11", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(0, 0, mr(-95.514) * i) * euler(0, mr(24.898) * i, 0) * euler(mr(7.673), 0, 0) * cf(0.903 * i, -0.282, -0.458))
  570. mprt12, mmsh12, mwld12 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part12", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.3, 0.15, 1.5, euler(0, 0, mr(-102.075) * i) * euler(0, mr(22.588) * i, 0) * euler(mr(-8.529), 0, 0) * cf(0.836 * i, 0.072, -0.398))
  571. mprt13, mmsh13, mwld13 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part13", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 1, 0.25, euler(0, mr(-154.897) * i, 0) * euler(mr(-25), 0, mr(-45.901) * i) * euler(0, 0, 0) * cf(0.885 * i, 0.033, -0.049))
  572. mprt14, mmsh14, mwld14 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part14", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.75, 0.25, euler(0, mr(-160) * i, 0) * euler(mr(-40), 0, mr(-60) * i) * euler(0, 0, 0) * cf(0.701 * i, 0.33, -0.205))
  573. mprt15, mmsh15, mwld15 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part15", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.65, 0.2, euler(0, mr(-123) * i, 0) * euler(mr(-70), 0, mr(-80) * i) * euler(0, 0, 0) * cf(0.559 * i, 0.59, -0.478))
  574. table.insert(HWelds, mwld11)
  575. table.insert(HWelds, mwld12)
  576. table.insert(HWelds, mwld13)
  577. table.insert(HWelds, mwld14)
  578. table.insert(HWelds, mwld15)
  579. end
  580. mparti1 = parti1:Clone()
  581. mparti1.Parent = mhead
  582. mparti2 = parti2:Clone()
  583. mparti2.Parent = mhead
  584. mparti1.Rate = 30
  585. mparti2.Rate = 30
  586. helm.Parent = nil
  587. for _,c in pairs(modelzorz:children()) do
  588. table.insert(Weapon, c)
  589. end
  590. for _,c in pairs(prt1:children()) do
  591. if c.className == "Motor" then
  592. table.insert(Welds, c)
  593. end
  594. end
  595. local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Hitbox", vt())
  596. hitbox.Anchored = false
  597. local hitboxCF = cf(0, 0, 0)
  598. local sref = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt(20, 20, 20))
  599. sref.Anchored = true
  600. sref.CFrame = cf(RootPart.Position)
  601. sizeseq = ns({nsk(0, 5.9), nsk(0.162, 8.63), nsk(1, 10)})
  602. transseq = ns({nsk(0, 1), nsk(0.498, 0.8), nsk(0.913, 0.85), nsk(1, 1)})
  603. mistparti1 = particle(sref, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "http://www.roblox.com/asset/?id=197195522", transseq, 0, vt(0, -0.25, 0), 0, false, 0, "Top", true, nr(3, 4), 10, nr(-360, 360), nr(-35, 35), nr(4, 5), -90)
  604. sizeseq = ns({nsk(0, 3.61), nsk(0.162, 5.85), nsk(1, 10)})
  605. transseq = ns({nsk(0, 1), nsk(0.498, 0.5), nsk(0.913, 0.55), nsk(1, 1)})
  606. mistparti2 = particle(sref, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "rbxasset://textures/particles/smoke_main.dds", transseq, 0, vt(0, -0.5, 0), 0, false, 0, "Top", true, nr(2, 3), 15, nr(-360, 360), nr(-55, 55), nr(5, 6), -90)
  607. local gsou = Instance.new("Sound", sref)
  608. gsou.Volume = 1
  609. gsou.Pitch = 0.8
  610. gsou.SoundId = "http://www.roblox.com/asset/?id=338601253"
  611. gsou.Looped = true
  612. local effects = it("Model", modelzorz)
  613. effects.Name = "Effects"
  614. hboxpos = Instance.new("BodyPosition", nil)
  615. hboxpos.P = 2000
  616. hboxpos.D = 100
  617. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  618. sizeseq = ns({nsk(0, 0), nsk(0.027, 0.765), nsk(0.184, 2.24), nsk(1, 4.64)})
  619. transseq = ns({nsk(0, 0.375), nsk(0.4, 1), nsk(1, 1)})
  620. local icicleparti1 = particle(nil, Color3.new(1, 1, 1), Color3.new(0.3921568627451, 0.3921568627451, 1), 0.2, sizeseq, "http://www.roblox.com/asset/?id=329766994", transseq, 0, vt(0, -0.5, 0), 0, false, 0, "Bottom", true, nr(7, 10), 15, nr(-360, 360), nr(-30, 30), nr(3), 20)
  621. sizeseq = ns({nsk(0, 0), nsk(0.025, 0.383), nsk(0.192, 2.51), nsk(1, 2.02)})
  622. transseq = ns({nsk(0, 0.8), nsk(0.3, 1), nsk(1, 1)})
  623. local icicleparti2 = particle(nil, Color3.new(1, 1, 1), Color3.new(0.3921568627451, 0.3921568627451, 1), 0.3, sizeseq, "http://www.roblox.com/asset/?id=241594419", transseq, 0, vt(0, -0.5, 0), 0, false, 0, "Bottom", true, nr(7, 10), 80, nr(-360, 360), nr(-30, 30), nr(3), 20)
  624.  
  625.  
  626. local bodvel = Instance.new("BodyVelocity")
  627. local bg = Instance.new("BodyGyro")
  628. so = function(id, par, vol, pit)
  629. local sou = Instance.new("Sound", par or workspace)
  630. sou.Volume = vol
  631. sou.Pitch = pit or 1
  632. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  633. coroutine.resume(coroutine.create(function(Sound)
  634. swait()
  635. Sound:play()
  636. end
  637. ), sou)
  638. game:GetService("Debris"):AddItem(sou, 6)
  639. end
  640.  
  641. function clerp(a,b,t)
  642. local qa = {QuaternionFromCFrame(a)}
  643. local qb = {QuaternionFromCFrame(b)}
  644. local ax, ay, az = a.x, a.y, a.z
  645. local bx, by, bz = b.x, b.y, b.z
  646. local _t = 1-t
  647. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  648. end
  649.  
  650. function QuaternionFromCFrame(cf)
  651. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  652. local trace = m00 + m11 + m22
  653. if trace > 0 then
  654. local s = math.sqrt(1 + trace)
  655. local recip = 0.5/s
  656. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  657. else
  658. local i = 0
  659. if m11 > m00 then
  660. i = 1
  661. end
  662. if m22 > (i == 0 and m00 or m11) then
  663. i = 2
  664. end
  665. if i == 0 then
  666. local s = math.sqrt(m00-m11-m22+1)
  667. local recip = 0.5/s
  668. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  669. elseif i == 1 then
  670. local s = math.sqrt(m11-m22-m00+1)
  671. local recip = 0.5/s
  672. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  673. elseif i == 2 then
  674. local s = math.sqrt(m22-m00-m11+1)
  675. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  676. end
  677. end
  678. end
  679.  
  680. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  681. local xs, ys, zs = x + x, y + y, z + z
  682. local wx, wy, wz = w*xs, w*ys, w*zs
  683. local xx = x*xs
  684. local xy = x*ys
  685. local xz = x*zs
  686. local yy = y*ys
  687. local yz = y*zs
  688. local zz = z*zs
  689. 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))
  690. end
  691.  
  692. function QuaternionSlerp(a, b, t)
  693. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  694. local startInterp, finishInterp;
  695. if cosTheta >= 0.0001 then
  696. if (1 - cosTheta) > 0.0001 then
  697. local theta = math.acos(cosTheta)
  698. local invSinTheta = 1/math.sin(theta)
  699. startInterp = math.sin((1-t)*theta)*invSinTheta
  700. finishInterp = math.sin(t*theta)*invSinTheta
  701. else
  702. startInterp = 1-t
  703. finishInterp = t
  704. end
  705. else
  706. if (1+cosTheta) > 0.0001 then
  707. local theta = math.acos(-cosTheta)
  708. local invSinTheta = 1/math.sin(theta)
  709. startInterp = math.sin((t-1)*theta)*invSinTheta
  710. finishInterp = math.sin(t*theta)*invSinTheta
  711. else
  712. startInterp = t-1
  713. finishInterp = t
  714. end
  715. end
  716. 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
  717. end
  718.  
  719. function Block1(prt, delay, x3, y3, z3, msh)
  720. spawn(function()
  721. repeat swait()
  722. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  723. Mesh = msh
  724. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  725. prt.Transparency = prt.Transparency + delay
  726. until prt.Transparency >= 1
  727. prt:remove()
  728. end)
  729. end
  730.  
  731. function Block2(prt, delay, x3, y3, z3, msh)
  732. spawn(function()
  733. repeat swait()
  734. prt.CFrame = prt.CFrame
  735. Mesh = msh
  736. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  737. prt.Transparency = prt.Transparency + delay
  738. until prt.Transparency >= 1
  739. prt:remove()
  740. end)
  741. end
  742.  
  743. function Block3(prt, delay, x3, y3, z3, msh, CF)
  744. spawn(function()
  745. repeat swait()
  746. prt.CFrame = prt.CFrame * cf(0, 1, 0)
  747. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  748. Mesh = msh
  749. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  750. prt.Transparency = prt.Transparency + delay
  751. until prt.Transparency >= 1
  752. prt:remove()
  753. end)
  754. end
  755.  
  756. function Cylinder(effectsg, delay, x3, y3, z3, effectsmsh)
  757. spawn(function()
  758. repeat swait()
  759. Mesh = effectsmsh
  760. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  761. effectsg.Transparency = effectsg.Transparency + delay
  762. until prt.Transparency >= 1
  763. prt:remove()
  764. end)
  765. end
  766.  
  767. function Shatter(prt, delay, x3, y3, z3)
  768. spawn(function()
  769. repeat swait()
  770. prt.Transparency = prt.Transparency + delay
  771. prt.CFrame = prt.CFrame * cf(0, z3, 0)
  772. prt.CFrame = prt.CFrame * euler(y3, 0, 0)
  773. until prt.Transparency >= 1
  774. prt:remove()
  775. end)
  776. end
  777.  
  778.  
  779. hideanim = function()
  780. equipped = false
  781. parti1.Enabled = false
  782. parti2.Enabled = false
  783. parti3.Enabled = true
  784. d2parti1.Enabled = false
  785. d2parti2.Enabled = false
  786. d2parti3.Enabled = true
  787. d3parti1.Enabled = false
  788. d3parti2.Enabled = false
  789. d3parti3.Enabled = true
  790. coroutine.resume(coroutine.create(function()
  791. for i = #Claw / 2, 1, -1 do
  792. swait()
  793. Claw[i].Transparency = 1
  794. Claw[i + 10].Transparency = 1
  795. end
  796. end
  797. ))
  798. for i = 0, 1, 0.1 do
  799. swait()
  800. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.8) * euler(0.2, 0, 0), 0.3)
  801. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -0.4), 0.3)
  802. RW.C0 = clerp(RW.C0, cf(1, 0.6, 0.4) * euler(0.2, 0, 0.8) * euler(0, -1, 0), 0.3)
  803. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  804. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.3)
  805. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  806. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.05), 0.3)
  807. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.1, 0, 0.1), 0.3)
  808. end
  809. for _,c in pairs(model2:children()) do
  810. c.Transparency = 1
  811. end
  812. for _,c in pairs(model3:children()) do
  813. c.Transparency = 1
  814. end
  815. for _,c in pairs(model4:children()) do
  816. c.Transparency = 1
  817. end
  818. parti3.Enabled = false
  819. d2parti3.Enabled = false
  820. d3parti3.Enabled = false
  821. for i = 0, 1, 0.1 do
  822. swait()
  823. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.4)
  824. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  825. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  826. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  827. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  828. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  829. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.3)
  830. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.3)
  831. end
  832. end
  833.  
  834. equipanim = function()
  835. equipped = true
  836. if drakes >= 1 then
  837. model2.Parent = Character
  838. for i = 1, #D1Welds do
  839. D1Welds[i].Parent = prt1
  840. end
  841. end
  842. do
  843. if drakes >= 2 then
  844. model3.Parent = Character
  845. for i = 1, #D2Welds do
  846. D2Welds[i].Parent = prt1
  847. end
  848. end
  849. do
  850. if drakes >= 3 then
  851. model4.Parent = Character
  852. for i = 1, #D3Welds do
  853. D3Welds[i].Parent = prt1
  854. end
  855. end
  856. do
  857. dwld1.C0 = clerp(dwld1.C0, cf(3.8, -2.2, 0.5) * euler(0.2, 0, -0.4) * euler(0, 0.3, 0), 1)
  858. d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2, 0.5) * euler(0.2, 0, 0.4) * euler(0, -0.3, 0), 1)
  859. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 0.5) * euler(0.4, 0, 0) * euler(0, 0, 0), 1)
  860. parti1.Enabled = false
  861. parti2.Enabled = false
  862. parti3.Enabled = true
  863. d2parti1.Enabled = false
  864. d2parti2.Enabled = false
  865. d2parti3.Enabled = true
  866. d3parti1.Enabled = false
  867. d3parti2.Enabled = false
  868. d3parti3.Enabled = true
  869. for _,c in pairs(model2:children()) do
  870. c.Transparency = 1
  871. end
  872. for _,c in pairs(model3:children()) do
  873. c.Transparency = 1
  874. end
  875. for _,c in pairs(model4:children()) do
  876. c.Transparency = 1
  877. end
  878. for i = 0, 1, 0.1 do
  879. swait()
  880. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.8) * euler(0.2, 0, 0), 0.3)
  881. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -0.4), 0.3)
  882. RW.C0 = clerp(RW.C0, cf(1, 0.6, 0.4) * euler(0.2, 0, 0.8) * euler(0, -1, 0), 0.3)
  883. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  884. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.3)
  885. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  886. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.05), 0.3)
  887. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.1, 0, 0.1), 0.3)
  888. end
  889. coroutine.resume(coroutine.create(function()
  890. local da = 2
  891. for i = 1, #Claw / 2 do
  892. da = da + 1
  893. Claw[i].Transparency = 0
  894. Claw[i + 10].Transparency = 0
  895. if (da) % 2 == 0 then
  896. swait()
  897. end
  898. end
  899. end
  900. ))
  901. for i = 0, 1, 0.15 do
  902. swait()
  903. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.8) * euler(0.2, 0, 0), 0.45)
  904. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -0.4), 0.45)
  905. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.4, 0, 0.7) * euler(0, -1, 0), 0.45)
  906. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.45)
  907. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.45)
  908. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.45)
  909. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.05), 0.45)
  910. LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.1, 0, 0.1), 0.45)
  911. end
  912. for _,c in pairs(model2:children()) do
  913. c.Transparency = c.MainTransparency.Value
  914. end
  915. for _,c in pairs(model3:children()) do
  916. c.Transparency = c.MainTransparency.Value
  917. end
  918. for _,c in pairs(model4:children()) do
  919. c.Transparency = c.MainTransparency.Value
  920. end
  921. parti1.Enabled = true
  922. parti2.Enabled = true
  923. parti3.Enabled = false
  924. d2parti1.Enabled = true
  925. d2parti2.Enabled = true
  926. d2parti3.Enabled = false
  927. d3parti1.Enabled = true
  928. d3parti2.Enabled = true
  929. d3parti3.Enabled = false
  930. dwld1.C0 = clerp(dwld1.C0, cf(3.8, -2.2, 0.5) * euler(0.2, 0, -0.4) * euler(0, 0.3, 0), 1)
  931. d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2, 0.5) * euler(0.2, 0, 0.4) * euler(0, -0.3, 0), 1)
  932. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 0.5) * euler(0.4, 0, 0) * euler(0, 0, 0), 1)
  933. end
  934. end
  935. end
  936. end
  937.  
  938. IceDrake = function()
  939. attack = true
  940. dattack = true
  941. Frost = 0
  942. coroutine.resume(coroutine.create(function()
  943. for i = #Claw / 2, 1, -1 do
  944. swait()
  945. Claw[i].Transparency = 1
  946. Claw[i + 10].Transparency = 1
  947. end
  948. end
  949. ))
  950. if drakes == 0 then
  951. model2.Parent = Character
  952. so("338594711", dprt1, 1, 1)
  953. for i = 1, #D1Welds do
  954. D1Welds[i].Parent = prt1
  955. end
  956. end
  957. do
  958. if drakes == 1 then
  959. model3.Parent = Character
  960. so("338594711", d2prt1, 1, 1)
  961. for i = 1, #D2Welds do
  962. D2Welds[i].Parent = prt1
  963. end
  964. end
  965. do
  966. if drakes == 2 then
  967. model4.Parent = Character
  968. so("338594711", d3prt1, 1, 1)
  969. for i = 1, #D3Welds do
  970. D3Welds[i].Parent = prt1
  971. end
  972. end
  973. do
  974. if drakes == 0 then
  975. for _,c in pairs(model2:children()) do
  976. c.Transparency = 1
  977. end
  978. parti1.Enabled = false
  979. parti2.Enabled = false
  980. parti3.Enabled = true
  981. else
  982. if drakes == 1 then
  983. for _,c in pairs(model3:children()) do
  984. c.Transparency = 1
  985. end
  986. d2parti1.Enabled = false
  987. d2parti2.Enabled = false
  988. d2parti3.Enabled = true
  989. else
  990. if drakes == 2 then
  991. for _,c in pairs(model4:children()) do
  992. c.Transparency = 1
  993. end
  994. d3parti1.Enabled = false
  995. d3parti2.Enabled = false
  996. d3parti3.Enabled = true
  997. end
  998. end
  999. end
  1000. for i = 0, 1, 0.1 do
  1001. swait()
  1002. if drakes == 0 then
  1003. dwld1.C0 = clerp(dwld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -0.5, 2.2), 1)
  1004. else
  1005. if drakes == 1 then
  1006. d2wld1.C0 = clerp(d2wld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -0.5, 2.2), 1)
  1007. else
  1008. if drakes == 2 then
  1009. d3wld1.C0 = clerp(d3wld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -0.5, 2.2), 1)
  1010. end
  1011. end
  1012. end
  1013. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
  1014. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
  1015. RW.C0 = clerp(RW.C0, cf(1.3, 0.5, -0.6) * euler(1.7, 0, -0.4) * euler(0, -1, 0), 0.3)
  1016. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, -0.6) * euler(1.7, 0, 0.4) * euler(0, 1, 0), 0.3)
  1017. RH.C0 = clerp(RH.C0, cf(1, -0.7, -0.3) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.1), 0.3)
  1018. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.3) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, 0.05), 0.3)
  1019. end
  1020. if drakes == 0 then
  1021. for _,c in pairs(model2:children()) do
  1022. c.Transparency = c.MainTransparency.Value
  1023. end
  1024. parti1.Enabled = true
  1025. parti2.Enabled = true
  1026. parti3.Enabled = false
  1027. else
  1028. if drakes == 1 then
  1029. for _,c in pairs(model3:children()) do
  1030. c.Transparency = c.MainTransparency.Value
  1031. end
  1032. d2parti1.Enabled = true
  1033. d2parti2.Enabled = true
  1034. d2parti3.Enabled = false
  1035. else
  1036. if drakes == 2 then
  1037. for _,c in pairs(model4:children()) do
  1038. c.Transparency = c.MainTransparency.Value
  1039. end
  1040. d3parti1.Enabled = true
  1041. d3parti2.Enabled = true
  1042. d3parti3.Enabled = false
  1043. end
  1044. end
  1045. end
  1046. drakes = drakes + 1
  1047. for i = 0, 1, 0.1 do
  1048. swait()
  1049. if drakes == 1 then
  1050. dwld1.C0 = clerp(dwld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 0.3)
  1051. dwld2.C0 = clerp(dwld2.C0, euler(0, 3.14, 0), 0.3)
  1052. else
  1053. if drakes == 2 then
  1054. d2wld1.C0 = clerp(d2wld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 0.3)
  1055. d2wld2.C0 = clerp(d2wld2.C0, euler(0, 3.14, 0), 0.3)
  1056. else
  1057. if drakes == 3 then
  1058. d3wld1.C0 = clerp(d3wld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 0.3)
  1059. d3wld2.C0 = clerp(d3wld2.C0, euler(0, 3.14, 0), 0.3)
  1060. end
  1061. end
  1062. end
  1063. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.2, 0, 0), 0.3)
  1064. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
  1065. RW.C0 = clerp(RW.C0, cf(1.4, 0.5, -0.3) * euler(1.2, 0, 0.2) * euler(0, -1, 0), 0.3)
  1066. LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, -0.3) * euler(1.2, 0, -0.2) * euler(0, 1, 0), 0.3)
  1067. RH.C0 = clerp(RH.C0, cf(1, -0.7, -0.3) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.1), 0.3)
  1068. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.3) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, 0.05), 0.3)
  1069. end
  1070. if drakes == 1 then
  1071. dwld1.C0 = clerp(dwld1.C0, euler(0, 0, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 1)
  1072. dwld2.C0 = clerp(dwld2.C0, euler(0, 0, 0), 1)
  1073. else
  1074. if drakes == 2 then
  1075. d2wld1.C0 = clerp(d2wld1.C0, euler(0, 0, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 1)
  1076. d2wld2.C0 = clerp(d2wld2.C0, euler(0, 0, 0), 1)
  1077. else
  1078. if drakes == 3 then
  1079. d3wld1.C0 = clerp(d3wld1.C0, euler(0, 0, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 1)
  1080. d3wld2.C0 = clerp(d3wld2.C0, euler(0, 0, 0), 1)
  1081. end
  1082. end
  1083. end
  1084. coroutine.resume(coroutine.create(function()
  1085. for i = 1, #Claw / 2 do
  1086. Claw[i].Transparency = 0
  1087. Claw[i + 10].Transparency = 0
  1088. swait()
  1089. end
  1090. end
  1091. ))
  1092. dattack = false
  1093. attack = false
  1094. end
  1095. end
  1096. end
  1097. end
  1098.  
  1099. IcyMonarch = function()
  1100. attack = true
  1101. dattack = true
  1102. if Mode == "Drakes" then
  1103. coroutine.resume(coroutine.create(function()
  1104. for i = #Claw / 2, 1, -1 do
  1105. swait()
  1106. Claw[i].Transparency = 1
  1107. Claw[i + 10].Transparency = 1
  1108. end
  1109. end
  1110. ))
  1111. newparti = parti3:Clone()
  1112. newparti.Parent = Head
  1113. newparti.Enabled = true
  1114. parti1.Enabled = false
  1115. parti2.Enabled = false
  1116. parti3.Enabled = true
  1117. d2parti1.Enabled = false
  1118. d2parti2.Enabled = false
  1119. d2parti3.Enabled = true
  1120. d3parti1.Enabled = false
  1121. d3parti2.Enabled = false
  1122. d3parti3.Enabled = true
  1123. so("338594711", Head, 1, 1.2)
  1124. for i = 0, 1, 0.1 do
  1125. swait()
  1126. dwld1.C0 = clerp(dwld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
  1127. d2wld1.C0 = clerp(d2wld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
  1128. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
  1129. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.4, 0, 0), 0.3)
  1130. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
  1131. RW.C0 = clerp(RW.C0, cf(1.2, 0.4, -0.3) * euler(1.8, 0, -1) * euler(0, 0, 0), 0.3)
  1132. LW.C0 = clerp(LW.C0, cf(-1.3, 0.6, -0.1) * euler(2.8, 0, 0.6) * euler(0, 0, 0), 0.3)
  1133. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
  1134. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.5) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.3), 0.3)
  1135. end
  1136. Mode = "Monarch"
  1137. for i = 1, #Claw do
  1138. Claw[i].Material = "Neon"
  1139. end
  1140. model2.Parent = nil
  1141. model3.Parent = nil
  1142. model4.Parent = nil
  1143. Head.Transparency = 1
  1144. Head.face.Transparency = 1
  1145. for _,v in pairs(Character:children()) do
  1146. if v.className == "Hat" then
  1147. v.Handle.Transparency = 1
  1148. end
  1149. end
  1150. newparti.Enabled = false
  1151. game:GetService("Debris"):AddItem(newparti, 5)
  1152. helm.Parent = Character
  1153. for i = 1, #HWelds do
  1154. HWelds[i].Parent = prt1
  1155. end
  1156. for i = 0, 1, 0.1 do
  1157. swait()
  1158. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.4, 0, 0), 0.3)
  1159. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
  1160. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.8) * euler(0, 0, 0), 0.3)
  1161. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.8) * euler(0, 0, 0), 0.3)
  1162. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
  1163. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.5) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.3), 0.3)
  1164. end
  1165. coroutine.resume(coroutine.create(function()
  1166. for i = 1, #Claw / 2 do
  1167. Claw[i].Transparency = 0
  1168. Claw[i + 10].Transparency = 0
  1169. swait()
  1170. end
  1171. end
  1172. ))
  1173. else
  1174. if Mode == "Monarch" then
  1175. newparti = parti3:Clone()
  1176. newparti.Parent = Head
  1177. newparti.Enabled = true
  1178. so("338594711", Head, 1, 0.8)
  1179. for i = 0, 1, 0.1 do
  1180. swait()
  1181. dwld1.C0 = clerp(dwld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
  1182. d2wld1.C0 = clerp(d2wld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
  1183. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
  1184. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.4, 0, 0), 0.3)
  1185. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
  1186. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.6, 0, 0.7) * euler(0, -1, 0), 0.3)
  1187. LW.C0 = clerp(LW.C0, cf(-1.3, 0.6, -0.1) * euler(2.8, 0, 0.6) * euler(0, 0, 0), 0.3)
  1188. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
  1189. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.5) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.3), 0.3)
  1190. end
  1191. Mode = "Drakes"
  1192. for i = 1, #Claw do
  1193. Claw[i].Material = "SmoothPlastic"
  1194. end
  1195. parti1.Enabled = true
  1196. parti2.Enabled = true
  1197. parti3.Enabled = false
  1198. d2parti1.Enabled = true
  1199. d2parti2.Enabled = true
  1200. d2parti3.Enabled = false
  1201. d3parti1.Enabled = true
  1202. d3parti2.Enabled = true
  1203. d3parti3.Enabled = false
  1204. if drakes >= 1 then
  1205. model2.Parent = Character
  1206. for i = 1, #D1Welds do
  1207. D1Welds[i].Parent = prt1
  1208. end
  1209. end
  1210. do
  1211. if drakes >= 2 then
  1212. model3.Parent = Character
  1213. for i = 1, #D2Welds do
  1214. D2Welds[i].Parent = prt1
  1215. end
  1216. end
  1217. do
  1218. if drakes >= 3 then
  1219. model4.Parent = Character
  1220. for i = 1, #D3Welds do
  1221. D3Welds[i].Parent = prt1
  1222. end
  1223. end
  1224. do
  1225. helm.Parent = nil
  1226. Head.Transparency = 0
  1227. Head.face.Transparency = 0
  1228. for _,v in pairs(Character:children()) do
  1229. if v.className == "Hat" then
  1230. v.Handle.Transparency = 0
  1231. end
  1232. end
  1233. newparti.Enabled = false
  1234. game:GetService("Debris"):AddItem(newparti, 5)
  1235. for i = 0, 1, 0.1 do
  1236. swait()
  1237. dwld1.C0 = clerp(dwld1.C0, cf(3.8, -2.2, 0.5) * euler(0.2, 0, -0.4) * euler(0, 0.3, 0), 0.3)
  1238. d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2, 0.5) * euler(0.2, 0, 0.4) * euler(0, -0.3, 0), 0.3)
  1239. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 0.5) * euler(0.4, 0, 0) * euler(0, 0, 0), 0.3)
  1240. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.4, 0, 0), 0.3)
  1241. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
  1242. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.6, 0, 0.7) * euler(0, -1, 0), 0.3)
  1243. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57) * euler(0, 0, 0), 0.3)
  1244. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
  1245. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.5) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.3), 0.3)
  1246. end
  1247. do
  1248. end
  1249. end
  1250. end
  1251. end
  1252. end
  1253. end
  1254. dattack = false
  1255. attack = false
  1256. end
  1257.  
  1258. attackone = function()
  1259. attack = true
  1260. if Mode == "Drakes" then
  1261. for i = 0, 1, 0.14 do
  1262. swait()
  1263. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.3)
  1264. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.6) * euler(0.1, 0, 0), 0.3)
  1265. RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 2) * euler(0, -1, 0), 0.3)
  1266. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.6, 0, -0.2), 0.3)
  1267. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
  1268. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(-0.05, 0, 0.1), 0.3)
  1269. end
  1270. --so("338586299", RightArm, 1, 1)
  1271. mw2(RightArm, 1)
  1272. hitbox.Parent = modelzorz
  1273. hitbox.Anchored = true
  1274. hitbox.Size = vt(0.2, 0.2, 0.2)
  1275. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1276. for i = 0, 1, 0.12 do
  1277. swait()
  1278. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1279. MagniDamage(hitbox, 2, 6, 10, math.random(8, 10), "Normal", RootPart, 0.5, 2, (math.random(4, 6)), nil, true)
  1280. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -0.6) * euler(0.1, 0, 0), 0.45)
  1281. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.45)
  1282. RW.C0 = clerp(RW.C0, cf(1, 0.6, -0.4) * euler(0.6, 0, 2) * euler(0, -1, 0) * euler(0, 0, -2.8), 0.45)
  1283. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.45)
  1284. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.3) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(-0.1, 0, -0.4), 0.45)
  1285. LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.3, 0) * euler(-0.2, 0, 0.1), 0.45)
  1286. end
  1287. hitbox.Parent = nil
  1288. else
  1289. for i = 0, 1, 0.15 do
  1290. swait()
  1291. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.4)
  1292. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, -0.4), 0.4)
  1293. RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 2) * euler(0, -1, 0), 0.4)
  1294. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.4)
  1295. RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.5), 0.4)
  1296. LH.C0 = clerp(LH.C0, cf(-1.1, -0.5, -0.4) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(0, 0, -0.3), 0.4)
  1297. end
  1298. --so("338586299", RightArm, 1, 1.2)
  1299. mw2(RightArm, 1)
  1300. hitbox.Parent = modelzorz
  1301. hitbox.Anchored = true
  1302. hitbox.Size = vt(0.2, 0.2, 0.2)
  1303. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1304. for i = 0, 1, 0.16 do
  1305. swait()
  1306. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1307. MagniDamage(hitbox, 2, 7, 11, math.random(4, 8), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
  1308. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, -0.4) * euler(0.2, 0, 0), 0.5)
  1309. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, 0.4), 0.5)
  1310. RW.C0 = clerp(RW.C0, cf(0.5, 0.5, -0.5) * euler(0.6, 0, 2) * euler(0, -1.3, 0) * euler(0, 0, -2.8), 0.5)
  1311. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8), 0.5)
  1312. RH.C0 = clerp(RH.C0, cf(1.05, -0.8, -0.3) * euler(0, 1.57, 0) * euler(0, -0.4, 0) * euler(-0.1, 0, -0.2), 0.5)
  1313. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -0.2, 0) * euler(0, 0, 0.4), 0.5)
  1314. end
  1315. hitbox.Parent = nil
  1316. end
  1317. attack = false
  1318. end
  1319.  
  1320. attacktwo = function()
  1321. attack = true
  1322. if Mode == "Drakes" then
  1323. for i = 0, 1, 0.14 do
  1324. swait()
  1325. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.1, 0, 0), 0.3)
  1326. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.8) * euler(0.1, 0, 0), 0.3)
  1327. RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0, 0, 1.6) * euler(0, -1.4, 0) * euler(0, 0, -1.5), 0.3)
  1328. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.6, 0, -0.8), 0.3)
  1329. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
  1330. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(-0.05, 0, 0.1), 0.3)
  1331. end
  1332. mw2(RightArm, 1)
  1333. --so("338586318", RightArm, 1, 1)
  1334. hitbox.Parent = modelzorz
  1335. hitbox.Anchored = true
  1336. hitbox.Size = vt(0.2, 0.2, 0.2)
  1337. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1338. for i = 0, 1, 0.12 do
  1339. swait()
  1340. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1341. MagniDamage(hitbox, 2, 6, 10, math.random(8, 10), "Normal", RootPart, 0.5, 2, (math.random(4, 6)), nil, true)
  1342. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -1) * euler(0.1, 0, 0), 0.45)
  1343. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 1) * euler(0.1, 0, 0), 0.45)
  1344. RW.C0 = clerp(RW.C0, cf(1, 0.6, -0.4) * euler(0, 0, 1.6) * euler(0, -1.3, 0) * euler(0, 0, -0.7), 0.45)
  1345. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.8), 0.45)
  1346. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.3) * euler(0, 1.57, 0) * euler(0, -1, 0) * euler(0, 0, -0.2), 0.45)
  1347. LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.3, 0) * euler(-0.2, 0, 0.1), 0.45)
  1348. end
  1349. hitbox.Parent = nil
  1350. else
  1351. for i = 0, 1, 0.15 do
  1352. swait()
  1353. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.2, 0, 0), 0.4)
  1354. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, 0.6), 0.4)
  1355. RW.C0 = clerp(RW.C0, cf(0.5, 0.6, -0.4) * euler(0, 0, 1.2) * euler(0, 1, 0) * euler(0, 0, 2.5), 0.4)
  1356. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.4), 0.4)
  1357. RH.C0 = clerp(RH.C0, cf(1.05, -0.7, -0.4) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(-0.1, 0, 0.3), 0.4)
  1358. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(0, 0, -0.1), 0.4)
  1359. end
  1360. mw2(RightArm, 1)
  1361. --so("338586331", RightArm, 1, 1.2)
  1362. hitbox.Parent = modelzorz
  1363. hitbox.Anchored = true
  1364. hitbox.Size = vt(0.2, 0.2, 0.2)
  1365. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1366. for i = 0, 1, 0.16 do
  1367. swait()
  1368. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1369. MagniDamage(hitbox, 2, 7, 11, math.random(4, 8), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
  1370. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.5)
  1371. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.4, 0, 0) * euler(0, 0, -0.4), 0.5)
  1372. RW.C0 = clerp(RW.C0, cf(1.4, 0.5, -0.1) * euler(0, 0, 1.2) * euler(0, 1.5, 0) * euler(0, 0, 0), 0.5)
  1373. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -1), 0.5)
  1374. RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.5) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.1, 0, -0.5), 0.5)
  1375. LH.C0 = clerp(LH.C0, cf(-1.2, -0.2, -0.8) * euler(0, -1.57, 0) * euler(0, 0.2, 0) * euler(-0.2, 0, -0.2), 0.5)
  1376. end
  1377. hitbox.Parent = nil
  1378. end
  1379. attack = false
  1380. end
  1381.  
  1382. attackthree = function()
  1383. attack = true
  1384. if Mode == "Drakes" then
  1385. for i = 0, 1, 0.14 do
  1386. swait()
  1387. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -0.6) * euler(0.1, 0, 0), 0.3)
  1388. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.3)
  1389. RW.C0 = clerp(RW.C0, cf(1, 0.6, -0.4) * euler(0, 0, 1.2) * euler(0, 1.5, 0) * euler(0, 0, 2.5), 0.3)
  1390. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.3)
  1391. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.3) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(-0.1, 0, -0.4), 0.3)
  1392. LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.3, 0) * euler(-0.2, 0, 0.1), 0.3)
  1393. end
  1394. mw2(RightArm, 1)
  1395. --so("338586331", RightArm, 1, 1)
  1396. hitbox.Parent = modelzorz
  1397. hitbox.Anchored = true
  1398. hitbox.Size = vt(0.2, 0.2, 0.2)
  1399. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1400. for i = 0, 1, 0.12 do
  1401. swait()
  1402. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1403. MagniDamage(hitbox, 2, 6, 10, math.random(10, 12), "Normal", RootPart, 0.5, 2, (math.random(4, 6)), nil, true)
  1404. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.45)
  1405. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.6) * euler(0.1, 0, 0), 0.45)
  1406. RW.C0 = clerp(RW.C0, cf(1.4, 0.5, -0.1) * euler(0, 0, 1.2) * euler(0, 1.5, 0) * euler(0, 0, 0), 0.3)
  1407. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.1, 0, -0.8), 0.45)
  1408. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.45)
  1409. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(-0.05, 0, 0.1), 0.45)
  1410. end
  1411. hitbox.Parent = nil
  1412. else
  1413. for i = 0, 1, 0.15 do
  1414. swait()
  1415. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.4)
  1416. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, -0.4), 0.4)
  1417. RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 0.5) * euler(0, -0.6, 0), 0.4)
  1418. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.4)
  1419. RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.5), 0.4)
  1420. LH.C0 = clerp(LH.C0, cf(-1.1, -0.5, -0.4) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(0, 0, -0.3), 0.4)
  1421. end
  1422. so("338586318", RightArm, 1, 1.2)
  1423. hitbox.Parent = modelzorz
  1424. hitbox.Anchored = true
  1425. hitbox.Size = vt(0.2, 0.2, 0.2)
  1426. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1427. for i = 0, 1, 0.16 do
  1428. swait()
  1429. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1430. MagniDamage(hitbox, 2, 7, 11, math.random(4, 8), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
  1431. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, -0.4) * euler(-0.2, 0, 0), 0.5)
  1432. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.2, 0, 0) * euler(0, 0, 0.4), 0.5)
  1433. RW.C0 = clerp(RW.C0, cf(1.2, 0.8, -0.6) * euler(0.6, 0, 0.5) * euler(0, -1.4, 0) * euler(0, 0, -2.4), 0.5)
  1434. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8), 0.5)
  1435. RH.C0 = clerp(RH.C0, cf(1.05, -0.8, -0.3) * euler(0, 1.57, 0) * euler(0, -0.4, 0) * euler(-0.1, 0, -0.2), 0.5)
  1436. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -0.2, 0) * euler(0, 0, 0.4), 0.5)
  1437. end
  1438. hitbox.Parent = nil
  1439. end
  1440. attack = false
  1441. end
  1442.  
  1443. attackfour = function()
  1444. attack = true
  1445. local ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1446. if Mode == "Drakes" then
  1447. for i = 0, 1, 0.08 do
  1448. swait()
  1449. MagicBlock(BrickColor.new(NewCol2), LeftArm.CFrame * cf(0, -1, 0), 6, 6, 6, 1, 1, 1, 0.1, 1)
  1450. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.1, 0, 0), 0.3)
  1451. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.8) * euler(0.1, 0, 0), 0.3)
  1452. RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0, 0, 1) * euler(0, -1.4, 0) * euler(0, 0, -1), 0.3)
  1453. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.7, 0, -0.8), 0.3)
  1454. RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
  1455. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(-0.05, 0, 0.1), 0.3)
  1456. end
  1457. ref.Anchored = true
  1458. ref.CFrame = LeftArm.CFrame * cf(0, -1, 0)
  1459. game:GetService("Debris"):AddItem(ref, 3)
  1460. pfv(ref, 1.3)
  1461. --so("333475981", ref, 1, 2)
  1462. --so("333476017", ref, 1, 1.4)
  1463. MagniDamage(ref, 5, 6, 8, math.random(10, 15), "Knockdown2", ref, 0, 2, (math.random(6, 8)), nil, nil, true)
  1464. MagicCircle(BrickColor.new(NewCol2), cf(ref.Position), 40, 40, 40, 3, 3, 3, 0.08)
  1465. for i = 1, 10 do
  1466. MagicBlock(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 12, 12, 12, -1, -1, -1, 0.08, 3)
  1467. end
  1468. Torso.Velocity = RootPart.CFrame.lookVector * -80
  1469. for i = 0, 1, 0.1 do
  1470. swait()
  1471. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.4)
  1472. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.4)
  1473. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.6, 0, 1) * euler(0, -1.5, 0), 0.4)
  1474. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -1), 0.4)
  1475. RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.15, 0, -0.4), 0.4)
  1476. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.15, 0, 0.1), 0.4)
  1477. end
  1478. else
  1479. for i = 0, 1, 0.15 do
  1480. swait()
  1481. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.4)
  1482. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, -0.4), 0.4)
  1483. RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 1.5) * euler(0, -1, 0), 0.4)
  1484. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.4)
  1485. RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.5), 0.4)
  1486. LH.C0 = clerp(LH.C0, cf(-1.1, -0.5, -0.4) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(0, 0, -0.3), 0.4)
  1487.  
  1488. end
  1489. so("338586331", RightArm, 1, 1.4)
  1490. hitbox.Parent = modelzorz
  1491. hitbox.Anchored = true
  1492. hitbox.Size = vt(0.2, 0.2, 0.2)
  1493. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1494. spin = 0
  1495. ra = 0
  1496. for i = 0, 1, 0.1 do
  1497. swait()
  1498. if i < 0.6 then
  1499. spin = spin + 1
  1500. ra = -0.4
  1501. else
  1502. spin = 0
  1503. ra = 0
  1504. end
  1505. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1506. MagniDamage(hitbox, 4, 7, 11, math.random(4, 8), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
  1507. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, -0.4) * euler(0.2, 0, 0), 0.55)
  1508. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0, 0, spin) * euler(0.3, 0, 0) * euler(0, 0, 0.4), 0.55)
  1509. RW.C0 = clerp(RW.C0, cf(0.5, 0.5, -0.5 + ra) * euler(0.6, 0, 2) * euler(0, -1.3, 0) * euler(0, 0, -2.8), 0.4)
  1510. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8), 0.55)
  1511. RH.C0 = clerp(RH.C0, cf(1.05, -0.8, -0.3) * euler(0, 1.57, 0) * euler(0, -0.4, 0) * euler(-0.1, 0, -0.2), 0.55)
  1512. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -0.2, 0) * euler(0, 0, 0.4), 0.55)
  1513. end
  1514. hitbox.Parent = nil
  1515. end
  1516. attack = false
  1517. if Mode == "Drakes" then
  1518. dattack = true
  1519. local target1, distance1 = findNearestTorso(ref.Position, 30)
  1520. for i = 0, 1, 0.1 do
  1521. swait()
  1522. if target1 ~= nil then
  1523. if drakes > 0 then
  1524. local mpos = dprt2.CFrame * euler(0, 0, 0)
  1525. local cff = CFrame.new(mpos.p, target1.Position) * CFrame.Angles(math.pi / 2, 0, 0)
  1526. local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1527. dwld1.C0 = clerp(dwld1.C0, cf(4.5, -2, 1.5), 0.3)
  1528. dwld2.C0 = clerp(dwld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
  1529. end
  1530. do
  1531. if drakes > 1 then
  1532. local mpos = d2prt2.CFrame * euler(0, 0, 0)
  1533. local cff = CFrame.new(mpos.p, target1.Position) * CFrame.Angles(math.pi / 2, 0, 0)
  1534. local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1535. d2wld1.C0 = clerp(d2wld1.C0, cf(-4.5, -2, 1.5), 0.3)
  1536. d2wld2.C0 = clerp(d2wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
  1537. end
  1538. do
  1539. if drakes > 2 then
  1540. local mpos = d3prt2.CFrame * euler(0, 0, 0)
  1541. local cff = CFrame.new(mpos.p, target1.Position) * CFrame.Angles(math.pi / 2, 0, 0)
  1542. local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1543. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 1.5), 0.3)
  1544. d3wld2.C0 = clerp(d3wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
  1545. end
  1546. do
  1547. -- DECOMPILER ERROR at PC1114: LeaveBlock: unexpected jumping out DO_STMT
  1548.  
  1549. -- DECOMPILER ERROR at PC1114: LeaveBlock: unexpected jumping out DO_STMT
  1550.  
  1551. -- DECOMPILER ERROR at PC1114: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1552.  
  1553. -- DECOMPILER ERROR at PC1114: LeaveBlock: unexpected jumping out IF_STMT
  1554.  
  1555. end
  1556. end
  1557. end
  1558. end
  1559. end
  1560. if target1 ~= nil then
  1561. do
  1562. if drakes > 0 then
  1563. local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt())
  1564. icepart1.Anchored = true
  1565. icepart1.Material = Enum.Material.Neon
  1566. i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
  1567. icepart1.CFrame = dprt1.CFrame * euler(-1.57, 0, 0)
  1568. game:GetService("Debris"):AddItem(icepart1, 20)
  1569. MouseLook = cf(dprt1.Position, target1.Position)
  1570. so("338594524", icepart1, 1, 1)
  1571. table.insert(Effects, {MouseLook, "ShootIce", 10, icepart1.Position, 4, 5, 0, icepart1, 7, 1})
  1572. end
  1573. do
  1574. if drakes > 1 then
  1575. local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt())
  1576. icepart1.Anchored = true
  1577. icepart1.Material = Enum.Material.Neon
  1578. i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
  1579. icepart1.CFrame = d2prt1.CFrame * euler(-1.57, 0, 0)
  1580. game:GetService("Debris"):AddItem(icepart1, 20)
  1581. MouseLook = cf(d2prt1.Position, target1.Position)
  1582. so("338594524", icepart1, 1, 1)
  1583. table.insert(Effects, {MouseLook, "ShootIce", 10, icepart1.Position, 4, 5, 0, icepart1, 7, 1})
  1584. end
  1585. do
  1586. if drakes > 2 then
  1587. local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt())
  1588. icepart1.Anchored = true
  1589. icepart1.Material = Enum.Material.Neon
  1590. i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
  1591. icepart1.CFrame = d3prt1.CFrame * euler(-1.57, 0, 0)
  1592. game:GetService("Debris"):AddItem(icepart1, 20)
  1593. MouseLook = cf(d3prt1.Position, target1.Position)
  1594. so("338594524", icepart1, 1, 1)
  1595. table.insert(Effects, {MouseLook, "ShootIce", 10, icepart1.Position, 4, 5, 0, icepart1, 7, 1})
  1596. end
  1597. dwld2.C0 = clerp(dwld2.C0, cf(0, 0, 0), 1)
  1598. d2wld2.C0 = clerp(d2wld2.C0, cf(0, 0, 0), 1)
  1599. d3wld2.C0 = clerp(d3wld2.C0, cf(0, 0, 0), 1)
  1600. dattack = false
  1601. end
  1602. end
  1603. end
  1604. end
  1605. end
  1606. end
  1607.  
  1608. do1 = function()
  1609. if attack == true then
  1610. return end
  1611. attack = true
  1612. dattack = true
  1613. local tPos = Mouse.Hit.p
  1614. if Mode == "Drakes" and drakes < 1 then
  1615. for i = 0, 1, 0.1 do
  1616. swait()
  1617. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.1, 0, 0), 0.4)
  1618. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.8) * euler(0.1, 0, 0), 0.4)
  1619. RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0, 0, 1) * euler(0, -1.4, 0) * euler(0, 0, -1), 0.4)
  1620. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.7, 0, -0.8), 0.4)
  1621. RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.4)
  1622. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(-0.05, 0, 0.1), 0.4)
  1623. end
  1624. tPos = Mouse.Hit.p
  1625. ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1626. ref.Anchored = true
  1627. ref.CFrame = LeftArm.CFrame * cf(0, -1, 0)
  1628. game:GetService("Debris"):AddItem(ref, 1)
  1629. MagicBlock(BrickColor.new(NewCol3), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 7, 7, 7, 1, 1, 1, 0.08, 2)
  1630. local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt(2, 4, 2))
  1631. icepart1.Anchored = true
  1632. icepart1.Material = Enum.Material.Neon
  1633. i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
  1634. icepart1.CFrame = cf(ref.Position)
  1635. game:GetService("Debris"):AddItem(icepart1, 20)
  1636. local parti1 = icicleparti1:Clone()
  1637. parti1.Parent = icepart1
  1638. local parti2 = icicleparti2:Clone()
  1639. parti2.Parent = icepart1
  1640. MouseLook = cf(icepart1.Position, Mouse.Hit.p)
  1641. so("338594467", icepart1, 1, 1)
  1642. table.insert(Effects, {MouseLook, "ShootIce", 50, icepart1.Position, 5, 7, 0, icepart1, 7, 2, parti1, parti2})
  1643. for i = 0, 1, 0.1 do
  1644. swait()
  1645. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.1, 0, 0), 0.4)
  1646. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.8) * euler(0.1, 0, 0), 0.4)
  1647. RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0, 0, 1) * euler(0, -1.4, 0) * euler(0, 0, -1), 0.4)
  1648. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.7, 0, -0.8) * cf(0, 0.3, 0) * euler(0.5, 0, 0), 0.4)
  1649. RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.4)
  1650. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(-0.05, 0, 0.1), 0.4)
  1651. end
  1652. end
  1653. if Mode == "Monarch" then
  1654. for i = 0, 1, 0.14 do
  1655. swait()
  1656. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.3)
  1657. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.6) * euler(0.1, 0, 0), 0.3)
  1658. RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 1.5) * euler(0, -1, 0), 0.3)
  1659. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.6, 0, -0.2), 0.3)
  1660. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
  1661. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(-0.05, 0, 0.1), 0.3)
  1662. end
  1663. so("338586299", RightArm, 1, 1.1)
  1664. hitbox.Parent = modelzorz
  1665. hitbox.Anchored = true
  1666. hitbox.Size = vt(0.2, 0.2, 0.2)
  1667. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1668. local oldCF = RightArm.CFrame * cf(0, -10, 0.5)
  1669. local oldCF2 = RightArm.CFrame * cf(0, -10, -0.5)
  1670. local ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1671. ref.Anchored = true
  1672. ref.CFrame = RightArm.CFrame * cf(0, -10, 0)
  1673. game:GetService("Debris"):AddItem(ref, 1)
  1674. so("28144425", ref, 1, 1.2)
  1675. rara = 0.35
  1676. for i = 0, 1, 0.1 do
  1677. swait()
  1678. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -0.6) * euler(0.1, 0, 0), rara)
  1679. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0.6) * euler(0.1, 0, 0), rara)
  1680. RW.C0 = clerp(RW.C0, cf(1, 0.6, -0.4) * euler(0.6, 0, 1.5) * euler(0, -1, 0) * euler(0, 0, -2.8), rara)
  1681. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), rara)
  1682. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.3) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(-0.1, 0, -0.4), rara)
  1683. LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.3, 0) * euler(-0.2, 0, 0.1), rara)
  1684. ref.CFrame = RightArm.CFrame * cf(0, -10, 0)
  1685. rara = rara - 0.02
  1686. if i < 0.8 then
  1687. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1688. freeze = true
  1689. MagniDamage(ref, 5, 4, 6, 0, "Knockdown2", RootPart, 0.5, 1, (math.random(4, 6)), nil, true)
  1690. MagniDamage(hitbox, 2, 5, 7, math.random(8, 10), "Normal", RootPart, 0.5, 2, (math.random(4, 6)), nil, true)
  1691. freeze = false
  1692. effect2("Pastel light blue", 0, RightArm.CFrame * cf(0, -10, 0.5), oldCF, nil, 1, 2)
  1693. effect2("Pastel light blue", 0, RightArm.CFrame * cf(0, -10, -0.5), oldCF2, nil, 1, 2)
  1694. oldCF = RightArm.CFrame * cf(0, -10, 0.5)
  1695. oldCF2 = RightArm.CFrame * cf(0, -10, -0.5)
  1696. end
  1697. end
  1698. ref.Parent = nil
  1699. hitbox.Parent = nil
  1700. end
  1701. if Mode == "Drakes"and drakes > 0 then
  1702. for i = 0, 1, 0.1 do
  1703. swait()
  1704. if drakes > 0 then
  1705. local cff = CFrame.new(dprt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
  1706. local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1707. dwld1.C0 = clerp(dwld1.C0, cf(0, -5, 1.5) * euler(0, 0, -1.2), 0.4)
  1708. dwld2.C0 = clerp(dwld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
  1709. end
  1710. if drakes > 1 then
  1711. local cff = CFrame.new(d2prt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
  1712. local x, y, z = d2prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1713. d2wld1.C0 = clerp(d2wld1.C0, cf(0, -5, 1.5) * euler(0, 0, 1.2), 0.4)
  1714. d2wld2.C0 = clerp(d2wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
  1715. end
  1716. if drakes > 2 then
  1717. local cff = CFrame.new(d3prt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
  1718. local x, y, z = d3prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1719. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -5, 1.5), 0.4)
  1720. d3wld2.C0 = clerp(d3wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
  1721. end
  1722. end
  1723. local drakeprt = dprt1
  1724. for i = 1, drakes do
  1725. if i == 1 then
  1726. drakeprt = dprt1
  1727. else
  1728. if i == 2 then
  1729. drakeprt = d2prt1
  1730. else
  1731. if i == 3 then
  1732. drakeprt = d3prt1
  1733. end
  1734. end
  1735. end
  1736. dprt1.Transparency = 1
  1737. d2prt1.Transparency = 1
  1738. d3prt1.Transparency = 1
  1739. local refd = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1740. refd.Anchored = true
  1741. refd.CFrame = drakeprt.CFrame
  1742. game:GetService("Debris"):AddItem(refd, 1)
  1743. MagicBlock(BrickColor.new(NewCol3), cf(refd.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 7, 7, 7, 1, 1, 1, 0.08, 2)
  1744. local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt(2, 4, 2))
  1745. icepart1.Anchored = true
  1746. icepart1.Material = Enum.Material.Neon
  1747. i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
  1748. icepart1.CFrame = cf(refd.Position)
  1749. game:GetService("Debris"):AddItem(icepart1, 20)
  1750. local parti1 = icicleparti1:Clone()
  1751. parti1.Parent = icepart1
  1752. local parti2 = icicleparti2:Clone()
  1753. parti2.Parent = icepart1
  1754. so("338594524", icepart1, 1, 1)
  1755. MouseLook = cf(icepart1.Position, tPos + vt(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100))
  1756. table.insert(Effects, {MouseLook, "ShootIce", 50, icepart1.Position, 5, 6, 0, icepart1, 7, 2, parti1, parti2})
  1757. for d = 0, 1, 0.2 do
  1758. swait()
  1759. if i == 1 then
  1760. local cff = CFrame.new(dprt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
  1761. local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1762. dwld2.C0 = clerp(dwld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0) * cf(0, 0, 2), 0.4)
  1763. else
  1764. if i == 2 then
  1765. local cff = CFrame.new(d2prt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
  1766. local x, y, z = d2prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1767. d2wld2.C0 = clerp(d2wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0) * cf(0, 0, 2), 0.4)
  1768. else
  1769. if i == 3 then
  1770. local cff = CFrame.new(d3prt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
  1771. local x, y, z = d3prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1772. d3wld2.C0 = clerp(d3wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0) * cf(0, 0, 2), 0.4)
  1773. end
  1774. end
  1775. end
  1776. end
  1777. end
  1778. for i = 0, 1, 0.2 do
  1779. if dattack == false then
  1780. swait()
  1781. end
  1782. dwld2.C0 = clerp(dwld2.C0, cf(0, 0, 0), 0.4)
  1783. d2wld2.C0 = clerp(d2wld2.C0, cf(0, 0, 0), 0.4)
  1784. d3wld2.C0 = clerp(d3wld2.C0, cf(0, 0, 0), 0.4)
  1785. end
  1786. dwld2.C0 = clerp(dwld2.C0, cf(0, 0, 0), 1)
  1787. d2wld2.C0 = clerp(d2wld2.C0, cf(0, 0, 0), 1)
  1788. d3wld2.C0 = clerp(d3wld2.C0, cf(0, 0, 0), 1)
  1789. end
  1790. dprt1.Transparency = 0
  1791. d2prt1.Transparency = 0
  1792. d3prt1.Transparency = 0
  1793. dattack = false
  1794. attack = false
  1795. end
  1796.  
  1797. do2 = function()
  1798. if attack == true then
  1799. return
  1800. end
  1801. attack = true
  1802. dattack = true
  1803. if drakes > 0 or Mode == "Monarch" then
  1804. if Mode == "Drakes" then
  1805. for i = 0, 1, 0.1 do
  1806. swait()
  1807. if drakes > 2 then
  1808. d3wld1.C0 = clerp(d3wld1.C0, euler(0.2, 0, 0.5) * cf(0, -5, 1.5) * euler(-0.5, 0, -1.2), 0.45)
  1809. dwld1.C0 = clerp(dwld1.C0, euler(0, 0, 1.2) * cf(0, -4, -2.5) * euler(0, 0, -1.2), 0.45)
  1810. d2wld1.C0 = clerp(d2wld1.C0, euler(0, 0, -1.2) * cf(0, -4, -2.5) * euler(0, 0, 1.2), 0.45)
  1811. else
  1812. if drakes > 1 then
  1813. d2wld1.C0 = clerp(d2wld1.C0, euler(0.2, 0, 0.5) * cf(0, -5, 1.5) * euler(-0.5, 0, -1.2), 0.45)
  1814. dwld1.C0 = clerp(dwld1.C0, euler(0, 0, -1.2) * cf(0, -4, -2.5) * euler(0, 0, 1.2), 0.45)
  1815. d3wld1.C0 = clerp(d3wld1.C0, euler(0, 0, 1.2) * cf(0, -4, -2.5) * euler(0, 0, -1.2), 0.45)
  1816. else
  1817. if drakes > 0 then
  1818. dwld1.C0 = clerp(dwld1.C0, euler(0.2, 0, 0.5) * cf(0, -5, 1.5) * euler(-0.5, 0, -1.2), 0.45)
  1819. end
  1820. end
  1821. end
  1822. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.1, 0, 0), 0.3)
  1823. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.3)
  1824. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.6, 0, 0.7) * euler(0, -1, 0), 0.3)
  1825. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -2) * euler(0, 1.57, 0), 0.3)
  1826. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.3) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(-0.1, 0, -0.4), 0.3)
  1827. LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.3, 0) * euler(-0.2, 0, 0.1), 0.3)
  1828. end
  1829. RecentEnemy.Value = nil
  1830. drakesplode = false
  1831. drakepart = dprt1
  1832. thdrake = model2
  1833. if drakes > 2 then
  1834. drakepart = d3prt1
  1835. thdrake = model4
  1836. else
  1837. if drakes > 1 then
  1838. drakepart = d2prt1
  1839. thdrake = model3
  1840. else
  1841. if drakes > 0 then
  1842. drakepart = dprt1
  1843. thdrake = model2
  1844. end
  1845. end
  1846. end
  1847. local oldCF = drakepart.CFrame
  1848. so("338594594", drakepart, 1, 0.9)
  1849. for i = 0, 1, 0.15 do
  1850. swait()
  1851. if RecentEnemy.Value == nil then
  1852. if drakes > 2 then
  1853. drakepart = d3prt1
  1854. thdrake = model4
  1855. d3wld1.C0 = clerp(d3wld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2), 0.35)
  1856. dwld1.C0 = clerp(dwld1.C0, euler(0, 0, 1.2) * cf(0, -4, -2.5) * euler(0, 0, -1.2), 0.45)
  1857. d2wld1.C0 = clerp(d2wld1.C0, euler(0, 0, -1.2) * cf(0, -4, -2.5) * euler(0, 0, 1.2), 0.45)
  1858. elseif drakes > 1 then
  1859. drakepart = d2prt1
  1860. thdrake = model3
  1861. d2wld1.C0 = clerp(d2wld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2), 0.35)
  1862. dwld1.C0 = clerp(dwld1.C0, euler(0, 0, -1.2) * cf(0, -4, -2.5) * euler(0, 0, 1.2), 0.45)
  1863. d3wld1.C0 = clerp(d3wld1.C0, euler(0, 0, 1.2) * cf(0, -4, -2.5) * euler(0, 0, -1.2), 0.45)
  1864. elseif drakes > 0 then
  1865. drakepart = dprt1
  1866. thdrake = model2
  1867. dwld1.C0 = clerp(dwld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2), 0.35)
  1868. d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2, 0.5) * euler(0.2, 0, 0.4) * euler(0, -0.3, 0), 0.35)
  1869. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 0.5) * euler(0.4, 0, 0) * euler(0, 0, 0), 0.35)
  1870. end
  1871. effect2("Pastel light blue", 0, drakepart.CFrame, oldCF, nil, 3, 1)
  1872. oldCF = drakepart.CFrame
  1873. MagniDamage(drakepart, 3, 5, 6, 0, "Knockdown2", drakepart, 0, 1, (math.random(2, 4)), nil, true)
  1874. else
  1875. if drakesplode == false then
  1876. drakesplode = true
  1877. drakes = drakes - 1
  1878. thdrake.Parent = nil
  1879. local ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1880. ref.Anchored = true
  1881. ref.CFrame = cf(drakepart.Position)
  1882. game:GetService("Debris"):AddItem(ref, 1)
  1883. MagicCircle(BrickColor.new(NewCol2), cf(ref.Position), 30, 30, 30, 2, 2, 2, 0.05)
  1884. MagicBlock(BrickColor.new(NewCol2), cf(ref.Position), 5, 5, 5, 5, 5, 5, 0.1, 1)
  1885. breakfreeze = true
  1886. so("338594648", ref, 1, 1)
  1887. MagniDamage(drakepart, 6, 6, 8, 0, "Knockdown2", drakepart, 0, 1, (math.random(3, 5)), nil, nil, true, "Damage", 0.2, 200)
  1888. breakfreeze = false
  1889. for i = 1, 10 do
  1890. BreakEffect(BrickColor.new(NewCol2), ref.CFrame * cf(math.random(-400, 400) / 100, math.random(-400, 400) / 100, math.random(-400, 400) / 100), math.random(40, 80) / 100, math.random(2, 6), math.random(40, 80) / 100)
  1891. end
  1892. end
  1893. end
  1894. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.45)
  1895. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.6) * euler(0.1, 0, 0), 0.45)
  1896. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(-0.2, 0, 0.7) * euler(0, -1, 0), 0.45)
  1897. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -2) * euler(0, 1, 0) * euler(0, 0, 2), 0.45)
  1898. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.45)
  1899. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(-0.05, 0, 0.1), 0.45)
  1900. end
  1901. for i = 0, 1, 0.13 do
  1902. swait()
  1903. if RecentEnemy.Value == nil then
  1904. if drakes > 2 then
  1905. d3wld1.C0 = clerp(d3wld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2, 0.2), 0.2)
  1906. elseif drakes > 1 then
  1907. d2wld1.C0 = clerp(d2wld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2, 0.2), 0.2)
  1908. elseif drakes > 0 then
  1909. dwld1.C0 = clerp(dwld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2), 0.2)
  1910. d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2, 0.5) * euler(0.2, 0, 0.4) * euler(0, -0.3, 0), 0.3)
  1911. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 0.5) * euler(0.4, 0, 0) * euler(0, 0, 0), 0.3)
  1912. end
  1913. end
  1914. end
  1915. else
  1916. if Mode == "Monarch" then
  1917. for i = 0, 1, 0.15 do
  1918. swait()
  1919. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.4)
  1920. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, -0.4), 0.4)
  1921. RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 0.2) * euler(0, -1.2, 0), 0.4)
  1922. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.4)
  1923. RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.5), 0.4)
  1924. LH.C0 = clerp(LH.C0, cf(-1.1, -0.5, -0.4) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(0, 0, -0.3), 0.4)
  1925. end
  1926. so("338586318", RightArm, 1, 1.05)
  1927. so("92597369", RightArm, 1, 1)
  1928. hitbox.Parent = modelzorz
  1929. hitbox.Anchored = true
  1930. hitbox.Size = vt(0.2, 0.2, 0.2)
  1931. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1932. local oldCF = RightArm.CFrame * cf(0, -2, 0.5)
  1933. local oldCF2 = RightArm.CFrame * cf(0, -2, -0.5)
  1934. move = 150
  1935. for i = 0, 1, 0.1 do
  1936. swait()
  1937. move = move - 10
  1938. if Rooted.Value == false then
  1939. Torso.Velocity = RootPart.CFrame.lookVector * move
  1940. end
  1941. Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, -0.4) * euler(-0.2, 0, 0), 0.3)
  1942. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.2, 0, 0) * euler(0, 0, 0.4), 0.3)
  1943. RW.C0 = clerp(RW.C0, cf(1.2, 0.8, -0.6) * euler(0.6, 0, 0.2) * euler(0, -2, 0) * euler(0, 0, -2.4), 0.2)
  1944. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8), 0.3)
  1945. RH.C0 = clerp(RH.C0, cf(1.05, -0.8, -0.3) * euler(0, 1.57, 0) * euler(0, -0.4, 0) * euler(-0.1, 0, -0.2), 0.3)
  1946. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -0.2, 0) * euler(0, 0, 0.4), 0.3)
  1947. if i < 0.8 then
  1948. hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
  1949. breakfreeze = true
  1950. MagniDamage(hitbox, 4, 6, 7, math.random(4, 8), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
  1951. breakfreeze = false
  1952. effect2("Pastel light blue", 0, RightArm.CFrame * cf(0.2, -3, 0.5), oldCF, nil, 1, 2)
  1953. effect2("Pastel light blue", 0, RightArm.CFrame * cf(0.2, -3, -0.5), oldCF2, nil, 1, 2)
  1954. oldCF = RightArm.CFrame * cf(0.2, -2.8, 0.5)
  1955. oldCF2 = RightArm.CFrame * cf(0.2, -2.8, -0.5)
  1956. end
  1957. end
  1958. hitbox.Parent = nil
  1959. end
  1960. end
  1961. end
  1962. dattack = false
  1963. attack = false
  1964. end
  1965.  
  1966. do3 = function()
  1967. if dryice == true then
  1968. dryice = false
  1969. attack = false
  1970. dattack = false
  1971. return
  1972. end
  1973. if attack == true then
  1974. return
  1975. end
  1976. attack = true
  1977. dattack = true
  1978. dryice = true
  1979. if Mode == "Drakes" then
  1980. coroutine.resume(coroutine.create(function()
  1981. for i = #Claw / 2, 1, -1 do
  1982. swait()
  1983. Claw[i].Transparency = 1
  1984. Claw[i + 10].Transparency = 1
  1985. end
  1986. end
  1987. ))
  1988. sref.Parent = effects
  1989. mistparti1.Enabled = true
  1990. mistparti2.Enabled = true
  1991. sref.Size = vt(20, 20, 20)
  1992. local refaa = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1993. refaa.Anchored = true
  1994. refaa.CFrame = cf(sref.Position)
  1995. game:GetService("Debris"):AddItem(refaa, 1)
  1996. gsou:play()
  1997. so("338601305", sref, 1, 0.8)
  1998. raa = 0
  1999. local drake = dprt1
  2000. local targetd1, distanced1 = findNearestTorso(dprt1.Position, 60)
  2001. local targetd2, distanced2 = findNearestTorso(d2prt1.Position, 60)
  2002. local targetd3, distanced3 = findNearestTorso(d3prt1.Position, 60)
  2003. while dryice do
  2004. swait()
  2005. if dryice == true then
  2006. dattack = true
  2007. raa = raa + 1
  2008. refaa.CFrame = sref.CFrame * cf(math.random(-2000, 2000) / 100, 10, math.random(-2000, 2000) / 100)
  2009.  
  2010. if raa % 6 ~= 0 or raa % 3 == 0 then
  2011. hitfloor = rayCast(refaa.Position, CFrame.new(refaa.Position, refaa.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  2012. MagicBlock(BrickColor.new(NewCol3), cf(posfloor), 1, 1, 1, 1, 1, 1, 0.2, 1)
  2013. end
  2014. if raa % 21 == 0 then
  2015. if raa % 63 == 0 then
  2016. freeze = true
  2017. end
  2018. RecentEnemy.Value = nil
  2019. MagniDamage(sref, 20, 3, 4, 0, "Normal", sref, 0, 1, (math.random(1, 3)), nil, nil, true)
  2020. if RecentEnemy.Value ~= nil then
  2021. Frost = Frost + math.random(2, 4)
  2022. end
  2023. freeze = false
  2024. end
  2025. if raa % 60 == 0 and drakes > 0 then
  2026. thetarg = nil
  2027.  
  2028. if drakes > 0 and drakes < 2 then
  2029. if targetd1 ~= nil then
  2030. thetarg = targetd1.Position
  2031. drake = dprt1
  2032. end
  2033. elseif drakes > 1 and drakes < 3 then
  2034. xx = math.random(1,2)
  2035. if xx == 1 then
  2036. if targetd1 ~= nil then
  2037. thetarg = targetd1.Position
  2038. drake = dprt1
  2039. end
  2040. else
  2041. if targetd2 ~= nil then
  2042. thetarg = targetd2.Position
  2043. drake = d2prt1
  2044. end
  2045. end
  2046. elseif drakes > 2 then
  2047. xx = math.random(1,3)
  2048. if xx == 1 then
  2049. if targetd1 ~= nil then
  2050. thetarg = targetd1.Position
  2051. drake = dprt1
  2052. end
  2053. elseif xx == 2 then
  2054. if targetd2 ~= nil then
  2055. thetarg = targetd2.Position
  2056. drake = d2prt1
  2057. end
  2058. else
  2059. if targetd3 ~= nil then
  2060. thetarg = targetd3.Position
  2061. drake = d3prt1
  2062. end
  2063. end
  2064. end
  2065.  
  2066. if thetarg ~= nil then
  2067. local refd = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2068. refd.Anchored = true
  2069. refd.CFrame = drake.CFrame
  2070. game:GetService("Debris"):AddItem(refd, 1)
  2071. MagicBlock(BrickColor.new(NewCol3), cf(refd.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 7, 7, 7, 1, 1, 1, 0.08, 2)
  2072. local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt(2, 4, 2))
  2073. icepart1.Anchored = true
  2074. icepart1.Material = Enum.Material.Neon
  2075. i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
  2076. icepart1.CFrame = cf(refd.Position)
  2077. game:GetService("Debris"):AddItem(icepart1, 20)
  2078. local parti1 = icicleparti1:Clone()
  2079. parti1.Parent = icepart1
  2080. local parti2 = icicleparti2:Clone()
  2081. parti2.Parent = icepart1
  2082. MouseLook = cf(icepart1.Position, thetarg + vt(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100))
  2083. table.insert(Effects, {MouseLook, "ShootIce", 50, icepart1.Position, 3, 4, 0, icepart1, 7, 2, parti1, parti2})
  2084. end
  2085. end
  2086. sref.CFrame = cf(RootPart.Position)
  2087. dwld1.C0 = clerp(dwld1.C0, cf(0, -4, 5) * euler(0, 0, 0) * euler(0, mr(720) / 3, 0), 0.3)
  2088. d2wld1.C0 = clerp(d2wld1.C0, cf(0, -4, 5) * euler(0, 0, 0) * euler(0, mr(720) / 3 * 2, 0), 0.3)
  2089. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 5) * euler(0, 0, 0) * euler(0, mr(720) / 3 * 3, 0), 0.3)
  2090. targetd1 = findNearestTorso(dprt1.Position, 60)
  2091. targetd2 = findNearestTorso(d2prt1.Position, 60)
  2092. targetd3 = findNearestTorso(d3prt1.Position, 60)
  2093.  
  2094. if targetd1 ~= nil then
  2095. local cff = CFrame.new(dprt1.CFrame.p, targetd1.Position) * CFrame.Angles(math.pi / 2, 0, 0)
  2096. local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2097. dwld2.C0 = clerp(dwld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
  2098. end
  2099. if targetd2 ~= nil then
  2100. local cff = CFrame.new(d2prt1.CFrame.p, targetd2.Position) * CFrame.Angles(math.pi / 2, 0, 0)
  2101. local x, y, z = d2prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2102. d2wld2.C0 = clerp(d2wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
  2103. end
  2104. if targetd3 ~= nil then
  2105. local cff = CFrame.new(d3prt1.CFrame.p, targetd3.Position) * CFrame.Angles(math.pi / 2, 0, 0)
  2106. local x, y, z = d3prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2107. d3wld2.C0 = clerp(d3wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
  2108. end
  2109.  
  2110. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.3, 0, 0), 0.3)
  2111. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
  2112. RW.C0 = clerp(RW.C0, cf(1.2, 0.8, -0.3) * euler(2.8, 0, -0.6) * euler(0, 0, 0), 0.3)
  2113. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.3)
  2114. RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.2) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.06, 0, 0.1), 0.3)
  2115. LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.2) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.06, 0, -0.1), 0.3)
  2116.  
  2117.  
  2118. end
  2119. end
  2120. gsou:Stop()
  2121. mistparti1.Enabled = false
  2122. mistparti2.Enabled = false
  2123. sref.Size = vt(1, 1, 1)
  2124. dwld2.C0 = clerp(dwld2.C0, cf(0, 0, 0), 1)
  2125. d2wld2.C0 = clerp(d2wld2.C0, cf(0, 0, 0), 1)
  2126. d3wld2.C0 = clerp(d3wld2.C0, cf(0, 0, 0), 1)
  2127. coroutine.resume(coroutine.create(function()
  2128. swait(200)
  2129. sref.Parent = nil
  2130. end
  2131. ))
  2132. coroutine.resume(coroutine.create(function()
  2133. for i = 1, #Claw / 2 do
  2134. Claw[i].Transparency = 0
  2135. Claw[i + 10].Transparency = 0
  2136. swait()
  2137. end
  2138. end
  2139. ))
  2140. end
  2141. if Mode == "Monarch" then
  2142. for i = 0, 1, 0.1 do
  2143. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.2) * euler(0.8, 0, 0) * euler(0, 0, -0.6), 0.3)
  2144. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.8, 0, 1) * euler(0, -0.7, 0) * euler(0, 0, -0.5), 0.3)
  2145. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -0.1), 0.3)
  2146. RH.C0 = clerp(RH.C0, cf(0.95, -0.7, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
  2147. LH.C0 = clerp(LH.C0, cf(-1.1, 0.4, -0.2) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(0, 0, -0.6), 0.3)
  2148. end
  2149. sref.Parent = effects
  2150. sref.CFrame = LeftArm.CFrame * cf(0, -1, 0)
  2151. sref.CFrame = cf(sref.Position)
  2152. mistparti1.Enabled = true
  2153. mistparti2.Enabled = true
  2154. gsou:play()
  2155. so("338601305", sref, 1, 0.8)
  2156. sref.Size = vt(40, 20, 40)
  2157. local refaa = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2158. refaa.Anchored = true
  2159. refaa.CFrame = cf(sref.Position)
  2160. game:GetService("Debris"):AddItem(refaa, 1)
  2161. local ii = 0
  2162. while dryice do
  2163. ii = ii + 1
  2164. swait()
  2165. refaa.CFrame = sref.CFrame * cf(math.random(-4000, 4000) / 100, 10, math.random(-4000, 4000) / 100)
  2166.  
  2167. if ii % 6 ~= 0 or ii % 3 == 0 then
  2168. hitfloor = rayCast(refaa.Position, CFrame.new(refaa.Position, refaa.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  2169. MagicBlock(BrickColor.new(NewCol3), cf(posfloor), 1, 1, 1, 1, 1, 1, 0.2, 1)
  2170. end
  2171. if ii % 21 == 0 then
  2172. if ii % 42 == 0 then
  2173. freeze = true
  2174. end
  2175. MagniDamage(sref, 30, 3, 4, 0, "Normal", sref, 0, 1, (math.random(1, 3)), nil, nil, true)
  2176. freeze = false
  2177. end
  2178. end
  2179. sref.Size = vt(1, 1, 1)
  2180. mistparti1.Enabled = false
  2181. mistparti2.Enabled = false
  2182. gsou:Stop()
  2183. swait(100)
  2184. sref.Parent = nil
  2185. end
  2186. dryice = false
  2187. attack = false
  2188. dattack = false
  2189. end
  2190.  
  2191. do4 = function()
  2192. if attack == true then
  2193. return
  2194. end
  2195. if drakes > 0 then
  2196. if Mode == "Monarch" then
  2197. IcyMonarch()
  2198. end
  2199. attack = true
  2200. dattack = true
  2201. coroutine.resume(coroutine.create(function()
  2202. for i = #Claw / 2, 1, -1 do
  2203. swait()
  2204. Claw[i].Transparency = 1
  2205. Claw[i + 10].Transparency = 1
  2206. end
  2207. end
  2208. ))
  2209. local reft = part(3, effects, 0, 1, BrickColor.new("White"), "Reference", vt())
  2210. reft.CFrame = cf(Torso.Position)
  2211. reft.CanCollide = true
  2212. local rtwld = weld(reft, RootPart, reft, cf(0, 0, 0) * euler(0, 0, 0))
  2213. dwld1.Part1 = reft
  2214. d2wld1.Part1 = reft
  2215. d3wld1.Part1 = reft
  2216. sizeseq = ns({nsk(0, 0), nsk(0.025, 2), nsk(0.192, 4), nsk(1, 5)})
  2217. transseq = ns({nsk(0, 0.8), nsk(0.3, 1), nsk(1, 1)})
  2218. local rara = particle(reft, Color3.new(1, 1, 1), Color3.new(0.3921568627451, 0.3921568627451, 1), 0.3, sizeseq, "http://www.roblox.com/asset/?id=241594419", transseq, 0, vt(0, 0, 0), 0, true, 0, "Bottom", true, nr(7, 10), 80, nr(-360, 360), nr(-30, 30), nr(0), 20)
  2219. sizeseq = ns({nsk(0, 0), nsk(0.054, 0.3), nsk(0.451, 0.2), nsk(1, 0.12)})
  2220. transseq = ns({nsk(0, 1), nsk(0.03, 1), nsk(0.1, 0.137), nsk(0.232, 1), nsk(1, 1)})
  2221. local rara2 = particle(reft, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "http://www.roblox.com/asset/?id=269030572", transseq, 0, vt(0, -35, 0), 0, false, 0, "Back", true, nr(1, 1.5), 80, nr(-360, 360), nr(-180, 180), nr(40), 180)
  2222. local cff = CFrame.new(RootPart.CFrame.p, Mouse.Hit.p) * CFrame.Angles(math.pi / 2, 0, 0)
  2223. local x, y, z = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2224. for i = 0, 1, 0.1 do
  2225. swait()
  2226. cff = CFrame.new(RootPart.CFrame.p, Mouse.Hit.p) * CFrame.Angles(math.pi / 2, 0, 0)
  2227. x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2228. rtwld.C0 = clerp(rtwld.C0, cf(0, 10, 0) * CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.45)
  2229. if drakes > 2 then
  2230. dwld1.C0 = clerp(dwld1.C0, cf(0, -2, 0) * euler(1, 0, mr(720) / 3), 0.45)
  2231. d2wld1.C0 = clerp(d2wld1.C0, cf(0, -2, 0) * euler(1, 0, mr(720) / 3 * 2), 0.45)
  2232. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -2, 0) * euler(1, 0, mr(720) / 3 * 3), 0.45)
  2233. else
  2234. if drakes > 1 then
  2235. dwld1.C0 = clerp(dwld1.C0, cf(0, -2, 0) * euler(1, 0, mr(720) / 2 * 0), 0.45)
  2236. d2wld1.C0 = clerp(d2wld1.C0, cf(0, -2, 0) * euler(1, 0, mr(720) / 2 * 0.5), 0.45)
  2237. else
  2238. if drakes > 0 then
  2239. dwld1.C0 = clerp(dwld1.C0, cf(0, -2, 0) * euler(1, 0, 0), 0.45)
  2240. end
  2241. end
  2242. end
  2243. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.6, 0, 0), 0.35)
  2244. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.35)
  2245. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(3, 0, 0.2) * euler(0, 0, 0), 0.35)
  2246. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(3, 0, -0.2), 0.35)
  2247. RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.1), 0.35)
  2248. LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.1), 0.35)
  2249. end
  2250. local deca = Instance.new("NumberValue", Stats)
  2251. deca.Name = "DecreaseMvmt"
  2252. deca.Value = 0.5
  2253. local tpos = Mouse.Hit.p
  2254. so("338594747", reft, 1, 0.6)
  2255. for i = 0, 1, 0.02 do
  2256. swait()
  2257. if i < 0.7 then
  2258. tpos = Mouse.Hit.p
  2259. end
  2260. sizeseq = ns({nsk(0, 0), nsk(0.025, 2 + 2 * i), nsk(0.192, 4 + 3 * i), nsk(1, 5 + 3 * i)})
  2261. rara.Size = sizeseq
  2262. cff = CFrame.new(RootPart.CFrame.p, tpos) * CFrame.Angles(math.pi / 2, 0, 0)
  2263. -- DECOMPILER ERROR at PC734: Overwrote pending register: R7 in 'AssignReg'
  2264.  
  2265. -- DECOMPILER ERROR at PC735: Overwrote pending register: R6 in 'AssignReg'
  2266.  
  2267. x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2268. rtwld.C0 = clerp(rtwld.C0, cf(0, 10, 0) * CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.45)
  2269. if drakes > 2 then
  2270. dwld1.C0 = clerp(dwld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, mr(720) / 3 + 6 * i), 0.45)
  2271. d2wld1.C0 = clerp(d2wld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, mr(720) / 3 * 2 + 6 * i), 0.45)
  2272. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, mr(720) / 3 * 3 + 6 * i), 0.45)
  2273. else
  2274. if drakes > 1 then
  2275. dwld1.C0 = clerp(dwld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, mr(720) / 2 * 0 + 6 * i), 0.45)
  2276. d2wld1.C0 = clerp(d2wld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, mr(720) / 2 * 0.5 + 6 * i), 0.45)
  2277. else
  2278. if drakes > 0 then
  2279. dwld1.C0 = clerp(dwld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, 12 * i), 0.45)
  2280. end
  2281. end
  2282. end
  2283. if i < 0.7 then
  2284. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.6, 0, 0), 0.35)
  2285. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.8, 0, 1) * euler(0, 0, 0), 0.2)
  2286. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.8, 0, -1), 0.2)
  2287. else
  2288. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.1, 0, 0), 0.35)
  2289. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 0) * euler(0, 0, 0), 0.35)
  2290. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.4, 0, -0.6), 0.35)
  2291. end
  2292. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.35)
  2293. RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.1), 0.35)
  2294. LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.1), 0.35)
  2295. end
  2296. deca.Value = 10
  2297. sizeseq = ns({nsk(0, 0), nsk(0.025, 4), nsk(0.192, 7), nsk(1, 8)})
  2298. rara.Size = sizeseq
  2299. sizeseq = ns({nsk(0, 0), nsk(0.054, 1), nsk(0.451, 0.6), nsk(1, 0.1)})
  2300. rara2.Size = sizeseq
  2301. rara2.Acceleration = vt(0, -10, 0)
  2302. rara2.Lifetime = nr(3, 3)
  2303. rara2.Speed = nr(20)
  2304. local fref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2305. fref.Anchored = true
  2306. fref.CFrame = cf(RootPart.Position)
  2307. game:GetService("Debris"):AddItem(fref, 1)
  2308. so("338594524", reft, 1, 0.4)
  2309. so("338594626", fref, 1, 0.8)
  2310. so("338594626", fref, 1, 1)
  2311. local da = 0
  2312. for i = 0, 1, 0.01 do
  2313. swait()
  2314. da = da + 1
  2315. cff = CFrame.new(RootPart.CFrame.p, tpos) * CFrame.Angles(math.pi / 2, 0, 0)
  2316.  
  2317. x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2318. rtwld.C0 = clerp(rtwld.C0, cf(0, 10, 0) * CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.45)
  2319. if drakes > 2 then
  2320. dwld1.C0 = clerp(dwld1.C0, cf(0, -5, 0) * euler(0.5, 0, mr(720) / 3 + 6 + 15 * i) * cf(0, 0, -1), 0.45)
  2321. d2wld1.C0 = clerp(d2wld1.C0, cf(0, -5, 0) * euler(0.5, 0, mr(720) / 3 * 2 + 6 + 15 * i) * cf(0, 0, -1), 0.45)
  2322. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -5, 0) * euler(0.5, 0, mr(720) / 3 * 3 + 6 + 15 * i) * cf(0, 0, -1), 0.45)
  2323. else
  2324. if drakes > 1 then
  2325. dwld1.C0 = clerp(dwld1.C0, cf(0, -5, 0) * euler(0.5, 0, mr(720) / 2 * 0 + 6 + 15 * i) * cf(0, 0, -1), 0.45)
  2326. d2wld1.C0 = clerp(d2wld1.C0, cf(0, -5, 0) * euler(0.5, 0, mr(720) / 2 * 0.5 + 6 + 15 * i) * cf(0, 0, -1), 0.45)
  2327. else
  2328. if drakes > 0 then
  2329. dwld1.C0 = clerp(dwld1.C0, cf(0, -5, 0) * euler(0.5, 0, 12 + 20 * i) * cf(0, 0, -1), 0.45)
  2330. end
  2331. end
  2332. end
  2333. local hit, pos = rayCast(reft.Position, cf(reft.Position, tpos).lookVector, 300, Character)
  2334. local mag = (reft.Position - pos).magnitude
  2335. MagicHead(BrickColor.new("White"), CFrame.new((reft.Position + pos) / 2, pos) * angles(1.57, 0, 0), 15, mag * 5, 15, 3, 1, 3, 0.1)
  2336. MagicCircle(BrickColor.new(NewCol2), cf(pos) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 40, 10, 40, -3, 30, -3, 0.1)
  2337. if (da) % 5 == 0 then
  2338. fref.CFrame = cf(pos) * cf(math.random(-1000, 1000) / 100, 5, math.random(-1000, 1000) / 100)
  2339. --[[local freezepart = part(3, workspace, 0.5, 0.5, BrickColor.new(NewCol3), "Ice Part", vt(math.random(1, 2) + math.random(), math.random(1, 2) + math.random(), math.random(1, 2) + math.random()))
  2340. freezepart.Anchored = true
  2341. freezepart.CanCollide = true
  2342. freezepart.Material = Enum.Material.Neon ]]
  2343. local hitfloor, posfloor = rayCast(fref.Position, CFrame.new(fref.Position, fref.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  2344. --freezepart.CFrame = cf(posfloor) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2345. --[[game:GetService("Debris"):AddItem(freezepart, 10)
  2346. if hitfloor == nil then
  2347. freezepart.Parent = nil
  2348. end ]]
  2349. fref.CFrame = cf(pos)
  2350. freeze = true
  2351. dam1 = drakes * 1
  2352. dam2 = drakes * 1.2
  2353. MagniDamage(fref, 10, 5 + dam2, 7 + dam2, 0, "Knockdown2", fref, 0.5, 1, (math.random(6, 8)), nil, nil, true)
  2354. freeze = false
  2355. end
  2356. do
  2357. if (da) % 7 == 0 then
  2358. fref.CFrame = cf(pos) * cf(math.random(-2000, 2000) / 100, 5, math.random(-2000, 2000) / 100)
  2359. --[[local freezepart = part(3, workspace, 0.5, 0.5, BrickColor.new(NewCol3), "Ice Part", vt(math.random(50, 100) / 100, math.random(300, 500) / 100, math.random(50, 100) / 100))
  2360. freezepart.Anchored = true
  2361. freezepart.CanCollide = true
  2362. freezepart.Material = Enum.Material.Neon ]]
  2363. local hitfloor, posfloor = rayCast(fref.Position, CFrame.new(fref.Position, fref.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  2364. --freezepart.CFrame = cf(posfloor) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2365. --[[game:GetService("Debris"):AddItem(freezepart, 10)
  2366. if hitfloor == nil then
  2367. freezepart.Parent = nil
  2368. end ]]
  2369. end
  2370. do
  2371. if (da) % 10 == 0 then
  2372. fref.CFrame = cf(pos)
  2373. MagniDamage(fref, 20, 3, 4, 0, "Normal", fref, 0.2, 1, (math.random(1, 3)), nil, nil, true, "Movement", 0.02, 200)
  2374. end
  2375. end
  2376. end
  2377. end
  2378. coroutine.resume(coroutine.create(function()
  2379. for i = 1, #Claw / 2 do
  2380. Claw[i].Transparency = 0
  2381. Claw[i + 10].Transparency = 0
  2382. swait()
  2383. end
  2384. end
  2385. ))
  2386. parti1.Enabled = false
  2387. parti2.Enabled = false
  2388. if drakes > 0 then
  2389. parti3.Enabled = true
  2390. end
  2391. d2parti1.Enabled = false
  2392. d2parti2.Enabled = false
  2393. if drakes > 1 then
  2394. d2parti3.Enabled = true
  2395. end
  2396. d3parti1.Enabled = false
  2397. d3parti2.Enabled = false
  2398. if drakes > 2 then
  2399. d3parti3.Enabled = true
  2400. end
  2401. rara.Enabled = false
  2402. rara2.Enabled = false
  2403. for i = 0, 1, 0.05 do
  2404. swait()
  2405. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.3)
  2406. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.2) * euler(0.8, 0, 0) * euler(0, 0, -0.6), 0.3)
  2407. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.8, 0, 1) * euler(0, -0.7, 0) * euler(0, 0, -0.5), 0.3)
  2408. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -0.1), 0.3)
  2409. RH.C0 = clerp(RH.C0, cf(0.95, -0.7, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
  2410. LH.C0 = clerp(LH.C0, cf(-1.1, 0.4, -0.2) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(0, 0, -0.6), 0.3)
  2411. end
  2412. if drakes > 0 then
  2413. for _,c in pairs(model2:children()) do
  2414. c.Transparency = 1
  2415. end
  2416. end
  2417. do
  2418. if drakes > 1 then
  2419. for _,c in pairs(model3:children()) do
  2420. c.Transparency = 1
  2421. end
  2422. end
  2423. do
  2424. if drakes > 2 then
  2425. for _,c in pairs(model4:children()) do
  2426. c.Transparency = 1
  2427. end
  2428. end
  2429. do
  2430. parti3.Enabled = false
  2431. d2parti3.Enabled = false
  2432. d3parti3.Enabled = false
  2433. drakes = 0
  2434. deca.Parent = nil
  2435. dwld1.Part1 = RootPart
  2436. d2wld1.Part1 = RootPart
  2437. d3wld1.Part1 = RootPart
  2438. reft.Parent = nil
  2439. dattack = false
  2440. attack = false
  2441. swait(20)
  2442. if drakes < 1 then
  2443. model2.Parent = nil
  2444. end
  2445. if drakes < 2 then
  2446. model3.Parent = nil
  2447. end
  2448. if drakes < 3 then
  2449. model4.Parent = nil
  2450. end
  2451. end
  2452. end
  2453. end
  2454. end
  2455. end
  2456.  
  2457. findNearestTorso = function(pos, distance)
  2458. local list = (game.Workspace:children())
  2459. local torso = nil
  2460. local dist = distance
  2461. local temp, human, temp2 = nil, nil, nil
  2462. for x = 1, #list do
  2463. temp2 = list[x]
  2464. canfind = true
  2465. -- DECOMPILER ERROR at PC36: Unhandled construct in 'MakeBoolean' P1
  2466.  
  2467. if game.Players:GetPlayerFromCharacter(temp2) ~= nil and game.Players:GetPlayerFromCharacter(temp2).TeamColor == Player.TeamColor and Player.Neutral == false then
  2468. canfind = false
  2469. end
  2470. canfind = true
  2471. if temp2.className == "Model" and temp2 ~= Character and canfind == true then
  2472. temp = temp2:findFirstChild("Torso")
  2473. human = temp2:findFirstChild("Humanoid")
  2474. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  2475. torso = temp
  2476. dist = (temp.Position - pos).magnitude
  2477. end
  2478. end
  2479. end
  2480. return torso, dist
  2481. end
  2482.  
  2483. DecreaseStat = function(Model, Stat, Amount, Duration)
  2484. if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
  2485. Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
  2486. d = Instance.new("NumberValue", Model.Stats.Decrease)
  2487. dur = Instance.new("NumberValue", d)
  2488. dur.Name = "Duration"
  2489. dur.Value = Duration
  2490. game:GetService("Debris"):AddItem(d, 20)
  2491. if Stat == "Damage" then
  2492. d.Name = "DecreaseAtk"
  2493. else
  2494. if Stat == "Defense" then
  2495. d.Name = "DecreaseDef"
  2496. else
  2497. if Stat == "Movement" then
  2498. d.Name = "DecreaseMvmt"
  2499. end
  2500. end
  2501. end
  2502. if Model:findFirstChild("Torso") ~= nil then
  2503. display = ""
  2504. if Stat == "Damage" then
  2505. if Amount > 0 then
  2506. display = "-Damage"
  2507. else
  2508. display = "+Damage"
  2509. end
  2510. else
  2511. if Stat == "Defense" then
  2512. if Amount > 0 then
  2513. display = "-Defense"
  2514. else
  2515. display = "+Defense"
  2516. end
  2517. else
  2518. if Stat == "Movement" then
  2519. if Amount > 0 then
  2520. display = "-Movement"
  2521. else
  2522. display = "+Movement"
  2523. end
  2524. end
  2525. end
  2526. end
  2527. Frost = math.floor(Frost + Amount * math.random(40, 60))
  2528. end
  2529. d.Value = Amount
  2530. end
  2531. end
  2532.  
  2533. GetDist = function(Part1, Part2, magni)
  2534. local targ = Part1.Position - Part2.Position
  2535. local mag = targ.magnitude
  2536. if mag <= magni then
  2537. return true
  2538. else
  2539. return false
  2540. end
  2541. end
  2542.  
  2543. MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2544. for _,c in pairs(workspace:children()) do
  2545. local hum = c:findFirstChild("Humanoid")
  2546. if hum ~= nil then
  2547. local head = nil
  2548. for _,d in pairs(c:children()) do
  2549. if d.className == "Model" and ranged ~= true then
  2550. head = d:findFirstChild("Hitbox")
  2551. if d.Parent == Character then
  2552. break
  2553. end
  2554. if head ~= nil then
  2555. local targ = head.Position - Part.Position
  2556. local mag = targ.magnitude
  2557. if mag <= magni and c.Name ~= Player.Name then
  2558. ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2559. ref.Anchored = true
  2560. ref.CFrame = cf(head.Position)
  2561. game:GetService("Debris"):AddItem(ref, 1)
  2562. hitnum = math.random(1, 5)
  2563. if hitnum == 1 then
  2564. so("199148971", ref, 1, 1)
  2565. else
  2566. if hitnum == 2 then
  2567. so("199149025", ref, 1, 1)
  2568. else
  2569. if hitnum == 3 then
  2570. so("199149072", ref, 1, 1)
  2571. else
  2572. if hitnum == 4 then
  2573. so("199149109", ref, 1, 1)
  2574. else
  2575. if hitnum == 5 then
  2576. so("199149119", ref, 1, 1)
  2577. end
  2578. end
  2579. end
  2580. end
  2581. end
  2582. end
  2583. end
  2584. end
  2585. do
  2586. if d.className == "Part" then
  2587. head = d
  2588. if head ~= nil then
  2589. local targ = head.Position - Part.Position
  2590. local mag = targ.magnitude
  2591. if mag <= magni and c.Name ~= Player.Name then
  2592. Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2593. end
  2594. end
  2595. end
  2596. do
  2597. -- DECOMPILER ERROR at PC183: LeaveBlock: unexpected jumping out DO_STMT
  2598.  
  2599. end
  2600. end
  2601. end
  2602. end
  2603. end
  2604. end
  2605.  
  2606. MagniBuff = function(Part, magni, Dec, DecAm, Dur)
  2607. DecreaseStat(Character, Dec, DecAm, Dur)
  2608. for _,c in pairs(workspace:children()) do
  2609. local hum = c:findFirstChild("Humanoid")
  2610. if hum ~= nil then
  2611. local head = c:findFirstChild("Torso")
  2612. if head ~= nil then
  2613. local targ = head.Position - Part.Position
  2614. local mag = targ.magnitude
  2615. cando = true
  2616. if mag <= magni then
  2617. if Player.Neutral == false then
  2618. if game.Players:GetPlayerFromCharacter(head.Parent) ~= nil then
  2619. if game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  2620. cando = true
  2621. else
  2622. cando = false
  2623. end
  2624. else
  2625. cando = false
  2626. end
  2627. if head.Parent:findFirstChild("Alignment") ~= nil and head.Parent.Alignment.Value == Player.TeamColor.Color then
  2628. cando = true
  2629. end
  2630. else
  2631. cando = false
  2632. end
  2633. if cando == true then
  2634. DecreaseStat(head.Parent, Dec, DecAm, Dur)
  2635. end
  2636. end
  2637. end
  2638. end
  2639. end
  2640. end
  2641.  
  2642. rayCast = function(Pos, Dir, Max, Ignore)
  2643. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2644. end
  2645.  
  2646. local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
  2647. LastPoint = Point
  2648. effect = function(Color, Ref, LP, P1, returnn, size, thing1)
  2649. if LP == nil or P1 == nil then
  2650. return
  2651. end
  2652. local effectsmsh = Instance.new("CylinderMesh")
  2653. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2654. effectsmsh.Name = "Mesh"
  2655. local effectsg = Instance.new("Part")
  2656. NoOutline(effectsg)
  2657. effectsg.formFactor = 3
  2658. effectsg.Material = Enum.Material.Neon
  2659. effectsg.CanCollide = false
  2660. effectsg.Name = "Eff"
  2661. effectsg.Locked = true
  2662. effectsg.Anchored = true
  2663. effectsg.Size = Vector3.new(0.5, 1, 0.5)
  2664. effectsg.Parent = workspace
  2665. effectsmsh.Parent = effectsg
  2666. effectsg.BrickColor = BrickColor.new(Color)
  2667. effectsg.Reflectance = Ref
  2668. local point1 = P1
  2669. local mg = (LP.p - point1.p).magnitude
  2670. effectsg.Size = Vector3.new(0.5, mg, 0.5)
  2671. effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  2672. effectsmsh.Scale = Vector3.new(size, 1, size)
  2673. game:GetService("Debris"):AddItem(effectsg, 2)
  2674. if returnn then
  2675. return effectsg
  2676. end
  2677. if not returnn then
  2678. if thing1 == 1 then
  2679. Cylinder(effectsg, 0.05, 0.2, 0, 0.2, effectsmsh)
  2680. else
  2681. if thing1 == 2 then
  2682. Cylinder(effectsg, 0.2, 0.01, 0, 0.01, effectsmsh)
  2683. else
  2684. if thing1 == 3 then
  2685. Cylinder(effectsg, 0, 0, 0, 0.1, effectsmsh)
  2686. end
  2687. end
  2688. end
  2689. end
  2690. end
  2691.  
  2692. effect2 = function(Color, Ref, LP, P1, returnn, size, raa)
  2693. if LP == nil or P1 == nil then
  2694. return
  2695. end
  2696. MshTypee = "CylinderMesh"
  2697. if raa == 2 then
  2698. MshTypee = "BlockMesh"
  2699. end
  2700. local effectsmsh = Instance.new(MshTypee)
  2701. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2702. effectsmsh.Name = "Mesh"
  2703. local effectsg = Instance.new("Part")
  2704. NoOutline(effectsg)
  2705. if raa == 2 then
  2706. effectsg.Material = "Neon"
  2707. end
  2708. effectsg.formFactor = 3
  2709. effectsg.Material = Enum.Material.Neon
  2710. effectsg.CanCollide = false
  2711. effectsg.Name = "Eff"
  2712. effectsg.Locked = true
  2713. effectsg.Anchored = true
  2714. effectsg.Size = Vector3.new(0.5, 1, 0.5)
  2715. effectsg.Parent = workspace
  2716. effectsmsh.Parent = effectsg
  2717. effectsg.BrickColor = BrickColor.new(Color)
  2718. effectsg.Reflectance = Ref
  2719. local point1 = P1
  2720. local mg = (LP.p - point1.p).magnitude
  2721. effectsg.Size = Vector3.new(0.5, mg, 0.5)
  2722. effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  2723. effectsmsh.Scale = Vector3.new(size, 1, size)
  2724. game:GetService("Debris"):AddItem(effectsg, 5)
  2725. if returnn then
  2726. return effectsg
  2727. end
  2728. if not returnn then
  2729. if raa == 2 then
  2730. Cylinder(effectsg, 0.05, -0.05, 0, -0.05, effectsmsh)
  2731. else
  2732. Cylinder(effectsg, 0.1, -0.2, 0, -0.2, effectsmsh)
  2733. end
  2734. end
  2735. end
  2736.  
  2737. local CFrameFromTopBack = function(at, top, back)
  2738. local right = top:Cross(back)
  2739. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  2740. end
  2741.  
  2742. Triangle = function(a, b, c)
  2743. local edg1 = c - a:Dot(b - a.unit)
  2744. local edg2 = a - b:Dot(c - b.unit)
  2745. local edg3 = b - c:Dot(a - c.unit)
  2746. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  2747. a = a
  2748. else
  2749. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  2750.  
  2751. if edg2 <= (c - b).magnitude and edg2 >= 0 then
  2752. a = b
  2753. else
  2754. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  2755.  
  2756. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  2757.  
  2758. if edg3 <= (a - c).magnitude and edg3 >= 0 then
  2759. a = c
  2760. else
  2761. assert(false, "unreachable")
  2762. end
  2763. end
  2764. end
  2765. local len1 = c - a:Dot(b - a.unit)
  2766. local len2 = (b - a).magnitude - len1
  2767. local width = (a + b - a.unit * len1 - c).magnitude
  2768. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  2769. local list = {}
  2770. if len1 > 0.01 then
  2771. local w1 = Instance.new("WedgePart", m)
  2772. w1.Name = "Triangle"
  2773. game:GetService("Debris"):AddItem(w1, 5)
  2774. w1.Material = "Neon"
  2775. w1.FormFactor = "Custom"
  2776. w1.BrickColor = BrickColor.new("Medium blue")
  2777. w1.Transparency = 0
  2778. w1.Reflectance = 0
  2779. w1.Material = "Neon"
  2780. w1.CanCollide = false
  2781. NoOutline(w1)
  2782. local sz = Vector3.new(0.2, width, len1)
  2783. w1.Size = sz
  2784. local sp = Instance.new("SpecialMesh", w1)
  2785. sp.MeshType = "Wedge"
  2786. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  2787. w1:BreakJoints()
  2788. w1.Anchored = true
  2789. w1.Parent = workspace
  2790. w1.Transparency = 0.7
  2791. table.insert(Effects, {w1, "Disappear", 0.05})
  2792. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  2793. table.insert(list, w1)
  2794. end
  2795. do
  2796. if len2 > 0.01 then
  2797. local w2 = Instance.new("WedgePart", m)
  2798. w2.Name = "Triangle"
  2799. game:GetService("Debris"):AddItem(w2, 5)
  2800. w2.Material = "Neon"
  2801. w2.FormFactor = "Custom"
  2802. w2.BrickColor = BrickColor.new("Medium blue")
  2803. w2.Transparency = 0
  2804. w2.Reflectance = 0
  2805. w2.Material = "Neon"
  2806. w2.CanCollide = false
  2807. NoOutline(w2)
  2808. local sz = Vector3.new(0.2, width, len2)
  2809. w2.Size = sz
  2810. local sp = Instance.new("SpecialMesh", w2)
  2811. sp.MeshType = "Wedge"
  2812. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  2813. w2:BreakJoints()
  2814. w2.Anchored = true
  2815. w2.Parent = workspace
  2816. w2.Transparency = 0.7
  2817. table.insert(Effects, {w2, "Disappear", 0.05})
  2818. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  2819. table.insert(list, w2)
  2820. end
  2821. do
  2822. return unpack(list)
  2823. end
  2824. end
  2825. end
  2826.  
  2827. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2828. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2829. prt.Anchored = true
  2830. prt.CFrame = cframe
  2831. prt.Material = Enum.Material.Neon
  2832. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2833. game:GetService("Debris"):AddItem(prt, 10)
  2834. if Type == 1 or Type == nil then
  2835. Block1(prt, delay, x3, y3, z3, msh)
  2836. else
  2837. if Type == 2 then
  2838. Block2(prt, delay, x3, y3, z3, msh)
  2839. else
  2840. if Type == 3 then
  2841. Block3(prt, delay, x3, y3, z3, msh, prt.CFrame)
  2842. end
  2843. end
  2844. end
  2845. end
  2846.  
  2847. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2848. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2849. prt.Anchored = true
  2850. prt.CFrame = cframe
  2851. prt.Material = Enum.Material.Neon
  2852. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2853. game:GetService("Debris"):AddItem(prt, 10)
  2854. Cylinder(prt, delay, x3, y3, z3, msh)
  2855. end
  2856.  
  2857. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2858. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2859. prt.Anchored = true
  2860. prt.CFrame = cframe
  2861. prt.Material = Enum.Material.Neon
  2862. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2863. game:GetService("Debris"):AddItem(prt, 10)
  2864. Cylinder(prt, delay, x3, y3, z3, msh)
  2865. end
  2866.  
  2867. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  2868. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2869. prt.Anchored = true
  2870. prt.Material = Enum.Material.Neon
  2871. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2872. game:GetService("Debris"):AddItem(prt, 10)
  2873. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2874. local num = math.random(10, 50) / 1000
  2875. Shatter(prt, num, math.random() - math.random(), 0, math.random(50, 100) / 100)
  2876. end
  2877.  
  2878. Lightning = function(p0, p1, tym, ofs, col, th, tra, last)
  2879. local magz = (p0 - p1).magnitude
  2880. local curpos = p0
  2881. local trz = {-ofs, ofs}
  2882. for i = 1, tym do
  2883. local li = Instance.new("Part", workspace)
  2884. li.TopSurface = 0
  2885. li.BottomSurface = 0
  2886. li.Anchored = true
  2887. li.Transparency = tra or 0.4
  2888. li.BrickColor = BrickColor.new(col)
  2889. li.formFactor = "Custom"
  2890. li.CanCollide = false
  2891. li.Size = Vector3.new(th, th, magz / tym)
  2892. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2893. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  2894. if tym == i then
  2895. local magz2 = (curpos - p1).magnitude
  2896. li.Size = Vector3.new(th, th, magz2)
  2897. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  2898. else
  2899. do
  2900. do
  2901. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  2902. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  2903. game.Debris:AddItem(li, 10)
  2904. table.insert(Effects, {li, "Disappear", last})
  2905. -- DECOMPILER ERROR at PC137: LeaveBlock: unexpected jumping out DO_STMT
  2906.  
  2907. -- DECOMPILER ERROR at PC137: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  2908.  
  2909. -- DECOMPILER ERROR at PC137: LeaveBlock: unexpected jumping out IF_STMT
  2910.  
  2911. end
  2912. end
  2913. end
  2914. end
  2915. end
  2916.  
  2917. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2918. if hit.Parent == nil then
  2919. return
  2920. end
  2921. h = hit.Parent:FindFirstChild("Humanoid")
  2922. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2923. c = Instance.new("ObjectValue")
  2924. c.Name = "creator"
  2925. c.Value = game:service("Players").LocalPlayer
  2926. c.Parent = h
  2927. RecentEnemy.Value = hit.Parent
  2928. game:GetService("Debris"):AddItem(c, 0.5)
  2929. minim = minim
  2930. maxim = maxim
  2931. Damage = 0
  2932. if minim == maxim then
  2933. Damage = maxim
  2934. else
  2935. Damage = math.random(minim, maxim)
  2936. end
  2937. Damage = Damage/5
  2938. h:TakeDamage(Damage)
  2939. if hit.Parent:FindFirstChild("Head") ~= nil then
  2940. ShowDamage(hit.Parent:FindFirstChild("Head").Position+vt(0,2,0), Damage)
  2941. end
  2942. if breakfreeze == true then
  2943. for i = 1, #FStacks do
  2944. if tors == FStacks[i][1] and FStacks[i][3] == true then
  2945. so("338594737", hit, 1, 1)
  2946. Damage = Damage + math.random(FStacks[i][4].Value * 1.1, FStacks[i][4].Value * 1.3)
  2947. incstun = incstun + math.random(FStacks[i][4].Value * 1.8, FStacks[i][4].Value * 2)
  2948. end
  2949. end
  2950. end
  2951. do
  2952. blocked = false
  2953. enblock = nil
  2954.  
  2955. end
  2956. end
  2957. end
  2958.  
  2959. function ShowDamage(Pos, Text)
  2960. local Rate = (1 / 30)
  2961. local Pos = (Pos or Vector3.new(0, 0, 0))
  2962. local Text = (Text or "")
  2963. local Color = BrickColor.new("Medium blue")
  2964. local EffectPart = part("Custom",modelzorz,0,1,Color,"Effect",Vector3.new(0,0,0))
  2965. EffectPart.Anchored = true
  2966. local BillboardGui = Instance.new("BillboardGui")
  2967. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  2968. BillboardGui.Adornee = EffectPart
  2969. local TextLabel = Instance.new("TextLabel")
  2970. TextLabel.BackgroundTransparency = 1
  2971. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  2972. TextLabel.Text = Text
  2973. TextLabel.TextColor3 = Color.Color
  2974. TextLabel.TextScaled = true
  2975. TextLabel.Font = Enum.Font.ArialBold
  2976. TextLabel.Parent = BillboardGui
  2977. BillboardGui.Parent = EffectPart
  2978. game.Debris:AddItem(EffectPart, (1.5 + 0.1))
  2979. EffectPart.Parent = modelzorz
  2980. delay(0, function()
  2981. local Frames = (1.5 / Rate)
  2982. for Frame = 1, Frames do
  2983. wait(Rate)
  2984. local Percent = (Frame / Frames)
  2985. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2986. TextLabel.TextTransparency = Percent
  2987. end
  2988. if EffectPart and EffectPart.Parent then
  2989. EffectPart:remove()
  2990. end
  2991. end)
  2992. end
  2993.  
  2994. combo = 0
  2995. ob1d = function()
  2996. if attack == true or equipped == false then
  2997. return
  2998. end
  2999. hold = true
  3000. if combo == 0 then
  3001. combo = 1
  3002. attackone()
  3003. else
  3004. if combo == 1 then
  3005. combo = 2
  3006. attacktwo()
  3007. else
  3008. if combo == 2 then
  3009. combo = 3
  3010. attackthree()
  3011. else
  3012. if combo == 3 then
  3013. combo = 0
  3014. attackfour()
  3015. end
  3016. end
  3017. end
  3018. end
  3019. coroutine.resume(coroutine.create(function()
  3020. for i = 1, 50 do
  3021. if attack == false then
  3022. swait()
  3023. end
  3024. end
  3025. if attack == false then
  3026. combo = 0
  3027. end
  3028. end
  3029. ))
  3030. end
  3031.  
  3032. ob1u = function()
  3033. hold = false
  3034. end
  3035.  
  3036. buttonhold = false
  3037. eul = 0
  3038. equipped = false
  3039. key = function(key)
  3040. if key == "c" and dryice == true then
  3041. do3()
  3042. return
  3043. end
  3044. if attack == true then
  3045. return
  3046. end
  3047. if key == "f" and Mode == "Drakes" then
  3048. attack = true
  3049. if equipped == false then
  3050.  
  3051. coroutine.resume(coroutine.create(function()
  3052. local Old_W = Humanoid.WalkSpeed
  3053. local Old_J = Humanoid.JumpPower
  3054. Humanoid.WalkSpeed = 0
  3055. Humanoid.JumpPower = 0
  3056. repeat swait() until hitfloor ~= nil
  3057. swait(20)
  3058. Character.Animate.Disabled = true
  3059. Humanoid.WalkSpeed = Old_W
  3060. Humanoid.JumpPower = Old_J
  3061. end))
  3062.  
  3063. equipped = true
  3064. RSH = ch.Torso["Right Shoulder"]
  3065. LSH = ch.Torso["Left Shoulder"]
  3066. RSH.Parent = nil
  3067. LSH.Parent = nil
  3068. RW.Name = "Right Shoulder"
  3069. RW.Part0 = ch.Torso
  3070. RW.C0 = cf(1.5, 0.5, 0)
  3071. RW.C1 = cf(0, 0.5, 0)
  3072. RW.Part1 = ch["Right Arm"]
  3073. RW.Parent = ch.Torso
  3074. LW.Name = "Left Shoulder"
  3075. LW.Part0 = ch.Torso
  3076. LW.C0 = cf(-1.5, 0.5, 0)
  3077. LW.C1 = cf(0, 0.5, 0)
  3078. LW.Part1 = ch["Left Arm"]
  3079. LW.Parent = ch.Torso
  3080. equipanim()
  3081. else
  3082.  
  3083. coroutine.resume(coroutine.create(function()
  3084. local Old_W = Humanoid.WalkSpeed
  3085. local Old_J = Humanoid.JumpPower
  3086. Humanoid.WalkSpeed = 0
  3087. Humanoid.JumpPower = 0
  3088. repeat swait() until hitfloor ~= nil
  3089. swait(20)
  3090. Character.Animate.Disabled = false
  3091. Humanoid.WalkSpeed = Old_W
  3092. Humanoid.JumpPower = Old_J
  3093. end))
  3094.  
  3095. equipped = false
  3096. hideanim()
  3097. LH.C1 = LHC1
  3098. RH.C1 = RHC1
  3099. swait(0)
  3100. RW.Parent = nil
  3101. LW.Parent = nil
  3102. RSH.Parent = player.Character.Torso
  3103. LSH.Parent = player.Character.Torso
  3104. swait(20)
  3105. model2.Parent = nil
  3106. model3.Parent = nil
  3107. model4.Parent = nil
  3108. end
  3109. attack = false
  3110. end
  3111. if equipped == false then
  3112. return
  3113. end
  3114. if key == "e" and drakes > 0 then
  3115. IcyMonarch()
  3116. end
  3117. if key == "z" then
  3118. do1()
  3119. end
  3120. if key == "x" then
  3121. do2()
  3122. end
  3123. if key == "c" then
  3124. do3()
  3125. end
  3126. if key == "v" then
  3127. do4()
  3128. end
  3129. if key == "q" and drakes < 3 and Mode ~= "Monarch" then
  3130. IceDrake()
  3131. end
  3132. end
  3133.  
  3134. key2 = function(key)
  3135. end
  3136.  
  3137. s = function()
  3138. Mouse.Button1Down:connect(function()
  3139. ob1d()
  3140. end
  3141. )
  3142. Mouse.Button1Up:connect(function()
  3143. ob1u()
  3144. end
  3145. )
  3146. Mouse.KeyDown:connect(key)
  3147. Mouse.KeyUp:connect(key2)
  3148. player = Player
  3149. ch = Character
  3150. end
  3151.  
  3152. s()
  3153.  
  3154. local donum = 0
  3155. local walk = 0
  3156. local walkforw = true
  3157. while true do
  3158. swait()
  3159. if 0.5 <= donum then
  3160. handidle = true
  3161. else
  3162. if donum <= 0 then
  3163. handidle = false
  3164. end
  3165. end
  3166. if handidle == false then
  3167. donum = donum + 0.003
  3168. else
  3169. donum = donum - 0.003
  3170. end
  3171. torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3172. velderp=RootPart.Velocity.y
  3173. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  3174. if equipped == true then
  3175. if Anim == "Walk" then
  3176. if walkforw == true then
  3177. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  3178. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  3179. if attack == false then
  3180. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0.5, 0, 0), Mvmt.Value * 10 / 50)
  3181. else
  3182. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3183. end
  3184. else
  3185. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  3186. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  3187. if attack == false then
  3188. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(-1, 0, 0), Mvmt.Value * 10 / 50)
  3189. else
  3190. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3191. end
  3192. end
  3193. else
  3194. RH.C1 = clerp(RH.C1, RHC1, 0.2)
  3195. LH.C1 = clerp(LH.C1, LHC1, 0.2)
  3196. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3197. end
  3198. if 1 < RootPart.Velocity.y and hitfloor == nil then
  3199. Anim = "Jump"
  3200. if dattack == false then
  3201. dwld1.C0 = clerp(dwld1.C0, cf(3.5, -1.8, -1.5) * euler(0.1, 0.5, 0) * euler(0.5, 0, 0), 0.3)
  3202. d2wld1.C0 = clerp(d2wld1.C0, cf(-3.5, -1.8, -1.5) * euler(0.1, -0.5, 0) * euler(0.5, 0, 0), 0.3)
  3203. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4.5, -1.5) * euler(0.8, 0, 0) * euler(0, 0, 0), 0.3)
  3204. end
  3205. if attack == false then
  3206. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.2)
  3207. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  3208. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3209. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1, 0, 0.2) * euler(0, -1.5, 0), 0.2)
  3210. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3211. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-1, 0, -0.2), 0.2)
  3212. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3213. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  3214. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  3215. end
  3216. else
  3217. if RootPart.Velocity.y < -1 and hitfloor == nil then
  3218. Anim = "Fall"
  3219. if dattack == false then
  3220. dwld1.C0 = clerp(dwld1.C0, cf(3.5, -1.8, -1.5) * euler(0.1, 0.5, 0) * euler(0.5, 0, 0), 0.3)
  3221. d2wld1.C0 = clerp(d2wld1.C0, cf(-3.5, -1.8, -1.5) * euler(0.1, -0.5, 0) * euler(0.5, 0, 0), 0.3)
  3222. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4.5, -1.5) * euler(0.8, 0, 0) * euler(0, 0, 0), 0.3)
  3223. end
  3224. if attack == false then
  3225. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
  3226. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  3227. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3228. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.8) * euler(0, -1.5, 0), 0.2)
  3229. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3230. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.8), 0.2)
  3231. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  3232. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  3233. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  3234. end
  3235. else
  3236. if torvel < 1 and hitfloor ~= nil then
  3237. Anim = "Idle"
  3238. if Mode == "Drakes" then
  3239. if dattack == false then
  3240. dwld1.C0 = clerp(dwld1.C0, cf(3.8, -2.2 + (donum) / 3, 0.5) * euler(0.2 + (donum) / 4, 0, -0.4 + (donum) / 4) * euler(0, 0.3, 0), 0.3)
  3241. d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2 + (donum) / 3, 0.5) * euler(0.2 + (donum) / 4, 0, 0.4 - (donum) / 4) * euler(0, -0.3, 0), 0.3)
  3242. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4 + (donum) / 3, 0.5) * euler(0.4 + (donum) / 4, 0, 0) * euler(0, 0, 0), 0.3)
  3243. end
  3244. if attack == false then
  3245. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.2)
  3246. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.4) * euler(0.2 + (donum) / 4, 0, 0), 0.2)
  3247. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.6, 0, 0.7 - (donum) / 3) * euler(0, -1, 0), 0.2)
  3248. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.4 + (donum) / 3), 0.2)
  3249. RH.C0 = clerp(RH.C0, cf(1, -0.7, -0.3) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.1 + (donum) / 4), 0.2)
  3250. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.05, 0, -0.15 - (donum) / 4), 0.2)
  3251. end
  3252. else
  3253. if Mode == "Monarch" and attack == false then
  3254. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(-0.1 + (donum) / 2, 0, 0), 0.2)
  3255. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.4 + (donum) / 4, 0, 0) * euler(0, 0, -0.4), 0.2)
  3256. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.8, 0, 1 - (donum) / 3) * euler(0, -0.7, 0) * euler(0, 0, -0.5), 0.2)
  3257. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.4 + (donum) / 3), 0.2)
  3258. RH.C0 = clerp(RH.C0, cf(0.95, -0.7, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.1 + (donum) / 4), 0.2)
  3259. LH.C0 = clerp(LH.C0, cf(-1.1, -0.4, -0.5) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(0, 0, -0.4 - (donum) / 4), 0.2)
  3260. end
  3261. end
  3262. else
  3263. if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  3264. Anim = "Walk"
  3265. walk = walk + 1
  3266. if 15 - 5 * Mvmt.Value <= walk then
  3267. walk = 0
  3268. if walkforw == true then
  3269. walkforw = false
  3270. else
  3271. if walkforw == false then
  3272. walkforw = true
  3273. end
  3274. end
  3275. end
  3276. if Mode == "Drakes" then
  3277. Character.Humanoid.WalkSpeed="16"
  3278. if dattack == false then
  3279. dwld1.C0 = clerp(dwld1.C0, cf(4.5, -2 + (donum) / 3, 1.5) * euler(0.2 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
  3280. d2wld1.C0 = clerp(d2wld1.C0, cf(-4.5, -2 + (donum) / 3, 1.5) * euler(0.2 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
  3281. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4 + (donum) / 3, 1.5) * euler(0.4 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
  3282. end
  3283. if attack == false then
  3284. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
  3285. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
  3286. RW.C0 = clerp(RW.C0, cf(1.2, 0.4, 0.3) * euler(0.4, 0, 1) * euler(0, -1, 0), 0.25)
  3287. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.2), 0.25)
  3288. RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.2), 0.25)
  3289. LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.2), 0.25)
  3290. end
  3291. else
  3292. if Mode == "Monarch" and attack == false then
  3293. Character.Humanoid.WalkSpeed="29"
  3294. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
  3295. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.4, 0, 0) * euler(0, 0, 0), 0.25)
  3296. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.8, 0, 1) * euler(0, -0.7, 0) * euler(0, 0, -0.5), 0.25)
  3297. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.4), 0.25)
  3298. RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.2), 0.25)
  3299. LH.C0 = clerp(LH.C0, cf(-1, -0.4, -0.5) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.1, 0, -0.4), 0.25)
  3300. end
  3301. end
  3302. else
  3303. if 30 <= torvel and hitfloor ~= nil then
  3304. Anim = "Run"
  3305. if dattack == false then
  3306. dwld1.C0 = clerp(dwld1.C0, cf(4.5, -2 + (donum) / 3, 1.5) * euler(0.2 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
  3307. d2wld1.C0 = clerp(d2wld1.C0, cf(-4.5, -2 + (donum) / 3, 1.5) * euler(0.2 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
  3308. d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4 + (donum) / 3, 1.5) * euler(0.4 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
  3309. end
  3310. if attack == false then
  3311. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.9) * euler(-0.2, 0, 0), 0.4)
  3312. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0) * euler(0, 0, 0.8), 0.4)
  3313. RW.C0 = clerp(RW.C0, cf(1.4, 0.4, -0.2) * euler(0.5, 0, 1.2) * euler(0, 0.8, 0) * euler(0.5, 0, 0), 0.4)
  3314. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.4)
  3315. RH.C0 = clerp(RH.C0, cf(1, 0.4, -0.4) * euler(0, 1.57, 0) * euler(0, -0.8, 0) * euler(-0.1, 0, 0.1), 0.4)
  3316. LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.2) * euler(0, -1.57, 0) * euler(0, -0.4, 0) * euler(-0.2, 0, 0.15), 0.4)
  3317. end
  3318. end
  3319. end
  3320. end
  3321. end
  3322. end
  3323. end
  3324. if 0 < #Effects then
  3325. for e = 1, #Effects do
  3326. if Effects[e] ~= nil then
  3327. local Thing = Effects[e]
  3328. if Thing ~= nil then
  3329. local Part = Thing[1]
  3330. local Mode = Thing[2]
  3331. local Delay = Thing[3]
  3332. local IncX = Thing[4]
  3333. local IncY = Thing[5]
  3334. local IncZ = Thing[6]
  3335. if Thing[2] == "ShootIce" then
  3336. local Look = Thing[1]
  3337. local hit, pos = rayCast(Thing[4], Look.lookVector, Thing[9], Character)
  3338. local mag = (Thing[4] - pos).magnitude
  3339. Thing[8].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * euler(-1.57, 0, 0)
  3340. Thing[4] = Thing[4] + Look.lookVector * Thing[9]
  3341. Thing[3] = Thing[3] - 1
  3342. if hit ~= nil or Thing[3] <= 0 then
  3343. Thing[3] = 0
  3344. ref = part(3, effects, 0, 1, BrickColor.new("Really red"), "Reference", vt())
  3345. ref.Anchored = true
  3346. ref.CFrame = cf(pos)
  3347. game:GetService("Debris"):AddItem(ref, 1)
  3348. ref2 = part(3, effects, 0, 1, BrickColor.new("Really red"), "Reference", vt(5, 5, 5))
  3349. ref2.Anchored = true
  3350. ref2.CFrame = cf(pos)
  3351. game:GetService("Debris"):AddItem(ref2, 5)
  3352. size = 3
  3353. if Thing[10] == 2 then
  3354. freeze = true
  3355. size = 4
  3356. so("338594574", ref, 1, 1)
  3357. else
  3358. so("338594556", ref, 1, 1)
  3359. end
  3360. MagicCircle(BrickColor.new(NewCol3), cf(ref.Position), 20, 20, 20, 5, 5, 5, 0.1)
  3361. MagniDamage(ref, size, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, 2, (math.random(2, 3)), nil, nil, true)
  3362. freeze = false
  3363. for i = 1, 8 do
  3364. BreakEffect(BrickColor.new(NewCol3), ref.CFrame * cf(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100), math.random(20, 50) / 100, math.random(1, 5), math.random(20, 50) / 100)
  3365. end
  3366. if Thing[10] == 2 then
  3367. for i = 1, 5 do
  3368. MagicBlock(BrickColor.new(NewCol3), cf(ref.Position) * cf(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 5, 5, 5, 0, 0, 0, 0.05, 3)
  3369. end
  3370. end
  3371. end
  3372. if Thing[3] <= 0 then
  3373. Thing[8].Transparency = 1
  3374. if Thing[10] == 2 then
  3375. Thing[11].Enabled = false
  3376. Thing[12].Enabled = false
  3377. end
  3378. game:GetService("Debris"):AddItem(Thing[8], 5)
  3379. table.remove(Effects, e)
  3380. end
  3381. else
  3382. Part.Parent = nil
  3383. table.remove(Effects, e)
  3384. end
  3385. end
  3386. end
  3387. end
  3388. end
  3389. end
Add Comment
Please, Sign In to add comment