Advertisement
lafur

Untitled

Nov 9th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.27 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end Meshes = {
  6. Blast = '20329976',
  7. Crown = '1323306',
  8. Ring = '3270017',
  9. Claw = '10681506',
  10. Crystal = '9756362',
  11. Coil = '9753878',
  12. Cloud = '1095708',
  13. }
  14. clangsounds = {
  15. '199149119',
  16. '199149109',
  17. '199149072',
  18. '199149025',
  19. '199148971'
  20. }
  21. hitsounds = {
  22. '199149137',
  23. '199149186',
  24. '199149221',
  25. '199149235',
  26. '199149269',
  27. '199149297'
  28. }
  29. blocksounds = {
  30. '199148933',
  31. '199148947'
  32. }
  33. armorsounds = {
  34. '199149321',
  35. '199149338',
  36. '199149367',
  37. '199149409',
  38. '199149452'
  39. }
  40. woosh = {
  41. Heavy1 = '320557353',
  42. Heavy2 = '320557382',
  43. Heavy3 = '320557453',
  44. Heavy4 = '199144226',
  45. Heavy5 = '203691447',
  46. Heavy6 = '203691467',
  47. Heavy7 = '203691492',
  48. Light1 = '320557413',
  49. Light2 = '320557487',
  50. Light3 = '199145095',
  51. Light4 = '199145146',
  52. Light5 = '199145887',
  53. Light6 = '199145913',
  54. Light7 = '199145841',
  55. Medium1 = '320557518',
  56. Medium2 = '320557537',
  57. Medium3 = '320557563',
  58. Medium4 = '199145204'
  59. }
  60. Songs = {
  61. Breaking = '179281636',
  62. FinalReckoning = '357375770',
  63. NotDeadYet = '346175829',
  64. Intense = '151514610',
  65. JumpP1 = '160536628',
  66. JumpP2 = '60536666',
  67. SonsOfWar = '158929777',
  68. WrathOfSea = '165520893',
  69. ProtectorsOfEarth = '160542922',
  70. SkyTitans = '179282324',
  71. ArchAngel = '144043274',
  72. Anticipation = '168614529',
  73. TheMartyred = '186849544',
  74. AwakeP1 = '335631255',
  75. AwakeP2 = '335631297',
  76. ReadyAimFireP1 = '342455387',
  77. ReadyAimFireP2 = '342455399',
  78. DarkLordP1 = '209567483',
  79. DarkLordP2 = '209567529',
  80. BloodDrainP1 = '162914123',
  81. BloodDrainP2 = '162914203',
  82. DanceOfSwords = '320473062',
  83. Opal = '286415112',
  84. Calamity = '190454307',
  85. Hypnotica = '155968128',
  86. Nemisis = '160453802',
  87. Breathe = '276963903',
  88. GateToTheRift = '270655227',
  89. InfernalBeserking = '244143404',
  90. Trust = '246184492',
  91. AwakeningTheProject = '245121821',
  92. BloodPain = '242545577',
  93. Chaos = '247241693',
  94. NightmareFictionHighStake = '248062278',
  95. TheWhiteWeapon = '247236446',
  96. Gale = '256851659',
  97. ImperialCode = '256848383',
  98. Blitzkrieg = '306431437',
  99. RhapsodyRage = '348690251',
  100. TheGodFist = '348541501',
  101. BattleForSoul = '321185592',
  102. TheDarkColossus = '305976780',
  103. EmpireOfAngels = '302580452',
  104. Kronos = '302205297',
  105. Exorcist = '299796054',
  106. CrimsonFlames = '297799220',
  107. UltimatePower = '295753229',
  108. DrivingInTheDark = '295753229',
  109. AscendToPower = '293860654',
  110. GodOfTheSun = '293612495',
  111. DarkRider = '293861765',
  112. Vengeance = '293375555',
  113. SoundOfWar = '293376196',
  114. HellsCrusaders = '293012202',
  115. Legend = '293011823',
  116. RisingSouls = '290524959'
  117. }
  118. misc = {
  119. GroundSlam = '199145477',
  120. LaserSlash = '199145497',
  121. RailGunFire = '199145534',
  122. Charge1 = '199145659',
  123. Charge2 = '169380469',
  124. Charge3 = '169380479',
  125. EmptyGun = '203691822',
  126. GunShoot = '203691837',
  127. Stomp1 = '200632875',
  128. Stomp2 = '200632561',
  129. TelsaCannonCharge = '169445572',
  130. TelsaCannonShoot = '169445602',
  131. AncientHymm = '245313442'
  132. }
  133.  
  134. wait(0.016666666666667)
  135. Effects = {}
  136. local Player = game.Players.localPlayer
  137. local Character = Player.Character
  138. local Humanoid = Character.Humanoid
  139. local mouse = Player:GetMouse()
  140. local m = Instance.new("Model", Character)
  141. m.Name = "WeaponModel"
  142. local LeftArm = Character["Left Arm"]
  143. local RightArm = Character["Right Arm"]
  144. local LeftLeg = Character["Left Leg"]
  145. local RightLeg = Character["Right Leg"]
  146. local Head = Character.Head
  147. local Torso = Character.Torso
  148. local RootPart = Character.HumanoidRootPart
  149. local RootJoint = RootPart.RootJoint
  150. local cam = game.Workspace.CurrentCamera
  151. local equipped = false
  152. local attack = false
  153. local Anim = "Idle"
  154. local idle = 0
  155. local attacktype = 1
  156. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  157. local velocity = RootPart.Velocity.y
  158. local sine = 0
  159. local change = 1
  160. local grabbed = false
  161. local cn = CFrame.new
  162. local mr = math.rad
  163. local angles = CFrame.Angles
  164. local ud = UDim2.new
  165. local c3 = Color3.new
  166. cf = CFrame.new
  167. vt = Vector3.new
  168. local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  169. Humanoid.Animator:Destroy()
  170. Character.Animate:Destroy()
  171. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  172. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  173. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  174. RSH = nil
  175. RW = Instance.new("Weld")
  176. LW = Instance.new("Weld")
  177. RH = Torso["Right Hip"]
  178. LH = Torso["Left Hip"]
  179. RSH = Torso["Right Shoulder"]
  180. LSH = Torso["Left Shoulder"]
  181. RSH.Parent = nil
  182. LSH.Parent = nil
  183. RW.Name = "RW"
  184. RW.Part0 = Torso
  185. RW.C0 = cn(1.5, 0.5, 0)
  186. RW.C1 = cn(0, 0.5, 0)
  187. RW.Part1 = RightArm
  188. RW.Parent = Torso
  189. LW.Name = "LW"
  190. LW.Part0 = Torso
  191. LW.C0 = cn(-1.5, 0.5, 0)
  192. LW.C1 = cn(0, 0.5, 0)
  193. LW.Part1 = LeftArm
  194. LW.Parent = Torso
  195.  
  196.  
  197. clerp = function(a, b, t)
  198. return a:lerp(b, t)
  199. end
  200.  
  201.  
  202. --[[--------------------------------------------------
  203. LeftArm.Size = LeftArm.Size * 1
  204. RightArm.Size = RightArm.Size * 1
  205. LeftLeg.Size = LeftLeg.Size * 1
  206. RightLeg.Size = RightLeg.Size * 1
  207. Torso.Size = Torso.Size * 1
  208. Head.Size = Head.Size * 1
  209. RootPart.Size = RootPart.Size * 1
  210. ----------------------------------------------------]]
  211.  
  212.  
  213. ArtificialHB = Instance.new("BindableEvent", script)
  214. ArtificialHB.Name = "Heartbeat"
  215. script:WaitForChild("Heartbeat")
  216. frame = 0.033333333333333
  217. tf = 0
  218. allowframeloss = false
  219. tossremainder = false
  220. lastframe = tick()
  221. script.Heartbeat:Fire()
  222. game:GetService("RunService").Heartbeat:connect(function(s, p)
  223. tf = tf + s
  224. if frame <= tf then
  225. if allowframeloss then
  226. script.Heartbeat:Fire()
  227. lastframe = tick()
  228. else
  229. for i = 1, math.floor(tf / frame) do
  230. script.Heartbeat:Fire()
  231. end
  232. lastframe = tick()
  233. end
  234. if tossremainder then
  235. tf = 0
  236. else
  237. tf = tf - frame * math.floor(tf / frame)
  238. end
  239. end
  240. end
  241. )
  242. swait = function(num)
  243. if num == 0 or num == nil then
  244. ArtificialHB.Event:wait()
  245. else
  246. for i = 0, num do
  247. ArtificialHB.Event:wait()
  248. end
  249. end
  250. end
  251.  
  252. local RbxUtility = LoadLibrary("RbxUtility")
  253. local Create = RbxUtility.Create
  254. RemoveOutlines = function(part)
  255. part.TopSurface = 10
  256. end
  257.  
  258.  
  259. local co1 = 3
  260. local co2 = 3
  261. local co3 = 3
  262. local co4 = 3
  263. local cooco = 3
  264. local cooldown1 = 3
  265. local cooldown2 = 3
  266. local cooldown3 = 3
  267. local cooldown4 = 3
  268. local coolcool = 3
  269. local maxEnergy = 20
  270. local Energy = 100
  271. local skill1stam = 10
  272. local skill2stam = 30
  273. local skill3stam = 40
  274. local skill4stam = 60
  275. local recovermana = 5
  276. local skillcolorscheme = Character["Torso"].BrickColor.Color
  277. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  278. makeframe = function(par, trans, pos, size, color)
  279. local frame = Instance.new("Frame", par)
  280. frame.BackgroundTransparency = trans
  281. frame.BorderSizePixel = 0
  282. frame.Position = pos
  283. frame.Size = size
  284. frame.BackgroundColor3 = color
  285. return frame
  286. end
  287.  
  288. makelabel = function(par, text)
  289. local label = Instance.new("TextLabel", par)
  290. label.BackgroundTransparency = 1
  291. label.Size = UDim2.new(1, 0, 1, 0)
  292. label.Position = UDim2.new(0, 0, 0, 0)
  293. label.TextColor3 = Color3.new(255, 255, 255)
  294. label.TextStrokeTransparency = 0
  295. label.FontSize = Enum.FontSize.Size32
  296. label.Font = Enum.Font.SourceSansBold
  297. label.BorderSizePixel = 0
  298. label.TextScaled = true
  299. label.Text = text
  300. end
  301.  
  302. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  303. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  304. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  305. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  306. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  307. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  308. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  309. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  310.  
  311. text1 = Instance.new("TextLabel", framesk1)
  312. text1.BackgroundTransparency = 1
  313. text1.Size = UDim2.new(1, 0, 1, 0)
  314. text1.Position = UDim2.new(0, 0, 0, 0)
  315. text1.TextColor3 = Color3.new(255, 255, 255)
  316. text1.TextStrokeTransparency = 0
  317. text1.FontSize = Enum.FontSize.Size18
  318. text1.Font = Enum.Font.SourceSansBold
  319. text1.BorderSizePixel = 0
  320. text1.TextScaled = true
  321. text1.Text = "[Z]\n Smek Combo"
  322.  
  323.  
  324. text2 = Instance.new("TextLabel", framesk2)
  325. text2.BackgroundTransparency = 1
  326. text2.Size = UDim2.new(1, 0, 1, 0)
  327. text2.Position = UDim2.new(0, 0, 0, 0)
  328. text2.TextColor3 = Color3.new(255, 255, 255)
  329. text2.TextStrokeTransparency = 0
  330. text2.FontSize = Enum.FontSize.Size18
  331. text2.Font = Enum.Font.SourceSansBold
  332. text2.BorderSizePixel = 0
  333. text2.TextScaled = true
  334. text2.Text = "[X]\n Wavez of Sugar"
  335.  
  336.  
  337. text3 = Instance.new("TextLabel", framesk3)
  338. text3.BackgroundTransparency = 1
  339. text3.Size = UDim2.new(1, 0, 1, 0)
  340. text3.Position = UDim2.new(0, 0, 0, 0)
  341. text3.TextColor3 = Color3.new(255, 255, 255)
  342. text3.TextStrokeTransparency = 0
  343. text3.FontSize = Enum.FontSize.Size18
  344. text3.Font = Enum.Font.SourceSansBold
  345. text3.BorderSizePixel = 0
  346. text3.TextScaled = false
  347. text3.Text = "[C]\n SpinCycle"
  348.  
  349.  
  350. text4 = Instance.new("TextLabel", framesk4)
  351. text4.BackgroundTransparency = 1
  352. text4.Size = UDim2.new(1, 0, 1, 0)
  353. text4.Position = UDim2.new(0, 0, 0, 0)
  354. text4.TextColor3 = Color3.new(255, 255, 255)
  355. text4.TextStrokeTransparency = 0
  356. text4.FontSize = Enum.FontSize.Size18
  357. text4.Font = Enum.Font.SourceSansBold
  358. text4.BorderSizePixel = 0
  359. text4.TextScaled = true
  360. text4.Text = "[V]\n Yummie laz0r"
  361.  
  362.  
  363.  
  364. function NoOutline(Part)
  365. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  366. end
  367.  
  368. function nooutline(part)
  369. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  370. end
  371.  
  372.  
  373. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  374. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  375. RemoveOutlines(Part)
  376. nooutline(Part)
  377. return Part
  378. end
  379.  
  380. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  381. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  382. if Mesh == "SpecialMesh" then
  383. Msh.MeshType = MeshType
  384. Msh.MeshId = MeshId
  385. end
  386. return Msh
  387. end
  388.  
  389. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  390. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  391. return Weld
  392. end
  393.  
  394. rayCast = function(Position, Direction, Range, Ignore)
  395. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  396. end
  397.  
  398. CreateSound = function(id, par, vol, pit)
  399. coroutine.resume(coroutine.create(function()
  400. local sou = Instance.new("Sound", par or workspace)
  401. sou.Volume = vol
  402. sou.Pitch = pit or 1
  403. sou.SoundId = id
  404. swait()
  405. sou:play()
  406. game:GetService("Debris"):AddItem(sou, 6)
  407. end
  408. ))
  409. end
  410.  
  411. local getclosest = function(obj, distance)
  412. local last, lastx = distance + 1, nil
  413. for i,v in pairs(workspace:GetChildren()) do
  414. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  415. local t = v.Torso
  416. local dist = t.Position - obj.Position.magnitude
  417. if dist <= distance and dist < last then
  418. last = dist
  419. lastx = v
  420. end
  421. end
  422. end
  423. return lastx
  424. end
  425.  
  426. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  427. if hit.Parent == nil then
  428. return
  429. end
  430. local h = hit.Parent:FindFirstChild("Humanoid")
  431. for _,v in pairs(hit.Parent:children()) do
  432. if v:IsA("Humanoid") then
  433. h = v
  434. end
  435. end
  436. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  437. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  438. return
  439. end
  440. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  441. game:GetService("Debris"):AddItem(c, 0.5)
  442. if HitSound ~= nil and HitPitch ~= nil then
  443. CreateSound(HitSound, hit, 1, HitPitch)
  444. end
  445. local Damage = math.random(minim, maxim)
  446. local blocked = false
  447. local block = hit.Parent:findFirstChild("Block")
  448. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  449. blocked = true
  450. block.Value = block.Value - 1
  451. print(block.Value)
  452. end
  453. if blocked == false then
  454. h.Health = h.Health - Damage
  455. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  456. else
  457. h.Health = h.Health - Damage / 2
  458. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  459. end
  460. if Type == "Knockdown" then
  461. local hum = hit.Parent.Humanoid
  462. hum.PlatformStand = true
  463. coroutine.resume(coroutine.create(function(HHumanoid)
  464. swait(1)
  465. HHumanoid.PlatformStand = false
  466. end
  467. ), hum)
  468. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  469. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  470. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  471. game:GetService("Debris"):AddItem(bodvol, 0.5)
  472. game:GetService("Debris"):AddItem(rl, 0.5)
  473. else
  474. do
  475. if Type == "Normal" then
  476. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  477. if knockback > 0 then
  478. vp.Parent = hit.Parent.Torso
  479. end
  480. game:GetService("Debris"):AddItem(vp, 0.5)
  481. else
  482. do
  483. if Type == "Up" then
  484. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  485. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  486. else
  487. do
  488. if Type == "DarkUp" then
  489. coroutine.resume(coroutine.create(function()
  490. for i = 0, 1, 0.1 do
  491. swait()
  492. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  493. end
  494. end
  495. ))
  496. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  497. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  498. else
  499. do
  500. if Type == "Snare" then
  501. local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  502. game:GetService("Debris"):AddItem(bp, 1)
  503. else
  504. do
  505. if Type == "Freeze" then
  506. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  507. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  508. hit.Parent.Torso.Anchored = true
  509. coroutine.resume(coroutine.create(function(Part)
  510. swait(1.5)
  511. Part.Anchored = false
  512. end
  513. ), hit.Parent.Torso)
  514. game:GetService("Debris"):AddItem(BodPos, 3)
  515. game:GetService("Debris"):AddItem(BodGy, 3)
  516. end
  517. do
  518. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  519. game:GetService("Debris"):AddItem(debounce, Delay)
  520. c = Instance.new("ObjectValue")
  521. c.Name = "creator"
  522. c.Value = Player
  523. c.Parent = h
  524. game:GetService("Debris"):AddItem(c, 0.5)
  525. end
  526. end
  527. end
  528. end
  529. end
  530. end
  531. end
  532. end
  533. end
  534. end
  535. end
  536. end
  537. end
  538.  
  539. ShowDamage = function(Pos, Text, Time, Color)
  540. local Rate = 0.033333333333333
  541. if not Pos then
  542. local Pos = Vector3.new(0, 0, 0)
  543. end
  544. local Text = Text or ""
  545. local Time = Time or 2
  546. if not Color then
  547. local Color = Color3.new(1, 0, 1)
  548. end
  549. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  550. EffectPart.Anchored = true
  551. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  552. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  553. game.Debris:AddItem(EffectPart, Time + 0.1)
  554. EffectPart.Parent = game:GetService("Workspace")
  555. delay(0, function()
  556. local Frames = Time / Rate
  557. for Frame = 1, Frames do
  558. wait(Rate)
  559. local Percent = Frame / Frames
  560. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  561. TextLabel.TextTransparency = Percent
  562. end
  563. if EffectPart and EffectPart.Parent then
  564. EffectPart:Destroy()
  565. end
  566. end
  567. )
  568. end
  569.  
  570. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  571. for _,c in pairs(workspace:children()) do
  572. local hum = c:findFirstChild("Humanoid")
  573. if hum ~= nil then
  574. local head = c:findFirstChild("Torso")
  575. if head ~= nil then
  576. local targ = head.Position - Part.Position
  577. local mag = targ.magnitude
  578. if mag <= magni and c.Name ~= Player.Name then
  579. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  580. end
  581. end
  582. end
  583. end
  584. end
  585.  
  586. Player=game:GetService('Players').LocalPlayer
  587. Character=Player.Character
  588. Mouse=Player:GetMouse()
  589. m=Instance.new('Model',Character)
  590.  
  591.  
  592. local function weldBetween(a, b)
  593. local weldd = Instance.new("ManualWeld")
  594. weldd.Part0 = a
  595. weldd.Part1 = b
  596. weldd.C0 = CFrame.new()
  597. weldd.C1 = b.CFrame:inverse() * a.CFrame
  598. weldd.Parent = a
  599. return weldd
  600. end
  601.  
  602. it=Instance.new
  603.  
  604. function nooutline(part)
  605. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  606. end
  607.  
  608. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  609. local fp=it("Part")
  610. fp.formFactor=formfactor
  611. fp.Parent=parent
  612. fp.Reflectance=reflectance
  613. fp.Transparency=transparency
  614. fp.CanCollide=false
  615. fp.Locked=true
  616. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  617. fp.Name=name
  618. fp.Size=size
  619. fp.Position=Character.Torso.Position
  620. nooutline(fp)
  621. fp.Material=material
  622. fp:BreakJoints()
  623. return fp
  624. end
  625.  
  626. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  627. local mesh=it(Mesh)
  628. mesh.Parent=part
  629. if Mesh=="SpecialMesh" then
  630. mesh.MeshType=meshtype
  631. mesh.MeshId=meshid
  632. end
  633. mesh.Offset=offset
  634. mesh.Scale=scale
  635. return mesh
  636. end
  637.  
  638. function weld(parent,part0,part1,c0,c1)
  639. local weld=it("Weld")
  640. weld.Parent=parent
  641. weld.Part0=part0
  642. weld.Part1=part1
  643. weld.C0=c0
  644. weld.C1=c1
  645. return weld
  646. end
  647.  
  648.  
  649. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Really red","Handle",Vector3.new(1.15430033, 0.475305647, 0.479803413))
  650. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.100143433, -0.0490188599, -0.948987007, 1, 3.96515679e-005, -4.57561896e-007, 4.59127648e-007, -3.94877134e-005, 1, 3.96515534e-005, -0.999999881, -3.94877352e-005))
  651. FakeHandle=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,1,1,"Really red","FakeHandle",Vector3.new(1.15430033, 0.475305647, 0.479803413))
  652. FakeHandleWeld=weld(m,handle,FakeHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.100143433, -0.0490188599, -0.948987007, 1, 3.96515679e-005, -4.57561896e-007, 4.59127648e-007, -3.94877134e-005, 1, 3.96515534e-005, -0.999999881, -3.94877352e-005))
  653. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Really black","Part",Vector3.new(2.25627565, 0.448318511, 0.448318422))
  654. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.76341391, 3.4570694e-006, 0.00225067139, 1.00000012, 5.96046448e-008, 0, 5.96046448e-008, 0.99999994, -0, 0, -0, 1))
  655. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Really red","Part",Vector3.new(0.569578826, 0.587752163, 0.601245582))
  656. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.85963178, -0.00225001574, 0.00674438477, 1.00000012, 5.96046448e-008, 0, 5.96046448e-008, 0.99999994, -0, 0, -0, 1))
  657. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Institutional white","Part",Vector3.new(0.677527368, 0.475305647, 0.479803413))
  658. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.33387661, -9.53674316e-007, 0, 1.00000012, 5.96046448e-008, 0, 5.96046448e-008, 0.99999994, -0, 0, -0, 1))
  659. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Really black","Part",Vector3.new(2.3642242, 0.448318511, 0.448318422))
  660. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.368812561, 1.1920929e-006, 0.00224876404, 1.00000012, 5.96046448e-008, 0, 5.96046448e-008, 0.99999994, -0, 0, -0, 1))
  661. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Institutional white","Part",Vector3.new(0.632548809, 0.475305647, 0.479803413))
  662. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.42258596, 4.05311584e-006, 0, 1.00000012, 5.96046448e-008, 0, 5.96046448e-008, 0.99999994, -0, 0, -0, 1))
  663. MaceMain=part(Enum.FormFactor.Brick,m,Enum.Material.DiamondPlate,0,0,"Dark stone grey","MaceMain",Vector3.new(1.15087676, 1.150877, 1.15087676))
  664. MaceMainweld=weld(m,handle,MaceMain,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.55993605, 0.000112533569, -0.00146746635, 1.00000012, 5.96046448e-008, 0, 0, -0, 1, -5.96046448e-008, -0.99999994, 0))
  665. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  666. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.98545361, -0.0201375484, -1.39920807, -0.918216169, 0.000813305378, 0.396079093, 0.00755946338, -0.999779701, 0.0195780117, 0.396007776, 0.02097103, 0.918007731))
  667. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  668. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Marble,0,0,"Really red","Part",Vector3.new(1.08511221, 0.26305759, 0.2630575))
  669. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.745593548, -3.54348421, -0.0124721527, -7.85887241e-005, 0.999999821, -0.000226000062, 1.00000024, 7.86930323e-005, -4.30000109e-005, -4.29822612e-005, -0.000226003409, -1))
  670. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.08511221, 0.26305759, 0.2630575))
  671. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  672. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0199875832, -4.75584078, -1.16724396, 0.00753962994, -0.999777615, 0.0196900014, 0.91825968, -0.000873565674, -0.395978093, 0.395907283, 0.0210660994, 0.918048799))
  673. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.200000003, 0.100000001))
  674. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  675. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0200898647, 4.29450369, -1.2440033, -0.00753648579, 0.999777496, -0.0196930077, -0.91829282, 0.000875860453, 0.395901084, 0.395830363, 0.0210676976, 0.918081939))
  676. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  677. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Marble,0.5,0,"Really red","Part",Vector3.new(1.08511221, 0.26305759, 0.2630575))
  678. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.743968964, -3.59285784, -0.00571143627, -4.10810389e-005, -8.73776389e-006, -1, 1.00000012, 3.26037407e-005, -4.10813191e-005, 3.24696302e-005, -0.999999881, 8.73642603e-006))
  679. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.08511221, 0.26305759, 0.2630575))
  680. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  681. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0202544928, -4.29438686, 1.39848709, -0.00757023692, 0.999777615, -0.0196760092, 0.918281317, -0.00083874166, -0.395927906, -0.39585644, -0.021065414, -0.918070734))
  682. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  683. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Wood,0,0,"Burnt Sienna","Part",Vector3.new(5.0074091, 0.407562345, 0.407562256))
  684. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.532723904, 0.00226020813, 2.2649765e-006, 1.00000012, 5.96046448e-008, 0, 0, -0, 1, -5.96046448e-008, -0.99999994, 0))
  685. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Lily white","Part",Vector3.new(0.822054565, 0.822054923, 0.200000003))
  686. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.55997419, -0.0014642477, -0.657758713, 1.00000012, 5.96046448e-008, 0, -5.96046448e-008, -0.99999994, 0, 0, 0, -1))
  687. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.822054684))
  688. Part=part(Enum.FormFactor.Plate,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 1.2359035, 3.0897584))
  689. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.020015955, -1.35246849, -4.91236687, -0.00753669441, 0.999778569, -0.0196400099, 0.395909756, 0.0210190341, 0.918048859, 0.918258607, -0.000856518745, -0.395980477))
  690. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.049999997, 0.100000001))
  691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Marble,0.5,0,"Really red","Part",Vector3.new(1.08511221, 0.26305759, 0.2630575))
  692. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.768596649, -3.5887723, -0.00570130348, -4.10810389e-005, -8.73776389e-006, -1, 1.00000012, 3.26037407e-005, -4.10813191e-005, 3.24696302e-005, -0.999999881, 8.73642603e-006))
  693. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.08511221, 0.26305759, 0.2630575))
  694. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Lily white","Part",Vector3.new(0.822054565, 0.822054923, 0.200000003))
  695. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.55992079, 0.000112533569, 0.656182647, 1.00000012, 5.96046448e-008, 0, 0, -0, 1, -5.96046448e-008, -0.99999994, 0))
  696. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.822054684))
  697. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Marble,0.5,0,"Really red","Part",Vector3.new(1.08511221, 0.26305759, 0.2630575))
  698. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.758790135, -3.54368925, -0.0121307373, -7.85887241e-005, 0.999999821, -0.000226000062, 1.00000024, 7.86930323e-005, -4.30000109e-005, -4.29822612e-005, -0.000226003409, -1))
  699. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.08511221, 0.26305759, 0.2630575))
  700. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Lily white","Part",Vector3.new(0.822054565, 0.822054923, 0.200000003))
  701. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00143408775, 0.000112533569, 2.90232563, -5.14090061e-006, -0.999999881, 0, 0, -0, 1, -1.00000012, 5.03659248e-006, 0))
  702. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.822054684))
  703. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Lily white","Part",Vector3.new(0.822054565, 0.822054923, 0.200000003))
  704. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00143909454, 0.000112533569, 4.21759701, -5.14090061e-006, -0.999999881, 0, 0, -0, 1, -1.00000012, 5.03659248e-006, 0))
  705. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.822054684))
  706. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  707. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0200505257, 4.21717024, 1.08967781, 0.00752747059, -0.999777675, 0.0196889918, -0.918272138, 0.000883668661, 0.395949095, -0.395878524, -0.0210603811, -0.918061435))
  708. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.150000006, 0.0500000007))
  709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Marble,0.5,0,"Really red","Part",Vector3.new(1.08511221, 0.26305759, 0.2630575))
  710. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.3162117, -0.0123119354, 0.00224018097, -1, -8.59498978e-005, 3.2999993e-005, -3.29967588e-005, -3.76652824e-005, -1, 8.58455896e-005, -0.999999762, 3.76624521e-005))
  711. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.08511221, 0.26305759, 0.2630575))
  712. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Marble,0,0,"Really red","Part",Vector3.new(1.08511221, 0.26305759, 0.2630575))
  713. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.78853416, 0.00396347046, 0.00237500668, -1, -8.59498978e-005, 3.2999993e-005, -3.29967588e-005, -3.76652824e-005, -1, 8.58455896e-005, -0.999999762, 3.76624521e-005))
  714. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.08511221, 0.26305759, 0.2630575))
  715. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Lily white","Part",Vector3.new(0.822054565, 0.822054923, 0.200000003))
  716. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.55997419, -0.0014642477, 0.657506943, 1.00000012, 5.96046448e-008, 0, -5.96046448e-008, -0.99999994, 0, 0, 0, -1))
  717. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.822054684))
  718. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Lily white","Part",Vector3.new(0.822054565, 0.822054923, 0.200000003))
  719. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.55994558, 0.000112533569, -0.65910697, 1.00000012, 5.96046448e-008, 0, 0, -0, 1, -5.96046448e-008, -0.99999994, 0))
  720. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.822054684))
  721. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  722. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0452651978, -4.74662447, -1.16377926, 0.00749411061, -0.0196938086, -0.999777973, 0.91828078, 0.395928979, -0.00091585709, 0.395859092, -0.91806978, 0.0210515838))
  723. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.200000003, 0.100000001))
  724. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  725. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.025069952, -4.28060722, 1.41301537, -0.00755046308, -0.999777853, 0.0196720008, 0.91829586, 0.00085477531, 0.39589408, -0.395823002, 0.0210538507, 0.918085456))
  726. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  727. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  728. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.97179794, -0.0248149633, -1.413414, -0.918264568, -0.000869721174, -0.395966858, 0.00750482082, 0.999779642, -0.019599719, 0.395896673, -0.0209693387, -0.918055654))
  729. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  730. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  731. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0456352234, 4.2078476, 1.08658266, 0.00754505675, -0.0196737703, -0.999777973, -0.918260574, -0.395975828, 0.000862201734, -0.395904839, 0.918050051, -0.0210533142))
  732. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.150000006, 0.0500000007))
  733. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  734. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0250612497, 4.20329857, 1.10445595, 0.00755044818, 0.999777734, -0.0196749978, -0.918262005, -0.000857785344, -0.395972848, -0.395901829, 0.021056518, 0.918051541))
  735. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.150000006, 0.0500000007))
  736. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Marble,0,0,"Really red","Part",Vector3.new(1.08511221, 0.26305759, 0.2630575))
  737. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.745593548, -3.54348421, -0.0124721527, -7.85887241e-005, 0.999999821, -0.000226000062, 1.00000024, 7.86930323e-005, -4.30000109e-005, -4.29822612e-005, -0.000226003409, -1))
  738. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.08511221, 0.26305759, 0.2630575))
  739. Part=part(Enum.FormFactor.Plate,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 1.2359035, 3.0897584))
  740. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0452003479, -1.34889364, -4.90318918, -0.00748195825, 0.0196943507, 0.999778092, 0.395841599, -0.91807735, 0.0210472848, 0.918288469, 0.395911306, -0.000926826906))
  741. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.049999997, 0.100000001))
  742. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  743. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0453929901, 4.28519869, -1.24084282, -0.00749307126, 0.019688921, 0.999778092, -0.918288469, -0.395911217, 0.000914467033, 0.3958413, -0.918077528, 0.0210467))
  744. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  745. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Marble,0.5,0,"Really red","Part",Vector3.new(1.08511221, 0.26305759, 0.2630575))
  746. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.745593548, -3.54348421, -0.0124721527, -7.85887241e-005, 0.999999821, -0.000226000062, 1.00000024, 7.86930323e-005, -4.30000109e-005, -4.29822612e-005, -0.000226003409, -1))
  747. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.08511221, 0.26305759, 0.2630575))
  748. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  749. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0130615234, 4.28312206, -1.26356626, -0.00754380831, -0.0196943358, -0.999777615, -0.918291926, 0.395903111, -0.000869827869, 0.39583236, 0.918080807, -0.0210717656))
  750. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  751. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  752. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.97406673, -0.013092041, -1.41877007, -0.918215275, 0.396080911, -0.000812000129, 0.00756123429, 0.0195784699, 0.999779761, 0.396009743, 0.918006837, -0.0209721141))
  753. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  754. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  755. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0129547119, -4.74447346, -1.18677425, 0.00754387025, 0.0196892377, 0.999777734, 0.918260932, -0.395974874, 0.000869401032, 0.395904183, 0.918050051, -0.0210670438))
  756. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.200000003, 0.100000001))
  757. Part=part(Enum.FormFactor.Plate,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 1.2359035, 3.0897584))
  758. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0129947662, -1.37202382, -4.90099144, -0.00754274335, -0.0196368583, -0.999778748, 0.395909905, 0.918048739, -0.0210184921, 0.918258429, -0.395980597, 0.000849820091))
  759. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.049999997, 0.100000001))
  760. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  761. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0247044563, -4.7420845, -1.18166351, 0.00750142336, 0.999777853, -0.0196940023, 0.918281496, 0.000909253955, 0.395927191, 0.395857275, -0.0210546106, -0.918070734))
  762. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.200000003, 0.100000001))
  763. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  764. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0456390381, -4.2851491, 1.39511919, -0.0075444337, 0.0196708385, 0.999778092, 0.918296635, 0.395892441, -0.000859701599, -0.395821482, 0.918086052, -0.0210504513))
  765. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  766. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  767. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.97633743, -0.0453948975, -1.39552546, -0.918263912, -0.395968258, 0.000872000121, 0.00750196353, -0.0195990149, -0.999779761, 0.395898163, -0.918054879, 0.020967612))
  768. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  769. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  770. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0130367279, 4.20577812, 1.10923314, 0.00753646297, 0.0196856186, 0.999777853, -0.918271422, 0.395950437, -0.000874209742, -0.395879865, -0.91806066, 0.0210608095))
  771. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.150000006, 0.0500000007))
  772. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  773. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.024828434, 4.28065109, -1.25873947, -0.00749927759, -0.999777853, 0.0196889918, -0.918287694, -0.000908941031, -0.395913154, 0.395843178, -0.0210491717, -0.918076932))
  774. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  775. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 3.08975863, 3.0897584))
  776. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0132369995, -4.28299618, 1.41806197, -0.00757891452, -0.0196782872, -0.999777615, 0.918279409, -0.395932138, 0.000831894635, -0.395860672, -0.918068707, 0.0210709032))
  777. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.100000001, 0.0500000007))
  778. Part=part(Enum.FormFactor.Plate,m,Enum.Material.Plastic,0.60000002384186,0,"Really red","Part",Vector3.new(3.08975935, 1.2359035, 3.0897584))
  779. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0246500969, -1.36680794, -4.89863014, -0.00749026239, -0.999777853, 0.01969501, 0.395847559, -0.0210511237, -0.918074906, 0.918285728, 0.000919699669, 0.395917386))
  780. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.049999997, 0.100000001))
  781. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Marble,0,0,"Really red","Part",Vector3.new(1.08511221, 0.26305759, 0.2630575))
  782. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.745593548, -3.54348421, -0.0124721527, -7.85887241e-005, 0.999999821, -0.000226000062, 1.00000024, 7.86930323e-005, -4.30000109e-005, -4.29822612e-005, -0.000226003409, -1))
  783. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.08511221, 0.26305759, 0.2630575))
  784. Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Really black","Wedge",Vector3.new(0.386815935, 2.0825088, 0.413803011))
  785. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000724434853, 1.95191002, 0.360801697, 5.14090061e-006, 0.999999881, -0, -1.00000012, 5.03659248e-006, 0, 0, -0, 1))
  786. Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Really black","Wedge",Vector3.new(0.386815935, 2.19045758, 0.413803011))
  787. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0127688646, 1.91367435, 0.345359802, -5.14090061e-006, -0.999999881, 0, -1.00000012, 5.03659248e-006, 0, 0, 0, -1))
  788. Wedge=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Really black","Wedge",Vector3.new(0.386815935, 2.16796827, 0.413803011))
  789. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0144672394, 1.896492, 0.347070456, 0, 0, -1, -1.00000012, -5.96046448e-008, 0, 5.96046448e-008, 0.99999994, -0))
  790. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Marble,0,0,"Institutional white","Part",Vector3.new(0.677527368, 0.475305647, 0.479803413))
  791. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.21442938, 4.05311584e-006, 1.90734863e-006, 1.00000012, 5.96046448e-008, 0, 5.96046448e-008, 0.99999994, -0, 0, -0, 1))
  792. Hitbox=part(Enum.FormFactor.Brick,m,Enum.Material.DiamondPlate,0,1,"Dark stone grey","Hitbox",Vector3.new(2.56087685, 2.97087693, 2.8608768))
  793. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.01957369, -0.169885635, 0.0917295218, 1.00000012, 5.96046448e-008, 0, 0, -0, 1, -5.96046448e-008, -0.99999994, 0))
  794.  
  795.  
  796.  
  797. main=part(Enum.FormFactor.Symmetric,m,Enum.Material.DiamondPlate,0,0,"Really black","Handle",Vector3.new(1.18888795, 0.202614263, 1.19073999))
  798. mainweld=weld(m,Character["Right Arm"],main,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000557899475, 0.292643309, 0.0299999714, 1, 0, 0, 0, 0.999999762, 0, 0, 0, 1))
  799. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Marble,0,0,"Institutional white","Part",Vector3.new(1.18888795, 0.202614263, 1.19073999))
  800. Partweld=weld(m,main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.405221939, 0, 1, 0, 0, 0, 0.999999523, 0, 0, 0, 1))
  801. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.DiamondPlate,0,0,"Really black","Part",Vector3.new(1.18888795, 0.202614263, 1.19073999))
  802. Partweld=weld(m,main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.780060053, 0, 1, 0, 0, 0, 0.999999523, 0, 0, 0, 1))
  803. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Marble,0,0,"Institutional white","Part",Vector3.new(1.18888795, 0.202614263, 1.19073999))
  804. Partweld=weld(m,main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.354575872, 0, 1, 0, 0, 0, 0.999999523, 0, 0, 0, 1))
  805. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Marble,0,0,"Institutional white","Part",Vector3.new(1.18888795, 0.202614263, 1.19073999))
  806. Partweld=weld(m,main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.20555973, 0, 1, 0, 0, 0, 0.999999523, 0, 0, 0, 1))
  807. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(1.17777681, 2.13758039, 1.17961144))
  808. Partweld=weld(m,main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.298867464, 0, 1, 0, 0, 0, 0.999999523, 0, 0, 0, 1))
  809. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Marble,0,0,"Institutional white","Part",Vector3.new(1.19999909, 0.202614263, 2.47050714))
  810. Partweld=weld(m,main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00555610657, 0, 0.167170286, 1, 0, 0, 0, 0, 1, 0, -0.999999642, 0))
  811. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.DiamondPlate,0,0,"Really black","Part",Vector3.new(1.18888795, 0.202614263, 1.19073999))
  812. Partweld=weld(m,main,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.780077457, 0, 1, 0, 0, 0, 0.999999523, 0, 0, 0, 1))
  813.  
  814. Ssongs = {
  815. 378387996;203275374;303592872;179281636;357375770;346175829;151514610;160536628;60536666;158929777;165520893;160542922;179282324;144043274;168614529;186849544;335631255;335631297;342455387;342455399;209567483;209567529;162914123;162914203;320473062;286415112;190454307;155968128;160453802;276963903;270655227;244143404;246184492;245121821;242545577;247241693;248062278;247236446;256851659;256848383;342455399;209567483;209567529;162914123;162914203;320473062;286415112;190454307;155968128;160453802;276963903;270655227;244143404;246184492;245121821;242545577;247241693;248062278;247236446;256851659;256848383;306431437;348690251;348541501;321185592;305976780;302580452;302205297;299796054;297799220;295753229;295753229;293860654;293612495;293861765;293375555;293376196;293012202;293011823;290524959;306431437;348690251;348541501;321185592;305976780;302580452;302205297;299796054;297799220;295753229;295753229;293860654;293612495;293861765;293375555;293376196;293012202;293011823;290524959;
  816. }
  817. BackgroundSound = function(id, par, vol, pit)
  818. coroutine.resume(coroutine.create(function()
  819. local sou = Instance.new("Sound", par or workspace)
  820. sou.Volume = vol
  821. sou.Pitch = pit or 1
  822. sou.SoundId = id
  823. swait()
  824. sou:play()
  825. end
  826. ))
  827. end
  828.  
  829. BackgroundSound("http://roblox.com/asset/?id="..Ssongs[math.random(1,#Ssongs)], Hitbox, 1, 1)
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  837. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  838. prt.Anchored = true
  839. prt.CFrame = cframe
  840. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  841. game:GetService("Debris"):AddItem(prt, 10)
  842. if Type == 1 or Type == nil then
  843. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  844. else
  845. if Type == 2 then
  846. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  847. end
  848. end
  849. end
  850. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  851. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  852. prt.Anchored = true
  853. prt.CFrame = cframe
  854. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  855. game:GetService("Debris"):AddItem(prt, 10)
  856. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  857. end
  858. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  859. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  860. prt.Anchored = true
  861. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  862. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  863. game:GetService("Debris"):AddItem(prt, 10)
  864. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  865. end
  866. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  867. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  868. prt.Anchored = true
  869. prt.CFrame = cframe
  870. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  871. game:GetService("Debris"):AddItem(prt, 10)
  872. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  873. end
  874. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  875. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  876. prt.Anchored = true
  877. prt.CFrame = cframe
  878. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  879. game:GetService("Debris"):AddItem(prt, 10)
  880. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  881. end
  882. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  883. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  884. prt.Anchored = true
  885. prt.CFrame = cframe
  886. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  887. game:GetService("Debris"):AddItem(prt, 10)
  888. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  889. end
  890. DragonEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  891. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  892. prt.Anchored = true
  893. prt.CFrame = cframe
  894. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://420077883", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  895. game:GetService("Debris"):AddItem(prt, 10)
  896. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  897. end
  898. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  899. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  900. prt.Anchored = true
  901. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  902. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  903. local num = math.random(10, 50) / 1000
  904. game:GetService("Debris"):AddItem(prt, 10)
  905. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  906. end
  907. local count = 1
  908. local barra = false
  909. local keafy = false
  910. Love = function()
  911. attack = true
  912. barra = true
  913. if keafy == true then
  914. return
  915. end
  916. keafy = true
  917. coroutine.resume(coroutine.create(function()
  918. while barra do
  919. wait(0.5)
  920. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(math.random(-10, 10), -2, math.random(-10, 10)), 5, 1, 5, 0, 5, 0, 0.05)
  921. end
  922. end))
  923. coroutine.resume(coroutine.create(function()
  924. while count <= 2 do
  925. wait(1)
  926. count = count + 1
  927. SphereEffect(BrickColor.new("Black"), RootPart.CFrame, 15, 15, 15, 2, 2, 2, 0.05)
  928. end
  929. end))
  930. coroutine.resume(coroutine.create(function()
  931. while barra do
  932. wait(0.1)
  933. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -3, 0) * angles(0, math.rad(math.random(0, 360)), 0), 5, 1, 3, 5, 0, 10, 0.05)
  934. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame, 5, 5, 5, 0.5, 0.5, 0.5, 0.05, 1)
  935. end
  936. end))
  937. for i = 0, 1, 0.05 do
  938. swait()
  939. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  940. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
  941. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(100), math.rad(90)), 0.3)
  942. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
  943. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
  944. LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
  945. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-100), math.rad(100), math.rad(100)), 0.3)
  946. end
  947. end
  948.  
  949. Hate = function()
  950. barra = false
  951. dd = math.random(-50, 50)
  952. dd2 = math.random(-50, 50)
  953. dd3 = math.random(-50, 50)
  954. if count == 1 then
  955. MagniDamage(RootPart, 17, 5, 10, 0, "Normal")
  956. CreateSound("http://roblox.com/asset/?id=63719813", Hitbox, 1, 0.6)
  957. coroutine.resume(coroutine.create(function()
  958. for i = 0, 360, 10 do
  959. swait()
  960. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.03)
  961. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  962. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  963. end
  964. end))
  965. else
  966. if count == 2 then
  967. MagniDamage(RootPart, 17, 10, 15, 0, "Normal")
  968. CreateSound("http://roblox.com/asset/?id=63719813", Hitbox, 1, 0.5)
  969. coroutine.resume(coroutine.create(function()
  970. for i = 0, 360, 10 do
  971. swait()
  972. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.05)
  973. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  974. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  975. end
  976. end))
  977. coroutine.resume(coroutine.create(function()
  978. for i = 0, 360, 10 do
  979. swait()
  980. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.05)
  981. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  982. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  983. end
  984. end))
  985. else
  986. if count == 3 then
  987. CreateSound("http://roblox.com/asset/?id=63719813", Hitbox, 1, 0.2)
  988. MagniDamage(RootPart, 17, 20, 20, 0, "Normal")
  989. coroutine.resume(coroutine.create(function()
  990. for i = 0, 360, 10 do
  991. swait()
  992. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  993. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  994. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  995. end
  996. end))
  997. coroutine.resume(coroutine.create(function()
  998. for i = 0, 360, 10 do
  999. swait()
  1000. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd3, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  1001. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd3, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1002. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd3, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1003. end
  1004. end))
  1005. coroutine.resume(coroutine.create(function()
  1006. for i = 0, 360, 10 do
  1007. swait()
  1008. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  1009. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1010. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1011. end
  1012. end))
  1013. end
  1014. end
  1015. end
  1016. count = 1
  1017. wait(2)
  1018. keafy = false
  1019. attack = false
  1020. end
  1021.  
  1022. Hate = function()
  1023. barra = false
  1024. dd = math.random(-50, 50)
  1025. dd2 = math.random(-50, 50)
  1026. dd3 = math.random(-50, 50)
  1027. if count == 1 then
  1028. MagniDamage(RootPart, 17, 5, 10, 0, "Normal")
  1029. CreateSound("http://roblox.com/asset/?id=63719813", Hitbox, 1, 0.6)
  1030. coroutine.resume(coroutine.create(function()
  1031. for i = 0, 360, 10 do
  1032. swait()
  1033. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.03)
  1034. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1035. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1036. end
  1037. end))
  1038. else
  1039. if count == 2 then
  1040. MagniDamage(RootPart, 17, 10, 15, 0, "Normal")
  1041. CreateSound("http://roblox.com/asset/?id=63719813", Hitbox, 1, 0.5)
  1042. coroutine.resume(coroutine.create(function()
  1043. for i = 0, 360, 10 do
  1044. swait()
  1045. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.05)
  1046. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1047. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1048. end
  1049. end))
  1050. coroutine.resume(coroutine.create(function()
  1051. for i = 0, 360, 10 do
  1052. swait()
  1053. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.05)
  1054. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1055. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1056. end
  1057. end))
  1058. else
  1059. if count == 3 then
  1060. CreateSound("http://roblox.com/asset/?id=63719813", Hitbox, 1, 0.2)
  1061. MagniDamage(RootPart, 17, 20, 20, 0, "Normal")
  1062. coroutine.resume(coroutine.create(function()
  1063. for i = 0, 360, 10 do
  1064. swait()
  1065. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  1066. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1067. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd2, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1068. end
  1069. end))
  1070. coroutine.resume(coroutine.create(function()
  1071. for i = 0, 360, 10 do
  1072. swait()
  1073. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd3, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  1074. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd3, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1075. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd3, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1076. end
  1077. end))
  1078. coroutine.resume(coroutine.create(function()
  1079. for i = 0, 360, 10 do
  1080. swait()
  1081. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10), 3, 3, 3, 1, 1, 1, 0.06)
  1082. DragonEffect(BrickColor.new("Really red"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.1)
  1083. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, math.rad(i)) * angles(dd, math.rad(i), 0) * cf(0, -2, 10) * angles(1.57, -1.57, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.08)
  1084. end
  1085. end))
  1086. end
  1087. end
  1088. end
  1089. count = 1
  1090. wait(2)
  1091. keafy = false
  1092. attack = false
  1093. end
  1094.  
  1095.  
  1096.  
  1097.  
  1098. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1099. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1100. prt.Anchored = true
  1101. prt.CFrame = cframe
  1102. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1103. game:GetService("Debris"):AddItem(prt, 10)
  1104. if Type == 1 or Type == nil then
  1105. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  1106. else
  1107. if Type == 2 then
  1108. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  1109. end
  1110. end
  1111. end
  1112.  
  1113. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1114. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1115. prt.Anchored = true
  1116. prt.CFrame = cframe
  1117. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1118. game:GetService("Debris"):AddItem(prt, 10)
  1119. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1120. end
  1121.  
  1122. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1123. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1124. prt.Anchored = true
  1125. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  1126. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1127. game:GetService("Debris"):AddItem(prt, 10)
  1128. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1129. end
  1130.  
  1131. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1132. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1133. prt.Anchored = true
  1134. prt.CFrame = cframe
  1135. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1136. game:GetService("Debris"):AddItem(prt, 10)
  1137. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1138. end
  1139.  
  1140. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1141. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1142. prt.Anchored = true
  1143. prt.CFrame = cframe
  1144. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1145. game:GetService("Debris"):AddItem(prt, 10)
  1146. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1147. end
  1148.  
  1149. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1150. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1151. prt.Anchored = true
  1152. prt.CFrame = cframe
  1153. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1154. game:GetService("Debris"):AddItem(prt, 10)
  1155. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1156. end
  1157.  
  1158. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  1159. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1160. prt.Anchored = true
  1161. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1162. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1163. local num = math.random(10, 50) / 1000
  1164. game:GetService("Debris"):AddItem(prt, 10)
  1165. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  1166. end
  1167.  
  1168. attackone = function()
  1169. attack = true
  1170. Humanoid.WalkSpeed = 0
  1171. local con = Hitbox.Touched:connect(function(hit)
  1172. Damagefunc(Hitbox, hit, 1, 3, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1173. end
  1174. )
  1175. for i = 0, 1, 0.13 do
  1176. swait()
  1177. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.3)
  1178. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  1179. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(100), math.rad(5)), 0.3)
  1180. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(-140), math.rad(-75)), 0.3)
  1181. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-50)), 0.3)
  1182. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(20)), 0.3)
  1183. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-30), math.rad(100), math.rad(0)), 0.3)
  1184. end
  1185. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 0.8)
  1186. for i = 0, 1, 0.1 do
  1187. swait()
  1188. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.5)
  1189. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(15), math.rad(0), math.rad(0)), 0.5)
  1190. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.3) * angles(math.rad(30), math.rad(100), math.rad(-20)), 0.5)
  1191. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.5)
  1192. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(-10)), 0.5)
  1193. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 0.5)
  1194. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(100), math.rad(3)), 0.5)
  1195. end
  1196. con:disconnect()
  1197. Humanoid.WalkSpeed = 15
  1198. attack = false
  1199. end
  1200.  
  1201. local attackready = false
  1202. finale = function()
  1203. attack = true
  1204. attackready = true
  1205. Humanoid.WalkSpeed = 0
  1206. for i = 0, 1, 0.13 do
  1207. swait()
  1208. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.3)
  1209. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  1210. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(-10), math.rad(5)), 0.3)
  1211. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(-140), math.rad(-75)), 0.3)
  1212. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-50)), 0.3)
  1213. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(20)), 0.3)
  1214. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1215. end
  1216. ref = CreatePart(workspace, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "ref", Vector3.new())
  1217. ref.Anchored = true
  1218. ref.CanCollide = false
  1219. ref.CFrame = LeftArm.CFrame * CFrame.new(0, -0.5, 0)
  1220. coroutine.resume(coroutine.create(function()
  1221. for i = 0, 5, 0.1 do
  1222. swait()
  1223. ref.CFrame = LeftArm.CFrame * CFrame.new(0, -0.5 - 5 * i, 0)
  1224. end
  1225. end
  1226. ))
  1227. coroutine.resume(coroutine.create(function()
  1228. while attackready do
  1229. wait(0.15)
  1230. BlockEffect(Character["Torso"].BrickColor, ref.CFrame, 50, 50, 50, -0.5, -0.5, -0.5, 0.07, 1)
  1231. SphereEffect(Character["Torso"].BrickColor, ref.CFrame, 50, 50, 50, -0.5, -0.5, -0.5, 0.07)
  1232. end
  1233. end
  1234. ))
  1235. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 0.8)
  1236. for i = 0, 2, 0.05 do
  1237. swait()
  1238. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(-20), math.rad(0), math.rad(-90)), 0.3)
  1239. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1240. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(-10), math.rad(5)), 0.3)
  1241. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-95)), 0.3)
  1242. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-20)), 0.3)
  1243. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(-20)), 0.3)
  1244. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1245. end
  1246. for i = 0, 2, 0.05 do
  1247. swait()
  1248. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(-20), math.rad(0), math.rad(-90)), 0.3)
  1249. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1250. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(-10), math.rad(5)), 0.3)
  1251. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-95)), 0.3)
  1252. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-20)), 0.3)
  1253. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(-20)), 0.3)
  1254. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1255. end
  1256. for i = 0, 1, 0.1 do
  1257. swait()
  1258. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1259. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1260. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(-10), math.rad(5)), 0.3)
  1261. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.3)
  1262. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-20)), 0.3)
  1263. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(0)), 0.3)
  1264. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1265. end
  1266. ref.CFrame = RootPart.CFrame * CFrame.new(0, -0.5, -25)
  1267. MagniDamage(ref, 100, 30, 40, 10, "Knockdown")
  1268. BlockEffect(Character["Torso"].BrickColor, ref.CFrame, 150, 150, 150, 15, 15, 15, 0.07, 1)
  1269. SphereEffect(Character["Torso"].BrickColor, ref.CFrame, 150, 150, 150, 51, 51, 51, 0.07)
  1270. SphereEffect(Character["Torso"].BrickColor, ref.CFrame, 20, 100, 20, 10, 100, 10, 0.07)
  1271. for i = 0, 1, 0.1 do
  1272. swait()
  1273. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1274. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1275. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(180), math.rad(-10), math.rad(5)), 0.3)
  1276. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.3)
  1277. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-20)), 0.3)
  1278. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(0)), 0.3)
  1279. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1280. end
  1281. ref.Parent = nil
  1282. Humanoid.WalkSpeed = 15
  1283. attack = false
  1284. attackready = false
  1285. end
  1286.  
  1287. local slashndash = false
  1288. Slashy = function()
  1289. attack = true
  1290. Humanoid.WalkSpeed = 0
  1291. for i = 0, 1, 0.1 do
  1292. swait()
  1293. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.3)
  1294. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(50)), 0.3)
  1295. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.7, 0.2) * angles(math.rad(100), math.rad(-10), math.rad(5)), 0.3)
  1296. LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.5, -0.5) * angles(math.rad(0), math.rad(-140), math.rad(-85)), 0.3)
  1297. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(10), math.rad(-50)), 0.3)
  1298. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(10), math.rad(20)), 0.3)
  1299. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1300. end
  1301. --CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 0.8)
  1302. for i = 0, 1, 0.1 do
  1303. swait()
  1304. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.5)
  1305. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(15), math.rad(0), math.rad(0)), 0.5)
  1306. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.3) * angles(math.rad(-130), math.rad(-200), math.rad(-20)), 0.5)
  1307. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.5)
  1308. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(-10)), 0.5)
  1309. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(-20)), 0.5)
  1310. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(3)), 0.5)
  1311. end
  1312. ref = CreatePart(workspace, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "ref", Vector3.new())
  1313. ref.Anchored = true
  1314. ref.CanCollide = false
  1315. ref.CFrame = RootPart.CFrame * CFrame.new(0, -0.5, -5)
  1316. game.Debris:AddItem(ref, 1)
  1317. for i = 0, 10, 0.5 do
  1318. swait()
  1319. --CreateSound("http://www.roblox.com/asset/?id=192410089", Handle, 1, 0.7)
  1320. SphereEffect(Character["Torso"].BrickColor, ref.CFrame, 2, 10 * i * 2, 2, 0.5, 5, 0.5, 0.05)
  1321. --BlockEffect(Character["Torso"].BrickColor, ref.CFrame * CFrame.new(0, -0.5, 0), 10, 10, 10, 0.5 * i, 0.5 * i, 0.5 * i, 0.05)
  1322. MagniDamage(ref, 6, 5, 13, 0, "Normal")
  1323. ref.CFrame = RootPart.CFrame * CFrame.new(0, -0.5, -5 * i)
  1324. end
  1325. if slashndash == true then
  1326. RootPart.CFrame = RootPart.CFrame * CFrame.new(0, 0, -50)
  1327. --BlockEffect(Character["Torso"].BrickColor, RootPart.CFrame, 10, 10, 10, 5, 5, 5, 0.05)
  1328. for i = 0, 1, 0.13 do
  1329. swait()
  1330. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1331. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1332. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-140), math.rad(-90)), 0.3)
  1333. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1334. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1335. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1336. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3)
  1337. end
  1338. --CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 1)
  1339. for i = 0, 1, 0.13 do
  1340. swait()
  1341. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1342. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1343. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.3) * angles(math.rad(0), math.rad(-50), math.rad(-90)), 0.3)
  1344. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1345. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1346. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1347. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(10)), 0.3)
  1348. end
  1349. end
  1350. do
  1351. wait(1)
  1352. Humanoid.WalkSpeed = 15
  1353. slashndash = false
  1354. attack = false
  1355. end
  1356. end
  1357.  
  1358. function DIVIDE()
  1359. attack = true
  1360. Character.Humanoid.Jump = true
  1361. for i = 0, 1, 0.05 do
  1362. swait()
  1363. Torso.Velocity = Vector3.new(0,100, 0)
  1364. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.5) * angles(6 * i, math.rad(0), math.rad(0)), .2)
  1365. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(90)), .3)
  1366. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 1, .7) * angles(math.rad(180), math.rad(80), math.rad(-80)), .3)
  1367. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(-20)), .3)
  1368. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(20)), .3)
  1369. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(-10), math.rad(10), math.rad(50)), .3)
  1370. end
  1371. for i = 0, 1, 0.017 do
  1372. swait()
  1373. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.5) * angles(math.rad(50), math.rad(0), math.rad(0)), .2)
  1374. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1375. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 1, -1) * angles(math.rad(180), math.rad(80), math.rad(-80)), .3)
  1376. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(-50)), .2)
  1377. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(50)), .2)
  1378. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(-10), math.rad(10), math.rad(50)), .3)
  1379. end
  1380. for i = 0, 1, 0.05 do
  1381. swait()
  1382. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
  1383. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1384. RW.C0 = clerp(RW.C0, CFrame.new(1, .5, -.7) * angles(math.rad(40), math.rad(80), math.rad(-50)), .3)
  1385. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(10)), .3)
  1386. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-10)), .3)
  1387. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cn(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(50)), .3)
  1388. MagniDamage(RootPart, 10, 10, 10, 1e9, "Normal")
  1389. end
  1390. attack = false
  1391. end
  1392.  
  1393.  
  1394. spinattack = function()
  1395. attack = true
  1396. Humanoid.WalkSpeed = 5
  1397. for i = 0, 1, 0.13 do
  1398. swait()
  1399. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.5) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1400. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1401. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, 0) * angles(math.rad(0), math.rad(60), math.rad(90)), 0.3)
  1402. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-30)), 0.3)
  1403. RH.C0 = clerp(RH.C0, cn(1, -0.5, 0) * RHCF * angles(math.rad(-3), math.rad(-30), math.rad(0)), 0.3)
  1404. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(50)), 0.3)
  1405. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3)
  1406. end
  1407. for i = 0, 3 do
  1408. swait()
  1409. MagniDamage(RootPart, 15, 10, 15, 0, "Normal")
  1410. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 0.9)
  1411. for i = 0, 1, 0.1 do
  1412. swait()
  1413. Torso.Velocity = RootPart.CFrame.lookVector * 75
  1414. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.25) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3)
  1415. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(60)), 0.3)
  1416. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, 0.1) * angles(math.rad(100), math.rad(20), math.rad(90)), 0.3)
  1417. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.3)
  1418. RH.C0 = clerp(RH.C0, cn(1, -0.9, 0) * RHCF * angles(math.rad(-3), math.rad(40), math.rad(-10)), 0.3)
  1419. LH.C0 = clerp(LH.C0, cn(-1, -0.7, 0) * LHCF * angles(math.rad(-2), math.rad(30), math.rad(-10)), 0.3)
  1420. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(-10)), 0.3)
  1421. end
  1422. end
  1423. Humanoid.WalkSpeed = 15
  1424. attack = false
  1425. end
  1426.  
  1427. attacktwo = function()
  1428. attack = true
  1429. local con = Hitbox.Touched:connect(function(hit)
  1430. Damagefunc(Hitbox, hit, 1, 5, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1431. end
  1432. )
  1433. Humanoid.WalkSpeed = 5
  1434. for i = 0, 1, 0.13 do
  1435. swait()
  1436. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.5) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1437. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1438. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, 0) * angles(math.rad(-90), math.rad(60), math.rad(90)), 0.3)
  1439. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1440. RH.C0 = clerp(RH.C0, cn(1, -0.5, 0) * RHCF * angles(math.rad(-3), math.rad(-30), math.rad(0)), 0.3)
  1441. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(50)), 0.3)
  1442. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3)
  1443. end
  1444. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 0.9)
  1445. for i = 0, 1, 0.1 do
  1446. swait()
  1447. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.25) * angles(math.rad(10), math.rad(0), math.rad(-60)), 0.3)
  1448. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(60)), 0.3)
  1449. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, 0.1) * angles(math.rad(-90), math.rad(-20), math.rad(90)), 0.3)
  1450. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.3)
  1451. RH.C0 = clerp(RH.C0, cn(1, -0.9, 0) * RHCF * angles(math.rad(-3), math.rad(40), math.rad(-10)), 0.3)
  1452. LH.C0 = clerp(LH.C0, cn(-1, -0.7, 0) * LHCF * angles(math.rad(-2), math.rad(30), math.rad(-10)), 0.3)
  1453. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(-10)), 0.3)
  1454. end
  1455. con:disconnect()
  1456. Humanoid.WalkSpeed = 15
  1457. attack = false
  1458. end
  1459.  
  1460. attackthree = function()
  1461. attack = true
  1462. local con = Hitbox.Touched:connect(function(hit)
  1463. Damagefunc(Hitbox, hit, 1, 10, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1464. end
  1465. )
  1466. Humanoid.WalkSpeed = 5
  1467. for i = 0, 1, 0.13 do
  1468. swait()
  1469. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1470. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1471. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(-140), math.rad(-90)), 0.3)
  1472. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1473. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1474. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1475. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3)
  1476. end
  1477. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 1)
  1478. for i = 0, 1, 0.13 do
  1479. swait()
  1480. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  1481. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1482. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.3) * angles(math.rad(80), math.rad(-50), math.rad(-90)), 0.3)
  1483. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1484. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1485. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1486. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(10)), 0.3)
  1487. end
  1488. con:disconnect()
  1489. Humanoid.WalkSpeed = 15
  1490. attack = false
  1491. end
  1492.  
  1493. Naildrive = function()
  1494. attack = true
  1495. Humanoid.WalkSpeed = 5
  1496. local con = Hitbox.Touched:connect(function(hit)
  1497. Damagefunc(Hitbox, hit, 8, 28, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1498. end
  1499. )
  1500. for i = 0, 1, 0.1 do
  1501. swait()
  1502. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.4)
  1503. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(90)), 0.4)
  1504. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(100), math.rad(-140), math.rad(-90)), 0.3)
  1505. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1506. RH.C0 = clerp(RH.C0, cn(1, -1, -0.5) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1507. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(20)), 0.3)
  1508. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(160), math.rad(0), math.rad(10)), 0.3)
  1509. end
  1510. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 1)
  1511. for i = 0, 1, 0.1 do
  1512. Torso.Velocity = RootPart.CFrame.lookVector * 50
  1513. swait()
  1514. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(90)), 0.3)
  1515. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-90)), 0.3)
  1516. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(100), math.rad(200), math.rad(-90)), 0.3)
  1517. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1518. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1519. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.5) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(-10)), 0.3)
  1520. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(260), math.rad(0), math.rad(0)), 0.3)
  1521. end
  1522. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 0.8)
  1523. for i = 0, 1, 0.08 do
  1524. swait()
  1525. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1526. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(10), math.rad(70)), 0.3)
  1527. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(110), math.rad(250), math.rad(-90)), 0.3)
  1528. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
  1529. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1530. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(-10)), 0.3)
  1531. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(400), math.rad(0), math.rad(0)), 0.3)
  1532. end
  1533. CreateSound("http://roblox.com/asset/?id=320557563", Hitbox, 1, 1.2)
  1534. for i = 0, 1, 0.1 do
  1535. swait()
  1536. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  1537. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  1538. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(300), math.rad(-90)), 0.3)
  1539. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(0), math.rad(-200), math.rad(-90)), 0.3)
  1540. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.3)
  1541. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(-10)), 0.3)
  1542. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(260), math.rad(0), math.rad(0)), 0.3)
  1543. end
  1544. con:disconnect()
  1545. Humanoid.WalkSpeed = 15
  1546. attack = false
  1547. end
  1548.  
  1549. ob1u = function()
  1550. end
  1551.  
  1552.  
  1553.  
  1554.  
  1555. Laz0r = function()
  1556. attack = true
  1557. Character.Humanoid.WalkSpeed = 0
  1558. la = Instance.new("Part",Character)
  1559. la.FormFactor = 3
  1560. la.TopSurface = 0
  1561. la.Transparency = 0.8
  1562. la.BottomSurface = 0
  1563. la.Material = "Marble"
  1564. la.Size = Vector3.new(0.3,0.3,0.3)
  1565. la.BrickColor = Character["Torso"].BrickColor
  1566. lam = Instance.new("SpecialMesh",la)
  1567. lam.MeshType = "Sphere"
  1568. lam.Scale = Vector3.new(1,1,1)
  1569. law = Instance.new("Weld",la)
  1570. law.Part0 = la
  1571. law.Part1 = handle
  1572. la1 = Instance.new("Part",Character)
  1573. la1.FormFactor = 3
  1574. la1.TopSurface = 0
  1575. la1.Transparency = 0
  1576. la1.BottomSurface = 0
  1577. la1.Material = "Marble"
  1578. la1.Size = Vector3.new(0.1,0.1,0.1)
  1579. la1.BrickColor = BrickColor.new("Bright red")
  1580. lam1 = Instance.new("SpecialMesh",la1)
  1581. lam1.MeshType = "Sphere"
  1582. lam1.Scale = Vector3.new(1,1,1)
  1583. law1 = Instance.new("Weld",la1)
  1584. law1.Part0 = la1
  1585. law1.Part1 = handle
  1586. s1 = Instance.new("Sound",handle)
  1587. s1.SoundId = "rbxassetid://181004943"
  1588. s1.Volume = .7
  1589. s1.Pitch = .9
  1590. s1:Play()
  1591. for i = 1,6,0.15 do wait()
  1592. lam.Scale = Vector3.new(i,i,i)
  1593. lam1.Scale = Vector3.new(i,i,i)
  1594. end
  1595. wait(0.1)
  1596. wait(0.4)
  1597. s = Instance.new("Sound",handle)
  1598. s.SoundId = "rbxassetid://228343271"
  1599. s.Volume = .7
  1600. s.Pitch = 1
  1601. s:Play()
  1602. rng = Instance.new("Part",Character)
  1603. rng.FormFactor = 3
  1604. rng.TopSurface = 0
  1605. rng.BottomSurface = 0
  1606. rng.Transparency = 0.8
  1607. rng.BrickColor = Character["Torso"].BrickColor
  1608. rng.Size = Vector3.new(0.1,0.1,0.1)
  1609. rng.Material = "Marble"
  1610. rngm = Instance.new("SpecialMesh",rng)
  1611. rngm.MeshType = "FileMesh"
  1612. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1613. rngm.Scale = Vector3.new(1,1,1)
  1614. rngw = Instance.new("Weld",rng)
  1615. rngw.Part0 = rng
  1616. rngw.Part1 = handle
  1617. rngw.C0 = CFrame.new(0,0,0) * CFrame.Angles(math.pi/2,0,0)
  1618. la2 = Instance.new("Part",Character)
  1619. la2.FormFactor = 3
  1620. la2.TopSurface = 0
  1621. la2.Transparency = 0
  1622. la2.BottomSurface = 0
  1623. la2.Material = "Marble"
  1624. la2.Size = Vector3.new(0.1,0.1,0.1)
  1625. la2.BrickColor = Character["Torso"].BrickColor
  1626. lam2 = Instance.new("SpecialMesh",la2)
  1627. lam2.MeshType = "Sphere"
  1628. lam2.Scale = Vector3.new(1,1,1)
  1629. law2 = Instance.new("Weld",la2)
  1630. law2.Part0 = la2
  1631. law2.Part1 = la1
  1632. local Beam1 = la2:Clone()
  1633. Beam1.Parent = Character
  1634. local Mesh = Instance.new("CylinderMesh",Beam1)
  1635. Beam1.Size = Vector3.new(1,1,1)
  1636. Beam1.Anchored = true
  1637. Beam1.CanCollide = false
  1638. local Beam2 = Beam1:Clone()
  1639. Beam2.Parent = Character
  1640. Beam2.Transparency = .8
  1641. Beam2.BrickColor = Character["Torso"].BrickColor
  1642. local Mesh2 = Instance.new("CylinderMesh",Beam2)
  1643. for i = 1,17,0.3 do wait()
  1644. lam2.Scale = Vector3.new(0,0,i)
  1645. rngm.Scale = Vector3.new(i/4,i/4,1)
  1646. local Ray = Ray.new(la2.CFrame.p,(la2.CFrame.p-(la2.CFrame*CFrame.new(0,-10,0)).p).unit*900)
  1647. local hit,pos = workspace:FindPartOnRay(Ray,Character)
  1648. local Mag = (pos - la2.CFrame.p).magnitude
  1649. Beam1.CFrame = la2.CFrame * CFrame.new(0,Mag/2,0)
  1650. Mesh.Scale = Vector3.new(.7,Mag,.7)
  1651. Beam2.CFrame = Beam1.CFrame
  1652. Mesh2.Scale = Vector3.new(1.2,Mag,1.2)
  1653. if hit then
  1654. dmg2 = 6
  1655. if hit.Parent:FindFirstChild("Humanoid")
  1656. then hit.Parent:FindFirstChild("Humanoid"):TakeDamage(dmg2)
  1657. if hit.Parent.Parent:FindFirstChild("Humanoid")
  1658. then hit.Parent.Parent:FindFirstChild("Humanoid"):TakeDamage(dmg2)
  1659. if dmg2 > 6 then dmg2 = 6
  1660. end
  1661. end
  1662. end
  1663. end
  1664. end
  1665. for i = 4,1,-0.1 do wait()
  1666. lam.Scale = Vector3.new(i+2,i+2,i+2)
  1667. lam1.Scale = Vector3.new(i+2,i+2,i+2)
  1668. lam2.Scale = Vector3.new(i,i,i)
  1669. rng.Transparency = rng.Transparency + i/10
  1670. local Ray = Ray.new(la2.CFrame.p,(la2.CFrame.p-(la2.CFrame*CFrame.new(0,-10,0)).p).unit*900)
  1671. local hit,pos = workspace:FindPartOnRay(Ray,Character)
  1672. local Mag = (pos - la2.CFrame.p).magnitude
  1673. Beam1.CFrame = la2.CFrame * CFrame.new(0,Mag/2,0)
  1674. Beam2.CFrame = Beam1.CFrame
  1675. Mesh.Scale = Vector3.new(.7/4*i,Mag,.7/4*i)
  1676. Mesh2.Scale = Vector3.new(1.2/4*i,Mag,1.2/4*i)
  1677. if hit then
  1678. dmg = 6
  1679. if hit.Parent:FindFirstChild("Humanoid")
  1680. then hit.Parent:FindFirstChild("Humanoid"):TakeDamage(dmg)
  1681. if hit.Parent.Parent:FindFirstChild("Humanoid")
  1682. then hit.Parent.Parent:FindFirstChild("Humanoid"):TakeDamage(dmg)
  1683. if dmg > 6 then dmg = 6
  1684. end
  1685. end
  1686. end
  1687. end
  1688. end
  1689. rng:Remove()
  1690. la:Remove()
  1691. la1:Remove()
  1692. la2:Remove()
  1693. Beam1:Remove()
  1694. Beam2:Remove()
  1695. wait(0.5)
  1696. Character.Humanoid.WalkSpeed = 16
  1697. attack = false
  1698. end
  1699.  
  1700.  
  1701.  
  1702. ob1d = function()
  1703. if attack == false and attacktype == 1 then
  1704. attacktype = 2
  1705. attackone()
  1706. else
  1707. if attack == false and attacktype == 2 then
  1708. attacktype = 3
  1709. attacktwo()
  1710. else
  1711. if attack == false and attacktype == 3 then
  1712. attacktype = 1
  1713. attackthree()
  1714. end
  1715. end
  1716. end
  1717. end
  1718.  
  1719. key = function(k)
  1720. k = k:lower()
  1721. if attack == false and k == "z" and co1 <= cooldown1 then
  1722. cooldown1 = 0
  1723. DIVIDE()
  1724. else
  1725. if attack == false and k == "x" and co2 <= cooldown2 then
  1726. cooldown2 = cooldown2 / 2
  1727. Slashy()
  1728. else
  1729. if attack == false and k == "c" and co3 <= cooldown3 then
  1730. cooldown3 = 0
  1731. spinattack()
  1732. else
  1733. if attack == false and k == "v" and co4 <= cooldown4 then
  1734. cooldown4 = 0
  1735. Laz0r()--finale()
  1736. if attack == false and k == "q" then
  1737. --Naildrive()
  1738. end
  1739. end
  1740. end
  1741. end
  1742. end
  1743. end
  1744.  
  1745. ds = function(mouse)
  1746. end
  1747.  
  1748. s = function(mouse)
  1749. print("Selected")
  1750. mouse.Button1Down:connect(function()
  1751. ob1d(mouse)
  1752. end
  1753. )
  1754. mouse.Button1Up:connect(function()
  1755. ob1u(mouse)
  1756. end
  1757. )
  1758. mouse.KeyDown:connect(key)
  1759. end
  1760.  
  1761. s(mouse)
  1762.  
  1763.  
  1764.  
  1765. local walk = 0
  1766. local walkforw = false
  1767. updateskills = function()
  1768. if cooldown1 <= co1 then
  1769. cooldown1 = cooldown1 + 0.033333333333333
  1770. end
  1771. if cooldown2 <= co2 then
  1772. cooldown2 = cooldown2 + 0.033333333333333
  1773. end
  1774. if cooldown3 <= co3 then
  1775. cooldown3 = cooldown3 + 0.033333333333333
  1776. end
  1777. if cooldown4 <= co4 then
  1778. cooldown4 = cooldown4 + 0.033333333333333
  1779. end
  1780. end
  1781.  
  1782. while 1 do
  1783. swait()
  1784. updateskills()
  1785. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1786. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1787. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1788. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1789. for i,v in pairs(Character:GetChildren()) do
  1790. if v:IsA("Part") then
  1791. v.Material = "SmoothPlastic"
  1792. else
  1793. if v:IsA("Hat") then
  1794. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1795. end
  1796. end
  1797. end
  1798. walk = walk + 1.2
  1799. if 15 - 5 * (Humanoid.WalkSpeed / 16) <= walk then
  1800. walk = 0
  1801. if walkforw == true then
  1802. walkforw = false
  1803. else
  1804. if walkforw == false then
  1805. walkforw = true
  1806. end
  1807. end
  1808. end
  1809. Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1810. velocity = RootPart.Velocity.y
  1811. sine = sine + change
  1812. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1813. if equipped == true or equipped == false then
  1814. if 1 < RootPart.Velocity.y and hit == nil then
  1815. Anim = "Jump"
  1816. if attack == false then
  1817. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1818. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1819. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.7, 0) * angles(math.rad(0), math.rad(115), math.rad(205)), 0.3)
  1820. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  1821. RH.C0 = clerp(RH.C0, cn(1, -0.5, -0.4) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(-30)), 0.3)
  1822. LH.C0 = clerp(LH.C0, cn(-1, -0.8, 0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(20)), 0.3)
  1823. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(0)), 0.3)
  1824. end
  1825. else
  1826. if RootPart.Velocity.y < -1 and hit == nil then
  1827. Anim = "Fall"
  1828. if attack == false then
  1829. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1830. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1831. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.7, 0) * angles(math.rad(0), math.rad(120), math.rad(205)), 0.3)
  1832. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-60)), 0.3)
  1833. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(30)), 0.3)
  1834. LH.C0 = clerp(LH.C0, cn(-1, -1, -0.3) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-20)), 0.3)
  1835. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
  1836. end
  1837. else
  1838. if (math.abs(Torsovelocity.x) + math.abs(Torsovelocity.z)) < 1 and hit ~= nil then
  1839. Anim = "Idle"
  1840. if attack == false then
  1841. change = 1
  1842. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos((sine) / 25)) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1843. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 + 3 * math.cos((sine) / 23)), math.rad(0), math.rad(20)), 0.3)
  1844. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.7, 0) * angles(math.rad(180), math.rad(110 - 3 * math.cos((sine) / 23)), math.rad(205 + 3 * math.cos((sine) / 23))), 0.3)
  1845. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10 - 5 * math.cos((sine) / 23))), 0.3)
  1846. RH.C0 = clerp(RH.C0, cn(1, -0.9 - 0.1 * math.cos((sine) / 25), 0) * RHCF * angles(math.rad(-3 - 1 * math.cos((sine) / 25)), math.rad(20), math.rad(-7)), 0.3)
  1847. LH.C0 = clerp(LH.C0, cn(-1, -0.9 - 0.1 * math.cos((sine) / 25), 0) * LHCF * angles(math.rad(-3 - 1 * math.cos((sine) / 25)), math.rad(20), math.rad(5)), 0.3)
  1848. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 10, 0) * angles(math.rad(20), math.rad(-20), math.rad(0)), 0.3)
  1849. end
  1850. else
  1851. if 2 < (math.abs(Torsovelocity.x) + math.abs(Torsovelocity.z)) and hit ~= nil then
  1852. Anim = "Walk"
  1853. if attack == false then
  1854. change = 2
  1855. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2 * math.cos((sine) / 7))), 0.3)
  1856. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 + 3 * math.cos((sine) / 23)), math.rad(0), math.rad(-2 * math.cos((sine) / 7))), 0.3)
  1857. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.7, 0) * angles(math.rad(0), math.rad(110), math.rad(-200)), 0.3)
  1858. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30 * math.cos((sine) / 10)), math.rad(0), math.rad(-5)), 0.3)
  1859. RH.C0 = clerp(RH.C0, cn(1, -1 - 0.3 * math.cos((sine) / 8) / 2, -0.03 + math.sin((sine) / 8) / 2) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(-10) - math.sin((sine) / 8)), 0.3)
  1860. LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.3 * math.cos((sine) / 8) / 2, -0.03 - math.sin((sine) / 8) / 2) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10) - math.sin((sine) / 8)), 0.3)
  1861. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(23), math.rad(-20), math.rad(0)), 0.3)
  1862. end
  1863. end
  1864. end
  1865. end
  1866. end
  1867. end
  1868. if 0 < #Effects then
  1869. for e = 1, #Effects do
  1870. if Effects[e] ~= nil then
  1871. local Thing = Effects[e]
  1872. if Thing ~= nil then
  1873. local Part = Thing[1]
  1874. local Mode = Thing[2]
  1875. local Delay = Thing[3]
  1876. local IncX = Thing[4]
  1877. local IncY = Thing[5]
  1878. local IncZ = Thing[6]
  1879. if Thing[1].Transparency <= 1 then
  1880. if Thing[2] == "Block1" then
  1881. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1882. Mesh = Thing[1].Mesh
  1883. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1884. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1885. else
  1886. if Thing[2] == "Block2" then
  1887. Thing[1].CFrame = Thing[1].CFrame
  1888. Mesh = Thing[7]
  1889. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1890. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1891. else
  1892. if Thing[2] == "Cylinder" then
  1893. Mesh = Thing[1].Mesh
  1894. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1895. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1896. else
  1897. if Thing[2] == "Blood" then
  1898. Mesh = Thing[7]
  1899. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1900. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1901. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1902. else
  1903. if Thing[2] == "Elec" then
  1904. Mesh = Thing[1].Mesh
  1905. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1906. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1907. else
  1908. if Thing[2] == "Disappear" then
  1909. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1910. else
  1911. if Thing[2] == "Shatter" then
  1912. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1913. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1914. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1915. Thing[6] = Thing[6] + Thing[5]
  1916. end
  1917. end
  1918. end
  1919. end
  1920. end
  1921. end
  1922. end
  1923. else
  1924. Part.Parent = nil
  1925. table.remove(Effects, e)
  1926. end
  1927. end
  1928. end
  1929. end
  1930. end
  1931. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement