Advertisement
memberhero

twlights magic staff small change

Oct 28th, 2016
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 98.38 KB | None | 0 0
  1. Player = game:GetService("Players").LocalPlayer
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Backpack = Player.Backpack
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. Humanoid = Character.Humanoid
  8. LeftArm = Character["Left Arm"]
  9. LeftLeg = Character["Left Leg"]
  10. RightArm = Character["Right Arm"]
  11. RightLeg = Character["Right Leg"]
  12. LS = Torso["Left Shoulder"]
  13. LH = Torso["Left Hip"]
  14. RS = Torso["Right Shoulder"]
  15. RH = Torso["Right Hip"]
  16. Neck = Torso.Neck
  17. it = Instance.new
  18. vt = Vector3.new
  19. cf = CFrame.new
  20. euler = CFrame.fromEulerAnglesXYZ
  21. angles = CFrame.Angles
  22. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  23. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  24. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  25. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  26. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  27. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  28. RootPart = Character.HumanoidRootPart
  29. RootJoint = RootPart.RootJoint
  30. RootCF = euler(-1.57, 0, 3.14)
  31. attack = false
  32. attackdebounce = false
  33. MMouse = Player:GetMouse()
  34. combo = 0
  35. local hitfloor, posfloor = nil, nil
  36. local idle = 0
  37. local Anim = "Idle"
  38. local Effects = {}
  39. local Weapon = {}
  40. local Welds = {}
  41. local decreaseatk = 0
  42. local decreasedef = 0
  43. local decreasemvmt = 0
  44. local specialstagger = false
  45. local move1 = "(Z)\nMagic Beam"
  46. local move2 = "(X)\nTeleport"
  47. local move3 = "(C)\nMagicPowerRaise"
  48. local move4 = "(V)\nGiantBeam"
  49. local cooldowns = {}
  50. local cooldown1 = 0
  51. table.insert(cooldowns, cooldown1)
  52. local cooldown2 = 0
  53. table.insert(cooldowns, cooldown2)
  54. local cooldown3 = 0
  55. table.insert(cooldowns, cooldown3)
  56. local cooldown4 = 0
  57. table.insert(cooldowns, cooldown4)
  58. local cooldownsadd = {}
  59. local cooldownadd1 = 0.1
  60. table.insert(cooldownsadd, cooldownadd1)
  61. local cooldownadd2 = 0.1
  62. table.insert(cooldownsadd, cooldownadd2)
  63. local cooldownadd3 = 0.1
  64. table.insert(cooldownsadd, cooldownadd3)
  65. local cooldownadd4 = 0.1
  66. table.insert(cooldownsadd, cooldownadd4)
  67. local cooldownmax = 100
  68. player = nil
  69. RSH = nil
  70. RW = Instance.new("Motor")
  71. LW = Instance.new("Motor")
  72. RW.Name = "Right Shoulder"
  73. LW.Name = "Left Shoulder"
  74. LH = Torso["Left Hip"]
  75. RH = Torso["Right Hip"]
  76. TorsoColor = Torso.BrickColor
  77. TorsoRed = TorsoColor.Color.r
  78. TorsoGreen = TorsoColor.Color.g
  79. NewCol = BrickColor.new("Royal Purple").Color
  80. NewCol2 = BrickColor.new("Navy blue").Color
  81. local mdec = Instance.new("NumberValue", Decrease)
  82. mdec.Name = "DecreaseDef"
  83. mdec.Value = 0.4
  84. local mdec2 = Instance.new("NumberValue", Decrease)
  85. mdec2.Name = "DecreaseMvmt"
  86. mdec2.Value = 0.1
  87. local Animate = Humanoid.Animator
  88. local canjump = true
  89. removeControl = function()
  90. canjump = false
  91. end
  92. resumeControl = function()
  93. canjump = true
  94. end
  95. Player.Character.Humanoid.Changed:connect(function()
  96. if canjump == false then
  97. Player.Character.Humanoid.Jump = false
  98. end
  99. end)
  100. swait = function(num)
  101. if num == 0 or num == nil then
  102. Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  103. else
  104. for i = 0, num do
  105. Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  106. end
  107. end
  108. end
  109. ArtificialHB = Instance.new("BindableEvent", script)
  110. ArtificialHB.Name = "Heartbeat"
  111.  
  112. script:WaitForChild("Heartbeat")
  113.  
  114. frame = 1 / 40
  115. tf = 0
  116. allowframeloss = true
  117. tossremainder = false
  118. lastframe = tick()
  119. script.Heartbeat:Fire()
  120.  
  121. game:GetService("RunService").Heartbeat:connect(function(s, p)
  122. tf = tf + s
  123. if tf >= frame then
  124. if allowframeloss then
  125. script.Heartbeat:Fire()
  126. lastframe = tick()
  127. else
  128. for i = 1, math.floor(tf / frame) do
  129. script.Heartbeat:Fire()
  130. end
  131. lastframe = tick()
  132. end
  133. if tossremainder then
  134. tf = 0
  135. else
  136. tf = tf - frame * math.floor(tf / frame)
  137. end
  138. end
  139. end)
  140. function swait(num)
  141. if num == 0 or num == nil then
  142. ArtificialHB.Event:wait()
  143. else
  144. for i = 0, num do
  145. ArtificialHB.Event:wait()
  146. end
  147. end
  148. end
  149. if Character:findFirstChild("Twlights Magic Staff ", true) ~= nil then
  150. Character:findFirstChild("Twlights Magic Staff ", true).Parent = nil
  151. end
  152. if Player.PlayerGui:findFirstChild("WeaponGUI", true) ~= nil then
  153. Player.PlayerGui:findFirstChild("WeaponGUI", true).Parent = nil
  154. end
  155. if Character:findFirstChild("Stats", true) ~= nil then
  156. Character:findFirstChild("Stats", true).Parent = nil
  157. end
  158. local Stats = Instance.new("BoolValue")
  159. Stats.Name = "Stats"
  160. Stats.Parent = Character
  161. local Atk = Instance.new("NumberValue")
  162. Atk.Name = "Damage"
  163. Atk.Parent = Stats
  164. Atk.Value = 1
  165. local Def = Instance.new("NumberValue")
  166. Def.Name = "Defense"
  167. Def.Parent = Stats
  168. Def.Value = 1
  169. local Mvmt = Instance.new("NumberValue")
  170. Mvmt.Name = "Movement"
  171. Mvmt.Parent = Stats
  172. Mvmt.Value = 1
  173. local Block = Instance.new("BoolValue")
  174. Block.Name = "Block"
  175. Block.Parent = Stats
  176. Block.Value = false
  177. local Stun = Instance.new("NumberValue")
  178. Stun.Name = "Stun"
  179. Stun.Parent = Stats
  180. Stun.Value = 0
  181. local StunT = Instance.new("NumberValue")
  182. StunT.Name = "StunThreshold"
  183. StunT.Parent = Stats
  184. StunT.Value = 100
  185. local Rooted = Instance.new("BoolValue")
  186. Rooted.Name = "Rooted"
  187. Rooted.Parent = Stats
  188. Rooted.Value = false
  189. local Stunned = Instance.new("BoolValue")
  190. Stunned.Name = "Stunned"
  191. Stunned.Parent = Stats
  192. Stunned.Value = false
  193. local Stagger = Instance.new("BoolValue")
  194. Stagger.Name = "Stagger"
  195. Stagger.Parent = Stats
  196. Stagger.Value = false
  197. local StaggerHit = Instance.new("BoolValue")
  198. StaggerHit.Name = "StaggerHit"
  199. StaggerHit.Parent = Stats
  200. StaggerHit.Value = false
  201. local RecentEnemy = Instance.new("ObjectValue")
  202. RecentEnemy.Name = "RecentEnemy"
  203. RecentEnemy.Parent = Stats
  204. RecentEnemy.Value = nil
  205. local Decrease = Instance.new("BoolValue")
  206. Decrease.Name = "Decrease"
  207. Decrease.Parent = Stats
  208. Decrease.Value = false
  209. local Magic = Instance.new("NumberValue")
  210. Magic.Name = "Magic"
  211. Magic.Parent = Stats
  212. Magic.Value = 0
  213. NoOutline = function(Part)
  214. Part.TopSurface = 10
  215. end
  216. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  217. local fp = it("Part")
  218. fp.formFactor = formfactor
  219. fp.Parent = parent
  220. fp.Reflectance = reflectance
  221. fp.Transparency = transparency
  222. fp.CanCollide = false
  223. fp.Locked = true
  224. fp.BrickColor = brickcolor
  225. fp.Name = name
  226. fp.Size = size
  227. fp.Position = Torso.Position
  228. NoOutline(fp)
  229. fp.Material = "SmoothPlastic"
  230. fp:BreakJoints()
  231. return fp
  232. end
  233. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  234. local mesh = it(Mesh)
  235. mesh.Parent = part
  236. if Mesh == "SpecialMesh" then
  237. mesh.MeshType = meshtype
  238. if meshid ~= "nil" then
  239. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  240. end
  241. end
  242. mesh.Offset = offset
  243. mesh.Scale = scale
  244. return mesh
  245. end
  246. weld = function(parent, part0, part1, c0)
  247. local weld = it("Motor")
  248. weld.Parent = parent
  249. weld.Part0 = part0
  250. weld.Part1 = part1
  251. weld.C0 = c0
  252. return weld
  253. end
  254. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  255. local gui = it(GuiType)
  256. gui.Parent = parent
  257. gui.Text = text
  258. gui.BackgroundTransparency = backtrans
  259. gui.BackgroundColor3 = backcol
  260. gui.SizeConstraint = "RelativeXY"
  261. gui.TextXAlignment = "Center"
  262. gui.TextYAlignment = "Center"
  263. gui.Position = pos
  264. gui.Size = size
  265. gui.Font = "SourceSans"
  266. gui.FontSize = "Size14"
  267. gui.TextWrapped = false
  268. gui.TextStrokeTransparency = 0
  269. gui.TextColor = BrickColor.new("Royal Purple")
  270. return gui
  271. end
  272. local Color1 = Torso.BrickColor
  273. local fengui = it("GuiMain")
  274. fengui.Parent = Player.PlayerGui
  275. fengui.Name = "WeaponGUI"
  276. local fenframe = it("Frame")
  277. fenframe.Parent = fengui
  278. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  279. fenframe.BackgroundTransparency = 1
  280. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  281. fenframe.Size = UDim2.new(0.1, 0, 0.1, 0)
  282. fenframe.Position = UDim2.new(0.95, 0, 0.7, 0)
  283. local fenframe2 = it("Frame")
  284. fenframe2.Parent = fengui
  285. fenframe2.BackgroundColor3 = Color3.new(255, 255, 255)
  286. fenframe2.BackgroundTransparency = 1
  287. fenframe2.BorderColor3 = Color3.new(17, 17, 17)
  288. fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0)
  289. fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0)
  290. local fenframe3 = it("Frame")
  291. fenframe3.Parent = fengui
  292. fenframe3.BackgroundColor3 = Color3.new(255, 255, 255)
  293. fenframe3.BackgroundTransparency = 1
  294. fenframe3.BorderColor3 = Color3.new(17, 17, 17)
  295. fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0)
  296. fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0)
  297. local fenframe4 = it("Frame")
  298. fenframe4.Parent = fengui
  299. fenframe4.BackgroundColor3 = Color3.new(255, 255, 255)
  300. fenframe4.BackgroundTransparency = 1
  301. fenframe4.BorderColor3 = Color3.new(17, 17, 17)
  302. fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0)
  303. fenframe4.Position = UDim2.new(0, 0, 0.7, 0)
  304. local pressedf = false
  305. local fenframe5 = it("Frame")
  306. fenframe5.Parent = fengui
  307. fenframe5.Parent = nil
  308. fenframe5.BackgroundColor3 = Color3.new(0, 0, 0)
  309. fenframe5.BackgroundTransparency = 1
  310. fenframe5.BorderColor3 = Color3.new(0, 0, 0)
  311. fenframe5.Size = UDim2.new(1, 0, 1, 0)
  312. fenframe5.Position = UDim2.new(0, 0, 0, 0)
  313. fenframe5.ZIndex = 2
  314. local tellbar = gui("TextLabel", fenframe5, "Press \'F\' to equip your weapon.", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0))
  315. tellbar.Font = "Arial"
  316. tellbar.TextScaled = true
  317. tellbar.TextTransparency = 1
  318. tellbar.TextStrokeTransparency = 1
  319. tellbar.ZIndex = 2
  320. local fnumb = 0
  321. local fenbarMagic1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  322. local fenbarMagic2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol2).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  323. local fenbarMagic4 = gui("TextLabel", fenframe, "Magic(" .. Magic.Value .. ")", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  324. local fenbardamage = gui("TextLabel", fenframe2, "Damage", 0.55, Color3.new(0.6078431372549, 0, 0), UDim2.new(-0.23, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  325. local fenbardef = gui("TextLabel", fenframe2, "Defense", 0.55, Color3.new(0, 0, 0.6078431372549), UDim2.new(-0.46, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  326. local fenbarmove = gui("TextLabel", fenframe2, "Walkspeed", 0.55, Color3.new(0, 0.6078431372549, 0), UDim2.new(1.03, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  327. local fenbarhp1 = gui("TextLabel", fenframe2, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.46, 0, 1, 0), UDim2.new(1.92, 0, 0.4, 0))
  328. local fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  329. local fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  330. local fenbarstun1 = gui("TextLabel", fenframe4, "", 0, Color3.new(0, 0, 0), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  331. local fenbarstun2 = gui("TextLabel", fenframe4, "", 0, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  332. local fenbarstun3 = gui("TextLabel", fenframe4, "Stun(" .. Stun.Value .. ")", 1, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  333. local fenbarmove1 = gui("TextButton", fenframe3, move1, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  334. fenbarmove1.ZIndex = 2
  335. local fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new(NewCol2).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  336. local fenbarmove2 = gui("TextButton", fenframe3, move2, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  337. fenbarmove2.ZIndex = 2
  338. local fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new(NewCol2).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  339. local fenbarmove3 = gui("TextButton", fenframe3, move3, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  340. fenbarmove3.ZIndex = 2
  341. local fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new(NewCol2).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  342. local fenbarmove4 = gui("TextButton", fenframe3, move4, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  343. fenbarmove4.ZIndex = 2
  344. local fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new(NewCol2).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  345. local modelzorz = Instance.new("Model")
  346. modelzorz.Parent = Character
  347. modelzorz.Name = "Twlights Magic Staff "
  348. local handle = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Handle", vt())
  349. local prt1 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part01", vt())
  350. msh1 = mesh("SpecialMesh", prt1, "Head", "nil", vt(0, 0, 0), vt(1.05, 22.5, 5))
  351. local handlewld = weld(handle, handle, Torso, euler(0, 0, -1) * cf(0, 0, -0.5))
  352. local wld1 = weld(prt1, prt1, handle, cf(0, 0, 0) * euler(0, 0, 0))
  353. for i = 0, 3.14, 3.14 do
  354. for d = 1.2, 1.8, 0.15 do
  355. local prt2 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Part02", vt())
  356. msh2 = mesh("CylinderMesh", prt2, "", "", vt(0, 0, 0), vt(1.1, 0.4, 5))
  357. local wld2 = weld(prt1, prt2, prt1, euler(0, 0, 0) * cf(0, d, 0) * euler(i, 0, 0))
  358. end
  359. local prt3 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part03", vt())
  360. local prt4 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part04", vt())
  361. local prt5 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol2), "Part05", vt())
  362. local prt6 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part06", vt())
  363. local prt7 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol2), "Part07", vt())
  364. local prt8 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Part08", vt())
  365. local prt9 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol2), "Part09", vt())
  366. local prt10 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Part10", vt())
  367. local prt11 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part11", vt())
  368. local prt12 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part12", vt())
  369. local prt13 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part13", vt())
  370. local prt14 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part14", vt())
  371. local prt15 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part15", vt())
  372. local prt16 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol2), "Part16", vt())
  373. local prt17 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol2), "Part17", vt())
  374. local prt18 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol2), "Part18", vt())
  375. local prt19 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol2), "Part19", vt())
  376. local prt20 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol2), "Part20", vt())
  377. local prt21 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part21", vt())
  378. local prt22 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part22", vt())
  379. local prt23 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part23", vt())
  380. local prt24 = part(3, modelzorz, 0.1, 0, BrickColor.new(NewCol), "Part24", vt())
  381. local prt25 = part(3, modelzorz, 0, 0.001, BrickColor.new(NewCol), "Part25", vt())
  382. local prt26 = part(3, modelzorz, 0, 0.001, BrickColor.new(NewCol), "Part26", vt())
  383. msh3 = mesh("SpecialMesh", prt3, "FileMesh", "18430887", vt(0, 0, 0), vt(0.115, 0.115, 0.5))
  384. msh4 = mesh("CylinderMesh", prt4, "", "", vt(0, 0, 0), vt(1, 1, 1))
  385. msh5 = mesh("SpecialMesh", prt5, "FileMesh", "18430887", vt(0, 0, 0), vt(0.115, 0.115, 0.75))
  386. msh6 = mesh("CylinderMesh", prt6, "", "", vt(0, 0, 0), vt(2.15, 1, 2.5))
  387. msh7 = mesh("CylinderMesh", prt7, "", "", vt(0, 0, 0), vt(2, 1.2, 1.75))
  388. msh8 = mesh("SpecialMesh", prt8, "Sphere", "nil", vt(0, 0, 0), vt(1.3, 1.8, 1.3))
  389. msh9 = mesh("SpecialMesh", prt9, "Sphere", "nil", vt(0, 0, 0), vt(1.2, 1.9, 1.2))
  390. msh10 = mesh("SpecialMesh", prt10, "Sphere", "nil", vt(0, 0, 0), vt(1.1, 1.95, 1.1))
  391. msh11 = mesh("SpecialMesh", prt11, "Wedge", "nil", vt(0, 0, 0), vt(9.5, 0.125, 0.35))
  392. msh12 = mesh("SpecialMesh", prt12, "Wedge", "nil", vt(0, 0, 0), vt(9.5, 0.125, 0.35))
  393. msh13 = mesh("SpecialMesh", prt13, "Wedge", "nil", vt(0, 0, 0), vt(9.5, 0.125, 0.35))
  394. msh14 = mesh("SpecialMesh", prt14, "Wedge", "nil", vt(0, 0, 0), vt(9.5, 0.125, 0.35))
  395. msh15 = mesh("SpecialMesh", prt15, "FileMesh", "9756362", vt(0, 0, 0), vt(0.055, 0.325, 0.155))
  396. msh16 = mesh("SpecialMesh", prt16, "Wedge", "nil", vt(0, 0, 0), vt(9.5, 0.25, 0.5))
  397. msh17 = mesh("SpecialMesh", prt17, "Wedge", "nil", vt(0, 0, 0), vt(9.5, 0.25, 0.5))
  398. msh18 = mesh("SpecialMesh", prt18, "Wedge", "nil", vt(0, 0, 0), vt(9.5, 0.25, 0.5))
  399. msh19 = mesh("SpecialMesh", prt19, "Wedge", "nil", vt(0, 0, 0), vt(9.5, 0.25, 0.5))
  400. msh20 = mesh("SpecialMesh", prt20, "FileMesh", "9756362", vt(0, 0, 0), vt(0.07, 0.3, 0.14))
  401. msh21 = mesh("SpecialMesh", prt21, "Torso", "nil", vt(0, 0, 0), vt(0.75, 1.5, 0.1))
  402. msh22 = mesh("SpecialMesh", prt22, "Torso", "nil", vt(0, 0, 0), vt(0.75, 1.5, 0.1))
  403. msh23 = mesh("SpecialMesh", prt23, "Torso", "nil", vt(0, 0, 0), vt(0.75, 1.5, 0.1))
  404. msh24 = mesh("SpecialMesh", prt24, "Torso", "nil", vt(0, 0, 0), vt(0.75, 1.5, 0.1))
  405. msh25 = mesh("SpecialMesh", prt25, "FileMesh", "65514292", vt(0, 0, 0), vt(4, 6, 1))
  406. msh25.TextureId = "http://www.roblox.com/asset/?id=259523655"
  407. msh25.VertexColor = vt(0.8, 0.8, 0.8)
  408. msh26 = mesh("SpecialMesh", prt26, "FileMesh", "65514292", vt(0, 0, 0), vt(4, 6, 1))
  409. msh26.TextureId = "http://www.roblox.com/asset/?id=259523655"
  410. msh26.VertexColor = vt(0.8, 0.8, 0.8)
  411. local wld3 = weld(prt1, prt3, prt1, euler(1.57, 0, 0) * cf(0, 2.15, 0) * euler(i, 0, 0))
  412. local wld4 = weld(prt1, prt4, prt1, euler(0, 0, 0) * cf(0, 2.3, 0) * euler(i, 0, 0))
  413. local wld5 = weld(prt1, prt5, prt1, euler(1.57, 0, 0) * cf(0, 2.3, 0) * euler(i, 0, 0))
  414. local wld6 = weld(prt1, prt6, prt1, euler(1.57, 0, 0) * cf(0, 2.52, 0) * euler(i, 0, 0))
  415. local wld7 = weld(prt1, prt7, prt1, euler(1.57, 0, 0) * cf(0, 2.52, 0) * euler(i, 0, 0))
  416. local wld8 = weld(prt1, prt8, prt1, euler(1.57, 0, 0) * cf(0, 2.52, 0) * euler(i, 0, 0))
  417. local wld9 = weld(prt1, prt9, prt1, euler(1.57, 0, 0) * cf(0, 2.52, 0) * euler(i, 0, 0))
  418. cef = -0.01
  419. if math.random(1, 2) == 1 then
  420. cef = 0.01
  421. end
  422. local wld10 = weld(prt1, prt10, prt1, euler(1.57, 0, 0) * cf(cef, 2.52, 0) * euler(i, 0, 0))
  423. local wld11 = weld(prt1, prt11, prt10, euler(0, 0, 0) * cf(1.1, -0.0125, 0.08) * euler(0, 1.57, 0))
  424. local wld12 = weld(prt1, prt12, prt10, euler(3.14, 3.14, 0) * cf(1.1, 0.0125, 0.08) * euler(0, 1.57, 0))
  425. local wld13 = weld(prt1, prt13, prt10, euler(3.14, 0, 0) * cf(1.1, 0.0125, -0.08) * euler(0, 1.57, 0))
  426. local wld14 = weld(prt1, prt14, prt10, euler(0, 3.14, 0) * cf(1.1, -0.0125, -0.08) * euler(0, 1.57, 0))
  427. local wld15 = weld(prt1, prt15, prt10, euler(0, 0, 1.57) * cf(2.05, 0, 0) * euler(0, 1.57, 0))
  428. local wld16 = weld(prt1, prt16, prt10, euler(0, 0, 0) * cf(1.1, -0.025, 0.05) * euler(0, 1.57, 0))
  429. local wld17 = weld(prt1, prt17, prt10, euler(3.14, 3.14, 0) * cf(1.1, 0.025, 0.05) * euler(0, 1.57, 0))
  430. local wld18 = weld(prt1, prt18, prt10, euler(3.14, 0, 0) * cf(1.1, 0.025, -0.05) * euler(0, 1.57, 0))
  431. local wld19 = weld(prt1, prt19, prt10, euler(0, 3.14, 0) * cf(1.1, -0.025, -0.05) * euler(0, 1.57, 0))
  432. local wld20 = weld(prt1, prt20, prt10, euler(0, 0, 1.57) * cf(2.05, 0, 0) * euler(0, 1.57, 0))
  433. local wld21 = weld(prt1, prt21, prt10, euler(1.57, 0, 0) * cf(0.85, 0, 0.1) * euler(0, 1.57, 0))
  434. local wld22 = weld(prt1, prt22, prt10, euler(1.57, 0, 0) * cf(1.3, 0, 0.1) * euler(0, 1.57, 0))
  435. local wld23 = weld(prt1, prt23, prt10, euler(1.57, 0, 0) * cf(0.85, 0, -0.1) * euler(0, 1.57, 0))
  436. local wld24 = weld(prt1, prt24, prt10, euler(1.57, 0, 0) * cf(1.3, 0, -0.1) * euler(0, 1.57, 0))
  437. local wld25 = weld(prt1, prt25, prt10, euler(1.57, -1.57, 0) * cf(1.075, 0, 0.8) * euler(0, 1.57, 0))
  438. local wld26 = weld(prt1, prt26, prt10, euler(1.57, 1.57, 0) * cf(1.075, 0, -0.8) * euler(0, 1.57, 0))
  439. end
  440. for _,c in pairs(modelzorz:children()) do
  441. table.insert(Weapon, c)
  442. end
  443. for _,c in pairs(prt1:children()) do
  444. if c.className == "Motor" then
  445. table.insert(Welds, c)
  446. end
  447. end
  448. local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Hitbox2", vt())
  449. hitbox.Anchored = false
  450. local hbwld = weld(hitbox, hitbox, RootPart, euler(0, 0, 0) * cf(0, 0, 0))
  451. local hitbox2 = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt(1, 1, 1))
  452. hitbox2.Anchored = true
  453. local hitboxCF = cf(0, 0, 0)
  454. hboxpos = Instance.new("BodyPosition", nil)
  455. hboxpos.P = 2000
  456. hboxpos.D = 100
  457. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  458. hitboxweld = function()
  459. hbwld.Parent = modelzorz
  460. hbwld.Part0 = hitbox
  461. hbwld.Part1 = prt12
  462. end
  463. if script.Parent.className ~= "HopperBin" then
  464. Tool = Instance.new("HopperBin")
  465. Tool.Parent = Backpack
  466. Tool.Name = "Twlights Magic Staff "
  467. script.Parent = Tool
  468. end
  469. Bin = script.Parent
  470. if Bin.Name == "Luna" then
  471. Bin.Name = "Twlights Magic Staff "
  472. end
  473. local bodvel = Instance.new("BodyVelocity")
  474. local bg = Instance.new("BodyGyro")
  475. so = function(id, par, vol, pit)
  476. local sou = Instance.new("Sound", par or workspace)
  477. sou.Volume = vol
  478. sou.Pitch = pit or 1
  479. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  480. coroutine.resume(coroutine.create(function(Sound)
  481. swait()
  482. Sound:play()
  483. end), sou)
  484. game:GetService("Debris"):AddItem(sou, 6)
  485. end
  486.  
  487. function clerp(a,b,t)
  488. local qa = {QuaternionFromCFrame(a)}
  489. local qb = {QuaternionFromCFrame(b)}
  490. local ax, ay, az = a.x, a.y, a.z
  491. local bx, by, bz = b.x, b.y, b.z
  492. local _t = 1-t
  493. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  494. end
  495.  
  496. function QuaternionFromCFrame(cf)
  497. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  498. local trace = m00 + m11 + m22
  499. if trace > 0 then
  500. local s = math.sqrt(1 + trace)
  501. local recip = 0.5/s
  502. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  503. else
  504. local i = 0
  505. if m11 > m00 then
  506. i = 1
  507. end
  508. if m22 > (i == 0 and m00 or m11) then
  509. i = 2
  510. end
  511. if i == 0 then
  512. local s = math.sqrt(m00-m11-m22+1)
  513. local recip = 0.5/s
  514. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  515. elseif i == 1 then
  516. local s = math.sqrt(m11-m22-m00+1)
  517. local recip = 0.5/s
  518. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  519. elseif i == 2 then
  520. local s = math.sqrt(m22-m00-m11+1)
  521. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  522. end
  523. end
  524. end
  525.  
  526. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  527. local xs, ys, zs = x + x, y + y, z + z
  528. local wx, wy, wz = w*xs, w*ys, w*zs
  529. local xx = x*xs
  530. local xy = x*ys
  531. local xz = x*zs
  532. local yy = y*ys
  533. local yz = y*zs
  534. local zz = z*zs
  535. 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))
  536. end
  537.  
  538. function QuaternionSlerp(a, b, t)
  539. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  540. local startInterp, finishInterp;
  541. if cosTheta >= 0.0001 then
  542. if (1 - cosTheta) > 0.0001 then
  543. local theta = math.acos(cosTheta)
  544. local invSinTheta = 1/math.sin(theta)
  545. startInterp = math.sin((1-t)*theta)*invSinTheta
  546. finishInterp = math.sin(t*theta)*invSinTheta
  547. else
  548. startInterp = 1-t
  549. finishInterp = t
  550. end
  551. else
  552. if (1+cosTheta) > 0.0001 then
  553. local theta = math.acos(-cosTheta)
  554. local invSinTheta = 1/math.sin(theta)
  555. startInterp = math.sin((t-1)*theta)*invSinTheta
  556. finishInterp = math.sin(t*theta)*invSinTheta
  557. else
  558. startInterp = t-1
  559. finishInterp = t
  560. end
  561. end
  562. 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
  563. end
  564. hideanim = function()
  565. equipped = false
  566. handlewld.Part1 = LeftArm
  567. handlewld.C0 = euler(0, 1.57, 0) * cf(0, 1, 0)
  568. wld1.C0 = euler(0, 0, 0) * cf(0, -1.3, 0) * euler(0, 0, 1.8)
  569. doul = 0
  570. dosou = 4
  571. for i = 0, 1, 0.15 do
  572. swait()
  573. doul = doul + 0.6
  574. if dosou >= 4 then
  575. dosou = 0
  576. so("199145146", handle, 1, 1.4)
  577. end
  578. dosou = dosou + 1
  579. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.3)
  580. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(1.57, 0, 0), 0.3)
  581. wld1.C1 = euler(0, doul, 0)
  582. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, 0.4), 0.3)
  583. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  584. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0.2), 0.3)
  585. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  586. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2, 0, -0.5), 0.3)
  587. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  588. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.3)
  589. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.3)
  590. end
  591. for i = 0, 1, 0.1 do
  592. swait()
  593. handlewld.C0 = clerp(handlewld.C0, euler(0, 0, -0.2) * cf(0, 1, 0), 0.3)
  594. wld1.C0 = clerp(wld1.C0, euler(0, 0.8, 0) * cf(0, -2.6, 0) * euler(0.2, 0, 0.5), 0.3)
  595. wld1.C1 = clerp(wld1.C1, euler(0, 0, 0), 0.3)
  596. Neck.C0 = clerp(Neck.C0, necko * euler(-0.4, 0, 0) * euler(0, 0, 1), 0.3)
  597. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  598. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0.2), 0.3)
  599. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  600. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(4, 0, -0.8), 0.3)
  601. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  602. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.3)
  603. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.3)
  604. end
  605. handlewld.Part1 = Torso
  606. handlewld.C0 = euler(0, 0, -1) * cf(0, 0, -0.5)
  607. wld1.C0 = euler(0, 0, 0) * cf(0, 0, 0)
  608. wld1.C1 = euler(0, 0, 0)
  609. mdec2.Parent = nil
  610. mdec.Parent = Decrease
  611. for i = 0, 1, 0.1 do
  612. swait()
  613. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.4)
  614. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  615. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  616. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  617. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  618. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  619. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.3)
  620. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.3)
  621. end
  622. end
  623. mdec.Parent = Decrease
  624. equipanim = function()
  625. equipped = true
  626. mdec.Parent = nil
  627. for i = 0, 1, 0.1 do
  628. swait()
  629. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0) * euler(0, 0, -0.6), 0.3)
  630. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  631. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, -0.1), 0.3)
  632. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  633. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.2), 0.3)
  634. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  635. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.3)
  636. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0), 0.3)
  637. end
  638. handlewld.Part1 = RightArm
  639. handlewld.C0 = euler(0, 0, 0) * cf(0, 1, 0)
  640. wld1.C0 = euler(0, 0, 0) * cf(0, -1.3, 0) * euler(-0.2, 0, -1)
  641. mdec2.Parent = Decrease
  642. end
  643. StaggerAnim = function()
  644. attack = true
  645. DecreaseStat(Character, "Damage", -0.04, 300)
  646. DecreaseStat(Character, "Defense", -0.06, 300)
  647. removeControl()
  648. for i = 1, math.random(2, 4) do
  649. ClangEffect(BrickColor.new("Royal Purple"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  650. end
  651. for i = 0, 1, 0.35 do
  652. swait()
  653. if Rooted.Value == false then
  654. Torso.Velocity = RootPart.CFrame.lookVector * -40
  655. end
  656. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.3)
  657. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.4), 0.3)
  658. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.3)
  659. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  660. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  661. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  662. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.3)
  663. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  664. end
  665. for i = 0, 1, 0.2 do
  666. swait()
  667. if Rooted.Value == false then
  668. Torso.Velocity = RootPart.CFrame.lookVector * -40
  669. end
  670. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  671. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.5, 0, -0.4), 0.4)
  672. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.4)
  673. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  674. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.4)
  675. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  676. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.4)
  677. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.5), 0.4)
  678. end
  679. for i = 0, 1, 0.1 do
  680. swait()
  681. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.5, 0, 0), 0.3)
  682. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, -0.4), 0.3)
  683. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.3, 0, 0.4) * euler(0, -0.4, 0), 0.3)
  684. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  685. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.3, 0, -0.2) * euler(0, 0.4, 0), 0.3)
  686. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  687. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 1.2), 0.3)
  688. LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  689. end
  690. for i = 1, 40 do
  691. swait()
  692. if StunT.Value <= Stun.Value then
  693. break
  694. end
  695. end
  696. do
  697. resumeControl()
  698. combo = 0
  699. attack = false
  700. end
  701. end
  702. StaggerHitt = function()
  703. attack = true
  704. DecreaseStat(Character, "Damage", -0.04, 300)
  705. DecreaseStat(Character, "Movement", -0.04, 300)
  706. for i = 1, math.random(2, 4) do
  707. ClangEffect(BrickColor.new("Royal Purple"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  708. end
  709. for i = 0, 1, 0.1 do
  710. swait()
  711. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.7) * euler(0.1, 0, 0), 0.3)
  712. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.6), 0.3)
  713. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.9) * euler(0, -0.7, 0), 0.3)
  714. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  715. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  716. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  717. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.4), 0.3)
  718. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  719. end
  720. attack = false
  721. end
  722. StunAnim = function()
  723. attack = true
  724. DecreaseStat(Character, "Damage", -0.04, 300)
  725. DecreaseStat(Character, "Defense", -0.06, 300)
  726. removeControl()
  727. Stunned.Value = true
  728. showDamage(Character, "Stunned", "Interrupt")
  729. local dec = Instance.new("NumberValue", Decrease)
  730. dec.Name = "DecreaseMvmt"
  731. dec.Value = 10
  732. for i = 0, 1, 0.3 do
  733. swait()
  734. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2)
  735. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2)
  736. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2)
  737. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  738. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2)
  739. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  740. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25)
  741. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
  742. end
  743. for i = 0, 1, 0.3 do
  744. swait()
  745. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2)
  746. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2)
  747. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  748. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  749. LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1.2, 0, 0.8) * euler(0, -0.1, 0), 0.2)
  750. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  751. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25)
  752. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25)
  753. end
  754. for i = 0, 1, 0.3 do
  755. swait()
  756. Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2)
  757. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2)
  758. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  759. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  760. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2)
  761. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  762. RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25)
  763. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25)
  764. end
  765. local gairost = Instance.new("BodyGyro")
  766. gairost.Parent = RootPart
  767. gairost.maxTorque = Vector3.new(400000, 0, 400000) * math.huge
  768. gairost.P = 20000
  769. gairost.cframe = cf(0, 0, 0)
  770. for i = 0, 1, 0.1 do
  771. swait()
  772. if hitfloor ~= nil then
  773. Torso.Velocity = vt(0, 0, 0)
  774. end
  775. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3)
  776. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3)
  777. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 0), 0.3)
  778. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  779. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.57) * euler(0, 0, 0), 0.3)
  780. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  781. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0), 0.3)
  782. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3)
  783. end
  784. for i = 1, 70 do
  785. swait()
  786. gairost.cframe = RootPart.CFrame
  787. if hitfloor ~= nil then
  788. Torso.Velocity = vt(0, 0, 0)
  789. end
  790. end
  791. for i = 0, 1, 0.2 do
  792. swait()
  793. Stun.Value = 0
  794. gairost.cframe = RootPart.CFrame
  795. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  796. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3)
  797. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3)
  798. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  799. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3)
  800. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  801. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3)
  802. LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3)
  803. end
  804. resumeControl()
  805. gairost.Parent = nil
  806. dec.Parent = nil
  807. Stun.Value = 0
  808. combo = 0
  809. Stunned.Value = false
  810. attack = false
  811. for i = 1, 10 do
  812. swait()
  813. Stun.Value = 0
  814. end
  815. end
  816. attackone = function()
  817. attack = true
  818. hboxpos.Parent = hitbox
  819. hitbox.Parent = modelzorz
  820. hitbox.Size = vt(3, 3, 0.5)
  821. hitboxCF = prt1.CFrame * cf(0, -3.5, 0)
  822. hitbox.CFrame = hitboxCF
  823. doul = 0
  824. dosou = 4
  825. for i = 0, 1, 0.15 do
  826. swait()
  827. hitboxCF = prt1.CFrame * cf(0, -3.5, 0)
  828. hitbox.CFrame = hitboxCF
  829. MagniDamage(hitbox, 3, 3, 4, 0, "Normal", RootPart, 0.2, 1, (math.random(2, 3)), nil, nil, false)
  830. hitboxCF = prt1.CFrame * cf(0, 3.5, 0)
  831. hitbox.CFrame = hitboxCF
  832. MagniDamage(hitbox, 3, 3, 4, 0, "Normal", RootPart, 0.2, 1, (math.random(2, 3)), nil, nil, false)
  833. doul = doul + 1
  834. if dosou >= 4 then
  835. dosou = 0
  836. so("199145146", handle, 1, 1.6)
  837. end
  838. dosou = dosou + 1
  839. wld1.C1 = euler(0, doul, 0)
  840. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.4)
  841. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(0, 1.57, 1.57), 0.4)
  842. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1.1) * euler(0, 0, 0), 0.4)
  843. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0.1, 0, 0) * euler(0, 0, -1.2), 0.4)
  844. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0) * euler(1.4, 0, 0.4) * euler(0, 1.2, 0), 0.4)
  845. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  846. LW.C0 = clerp(LW.C0, cf(0.2, 0.4, -0.5) * euler(1.4, 0, 0.8) * euler(0, 0, 0), 0.4)
  847. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  848. RH.C0 = clerp(RH.C0, cf(0.9, -1, -0.6) * euler(0, 1.57, 0) * euler(0, 1.2, -0.2), 0.4)
  849. LH.C0 = clerp(LH.C0, cf(-0.9, -0.7, 0.4) * euler(0, -1.57, 0) * euler(0, 1.2, 0.1), 0.4)
  850. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  851. do
  852. if StaggerHit.Value == true then
  853. break
  854. end
  855. -- DECOMPILER ERROR at PC356: LeaveBlock: unexpected jumping out IF_THEN_STMT
  856.  
  857. -- DECOMPILER ERROR at PC356: LeaveBlock: unexpected jumping out IF_STMT
  858.  
  859. end
  860. end
  861. end
  862. so("199145146", handle, 1, 1.2)
  863. hbwld.Parent = nil
  864. for i = 0, 1, 0.1 do
  865. swait()
  866. hitboxCF = prt1.CFrame * cf(0, -3.5, 0)
  867. hitbox.CFrame = hitboxCF
  868. MagniDamage(hitbox, 3, 5, 7, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(4, 6)), nil, true, false)
  869. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.4)
  870. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 1, 0) * euler(0, 0, 0.4), 0.4)
  871. wld1.C1 = clerp(wld1.C1, euler(0, 0, 0), 0.4)
  872. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1.4) * euler(0, 0, 0), 0.4)
  873. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0.1, 0, 0) * euler(0, 0, -1.4), 0.4)
  874. RW.C0 = clerp(RW.C0, cf(1, 0.4, -0.7) * euler(1.2, 0, -1.4) * euler(0, 0.7, 0), 0.4)
  875. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  876. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.9, 0, -0.8) * euler(0, 1.4, 0), 0.4)
  877. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  878. RH.C0 = clerp(RH.C0, cf(0.9, -1, -0.6) * euler(0, 1.57, 0) * euler(0, 1.4, -0.2), 0.4)
  879. LH.C0 = clerp(LH.C0, cf(-0.9, -0.7, 0.4) * euler(0, -1.57, 0) * euler(0, 1.4, 0.1), 0.4)
  880. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  881. do
  882. if StaggerHit.Value == true then
  883. break
  884. end
  885. -- DECOMPILER ERROR at PC653: LeaveBlock: unexpected jumping out IF_THEN_STMT
  886.  
  887. -- DECOMPILER ERROR at PC653: LeaveBlock: unexpected jumping out IF_STMT
  888.  
  889. end
  890. end
  891. end
  892. hitbox.Parent = modelzorz
  893. hitbox.Size = vt()
  894. hitboxweld()
  895. hboxpos.Parent = nil
  896. wld1.C1 = euler(0, 0, 0)
  897. attack = false
  898. end
  899. attacktwo = function()
  900. attack = true
  901. hboxpos.Parent = hitbox
  902. hitbox.Parent = modelzorz
  903. hitbox.Size = vt(3, 3, 0.5)
  904. hitboxCF = prt1.CFrame * cf(0, 3.5, 0)
  905. hitbox.CFrame = hitboxCF
  906. so("199145146", handle, 1, 1.4)
  907. for i = 0, 1, 0.2 do
  908. swait()
  909. hitboxCF = prt1.CFrame * cf(0, 3.5, 0)
  910. hitbox.CFrame = hitboxCF
  911. MagniDamage(hitbox, 3, 5, 7, math.random(2, 5), "Normal", RootPart, 0.4, 1, (math.random(4, 6)), nil, true, false)
  912. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.4)
  913. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 1, 0) * euler(0, 0, 2), 0.4)
  914. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1) * euler(0.2, 0, 0), 0.4)
  915. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.1, 0, 0) * euler(0, 0, 1), 0.4)
  916. RW.C0 = clerp(RW.C0, cf(1.5, 0.4, 0) * euler(1.6, 0, 0.3) * euler(0, 1.7, 0), 0.4)
  917. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  918. LW.C0 = clerp(LW.C0, cf(-1.5, 0.4, 0.3) * euler(1.3, 0, 0.2) * euler(0, 1.4, 0), 0.4)
  919. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  920. RH.C0 = clerp(RH.C0, cf(1.1, -0.7, 0.4) * euler(0, 1.57, 0) * euler(0, -1, 0.1), 0.4)
  921. LH.C0 = clerp(LH.C0, cf(-0.8, -0.8, -0.8) * euler(0, -1.57, 0) * euler(0, -1, -0.02), 0.4)
  922. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  923. do
  924. if StaggerHit.Value == true then
  925. break
  926. end
  927. -- DECOMPILER ERROR at PC309: LeaveBlock: unexpected jumping out IF_THEN_STMT
  928.  
  929. -- DECOMPILER ERROR at PC309: LeaveBlock: unexpected jumping out IF_STMT
  930.  
  931. end
  932. end
  933. end
  934. so("199145146", handle, 1, 1.2)
  935. for i = 0, 1, 0.1 do
  936. swait()
  937. hitboxCF = prt1.CFrame * cf(0, -3.5, 0)
  938. hitbox.CFrame = hitboxCF
  939. MagniDamage(hitbox, 3, 5, 7, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(4, 6)), nil, true, false)
  940. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.4)
  941. wld1.C0 = clerp(wld1.C0, euler(0, -1, 0) * cf(0, 1.3, 0) * euler(0, 0, 1), 0.4)
  942. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(0, 0, 0), 0.4)
  943. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.2, 0, 0) * euler(0, 0, -1), 0.4)
  944. RW.C0 = clerp(RW.C0, cf(1.5, 0.4, 0) * euler(0.5, 0, 0.4) * euler(0, 0, 0), 0.4)
  945. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  946. LW.C0 = clerp(LW.C0, cf(-1.5, 0.4, 0) * euler(-0.2, 0, -0.6) * euler(0, 0, 0), 0.4)
  947. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  948. RH.C0 = clerp(RH.C0, cf(0.9, -0.8, -0.6) * euler(0, 1.57, 0) * euler(0, 1, -0.2), 0.4)
  949. LH.C0 = clerp(LH.C0, cf(-0.9, -0.5, 0.4) * euler(0, -1.57, 0) * euler(0, 1, -0.1), 0.4)
  950. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  951. do
  952. if StaggerHit.Value == true then
  953. break
  954. end
  955. -- DECOMPILER ERROR at PC592: LeaveBlock: unexpected jumping out IF_THEN_STMT
  956.  
  957. -- DECOMPILER ERROR at PC592: LeaveBlock: unexpected jumping out IF_STMT
  958.  
  959. end
  960. end
  961. end
  962. hitbox.Parent = modelzorz
  963. hitbox.Size = vt()
  964. hitboxweld()
  965. hboxpos.Parent = nil
  966. attack = false
  967. end
  968. attackthree = function()
  969. attack = true
  970. hboxpos.Parent = hitbox
  971. hitbox.Parent = modelzorz
  972. hitbox.Size = vt(3, 3, 0.5)
  973. hitboxCF = prt1.CFrame * cf(0, -3.5, 0)
  974. hitbox.CFrame = hitboxCF
  975. doul = 0
  976. dosou = 4
  977. for i = 0, 1, 0.1 do
  978. swait()
  979. hitboxCF = prt1.CFrame * cf(0, -3.5, 0)
  980. hitbox.CFrame = hitboxCF
  981. MagniDamage(hitbox, 3, 3, 4, 0, "Normal", RootPart, 0.2, 1, (math.random(2, 3)), nil, nil, false)
  982. hitboxCF = prt1.CFrame * cf(0, 3.5, 0)
  983. hitbox.CFrame = hitboxCF
  984. MagniDamage(hitbox, 3, 3, 4, 0, "Normal", RootPart, 0.2, 1, (math.random(2, 3)), nil, nil, false)
  985. doul = doul + 1
  986. if dosou >= 4 then
  987. dosou = 0
  988. so("199145146", handle, 1, 1.6)
  989. end
  990. dosou = dosou + 1
  991. wld1.C1 = euler(0, doul, 0)
  992. handlewld.C0 = clerp(handlewld.C0, euler(-0.8, 0, 0) * cf(0, 1, 0), 0.4)
  993. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(0, 1.57, 1.57), 0.4)
  994. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.2) * euler(-0.05, 0, 0), 0.4)
  995. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0.1, 0, 0) * euler(0, 0, 1), 0.4)
  996. RW.C0 = clerp(RW.C0, cf(0.5, 0.4, -0.5) * euler(1.8, 0, -1.2) * euler(0, -1.2, 0), 0.4)
  997. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  998. LW.C0 = clerp(LW.C0, cf(-1.5, 0.4, 0.3) * euler(1.7, 0, 0.6) * euler(0, 0, 0), 0.4)
  999. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1000. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.4) * euler(0, 1.57, 0) * euler(0, -1, 0.2), 0.4)
  1001. LH.C0 = clerp(LH.C0, cf(-0.7, -0.9, -0.6) * euler(0, -1.57, 0) * euler(0, -1, 0.4), 0.4)
  1002. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1003. do
  1004. if StaggerHit.Value == true then
  1005. break
  1006. end
  1007. -- DECOMPILER ERROR at PC356: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1008.  
  1009. -- DECOMPILER ERROR at PC356: LeaveBlock: unexpected jumping out IF_STMT
  1010.  
  1011. end
  1012. end
  1013. end
  1014. so("199145146", handle, 1, 1.2)
  1015. for i = 0, 1, 0.1 do
  1016. swait()
  1017. hitboxCF = prt1.CFrame * cf(0, -3.5, 0)
  1018. hitbox.CFrame = hitboxCF
  1019. MagniDamage(hitbox, 3, 5, 7, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(4, 6)), nil, true, false)
  1020. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.4)
  1021. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(0, 1.57, 0.5), 0.4)
  1022. wld1.C1 = clerp(wld1.C1, euler(0, 0, 0), 0.4)
  1023. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.2) * euler(-0.05, 0, 0), 0.4)
  1024. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.7) * euler(0.3, 0, 0) * euler(0, 0, 1.2), 0.4)
  1025. RW.C0 = clerp(RW.C0, cf(1.5, 0.4, 0) * euler(2, 0, 0.8) * euler(0, -1.2, 0), 0.4)
  1026. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1027. LW.C0 = clerp(LW.C0, cf(-1.5, 0.4, 0) * euler(0, 0, -0.6) * euler(0, 0, 0), 0.4)
  1028. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1029. RH.C0 = clerp(RH.C0, cf(1, -0.2, 0.2) * euler(0, 1.57, 0) * euler(0, -1.2, 0.1), 0.4)
  1030. LH.C0 = clerp(LH.C0, cf(-0.5, -0.9, -0.6) * euler(0, -1.57, 0) * euler(0, -1.2, 0.6), 0.4)
  1031. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1032. do
  1033. if StaggerHit.Value == true then
  1034. break
  1035. end
  1036. -- DECOMPILER ERROR at PC651: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1037.  
  1038. -- DECOMPILER ERROR at PC651: LeaveBlock: unexpected jumping out IF_STMT
  1039.  
  1040. end
  1041. end
  1042. end
  1043. wld1.C1 = euler(0, 0, 0)
  1044. hitbox.Parent = modelzorz
  1045. hitbox.Size = vt()
  1046. hitboxweld()
  1047. hboxpos.Parent = nil
  1048. attack = false
  1049. end
  1050. attackfour = function()
  1051. attack = true
  1052. so("158149887", Torso, 0.5, 0.8)
  1053. Humanoid.Jump = true
  1054. if Rooted.Value == false then
  1055. Torso.Velocity = vt(0, 60, 0)
  1056. end
  1057. for i = 0, 1, 0.2 do
  1058. swait()
  1059. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.4)
  1060. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(0, 0, 1.57), 0.4)
  1061. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.4)
  1062. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  1063. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.2), 0.4)
  1064. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1065. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
  1066. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1067. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.4)
  1068. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.4)
  1069. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1070. do
  1071. if StaggerHit.Value == true then
  1072. break
  1073. end
  1074. -- DECOMPILER ERROR at PC232: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1075.  
  1076. -- DECOMPILER ERROR at PC232: LeaveBlock: unexpected jumping out IF_STMT
  1077.  
  1078. end
  1079. end
  1080. end
  1081. doul = 0
  1082. dosou = 4
  1083. for i = 0, 1, 0.08 do
  1084. swait()
  1085. Torso.Velocity = vt(0, 10, 0)
  1086. doul = doul + 1
  1087. if dosou >= 4 then
  1088. dosou = 0
  1089. so("199145146", handle, 1, 1.4)
  1090. end
  1091. dosou = dosou + 1
  1092. wld1.C1 = euler(0, 0, doul)
  1093. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0.785) * cf(0, 1, 0), 0.4)
  1094. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(0, 0, 1.57), 0.4)
  1095. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.4)
  1096. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, 0), 0.4)
  1097. RW.C0 = clerp(RW.C0, cf(1, 1, 0) * euler(3.4, 0, -0.785), 0.4)
  1098. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1099. LW.C0 = clerp(LW.C0, cf(-1, 1, 0) * euler(3.4, 0, 0.785), 0.4)
  1100. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1101. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0), 0.4)
  1102. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.4)
  1103. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1104. do
  1105. if StaggerHit.Value == true then
  1106. break
  1107. end
  1108. -- DECOMPILER ERROR at PC479: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1109.  
  1110. -- DECOMPILER ERROR at PC479: LeaveBlock: unexpected jumping out IF_STMT
  1111.  
  1112. end
  1113. end
  1114. end
  1115. so("199145146", handle, 1, 1.2)
  1116. hboxpos.Parent = hitbox
  1117. hitbox.Parent = modelzorz
  1118. hitbox.Size = vt(3, 3, 0.5)
  1119. hitboxCF = prt1.CFrame * cf(0, -3.5, 0)
  1120. hitbox.CFrame = hitboxCF
  1121. for i = 0, 1, 0.1 do
  1122. swait()
  1123. hitboxCF = prt1.CFrame * cf(0, -3.5, 0)
  1124. hitbox.CFrame = hitboxCF
  1125. MagniDamage(hitbox, 3, 5, 7, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(4, 6)), nil, true, false)
  1126. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.4)
  1127. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, -1, 0) * euler(0, 1.57, 1.2), 0.4)
  1128. wld1.C1 = clerp(wld1.C1, euler(0, 0, 0), 0.4)
  1129. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.8) * euler(-0.05, 0, 0), 0.4)
  1130. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.7) * euler(0.5, 0, 0) * euler(0, 0, 0.8), 0.4)
  1131. RW.C0 = clerp(RW.C0, cf(1.5, 0.4, 0) * euler(1.8, 0, -0.2) * euler(0, -1.2, 0), 0.4)
  1132. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1133. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, -0.3) * euler(0.2, 0, 0.6) * euler(0, 1, 0), 0.4)
  1134. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1135. RH.C0 = clerp(RH.C0, cf(1, -0.2, 0.2) * euler(0, 1.57, 0) * euler(0, -0.8, 0.3), 0.4)
  1136. LH.C0 = clerp(LH.C0, cf(-0.5, -0.9, -0.6) * euler(0, -1.57, 0) * euler(0, -0.8, 0.4), 0.4)
  1137. if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1138. do
  1139. if StaggerHit.Value == true then
  1140. break
  1141. end
  1142. -- DECOMPILER ERROR at PC799: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1143.  
  1144. -- DECOMPILER ERROR at PC799: LeaveBlock: unexpected jumping out IF_STMT
  1145.  
  1146. end
  1147. end
  1148. end
  1149. local dafloor = nil
  1150. while dafloor ~= nil do
  1151. swait()
  1152. dafloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1153. hitboxCF = prt1.CFrame * cf(0, -3.5, 0)
  1154. hitbox.CFrame = hitboxCF
  1155. MagniDamage(hitbox, 3, 5, 7, math.random(5, 10), "Normal", RootPart, 0.5, 1, (math.random(4, 6)), nil, true, false)
  1156. end
  1157. if StaggerHit.Value == true then
  1158. for i = 1, math.random(2, 4) do
  1159. ClangEffect(BrickColor.new("Royal Purple"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  1160. end
  1161. specialstagger = true
  1162. Torso.Velocity = RootPart.CFrame.lookVector * -80 + vt(0, 1, 0) * 50
  1163. for i = 0, 1, 0.1 do
  1164. swait()
  1165. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.3)
  1166. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -0.4), 0.3)
  1167. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.9) * euler(0, -0.7, 0), 0.3)
  1168. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1169. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  1170. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1171. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.4), 0.3)
  1172. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.4), 0.3)
  1173. end
  1174. end
  1175. do
  1176. wld1.C1 = euler(0, 0, 0)
  1177. hitbox.Parent = modelzorz
  1178. hitbox.Size = vt()
  1179. hitboxweld()
  1180. hboxpos.Parent = nil
  1181. attack = false
  1182. specialstagger = false
  1183. end
  1184. end
  1185. do1 = function()
  1186. if attack == true then
  1187. return
  1188. end
  1189. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1190. return
  1191. end
  1192. attack = true
  1193. cooldowns[1] = 0
  1194. attack = false
  1195. end
  1196. do2 = function()
  1197. if attack == true then
  1198. return
  1199. end
  1200. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1201. return
  1202. end
  1203. attack = true
  1204. cooldowns[2] = 0
  1205. attack = false
  1206. end
  1207. do3 = function()
  1208. if attack == true then
  1209. return
  1210. end
  1211. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1212. return
  1213. end
  1214. attack = true
  1215. cooldowns[3] = 0
  1216. attack = false
  1217. end
  1218. do4 = function()
  1219. if attack == true then
  1220. return
  1221. end
  1222. if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1223. return
  1224. end
  1225. attack = true
  1226. cooldowns[4] = 0
  1227. attack = false
  1228. end
  1229. findNearestTorso = function(pos, distance)
  1230. local list = (game.Workspace:children())
  1231. local torso = nil
  1232. local dist = distance
  1233. local temp, human, temp2 = nil, nil, nil
  1234. for x = 1, #list do
  1235. temp2 = list[x]
  1236. canfind = true
  1237. -- DECOMPILER ERROR at PC36: Unhandled construct in 'MakeBoolean' P1
  1238.  
  1239. if game.Players:GetPlayerFromCharacter(temp2) ~= nil and game.Players:GetPlayerFromCharacter(temp2).TeamColor == Player.TeamColor and Player.Neutral == false then
  1240. canfind = false
  1241. end
  1242. canfind = true
  1243. if temp2.className == "Model" and temp2 ~= Character and canfind == true then
  1244. temp = temp2:findFirstChild("Torso")
  1245. human = temp2:findFirstChild("Humanoid")
  1246. if temp ~= nil and human ~= nil and human.Health > 0 and temp.Position - pos.magnitude < dist then
  1247. torso = temp
  1248. dist = temp.Position - pos.magnitude
  1249. end
  1250. end
  1251. end
  1252. return torso, dist
  1253. end
  1254. DecreaseStat = function(Model, Stat, Amount, Duration)
  1255. if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
  1256. Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
  1257. d = Instance.new("NumberValue", Model.Stats.Decrease)
  1258. dur = Instance.new("NumberValue", d)
  1259. dur.Name = "Duration"
  1260. dur.Value = Duration
  1261. game:GetService("Debris"):AddItem(d, 20)
  1262. if Stat == "Damage" then
  1263. d.Name = "DecreaseAtk"
  1264. else
  1265. if Stat == "Defense" then
  1266. d.Name = "DecreaseDef"
  1267. else
  1268. if Stat == "Movement" then
  1269. d.Name = "DecreaseMvmt"
  1270. end
  1271. end
  1272. end
  1273. if Model:findFirstChild("Torso") ~= nil then
  1274. display = ""
  1275. if Stat == "Damage" then
  1276. if Amount > 0 then
  1277. display = "-Damage"
  1278. else
  1279. display = "+Damage"
  1280. end
  1281. else
  1282. if Stat == "Defense" then
  1283. if Amount > 0 then
  1284. display = "-Defense"
  1285. else
  1286. display = "+Defense"
  1287. end
  1288. else
  1289. if Stat == "Movement" then
  1290. if Amount > 0 then
  1291. display = "-Movement"
  1292. else
  1293. display = "+Movement"
  1294. end
  1295. end
  1296. end
  1297. end
  1298. showDamage(Model, display, "Debuff")
  1299. end
  1300. d.Value = Amount
  1301. end
  1302. end
  1303. GetDist = function(Part1, Part2, magni)
  1304. local targ = Part1.Position - Part2.Position
  1305. local mag = targ.magnitude
  1306. if mag <= magni then
  1307. return true
  1308. else
  1309. return false
  1310. end
  1311. end
  1312. MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  1313. for _,c in pairs(workspace:children()) do
  1314. local hum = c:findFirstChild("Humanoid")
  1315. if hum ~= nil then
  1316. local head = nil
  1317. for _,d in pairs(c:children()) do
  1318. if d.className == "Model" and ranged ~= true then
  1319. head = d:findFirstChild("Hitbox")
  1320. if d.Parent == Character then
  1321. break
  1322. end
  1323. if head ~= nil then
  1324. local targ = head.Position - Part.Position
  1325. local mag = targ.magnitude
  1326. if mag <= magni and c.Name ~= Player.Name then
  1327. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1328. ref.Anchored = true
  1329. ref.CFrame = cf(head.Position)
  1330. game:GetService("Debris"):AddItem(ref, 1)
  1331. hitnum = math.random(1, 5)
  1332. if hitnum == 1 then
  1333. so("199148971", ref, 1, 1)
  1334. else
  1335. if hitnum == 2 then
  1336. so("199149025", ref, 1, 1)
  1337. else
  1338. if hitnum == 3 then
  1339. so("199149072", ref, 1, 1)
  1340. else
  1341. if hitnum == 4 then
  1342. so("199149109", ref, 1, 1)
  1343. else
  1344. if hitnum == 5 then
  1345. so("199149119", ref, 1, 1)
  1346. end
  1347. end
  1348. end
  1349. end
  1350. end
  1351. StaggerHit.Value = true
  1352. end
  1353. end
  1354. end
  1355. do
  1356. if d.className == "Part" then
  1357. head = d
  1358. if head ~= nil then
  1359. local targ = head.Position - Part.Position
  1360. local mag = targ.magnitude
  1361. if mag <= magni and c.Name ~= Player.Name then
  1362. if stun == nil then
  1363. stun = math.random(5, 10)
  1364. end
  1365. Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  1366. end
  1367. end
  1368. end
  1369. do
  1370. -- DECOMPILER ERROR at PC173: LeaveBlock: unexpected jumping out DO_STMT
  1371.  
  1372. end
  1373. end
  1374. end
  1375. end
  1376. end
  1377. end
  1378. MagniBuff = function(Part, magni, Dec, DecAm, Dur)
  1379. DecreaseStat(Part.Parent, Dec, DecAm, Dur)
  1380. for _,c in pairs(workspace:children()) do
  1381. local hum = c:findFirstChild("Humanoid")
  1382. if hum ~= nil then
  1383. local head = c:findFirstChild("Torso")
  1384. if head ~= nil then
  1385. local targ = head.Position - Part.Position
  1386. local mag = targ.magnitude
  1387. if mag <= magni and c.Name ~= Player.Name and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor and Player.Neutral == false then
  1388. DecreaseStat(head.Parent, Dec, DecAm, Dur)
  1389. end
  1390. end
  1391. end
  1392. end
  1393. end
  1394. rayCast = function(Pos, Dir, Max, Ignore)
  1395. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1396. end
  1397. local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
  1398. LastPoint = Point
  1399. effect = function(Color, Ref, LP, P1, returnn, size, thing1)
  1400. if LP == nil or P1 == nil then
  1401. return
  1402. end
  1403. local effectsmsh = Instance.new("SpecialMesh")
  1404. effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  1405. effectsmsh.MeshType = "Head"
  1406. effectsmsh.Name = "Mesh"
  1407. local effectsg = Instance.new("Part")
  1408. NoOutline(effectsg)
  1409. effectsg.formFactor = 3
  1410. effectsg.CanCollide = false
  1411. effectsg.Name = "Eff"
  1412. effectsg.Locked = true
  1413. effectsg.Anchored = true
  1414. effectsg.Size = Vector3.new(0.5, 1, 0.5)
  1415. effectsg.Parent = workspace
  1416. effectsmsh.Parent = effectsg
  1417. effectsg.BrickColor = BrickColor.new(Color)
  1418. effectsg.Reflectance = Ref
  1419. local point1 = P1
  1420. local mg = LP.p - point1.p.magnitude
  1421. effectsg.Size = Vector3.new(0.5, mg, 0.5)
  1422. effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  1423. effectsmsh.Scale = Vector3.new(size, 1, size)
  1424. game:GetService("Debris"):AddItem(effectsg, 2)
  1425. if returnn then
  1426. return effectsg
  1427. end
  1428. if not returnn then
  1429. if thing1 == 1 then
  1430. table.insert(Effects, {effectsg, "Cylinder", 0.05, 0.2, 0, 0.2, effectsmsh})
  1431. else
  1432. table.insert(Effects, {effectsg, "Cylinder", 0.2, 0.01, 0, 0.01, effectsmsh})
  1433. end
  1434. end
  1435. end
  1436. local CFrameFromTopBack = function(at, top, back)
  1437. local right = top:Cross(back)
  1438. 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)
  1439. end
  1440. Triangle = function(a, b, c)
  1441. local edg1 = c - a:Dot(b - a.unit)
  1442. local edg2 = a - b:Dot(c - b.unit)
  1443. local edg3 = b - c:Dot(a - c.unit)
  1444. if edg1 <= b - a.magnitude and edg1 >= 0 then
  1445. a = a
  1446. else
  1447. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  1448.  
  1449. if edg2 <= c - b.magnitude and edg2 >= 0 then
  1450. a = b
  1451. else
  1452. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  1453.  
  1454. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  1455.  
  1456. if edg3 <= a - c.magnitude and edg3 >= 0 then
  1457. a = c
  1458. else
  1459. assert(false, "unreachable")
  1460. end
  1461. end
  1462. end
  1463. local len1 = c - a:Dot(b - a.unit)
  1464. local len2 = b - a.magnitude - len1
  1465. local width = a + b - a.unit * len1 - c.magnitude
  1466. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  1467. local list = {}
  1468. if len1 > 0.01 then
  1469. local w1 = Instance.new("WedgePart", m)
  1470. w1.Name = "Triangle"
  1471. game:GetService("Debris"):AddItem(w1, 5)
  1472. w1.Material = "SmoothPlastic"
  1473. w1.FormFactor = "Custom"
  1474. w1.BrickColor = BrickColor.new("Medium blue")
  1475. w1.Transparency = 0
  1476. w1.Reflectance = 0
  1477. w1.Material = "SmoothPlastic"
  1478. w1.CanCollide = false
  1479. NoOutline(w1)
  1480. local sz = Vector3.new(0.2, width, len1)
  1481. w1.Size = sz
  1482. local sp = Instance.new("SpecialMesh", w1)
  1483. sp.MeshType = "Wedge"
  1484. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  1485. w1:BreakJoints()
  1486. w1.Anchored = true
  1487. w1.Parent = workspace
  1488. w1.Transparency = 0.7
  1489. table.insert(Effects, {w1, "Disappear", 0.05})
  1490. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  1491. table.insert(list, w1)
  1492. end
  1493. do
  1494. if len2 > 0.01 then
  1495. local w2 = Instance.new("WedgePart", m)
  1496. w2.Name = "Triangle"
  1497. game:GetService("Debris"):AddItem(w2, 5)
  1498. w2.Material = "SmoothPlastic"
  1499. w2.FormFactor = "Custom"
  1500. w2.BrickColor = BrickColor.new("Medium blue")
  1501. w2.Transparency = 0
  1502. w2.Reflectance = 0
  1503. w2.Material = "SmoothPlastic"
  1504. w2.CanCollide = false
  1505. NoOutline(w2)
  1506. local sz = Vector3.new(0.2, width, len2)
  1507. w2.Size = sz
  1508. local sp = Instance.new("SpecialMesh", w2)
  1509. sp.MeshType = "Wedge"
  1510. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  1511. w2:BreakJoints()
  1512. w2.Anchored = true
  1513. w2.Parent = workspace
  1514. w2.Transparency = 0.7
  1515. table.insert(Effects, {w2, "Disappear", 0.05})
  1516. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  1517. table.insert(list, w2)
  1518. end
  1519. do
  1520. return unpack(list)
  1521. end
  1522. end
  1523. end
  1524. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1525. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1526. prt.Anchored = true
  1527. prt.CFrame = cframe
  1528. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1529. game:GetService("Debris"):AddItem(prt, 10)
  1530. if Type == 1 or Type == nil then
  1531. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  1532. else
  1533. if Type == 2 then
  1534. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  1535. end
  1536. end
  1537. end
  1538. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1539. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1540. prt.Anchored = true
  1541. prt.CFrame = cframe
  1542. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1543. game:GetService("Debris"):AddItem(prt, 10)
  1544. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1545. end
  1546. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  1547. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1548. prt.Anchored = true
  1549. prt.CFrame = cframe
  1550. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1551. game:GetService("Debris"):AddItem(prt, 10)
  1552. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  1553. end
  1554. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1555. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1556. prt.Anchored = true
  1557. prt.CFrame = cframe
  1558. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1559. game:GetService("Debris"):AddItem(prt, 10)
  1560. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1561. end
  1562. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1563. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1564. prt.Anchored = true
  1565. prt.CFrame = cframe
  1566. local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1567. game:GetService("Debris"):AddItem(prt, 10)
  1568. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1569. end
  1570. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  1571. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  1572. prt.Anchored = true
  1573. prt.CFrame = cframe
  1574. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  1575. game:GetService("Debris"):AddItem(prt, 10)
  1576. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  1577. end
  1578. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1579. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1580. prt.Anchored = true
  1581. prt.CFrame = cframe
  1582. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1583. game:GetService("Debris"):AddItem(prt, 10)
  1584. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1585. end
  1586. MagicSpecial = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1587. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1588. prt.Anchored = true
  1589. prt.CFrame = cframe
  1590. local msh = mesh("SpecialMesh", prt, "FileMesh", "24388358", vt(0, 0, 0), vt(x1, y1, z1))
  1591. game:GetService("Debris"):AddItem(prt, 10)
  1592. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1593. end
  1594. Lightning = function(p0, p1, tym, ofs, col, th, tra, last)
  1595. local magz = p0 - p1.magnitude
  1596. local curpos = p0
  1597. local trz = {-ofs, ofs}
  1598. for i = 1, tym do
  1599. local li = Instance.new("Part", workspace)
  1600. li.TopSurface = 0
  1601. li.BottomSurface = 0
  1602. li.Anchored = true
  1603. li.Transparency = tra or 0.4
  1604. li.BrickColor = BrickColor.new(col)
  1605. li.formFactor = "Custom"
  1606. li.CanCollide = false
  1607. li.Size = Vector3.new(th, th, magz / tym)
  1608. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1609. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1610. if tym == i then
  1611. local magz2 = curpos - p1.magnitude
  1612. li.Size = Vector3.new(th, th, magz2)
  1613. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1614. else
  1615. do
  1616. do
  1617. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1618. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1619. game.Debris:AddItem(li, 10)
  1620. table.insert(Effects, {li, "Disappear", last})
  1621. -- DECOMPILER ERROR at PC137: LeaveBlock: unexpected jumping out DO_STMT
  1622.  
  1623. -- DECOMPILER ERROR at PC137: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1624.  
  1625. -- DECOMPILER ERROR at PC137: LeaveBlock: unexpected jumping out IF_STMT
  1626.  
  1627. end
  1628. end
  1629. end
  1630. end
  1631. end
  1632. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  1633. if hit.Parent == nil then
  1634. return
  1635. end
  1636. if hit.Name == "Hitbox" and hit.Parent ~= modelzorz and ranged ~= true then
  1637. ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1638. ref.Anchored = true
  1639. ref.CFrame = cf(hit.Position)
  1640. game:GetService("Debris"):AddItem(ref, 1)
  1641. hitnum = math.random(1, 5)
  1642. if hitnum == 1 then
  1643. so("199148971", ref, 1, 1)
  1644. else
  1645. if hitnum == 2 then
  1646. so("199149025", ref, 1, 1)
  1647. else
  1648. if hitnum == 3 then
  1649. so("199149072", ref, 1, 1)
  1650. else
  1651. if hitnum == 4 then
  1652. so("199149109", ref, 1, 1)
  1653. else
  1654. if hitnum == 5 then
  1655. so("199149119", ref, 1, 1)
  1656. end
  1657. end
  1658. end
  1659. end
  1660. end
  1661. StaggerHit.Value = true
  1662. end
  1663. h = hit.Parent:FindFirstChild("Humanoid")
  1664. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1665. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1666. return
  1667. end
  1668. if Player.Neutral == false then
  1669. if hit.Parent:findFirstChild("Alignment") ~= nil and hit.Parent.Alignment.Value == Player.TeamColor.Color then
  1670. return
  1671. end
  1672. if game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
  1673. return
  1674. end
  1675. end
  1676. c = Instance.new("ObjectValue")
  1677. c.Name = "creator"
  1678. c.Value = game:service("Players").LocalPlayer
  1679. c.Parent = h
  1680. RecentEnemy.Value = hit.Parent
  1681. game:GetService("Debris"):AddItem(c, 0.5)
  1682. minim = minim * Atk.Value
  1683. maxim = maxim * Atk.Value
  1684. Damage = 0
  1685. if minim == maxim then
  1686. Damage = maxim
  1687. else
  1688. Damage = math.random(minim, maxim)
  1689. end
  1690. blocked = false
  1691. enblock = nil
  1692. Stats = hit.Parent:findFirstChild("Stats")
  1693. if Stats ~= nil then
  1694. invis = Stats:findFirstChild("Invisibility")
  1695. isinvis = Stats:findFirstChild("IsInvisible")
  1696. if (ranged == false or ranged == nil) and invis ~= nil and isinvis.Value == true then
  1697. invis.Value = 0
  1698. end
  1699. enblock = Stats:findFirstChild("Block")
  1700. if enblock ~= nil and enblock.Value == true then
  1701. blocked = true
  1702. end
  1703. if Stats:findFirstChild("Defense") ~= nil then
  1704. Damage = Damage / Stats.Defense.Value
  1705. if Damage <= 3 and (ranged == false or ranged == nil) and blocked ~= true then
  1706. hitnum = math.random(1, 5)
  1707. if hitnum == 1 then
  1708. so("199149321", hit, 1, 1)
  1709. else
  1710. if hitnum == 2 then
  1711. so("199149338", hit, 1, 1)
  1712. else
  1713. if hitnum == 3 then
  1714. so("199149367", hit, 1, 1)
  1715. else
  1716. if hitnum == 4 then
  1717. so("199149409", hit, 1, 1)
  1718. else
  1719. if hitnum == 5 then
  1720. so("199149452", hit, 1, 1)
  1721. end
  1722. end
  1723. end
  1724. end
  1725. end
  1726. else
  1727. if ranged == false or ranged == nil and blocked ~= true then
  1728. hitnum = math.random(1, 6)
  1729. if hitnum == 1 then
  1730. so("199149137", hit, 1, 1)
  1731. else
  1732. if hitnum == 2 then
  1733. so("199149186", hit, 1, 1)
  1734. else
  1735. if hitnum == 3 then
  1736. so("199149221", hit, 1, 1)
  1737. else
  1738. if hitnum == 4 then
  1739. so("199149235", hit, 1, 1)
  1740. else
  1741. if hitnum == 5 then
  1742. so("199149269", hit, 1, 1)
  1743. else
  1744. if hitnum == 6 then
  1745. so("199149297", hit, 1, 1)
  1746. end
  1747. end
  1748. end
  1749. end
  1750. end
  1751. end
  1752. end
  1753. end
  1754. if Damage <= 3 and staghit == true and ranged ~= true then
  1755. StaggerHit.Value = true
  1756. end
  1757. end
  1758. if Stats:findFirstChild("Stun") ~= nil then
  1759. if blocked == true then
  1760. incstun = incstun / 2
  1761. end
  1762. if Stats.Stun.Value < Stats.StunThreshold.Value then
  1763. Stats.Stun.Value = Stats.Stun.Value + incstun
  1764. end
  1765. end
  1766. if Stats:findFirstChild("Stagger") ~= nil and stagger == true then
  1767. Stats.Stagger.Value = true
  1768. end
  1769. end
  1770. if blocked == true then
  1771. showDamage(hit.Parent, "Block", "Damage")
  1772. if ranged ~= true then
  1773. enblock.Value = false
  1774. Stagger.Value = true
  1775. hitnum = math.random(1, 2)
  1776. if hitnum == 1 then
  1777. so("199148933", hit, 1, 1)
  1778. else
  1779. if hitnum == 2 then
  1780. so("199148947", hit, 1, 1)
  1781. end
  1782. end
  1783. end
  1784. else
  1785. Damage = math.floor(Damage)
  1786. coroutine.resume(coroutine.create(function(Hum, Dam)
  1787. damageFunc:InvokeServer(h, Damage)
  1788. end), h, Damage)
  1789. showDamage(hit.Parent, Damage, "Damage")
  1790. if DecreaseState ~= nil then
  1791. if DecreaseState == "Temporal" then
  1792. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  1793. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, Duration)
  1794. else
  1795. if DecreaseState == "Temporal2" then
  1796. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  1797. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, Duration)
  1798. else
  1799. DecreaseStat(hit.Parent, DecreaseState, DecreaseAmount, Duration)
  1800. end
  1801. end
  1802. end
  1803. if Type == "NormalDecreaseMvmt1" then
  1804. DecreaseStat(hit.Parent, "Movement", 0.1, 200)
  1805. end
  1806. if Type == "Knockdown" then
  1807. hum = hit.Parent.Humanoid
  1808. hum.PlatformStand = true
  1809. coroutine.resume(coroutine.create(function(HHumanoid)
  1810. swait(1)
  1811. HHumanoid.PlatformStand = false
  1812. end), hum)
  1813. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1814. local bodvol = Instance.new("BodyVelocity")
  1815. bodvol.velocity = angle * knockback
  1816. bodvol.P = 5000
  1817. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  1818. bodvol.Parent = hit
  1819. rl = Instance.new("BodyAngularVelocity")
  1820. rl.P = 3000
  1821. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1822. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1823. rl.Parent = hit
  1824. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1825. game:GetService("Debris"):AddItem(rl, 0.5)
  1826. else
  1827. do
  1828. if Type == "Knockdown2" then
  1829. hum = hit.Parent.Humanoid
  1830. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1831. local bodvol = Instance.new("BodyVelocity")
  1832. bodvol.velocity = angle * knockback
  1833. bodvol.P = 5000
  1834. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  1835. bodvol.Parent = hit
  1836. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1837. else
  1838. do
  1839. if Type == "Normal" or Type == "NormalDecreaseMvmt1" then
  1840. vp = Instance.new("BodyVelocity")
  1841. vp.P = 500
  1842. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1843. if KnockbackType == 1 then
  1844. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1845. else
  1846. if KnockbackType == 2 then
  1847. vp.velocity = Property.CFrame.lookVector * knockback
  1848. end
  1849. end
  1850. game:GetService("Debris"):AddItem(vp, 0.5)
  1851. if knockback > 0 then
  1852. vp.Parent = hit.Parent.Torso
  1853. end
  1854. end
  1855. debounce = Instance.new("BoolValue")
  1856. debounce.Name = "DebounceHit"
  1857. debounce.Parent = hit.Parent
  1858. debounce.Value = true
  1859. game:GetService("Debris"):AddItem(debounce, Delay)
  1860. c = Instance.new("ObjectValue")
  1861. c.Name = "creator"
  1862. c.Value = Player
  1863. c.Parent = h
  1864. game:GetService("Debris"):AddItem(c, 0.5)
  1865. CRIT = false
  1866. end
  1867. end
  1868. end
  1869. end
  1870. end
  1871. end
  1872. end
  1873. showDamage = function(Char, Dealt, Type)
  1874. m = Instance.new("Model")
  1875. m.Name = "Effect"
  1876. c = Instance.new("Part")
  1877. c.Transparency = 1
  1878. c.Name = "Head"
  1879. c.TopSurface = 0
  1880. c.BottomSurface = 0
  1881. c.formFactor = "Plate"
  1882. c.Size = Vector3.new(1, 0.4, 1)
  1883. b = Instance.new("BillboardGui", c)
  1884. b.Size = UDim2.new(5, 0, 5, 0)
  1885. b.AlwaysOnTop = true
  1886. damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  1887. if Type == "Damage" then
  1888. damgui.Font = "SourceSans"
  1889. if Dealt == "Block" then
  1890. damgui.TextColor3 = BrickColor.new("Bright blue").Color
  1891. else
  1892. if Dealt < 3 then
  1893. damgui.TextColor3 = BrickColor.new("Royal Purple").Color
  1894. else
  1895. if Dealt >= 3 and Dealt < 20 then
  1896. damgui.TextColor3 = BrickColor.new("Bright yellow").Color
  1897. else
  1898. damgui.TextColor3 = BrickColor.new("Really red").Color
  1899. damgui.Font = "SourceSansBold"
  1900. end
  1901. end
  1902. end
  1903. else
  1904. if Type == "Debuff" then
  1905. damgui.TextColor3 = BrickColor.new("Royal Purple").Color
  1906. else
  1907. if Type == "Interrupt" then
  1908. damgui.TextColor3 = BrickColor.new("Royal Purple").Color
  1909. end
  1910. end
  1911. end
  1912. damgui.TextScaled = true
  1913. ms = Instance.new("CylinderMesh")
  1914. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  1915. ms.Parent = c
  1916. c.Reflectance = 0
  1917. Instance.new("BodyGyro").Parent = c
  1918. c.Parent = m
  1919. if Char:findFirstChild("Head") ~= nil then
  1920. c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  1921. else
  1922. if Char.Parent:findFirstChild("Head") ~= nil then
  1923. c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  1924. end
  1925. end
  1926. f = Instance.new("BodyPosition")
  1927. f.P = 2000
  1928. f.D = 100
  1929. f.maxForce = Vector3.new(545000, 545000, 545000)
  1930. if Type == "Damage" then
  1931. f.position = c.Position + Vector3.new(0, 3, 0)
  1932. else
  1933. if Type == "Debuff" or Type == "Interrupt" then
  1934. f.position = c.Position + Vector3.new(0, 5, 0)
  1935. end
  1936. end
  1937. f.Parent = c
  1938. game:GetService("Debris"):AddItem(m, 5)
  1939. table.insert(Effects, {m, "showDamage", damgui, f, 10, 1, 15, 50, 100})
  1940. c.CanCollide = false
  1941. m.Parent = workspace
  1942. c.CanCollide = false
  1943. end
  1944. combo = 0
  1945. ob1d = function(mouse)
  1946. if attack == true or equipped == false then
  1947. return
  1948. end
  1949. hold = true
  1950. if combo == 0 then
  1951. combo = 1
  1952. attackone()
  1953. else
  1954. if combo == 1 then
  1955. combo = 2
  1956. attacktwo()
  1957. else
  1958. if combo == 2 then
  1959. combo = 3
  1960. attackthree()
  1961. else
  1962. if combo == 3 then
  1963. combo = 0
  1964. attackfour()
  1965. end
  1966. end
  1967. end
  1968. end
  1969. coroutine.resume(coroutine.create(function()
  1970. for i = 1, 50 do
  1971. if attack == false then
  1972. swait()
  1973. end
  1974. end
  1975. if attack == false then
  1976. combo = 0
  1977. end
  1978. end))
  1979. end
  1980. ob1u = function(mouse)
  1981. hold = false
  1982. end
  1983. buttonhold = false
  1984. fenbarmove1.MouseButton1Click:connect(do1)
  1985. fenbarmove2.MouseButton1Click:connect(do2)
  1986. fenbarmove3.MouseButton1Click:connect(do3)
  1987. fenbarmove4.MouseButton1Click:connect(do4)
  1988. eul = 0
  1989. equipped = false
  1990. key = function(key)
  1991. if attack == true then
  1992. return
  1993. end
  1994. if key == "f" then
  1995. pressedf = true
  1996. fnumb = 0
  1997. attack = true
  1998. if equipped == false then
  1999. equipped = true
  2000. RSH = ch.Torso["Right Shoulder"]
  2001. LSH = ch.Torso["Left Shoulder"]
  2002. RSH.Parent = nil
  2003. LSH.Parent = nil
  2004. RW.Name = "Right Shoulder"
  2005. RW.Part0 = ch.Torso
  2006. RW.C0 = cf(1.5, 0.5, 0)
  2007. RW.C1 = cf(0, 0.5, 0)
  2008. RW.Part1 = ch["Right Arm"]
  2009. RW.Parent = ch.Torso
  2010. LW.Name = "Left Shoulder"
  2011. LW.Part0 = ch.Torso
  2012. LW.C0 = cf(-1.5, 0.5, 0)
  2013. LW.C1 = cf(0, 0.5, 0)
  2014. LW.Part1 = ch["Left Arm"]
  2015. LW.Parent = ch.Torso
  2016. Animate.Parent = nil
  2017. equipanim()
  2018. else
  2019. equipped = false
  2020. hideanim()
  2021. LH.C1 = LHC1
  2022. RH.C1 = RHC1
  2023. Animate.Parent = Humanoid
  2024. swait(0)
  2025. RW.Parent = nil
  2026. LW.Parent = nil
  2027. RSH.Parent = player.Character.Torso
  2028. LSH.Parent = player.Character.Torso
  2029. end
  2030. attack = false
  2031. end
  2032. if equipped == false then
  2033. return
  2034. end
  2035. -- DECOMPILER ERROR at PC131: Unhandled construct in 'MakeBoolean' P1
  2036.  
  2037. if key ~= "e" or key == "z" then
  2038. do1()
  2039. end
  2040. if key == "x" then
  2041. do2()
  2042. end
  2043. if key == "c" then
  2044. do3()
  2045. end
  2046. if key == "v" then
  2047. do4()
  2048. end
  2049. if attack == false then
  2050. RecentEnemy.Value = nil
  2051. end
  2052. end
  2053. key2 = function(key)
  2054. end
  2055. s = function(mouse)
  2056. mouse.Button1Down:connect(function()
  2057. ob1d(mouse)
  2058. end)
  2059. mouse.Button1Up:connect(function()
  2060. ob1u(mouse)
  2061. end)
  2062. mouse.KeyDown:connect(key)
  2063. mouse.KeyUp:connect(key2)
  2064. player = Player
  2065. ch = Character
  2066. end
  2067. ds = function(mouse)
  2068. end
  2069. Bin.Selected:connect(s)
  2070. Bin.Deselected:connect(ds)
  2071. print("Twlight loaded.")
  2072. local Magicnum = 0
  2073. local donum = 0
  2074. local stunnum = 0
  2075. local staggeranim = false
  2076. local stunanim = false
  2077. local passivenum = 0
  2078. local passivenum2 = 0
  2079. local walk = 0
  2080. local walkforw = true
  2081. while 1 do
  2082. swait()
  2083. if Humanoid.Health <= 0 then
  2084. attack = true
  2085. resumeControl()
  2086. modelzorz.Parent = workspace
  2087. game:GetService("Debris"):AddItem(modelzorz, 30)
  2088. for i = 1, #Weapon do
  2089. Weapon[i].Parent = modelzorz
  2090. Weapon[i].CanCollide = true
  2091. end
  2092. for i = 1, #Welds do
  2093. if Welds[i].Part0.Parent == Character or Welds[i].Part1.Parent == Character then
  2094. Welds[i].Parent = nil
  2095. else
  2096. Welds[i].Parent = prt1
  2097. end
  2098. end
  2099. end
  2100. do
  2101. if fnumb < 21 then
  2102. fnumb = fnumb + 1
  2103. if pressedf == false then
  2104. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency - 0.025
  2105. tellbar.TextTransparency = tellbar.TextTransparency - 0.05
  2106. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency - 0.05
  2107. else
  2108. if fnumb == 20 then
  2109. fenframe5.Parent = nil
  2110. print("daigui")
  2111. end
  2112. fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency + 0.025
  2113. tellbar.TextTransparency = tellbar.TextTransparency + 0.05
  2114. tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency + 0.05
  2115. end
  2116. end
  2117. if hbwld.Parent == nil then
  2118. hitbox2.Name = "Hitbox"
  2119. else
  2120. hitbox2.Name = "Hitbox2"
  2121. end
  2122. hitbox2.Parent = hitbox.Parent
  2123. hitbox2.Size = hitbox.Size
  2124. hitbox2.CFrame = hitboxCF
  2125. hboxpos.position = hitbox2.Position + vt(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
  2126. if Stagger.Value == true and staggeranim == false then
  2127. coroutine.resume(coroutine.create(function()
  2128. staggeranim = true
  2129. while attack == true do
  2130. swait()
  2131. end
  2132. StaggerAnim()
  2133. StaggerHit.Value = false
  2134. Stagger.Value = false
  2135. staggeranim = false
  2136. end))
  2137. end
  2138. if StaggerHit.Value == true and staggeranim == false then
  2139. coroutine.resume(coroutine.create(function()
  2140. staggeranim = true
  2141. while attack == true and specialstagger == false do
  2142. swait()
  2143. end
  2144. if specialstagger == false then
  2145. StaggerHitt()
  2146. end
  2147. StaggerHit.Value = false
  2148. Stagger.Value = false
  2149. staggeranim = false
  2150. end))
  2151. end
  2152. if Mvmt.Value < 0 or Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Rooted.Value == true then
  2153. Humanoid.WalkSpeed = 0
  2154. else
  2155. Humanoid.WalkSpeed = 16 * Mvmt.Value
  2156. end
  2157. if StunT.Value <= Stun.Value and stunanim == false then
  2158. coroutine.resume(coroutine.create(function()
  2159. stunanim = true
  2160. while attack == true do
  2161. swait()
  2162. end
  2163. StunAnim()
  2164. Stun.Value = 0
  2165. stunanim = false
  2166. end))
  2167. end
  2168. local stunnum2 = 50
  2169. if stunnum2 <= stunnum then
  2170. if 0 < Stun.Value then
  2171. Stun.Value = Stun.Value - 1
  2172. end
  2173. stunnum = 0
  2174. end
  2175. stunnum = stunnum + 1
  2176. if 0.5 <= donum then
  2177. handidle = true
  2178. else
  2179. if donum <= 0 then
  2180. handidle = false
  2181. end
  2182. end
  2183. if handidle == false then
  2184. donum = donum + 0.003
  2185. else
  2186. donum = donum - 0.003
  2187. end
  2188. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2189. local velderp = RootPart.Velocity.y
  2190. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2191. if equipped == true then
  2192. if attack == false then
  2193. idle = idle + 1
  2194. else
  2195. idle = 0
  2196. end
  2197. if (500 <= idle and attack ~= false) or Anim == "Walk" then
  2198. if walkforw == true then
  2199. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  2200. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  2201. else
  2202. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  2203. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  2204. end
  2205. else
  2206. RH.C1 = clerp(RH.C1, RHC1, 0.2)
  2207. LH.C1 = clerp(LH.C1, LHC1, 0.2)
  2208. end
  2209. if 1 < RootPart.Velocity.y and hitfloor == nil then
  2210. Anim = "Jump"
  2211. if attack == false then
  2212. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.3)
  2213. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(0, 0, 1.57), 0.3)
  2214. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.2)
  2215. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  2216. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  2217. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.2), 0.2)
  2218. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2219. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.2)
  2220. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2221. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  2222. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  2223. end
  2224. else
  2225. if RootPart.Velocity.y < -1 and hitfloor == nil then
  2226. Anim = "Fall"
  2227. if attack == false then
  2228. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.3)
  2229. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(0, 0, 1.57), 0.3)
  2230. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
  2231. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  2232. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  2233. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.8), 0.2)
  2234. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2235. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.8), 0.2)
  2236. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2237. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  2238. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  2239. end
  2240. else
  2241. if torvel < 1 and hitfloor ~= nil then
  2242. Anim = "Idle"
  2243. if attack == false then
  2244. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.2)
  2245. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 1.3, 0) * euler(0, 0, 1.8), 0.2)
  2246. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(0, 0, 0), 0.15)
  2247. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.2, 0, 0) * euler(0, 0, -1), 0.15)
  2248. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, -0.3) * euler(0.4, 0, 0.1) * euler(0, 1.2, 0), 0.15)
  2249. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2250. LW.C0 = clerp(LW.C0, cf(-1.4, 0.4, -0.3) * euler(1.2, 0, 0.2) * euler(0, 1.4, 0), 0.15)
  2251. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2252. RH.C0 = clerp(RH.C0, cf(0.9, -0.8, -0.6) * euler(0, 1.57, 0) * euler(0, 1, -0.2), 0.2)
  2253. LH.C0 = clerp(LH.C0, cf(-0.9, -0.5, 0.4) * euler(0, -1.57, 0) * euler(0, 1, -0.1), 0.2)
  2254. end
  2255. else
  2256. if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  2257. Anim = "Walk"
  2258. walk = walk + 1
  2259. if 15 - 5 * Mvmt.Value <= walk then
  2260. walk = 0
  2261. if walkforw == true then
  2262. walkforw = false
  2263. else
  2264. if walkforw == false then
  2265. walkforw = true
  2266. end
  2267. end
  2268. end
  2269. if attack == false then
  2270. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.2)
  2271. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 1.3, 0) * euler(0.2, 0, 1.7), 0.2)
  2272. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0, 0, 0), 0.15)
  2273. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, -0.8), 0.15)
  2274. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, -0.3) * euler(0.2, 0, 0.1) * euler(0, 1, 0), 0.15)
  2275. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2276. LW.C0 = clerp(LW.C0, cf(-1.1, 0.3, -0.4) * euler(0.8, 0, 0.2) * euler(0, 1.2, 0), 0.15)
  2277. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2278. RH.C0 = clerp(RH.C0, cf(0.9, -0.9, -0.6) * euler(0, 1.57, 0) * euler(0, 0.8, -0.2), 0.2)
  2279. LH.C0 = clerp(LH.C0, cf(-0.9, -0.6, 0.4) * euler(0, -1.57, 0) * euler(0, 0.8, -0.1), 0.2)
  2280. end
  2281. else
  2282. if 30 <= torvel and hitfloor ~= nil then
  2283. Anim = "Run"
  2284. if attack == false then
  2285. handlewld.C0 = clerp(handlewld.C0, euler(0, 1.57, 0) * cf(0, 1, 0), 0.2)
  2286. wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 1.3, 0) * euler(0.2, 0, 1.7), 0.2)
  2287. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0, 0, 0), 0.15)
  2288. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, -0.8), 0.15)
  2289. RW.C0 = clerp(RW.C0, cf(1.3, 0.4, -0.3) * euler(0.2, 0, 0.1) * euler(0, 1, 0), 0.15)
  2290. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2291. LW.C0 = clerp(LW.C0, cf(-1.1, 0.3, -0.4) * euler(0.8, 0, 0.2) * euler(0, 1.2, 0), 0.15)
  2292. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2293. RH.C0 = clerp(RH.C0, cf(0.9, -0.9, -0.6) * euler(0, 1.57, 0) * euler(0, 0.8, -0.2), 0.2)
  2294. LH.C0 = clerp(LH.C0, cf(-0.9, -0.6, 0.4) * euler(0, -1.57, 0) * euler(0, 0.8, -0.1), 0.2)
  2295. end
  2296. end
  2297. end
  2298. end
  2299. end
  2300. end
  2301. end
  2302. if 0 < #Effects then
  2303. for e = 1, #Effects do
  2304. if Effects[e] ~= nil then
  2305. local Thing = Effects[e]
  2306. if Thing ~= nil then
  2307. local Part = Thing[1]
  2308. local Mode = Thing[2]
  2309. local Delay = Thing[3]
  2310. local IncX = Thing[4]
  2311. local IncY = Thing[5]
  2312. local IncZ = Thing[6]
  2313. if Thing[2] == "CylinderClang" then
  2314. if Thing[3] <= 1 then
  2315. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2316. Thing[7] = Thing[1].CFrame
  2317. effect("Royal Purple", 0, Thing[8], Thing[7], nil, 0.1, 2)
  2318. Thing[8] = Thing[7]
  2319. Thing[3] = Thing[3] + Thing[4]
  2320. else
  2321. Part.Parent = nil
  2322. table.remove(Effects, e)
  2323. end
  2324. end
  2325. if Thing[2] == "showDamage" then
  2326. if Thing[6] < Thing[5] then
  2327. Thing[6] = Thing[6] + 1
  2328. else
  2329. if Thing[6] < Thing[7] then
  2330. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  2331. Thing[6] = Thing[6] + 1
  2332. else
  2333. if Thing[6] < Thing[8] then
  2334. Thing[6] = Thing[6] + 1
  2335. else
  2336. if Thing[6] < Thing[9] then
  2337. Thing[6] = Thing[6] + 1
  2338. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  2339. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  2340. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  2341. else
  2342. Thing[1].Parent = nil
  2343. table.remove(Effects, e)
  2344. end
  2345. end
  2346. end
  2347. end
  2348. end
  2349. if Thing[2] == "CloneEf" then
  2350. if Thing[3] <= 500 then
  2351. Thing[3] = Thing[3] + 1
  2352. if 10 <= Thing[4] then
  2353. Thing[4] = 0
  2354. Clone()
  2355. end
  2356. Thing[4] = Thing[4] + 1
  2357. else
  2358. table.remove(Effects, e)
  2359. end
  2360. end
  2361. if Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "CloneEf" then
  2362. if Thing[1].Transparency <= 1 then
  2363. if Thing[2] == "Block1" then
  2364. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2365. Mesh = Thing[7]
  2366. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2367. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2368. else
  2369. if Thing[2] == "Block2" then
  2370. Thing[1].CFrame = Thing[1].CFrame
  2371. Mesh = Thing[7]
  2372. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2373. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2374. else
  2375. if Thing[2] == "Cylinder" then
  2376. Mesh = Thing[7]
  2377. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2378. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2379. else
  2380. if Thing[2] == "Blood" then
  2381. Mesh = Thing[7]
  2382. Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0)
  2383. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2384. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2385. else
  2386. if Thing[2] == "Elec" then
  2387. Mesh = Thing[7]
  2388. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  2389. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2390. else
  2391. if Thing[2] == "Disappear" then
  2392. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2393. end
  2394. end
  2395. end
  2396. end
  2397. end
  2398. end
  2399. else
  2400. Part.Parent = nil
  2401. table.remove(Effects, e)
  2402. end
  2403. end
  2404. end
  2405. end
  2406. end
  2407. end
  2408. do
  2409. fenbarMagic2:TweenSize((UDim2.new(0.4, 0, -4 * Magic.Value / 100, 0)), nil, 1, 0.4, true)
  2410. fenbarMagic4.Text = "Magic(" .. Magic.Value .. ")"
  2411. fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0)
  2412. fenbarhp2:TweenSize((UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
  2413. fenbarhp3.Text = "(" .. math.floor(Humanoid.Health) .. ")"
  2414. fenbarmove1b:TweenSize((UDim2.new(1 * cooldowns[1] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  2415. fenbarmove2b:TweenSize((UDim2.new(1 * cooldowns[2] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  2416. fenbarmove3b:TweenSize((UDim2.new(1 * cooldowns[3] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  2417. fenbarmove4b:TweenSize((UDim2.new(1 * cooldowns[4] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  2418. for _,c in pairs(Decrease:children()) do
  2419. if (c:findFirstChild("Duration")) ~= nil then
  2420. c.Duration.Value = c.Duration.Value - 1
  2421. if c.Duration.Value <= 0 then
  2422. c.Parent = nil
  2423. end
  2424. end
  2425. if c.Name == "DecreaseAtk" then
  2426. decreaseatk = decreaseatk + c.Value
  2427. else
  2428. if c.Name == "DecreaseDef" then
  2429. decreasedef = decreasedef + c.Value
  2430. else
  2431. if c.Name == "DecreaseMvmt" then
  2432. decreasemvmt = decreasemvmt + c.Value
  2433. end
  2434. end
  2435. end
  2436. end
  2437. Atk.Value = 1 - (decreaseatk)
  2438. if Atk.Value <= 0 then
  2439. Atk.Value = 0
  2440. end
  2441. Def.Value = 1 - (decreasedef)
  2442. if Def.Value <= 0 then
  2443. Def.Value = 0.01
  2444. end
  2445. Mvmt.Value = 1 - (decreasemvmt)
  2446. if Mvmt.Value <= 0 then
  2447. Mvmt.Value = 0
  2448. end
  2449. decreaseatk = 0
  2450. decreasedef = 0
  2451. decreasemvmt = 0
  2452. AtkVal = Atk.Value * 100
  2453. AtkVal = math.floor(AtkVal)
  2454. AtkVal = AtkVal / 100
  2455. fenbardamage.Text = "Damage\n(" .. AtkVal .. ")"
  2456. DefVal = Def.Value * 100
  2457. DefVal = math.floor(DefVal)
  2458. DefVal = DefVal / 100
  2459. fenbardef.Text = "Defense\n(" .. DefVal .. ")"
  2460. MvmtVal = Mvmt.Value * 100
  2461. MvmtVal = math.floor(MvmtVal)
  2462. MvmtVal = MvmtVal / 100
  2463. if Rooted.Value == true then
  2464. MvmtVal = 0
  2465. end
  2466. fenbarmove.Text = "Walkspeed\n(" .. MvmtVal .. ")"
  2467. if StunT.Value <= Stun.Value then
  2468. fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4, 0)), nil, 1, 0.4, true)
  2469. else
  2470. fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0)), nil, 1, 0.4, true)
  2471. end
  2472. fenbarstun3.Text = "Stun(" .. Stun.Value .. ")"
  2473. if 100 <= Magic.Value then
  2474. Magic.Value = 100
  2475. else
  2476. if Magicnum <= 15 then
  2477. Magicnum = Magicnum + 1
  2478. else
  2479. Magicnum = 0
  2480. Magic.Value = Magic.Value + 1
  2481. end
  2482. end
  2483. for i = 1, #cooldowns do
  2484. if cooldownmax <= cooldowns[i] then
  2485. cooldowns[i] = cooldownmax
  2486. else
  2487. cooldowns[i] = cooldowns[i] + cooldownsadd[i]
  2488. end
  2489. end
  2490. -- DECOMPILER ERROR at PC5631: LeaveBlock: unexpected jumping out DO_STMT
  2491.  
  2492. -- DECOMPILER ERROR at PC5631: LeaveBlock: unexpected jumping out DO_STMT
  2493.  
  2494. end
  2495. end
  2496. end
  2497. local Mode = "Normal"
  2498. local cbuster = false
  2499. local cshoot = false
  2500. local cdebounce = false
  2501. local sbreaker = false
  2502. local shockshoot = false
  2503. local shockdebounce = false
  2504. local TehM = nil
  2505. local sblazing = false
  2506. local starshoot = false
  2507. local stardebounce = false
  2508. local busterlaser = false
  2509. local NightmareMagicII = false
  2510. local lunastab = false
  2511. local prising = false
  2512. local handles = Instance.new("Model")
  2513. handles.Parent = Character
  2514. handles.Name = "Handles"
  2515. local modelzorz = Instance.new("Model")
  2516. modelzorz.Parent = Character
  2517. modelzorz.Name = "luna beam"
  2518. local model2 = Instance.new("Model")
  2519. model2.Parent = Character
  2520. model2.Name = "Teleport"
  2521. local model3 = Instance.new("Model")
  2522. model3.Parent = Character
  2523. model3.Name = "Teleport magic"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement