Advertisement
iceeeeeaa

cry

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