Advertisement
samuelrichter66

I'll fucking find you

May 29th, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.28 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,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153.  
  154. -- Shadow Blade Edit by MappleGalexy(MapleGalaxy) --
  155. -- I'll Fucking Find You --
  156. Player=game:GetService("Players").LocalPlayer
  157. Character=Player.Character
  158. PlayerGui=Player.PlayerGui
  159. Backpack=Player.Backpack
  160. Torso=Character.Torso
  161. Head=Character.Head
  162. Humanoid=Character.Humanoid
  163. LeftArm=Character["Left Arm"]
  164. LeftLeg=Character["Left Leg"]
  165. RightArm=Character["Right Arm"]
  166. RightLeg=Character["Right Leg"]
  167. cam=game.Workspace.CurrentCamera
  168. LS=Torso["Left Shoulder"]
  169. LH=Torso["Left Hip"]
  170. RS=Torso["Right Shoulder"]
  171. RH=Torso["Right Hip"]
  172. Face = Head.face
  173. Neck=Torso.Neck
  174. it=Instance.new
  175. attacktype=1
  176. vt=Vector3.new
  177. cf=CFrame.new
  178. script.Name = "MagicBlade"
  179. euler=CFrame.fromEulerAnglesXYZ
  180. angles=CFrame.Angles
  181. cloaked=false
  182. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  183. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  184. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  185. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  186. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  187. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  188. RootPart=Character.HumanoidRootPart
  189. RootJoint=RootPart.RootJoint
  190. RootCF=euler(-1.57,0,3.14)
  191. attack = false
  192. bounce=false
  193. cooldown=false
  194. deeznuts=false
  195. attackdebounce = false
  196. deb=false
  197. equipped=true
  198. hand=false
  199. MMouse=nil
  200. combo=0
  201. mana=0
  202. trispeed=.2
  203. attackmode='none'
  204. local idle=0
  205. local Anim="Idle"
  206. local Effects={}
  207. local gun=false
  208. local shoot=false
  209. player=nil
  210. mana=0
  211. cam = workspace.CurrentCamera
  212. ZTarget = nil
  213. RocketTarget = nil
  214. local m = Instance.new("Model",Character)
  215. m.Name = "WeaponModelz"
  216.  
  217. local SHEZ = Instance.new("Sound",Character.HumanoidRootPart)SHEZ.SoundId = "rbxassetid://656541219" SHEZ.Looped = true SHEZ.Volume = 2 SHEZ:Play()
  218. mouse=Player:GetMouse()
  219. --save shoulders
  220. RSH, LSH=nil, nil
  221. --welds
  222. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  223. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  224. LH=Torso["Left Hip"]
  225. RH=Torso["Right Hip"]
  226. TorsoColor=Torso.BrickColor
  227. function NoOutline(Part)
  228. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  229. end
  230. player=Player
  231. ch=Character
  232. RSH=ch.Torso["Right Shoulder"]
  233. LSH=ch.Torso["Left Shoulder"]
  234. --
  235. RSH.Parent=nil
  236. LSH.Parent=nil
  237. --
  238. RW.Name="Right Shoulder"
  239. RW.Part0=ch.Torso
  240. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  241. RW.C1=cf(0, 0.5, 0)
  242. RW.Part1=ch["Right Arm"]
  243. RW.Parent=ch.Torso
  244. --
  245. LW.Name="Left Shoulder"
  246. LW.Part0=ch.Torso
  247. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  248. LW.C1=cf(0, 0.5, 0)
  249. LW.Part1=ch["Left Arm"]
  250. LW.Parent=ch.Torso
  251.  
  252. function swait(num)
  253. if num==0 or num==nil then
  254. game:service'RunService'.Heartbeat:wait(0)
  255. else
  256. for i=0,num do
  257. game:service'RunService'.Heartbeat:wait(0)
  258. end
  259. end
  260. end
  261.  
  262. function nooutline(part)
  263. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  264. end
  265.  
  266. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  267. local fp=it("Part")
  268. fp.formFactor=formfactor
  269. fp.Parent=parent
  270. fp.Reflectance=reflectance
  271. fp.Transparency=transparency
  272. fp.CanCollide=false
  273. fp.Locked=true
  274. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  275. fp.Name=name
  276. fp.Size=size
  277. fp.Position=Character.Torso.Position
  278. nooutline(fp)
  279. fp.Material=material
  280. fp:BreakJoints()
  281. return fp
  282. end
  283.  
  284. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  285. local fp = it("Part")
  286. fp.formFactor = formfactor
  287. fp.Parent = parent
  288. fp.Reflectance = reflectance
  289. fp.Transparency = transparency
  290. fp.CanCollide = false
  291. fp.Locked=true
  292. fp.BrickColor = brickcolor
  293. fp.Name = name
  294. fp.Size = size
  295. fp.Position = EffectPart.Position
  296. NoOutline(fp)
  297. fp.Material="Neon"
  298. fp:BreakJoints()
  299. return fp
  300. end
  301.  
  302. function wweld(parent,part0,part1,c0)
  303. local weld=it("Weld")
  304. weld.Parent=parent
  305. weld.Part0=part0
  306. weld.Part1=part1
  307. weld.C0=c0
  308. return weld
  309. end
  310.  
  311. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  312. local mesh=it(Mesh)
  313. mesh.Parent=part
  314. if Mesh=="SpecialMesh" then
  315. mesh.MeshType=meshtype
  316. mesh.MeshId=meshid
  317. end
  318. mesh.Offset=offset
  319. mesh.Scale=scale
  320. return mesh
  321. end
  322.  
  323. function decal(part,face,texture,transparency,shiny,specular,name)
  324. local d=it("Decal",part)
  325. d.Shiny=shiny
  326. d.Face=face
  327. d.Specular=specular
  328. d.Transparency=transparency
  329. d.Texture=texture
  330. d.Name=name
  331. return d
  332. end
  333.  
  334. function weld(parent,part0,part1,c0,c1)
  335. local weld=it("Weld")
  336. weld.Parent=parent
  337. weld.Part0=part0
  338. weld.Part1=part1
  339. weld.C0=c0
  340. weld.C1=c1
  341. return weld
  342. end
  343.  
  344. Humanoid.Name = "Noctis"
  345. local SH = Instance.new("Sound")
  346. local list = {}
  347.  
  348. so = function(id,par,vol,pit)
  349. coroutine.resume(coroutine.create(function()
  350. local sou = SH:clone() sou.Parent = par or workspace
  351. sou.Volume=vol
  352. sou.Pitch=pit or 1
  353. sou.SoundId=id
  354. sou:play()
  355. game:GetService("Debris"):AddItem(sou,15)
  356. end))
  357. end
  358.  
  359. function clerp(a,b,t)
  360. local qa = {QuaternionFromCFrame(a)}
  361. local qb = {QuaternionFromCFrame(b)}
  362. local ax, ay, az = a.x, a.y, a.z
  363. local bx, by, bz = b.x, b.y, b.z
  364. local _t = 1-t
  365. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  366. end
  367.  
  368. function QuaternionFromCFrame(cf)
  369. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  370. local trace = m00 + m11 + m22
  371. if trace > 0 then
  372. local s = math.sqrt(1 + trace)
  373. local recip = 0.5/s
  374. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  375. else
  376. local i = 0
  377. if m11 > m00 then
  378. i = 1
  379. end
  380. if m22 > (i == 0 and m00 or m11) then
  381. i = 2
  382. end
  383. if i == 0 then
  384. local s = math.sqrt(m00-m11-m22+1)
  385. local recip = 0.5/s
  386. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  387. elseif i == 1 then
  388. local s = math.sqrt(m11-m22-m00+1)
  389. local recip = 0.5/s
  390. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  391. elseif i == 2 then
  392. local s = math.sqrt(m22-m00-m11+1)
  393. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  394. end
  395. end
  396. end
  397.  
  398. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  399. local xs, ys, zs = x + x, y + y, z + z
  400. local wx, wy, wz = w*xs, w*ys, w*zs
  401. local xx = x*xs
  402. local xy = x*ys
  403. local xz = x*zs
  404. local yy = y*ys
  405. local yz = y*zs
  406. local zz = z*zs
  407. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  408. end
  409.  
  410. function QuaternionSlerp(a, b, t)
  411. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  412. local startInterp, finishInterp;
  413. if cosTheta >= 0.0001 then
  414. if (1 - cosTheta) > 0.0001 then
  415. local theta = math.acos(cosTheta)
  416. local invSinTheta = 1/math.sin(theta)
  417. startInterp = math.sin((1-t)*theta)*invSinTheta
  418. finishInterp = math.sin(t*theta)*invSinTheta
  419. else
  420. startInterp = 1-t
  421. finishInterp = t
  422. end
  423. else
  424. if (1+cosTheta) > 0.0001 then
  425. local theta = math.acos(-cosTheta)
  426. local invSinTheta = 1/math.sin(theta)
  427. startInterp = math.sin((t-1)*theta)*invSinTheta
  428. finishInterp = math.sin(t*theta)*invSinTheta
  429. else
  430. startInterp = t-1
  431. finishInterp = t
  432. end
  433. end
  434. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  435. end
  436.  
  437. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  438. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  439. end
  440.  
  441. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  442. if hit.Parent==nil then
  443. return
  444. end
  445. local h=hit.Parent:FindFirstChild("Humanoid")
  446. for _,v in pairs(hit.Parent:children()) do
  447. if v:IsA("Humanoid") then
  448. h=v
  449. end
  450. end
  451. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  452. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  453. end
  454. if hit.Parent.className=="Hat" then
  455. hit=hit.Parent.Parent:findFirstChild("Head")
  456. end
  457. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  458. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  459. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  460. return
  461. end]]
  462. -- hs(hit,1.2)
  463. local c=Instance.new("ObjectValue")
  464. c.Name="creator"
  465. c.Value=game:service("Players").LocalPlayer
  466. c.Parent=h
  467. game:GetService("Debris"):AddItem(c,.5)
  468. local Damage=math.random(minim,maxim)
  469. -- h:TakeDamage(Damage)
  470. local blocked=false
  471. local block=hit.Parent:findFirstChild("Block")
  472. if block~=nil then
  473. print(block.className)
  474. if block.className=="NumberValue" then
  475. if block.Value>0 then
  476. blocked=true
  477. if decreaseblock==nil then
  478. block.Value=block.Value-1
  479. end
  480. end
  481. end
  482. if block.className=="IntValue" then
  483. if block.Value>0 then
  484. blocked=true
  485. if decreaseblock~=nil then
  486. block.Value=block.Value-1
  487. end
  488. end
  489. end
  490. end
  491. if blocked==false then
  492. -- h:TakeDamage(Damage)
  493. h.Health=h.Health-Damage
  494. ShowDamage((Part.CFrame * CFrame.new(math.random(-5,5), math.random(-5,5), math.random(-5,5)+ (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  495. else
  496. h.Health=h.Health-(Damage/2)
  497. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  498. end
  499. if Type=="Knockdown" then
  500. local hum=hit.Parent.Humanoid
  501. hum.PlatformStand=true
  502. coroutine.resume(coroutine.create(function(HHumanoid)
  503. swait(1)
  504. HHumanoid.PlatformStand=false
  505. end),hum)
  506. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  507. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  508. local bodvol=Instance.new("BodyVelocity")
  509. bodvol.velocity=angle*knockback
  510. bodvol.P=5000
  511. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  512. bodvol.Parent=hit
  513. local rl=Instance.new("BodyAngularVelocity")
  514. rl.P=3000
  515. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  516. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  517. rl.Parent=hit
  518. game:GetService("Debris"):AddItem(bodvol,.5)
  519. game:GetService("Debris"):AddItem(rl,.5)
  520. elseif Type=="Normal" then
  521. local vp=Instance.new("BodyVelocity")
  522. vp.P=500
  523. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  524. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  525. if KnockbackType==1 then
  526. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  527. elseif KnockbackType==2 then
  528. vp.velocity=Property.CFrame.lookVector*knockback
  529. end
  530. if knockback>0 then
  531. vp.Parent=hit.Parent.Torso
  532. end
  533. game:GetService("Debris"):AddItem(vp,.5)
  534. elseif Type=="Up" then
  535. local bodyVelocity=Instance.new("BodyVelocity")
  536. bodyVelocity.velocity=vt(0,60,0)
  537. bodyVelocity.P=5000
  538. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  539. bodyVelocity.Parent=hit
  540. game:GetService("Debris"):AddItem(bodyVelocity,1)
  541. local rl=Instance.new("BodyAngularVelocity")
  542. rl.P=3000
  543. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  544. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  545. rl.Parent=hit
  546. game:GetService("Debris"):AddItem(rl,.5)
  547. elseif Type=="Snare" then
  548. local bp=Instance.new("BodyPosition")
  549. bp.P=2000
  550. bp.D=100
  551. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  552. bp.position=hit.Parent.Torso.Position
  553. bp.Parent=hit.Parent.Torso
  554. game:GetService("Debris"):AddItem(bp,1)
  555. elseif Type=="Target" then
  556. local Targetting = false
  557. if Targetting==false then
  558. ZTarget=hit.Parent.Torso
  559. coroutine.resume(coroutine.create(function(Part)
  560. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  561. swait(5)
  562. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  563. end),ZTarget)
  564. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  565. local targetgui=Instance.new("BillboardGui")
  566. targetgui.Parent=ZTarget
  567. targetgui.Size=UDim2.new(10,100,10,100)
  568. local targ=Instance.new("ImageLabel")
  569. targ.Parent=targetgui
  570. targ.BackgroundTransparency=1
  571. targ.Image="rbxassetid://4834067"
  572. targ.Size=UDim2.new(1,0,1,0)
  573. cam.CameraType="Scriptable"
  574. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  575. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  576. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  577. Targetting=true
  578. RocketTarget=ZTarget
  579. for i=1,Property do
  580. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  581. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  582. swait()
  583. end
  584. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  585. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  586. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  587. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  588. end
  589. Targetting=false
  590. RocketTarget=nil
  591. targetgui.Parent=nil
  592. cam.CameraType="Custom"
  593. end
  594. end
  595. c=Instance.new("ObjectValue")
  596. c.Name="creator"
  597. c.Value=Player
  598. c.Parent=h
  599. game:GetService("Debris"):AddItem(c,.5)
  600. end
  601. end
  602.  
  603.  
  604. function ShowDamage(Pos, Text, Time, Color)
  605. local Rate = (1 / 30)
  606. local Pos = (Pos or Vector3.new(0, 0, 0))
  607. local Text = (Text or "")
  608. local Time = (Time or 2)
  609. local Color = (Color or Color3.new(1, 0, 0))
  610. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  611. EffectPart.Anchored = true
  612. local BillboardGui = Instance.new("BillboardGui")
  613. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  614. BillboardGui.Adornee = EffectPart
  615. local TextLabel = Instance.new("TextLabel")
  616. TextLabel.BackgroundTransparency = 1
  617. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  618. TextLabel.Text = Text
  619. TextLabel.TextColor3 = Color
  620. TextLabel.TextScaled = true
  621. TextLabel.Font = Enum.Font.ArialBold
  622. TextLabel.Parent = BillboardGui
  623. BillboardGui.Parent = EffectPart
  624. game.Debris:AddItem(EffectPart, (Time + 0.1))
  625. EffectPart.Parent = game:GetService("Workspace")
  626. Delay(0, function()
  627. local Frames = (Time / Rate)
  628. for Frame = 1, Frames do
  629. wait(Rate)
  630. local Percent = (Frame / Frames)
  631. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  632. TextLabel.TextTransparency = Percent
  633. end
  634. if EffectPart and EffectPart.Parent then
  635. EffectPart:Destroy()
  636. end
  637. end)
  638. end
  639.  
  640. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  641. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.995889783, -0.101109691, 0.0468789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
  642. handleweld.Name = "MagicWeld"
  643. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  644. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  645. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
  646. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  647. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  648. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
  649. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  650. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  651. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
  652. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  653. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  654. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
  655. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  656. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  657. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
  658. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  659. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  660. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
  661. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  662. Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1, 1.20000005, 1))
  663. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
  664. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  665. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  666. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  667. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  668. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  669. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  670. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  671. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  672. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  673. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  674. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  675. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  676. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  677. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  678. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  679. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  680. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  681. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  682. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  683. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  684. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
  685. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  686. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  687. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
  688. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  689. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  690. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
  691. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  692. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  693. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
  694. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  695. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  696. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
  697. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  698. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  699. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
  700. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  701. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  702. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  703. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  704. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  705. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  706. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  707. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  708. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  709. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  710. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  711. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  712. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  713. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  714. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  715. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  716. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  717. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  718. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  719. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  720. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
  721. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  722. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  723. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
  724. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Cyan","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  725. EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  726. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  727. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  728. EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  729.  
  730. local ColorsArray = {ColorSequenceKeypoint.new(0, Color3.new(0/255,170/255,255/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,170/255,255/255))}
  731. local Atch1 = Instance.new("Attachment",Hitbox)Atch1.Position = Vector3.new(0,2,0)
  732. local Atch2 = Instance.new("Attachment",Hitbox)Atch2.Position = Vector3.new(0,-2.5,0)
  733. local Trail = Instance.new("Trail",Hitbox)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2
  734. Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 0.05 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  735. Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 1
  736.  
  737. DarkRiftF=function(par)
  738. while lol == true do
  739. wait()
  740. local PWN={}
  741. for _,v in pairs(game.Workspace:children()) do
  742. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  743. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  744. table.insert(PWN,v.Torso)
  745. end
  746. end
  747. end
  748. for _,t in pairs(PWN) do
  749. local targ=par.Position-t.Position
  750. local Mag=targ.magnitude
  751. if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
  752. if Mag<=30 then
  753. t.Parent.Humanoid:TakeDamage(.5)
  754. local rl=Instance.new("BodyAngularVelocity")
  755. rl.P=3000
  756. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  757. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  758. rl.Parent=t
  759. game:GetService("Debris"):AddItem(rl,.1)
  760. end
  761. if Mag<=20 then
  762. t.Parent.Humanoid:TakeDamage(.1)
  763. else
  764. local vl=Instance.new("BodyVelocity")
  765. vl.P=3000
  766. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  767. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  768. vl.Parent=t
  769. game:GetService("Debris"):AddItem(vl,.1)
  770. end
  771. end
  772. end
  773. wait(.08)
  774. end
  775. end
  776.  
  777. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  778. local msh1 = Instance.new("BlockMesh")
  779. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  780. local S=Instance.new("Part")
  781. S.Name="Effect"
  782. S.Material="Neon"
  783. S.formFactor=0
  784. S.Size=Vector3.new(x1,y1,z1)
  785. S.BrickColor=color
  786. S.Reflectance = 0
  787. S.TopSurface=0
  788. S.BottomSurface=0
  789. S.Transparency=0
  790. S.Anchored=false
  791. S.CanCollide=false
  792. S.CFrame=part.CFrame
  793. S.Parent=game.Workspace
  794. msh1.Parent = S
  795. local W=Instance.new("Weld")
  796. W.Parent=S
  797. W.Part0=S
  798. W.Part1=part
  799. W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  800. W.Parent=nil
  801. S.Anchored=true
  802. coroutine.resume(coroutine.create(function(Part,Weld) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) --[[Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))]] Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
  803. end
  804.  
  805. local function BlackHole(parent,cframe)
  806. local effectsmsh = Instance.new("SpecialMesh")
  807. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  808. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  809. effectsmsh.Scale = Vector3.new(3,3,3)
  810. local effectsg = Instance.new("Part")
  811. effectsg.formFactor = 3
  812. effectsg.CanCollide = false
  813. effectsg.Name = "Effect"
  814. effectsg.Locked = true
  815. effectsg.Transparency = 1
  816. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  817. effectsg.Parent = parent
  818. effectsg.BrickColor = BrickColor.new("Cyan")
  819. effectsg.Material="Neon"
  820. coroutine.resume(coroutine.create(function(Part,Mesh)
  821. local Mesh = Instance.new("SpecialMesh")
  822. Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  823. Mesh.MeshType = "Sphere"
  824. -- Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
  825. Part=Instance.new("Part")
  826. Part.Name="Effect"
  827. Part.formFactor=0
  828. Part.Size=Vector3.new(1,1,1)
  829. Part.BrickColor=BrickColor.new("Cyan")
  830. Part.Material="Neon"
  831. Part.Reflectance = 0
  832. Part.TopSurface=0
  833. Part.BottomSurface=0
  834. Part.Transparency=0
  835. Part.Anchored=true
  836. NoOutline(Part)
  837. Part.CanCollide=false
  838. Part.CFrame=cframe
  839. Part.Parent=parent
  840. Mesh.Parent = Part
  841. lol=true
  842. coroutine.resume(coroutine.create(function()
  843. DarkRiftF(Part)
  844. end))
  845. for i=0,200 do
  846. wait()
  847. DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.new("Cyan"))
  848. Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
  849. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  850. end
  851. local fff=200
  852. for i=0,100 do
  853. wait()
  854. DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.new("Cyan"))
  855. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  856. end
  857. for i=0,1,0.05 do
  858. wait()
  859. Part.Transparency=Part.Transparency+0.05
  860. Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
  861. end
  862. lol=false
  863. Part.Parent=nil
  864. end),nil,nil)
  865. end
  866.  
  867. function makeShockwave(height,color,speed,range,pulse)
  868. local range = range or 2000
  869. local p = Instance.new("Part")
  870. p.Anchored = true
  871. p.CanCollide = false
  872. p.FormFactor = "Custom"
  873. p.BrickColor = color
  874. p.Parent = workspace
  875. local m = Instance.new("SpecialMesh",p)
  876. m.MeshId = "rbxassetid://3270017"
  877. local estimateSurvival = math.floor(range/speed) * 0.03
  878. game:GetService("Debris"):AddItem(p,estimateSurvival)
  879. Spawn(function ()
  880. for i = 1,range,speed do
  881. p.Transparency = 1-math.min(0.5,3-(i/500))
  882. m.Scale = Vector3.new(i,i,i*height)
  883. p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
  884. wait()
  885. end
  886. p:Destroy()
  887. end)
  888. end
  889.  
  890. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  891. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  892. prt.Anchored=true
  893. prt.CFrame=cframe
  894. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
  895. game:GetService("Debris"):AddItem(prt,2)
  896. coroutine.resume(coroutine.create(function(Part,Mesh)
  897. for i=0,2,delay do
  898. wait()
  899. Part.CFrame=Part.CFrame
  900. Part.Transparency=i
  901. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  902. end
  903. Part.Parent=nil
  904. end),prt,msh)
  905. end
  906.  
  907. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  908. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  909. prt.Anchored=true
  910. prt.CFrame=cframe
  911. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  912. game:GetService("Debris"):AddItem(prt,5)
  913. coroutine.resume(coroutine.create(function(Part,Mesh)
  914. for i=0,1,delay do
  915. wait()
  916. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  917. Part.Transparency=i
  918. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  919. end
  920. Part.Parent=nil
  921. end),prt,msh)
  922. end
  923.  
  924. local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  925. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
  926. if Type~=2 then
  927. prt.Anchored=true
  928. end
  929. prt.CFrame=cframe
  930. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  931. game:GetService("Debris"):AddItem(prt,5)
  932. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  933. local wld=nil
  934. if dur==2 then
  935. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  936. end
  937. for i=0,1,delay do
  938. swait()
  939. if dur==1 then
  940. Part.CFrame=Part.CFrame
  941. elseif dur==2 then
  942. wld.C0=cframe
  943. end
  944. Part.Transparency=i
  945. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  946. end
  947. Part.Parent=nil
  948. end),prt,msh,Type)
  949. end
  950.  
  951. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  952. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  953. prt.Anchored=true
  954. prt.CFrame=cframe
  955. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  956. game:GetService("Debris"):AddItem(prt,5)
  957. coroutine.resume(coroutine.create(function(Part,Mesh)
  958. for i=0,1,delay do
  959. swait()
  960. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  961. Part.Transparency=i
  962. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  963. end
  964. Part.Parent=nil
  965. end),prt,msh)
  966. end
  967.  
  968. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  969. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  970. prt.Anchored=true
  971. prt.CFrame=cframe
  972. local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  973. game:GetService("Debris"):AddItem(prt,5)
  974. coroutine.resume(coroutine.create(function(Part,Mesh)
  975. for i=0,1,delay do
  976. wait()
  977. Part.CFrame=Part.CFrame
  978. Part.Transparency=i
  979. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  980. end
  981. Part.Parent=nil
  982. end),prt,msh)
  983. end
  984.  
  985. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  986. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  987. prt.Anchored=true
  988. prt.CFrame=cframe
  989. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  990. game:GetService("Debris"):AddItem(prt,5)
  991. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  992. end
  993.  
  994. function Blast(parent)
  995. MagicBlock(BrickColor.new("Black"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  996. MagicWaveThing(BrickColor.new("Black"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  997. end
  998.  
  999. function ChargeBall(parent,t)
  1000. local counter=0
  1001. local size=1
  1002. for i=0,t,1 do
  1003. swait()
  1004. counter=counter+1
  1005. if counter%10==0 then
  1006. if size==3 then
  1007. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1008. elseif size==2 then
  1009. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1010. end
  1011. end
  1012. if counter%5==0 then
  1013. if size==1 then
  1014. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1015. elseif size==2 then
  1016. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1017. elseif size==3 then
  1018. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1019. end
  1020. end
  1021. end
  1022. end
  1023.  
  1024. function ChargeBall2(parent,t)
  1025. local counter=0
  1026. local size=1
  1027. for i=0,t,1 do
  1028. swait()
  1029. counter=counter+1
  1030. if counter%10==0 then
  1031. if size==3 then
  1032. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1033. elseif size==2 then
  1034. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1035. end
  1036. end
  1037. if counter%5==0 then
  1038. if size==1 then
  1039. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1040. MagicWave(BrickColor.new("Cyan"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1041. elseif size==2 then
  1042. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1043. MagicWave(BrickColor.new("Cyan"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1044. elseif size==3 then
  1045. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1046. MagicWave(BrickColor.new("Cyan"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1047. end
  1048. end
  1049. end
  1050. end
  1051.  
  1052. function MagniDamage(Part,dis,mind,maxd,force,knock)
  1053. for _,c in pairs(workspace:children()) do
  1054. local hum=c:findFirstChild("Humanoid")
  1055. if hum~=nil then
  1056. local head=c:findFirstChild("Torso")
  1057. if head~=nil then
  1058. local targ=head.Position-Part.Position
  1059. local mag=targ.magnitude
  1060. if mag<=dis and c.Name~=Character.Name then
  1061. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
  1062. end
  1063. end
  1064. end
  1065. end
  1066. end
  1067.  
  1068. function computeDirection(vec)
  1069. local lenSquared = vec.magnitude * vec.magnitude
  1070. local invSqrt = 1 / math.sqrt(lenSquared)
  1071. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1072. end
  1073.  
  1074. function attackone()
  1075. attack = true
  1076. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1077. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,5,9,math.random(5,5),"Normal",RootPart,.2,1) end)
  1078. local fx=Hitbox.Touched:connect(function(part)
  1079. local human=part.Parent:findFirstChild("Humanoid")
  1080. if human~=nil and bounce==false then
  1081. bounce=true
  1082. local rndm=math.random(1,#hitsounds)
  1083. local r=rndm
  1084. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1085. end
  1086. end)
  1087. for i = 0,1,0.25 do
  1088. swait()
  1089. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),1)
  1090. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),1)
  1091. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),1)
  1092. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),1)
  1093. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),1)
  1094. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  1095. end
  1096. so("http://www.roblox.com/asset/?id=712781677",handle,1,.9)
  1097. for i = 0,1,0.5 do
  1098. swait()
  1099. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1100. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1101. local h = 5
  1102. scfr = blcf
  1103. elseif not scfr then
  1104. scfr = blcf
  1105. end
  1106. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.5)
  1107. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.5)
  1108. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5)
  1109. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5)
  1110. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.5)
  1111. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.5)
  1112. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.5)
  1113. end
  1114. attack = false
  1115. bounce=false
  1116. scfr=nil
  1117. fx:disconnect()
  1118. con:disconnect()
  1119. end
  1120.  
  1121. function attacktwo()
  1122. attack=true
  1123. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1124. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4,9,math.random(5,5),"Normal",RootPart,.2,1) end)
  1125. local fx=Hitbox.Touched:connect(function(part)
  1126. local human=part.Parent:findFirstChild("Humanoid")
  1127. if human~=nil and bounce==false then
  1128. bounce=true
  1129. local rndm=math.random(1,#hitsounds)
  1130. local r=rndm
  1131. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1132. end
  1133. end)
  1134. for i=0,1,.25 do
  1135. swait()
  1136. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.5)
  1137. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-90)),0.5)
  1138. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5)
  1139. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5)
  1140. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1141. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.5)
  1142. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.5)
  1143. end
  1144. so("http://www.roblox.com/asset/?id=712781677",handle,1,1)
  1145. for i = 0,1,0.5 do
  1146. swait()
  1147. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1148. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1149. local h = 5
  1150. scfr = blcf
  1151. elseif not scfr then
  1152. scfr = blcf
  1153. end
  1154. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.5)
  1155. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(90)),0.5)
  1156. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.5)
  1157. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.5)
  1158. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.5)
  1159. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.5)
  1160. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.5)
  1161. end
  1162. scfr=nil
  1163. attack=false
  1164. bounce=false
  1165. con:disconnect()
  1166. fx:disconnect()
  1167. end
  1168.  
  1169. function attackthree()
  1170. attack=true
  1171. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1172. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,12,16,math.random(5,5),"Normal",RootPart,.2,1) end)
  1173. local fx=Hitbox.Touched:connect(function(part)
  1174. local human=part.Parent:findFirstChild("Humanoid")
  1175. if human~=nil and bounce==false then
  1176. bounce=true
  1177. local rndm=math.random(1,#hitsounds)
  1178. local r=rndm
  1179. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1180. end
  1181. end)
  1182. for i=0,1,.25 do
  1183. swait()
  1184. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.5)
  1185. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.5)
  1186. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.5)
  1187. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.5)
  1188. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.5)
  1189. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.5)
  1190. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.5)
  1191. end
  1192. so("http://www.roblox.com/asset/?id=712781677",handle,1,.9)
  1193. for i = 0,1,0.5 do
  1194. swait()
  1195. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1196. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1197. local h = 5
  1198. scfr = blcf
  1199. elseif not scfr then
  1200. scfr = blcf
  1201. end
  1202. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.5)
  1203. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.5)
  1204. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.5)
  1205. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.5)
  1206. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.5)
  1207. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.5)
  1208. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.5)
  1209. end
  1210. attack=false
  1211. bounce=false
  1212. scfr=nil
  1213. con:disconnect()
  1214. fx:disconnect()
  1215. end
  1216.  
  1217. function attackfour()
  1218. attack = true
  1219. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1220. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4,9,math.random(20,30),"Normal",RootPart,.2,1) end)
  1221. local fx=Hitbox.Touched:connect(function(part)
  1222. local human=part.Parent:findFirstChild("Humanoid")
  1223. if human~=nil and bounce==false then
  1224. bounce=true
  1225. local rndm=math.random(1,#hitsounds)
  1226. local r=rndm
  1227. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1228. end
  1229. end)
  1230. for i = 0,1,0.25 do
  1231. swait()
  1232. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.5)
  1233. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.5)
  1234. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.5)
  1235. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.5)
  1236. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.5)
  1237. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.5)
  1238. handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.5)
  1239. end
  1240. so("http://www.roblox.com/asset/?id=712781677",Hitbox,1,1.1)
  1241. local v=it("BodyVelocity",Torso)
  1242. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  1243. v.velocity=RootPart.CFrame.lookVector*50
  1244. for i = 0,1,0.5 do
  1245. swait()
  1246. local blcf = Hitbox.CFrame*cf(0,0,0)
  1247. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1248. local h = 5
  1249. scfr = blcf
  1250. elseif not scfr then
  1251. scfr = blcf
  1252. end
  1253. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.5)
  1254. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.5)
  1255. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.5)
  1256. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.5)
  1257. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.5)
  1258. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.5)
  1259. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.5)
  1260. end
  1261. v.Parent=nil
  1262. scfr=nil
  1263. attack = false
  1264. bounce=false
  1265. con:disconnect()
  1266. fx:disconnect()
  1267. end
  1268.  
  1269. function Shockwave1(CFramez, Rangez)
  1270. local Shock = Instance.new("Part",game.Workspace)Shock.Transparency = 0.75 Shock.Size = Vector3.new(0.2,0.2,0.2) Shock.Anchored = true
  1271. Shock.CanCollide = false Shock.BrickColor = BrickColor.new("Medium stone grey") local SM = Instance.new("SpecialMesh",Shock)
  1272. SM.MeshId = "rbxassetid://20329976" Shock.CFrame = CFramez SM.Scale = Vector3.new(0,0,0)
  1273. Spawn(function ()
  1274. for i = 1,3 do
  1275. SM.Scale = SM.Scale + Vector3.new(2+Rangez/2,0.15+Rangez/12,2+Rangez/2)
  1276. Shock.CFrame = Shock.CFrame* CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-80/Rangez),0)
  1277. wait()
  1278. end
  1279. for i = 1,math.huge do
  1280. if Shock.Transparency >= 1 then break end
  1281. Shock.Transparency = Shock.Transparency + 0.025 Shock.CFrame = Shock.CFrame* CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-150/Rangez),0)
  1282. SM.Scale = SM.Scale + Vector3.new(0.5,0.05,0.5)
  1283. wait()
  1284. end
  1285. Shock:remove()
  1286. end)
  1287. end
  1288.  
  1289.  
  1290. function PortalStorm()
  1291. attack=true
  1292. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1293. so("http://www.roblox.com/asset/?id=562500427",handle,1,.9)
  1294. MagniDamage(Character.HumanoidRootPart,20,150,235,0,"Normal",Character.HumanoidRootPart)
  1295. local BV = Instance.new("BodyVelocity",Character.HumanoidRootPart)BV.Velocity = Vector3.new(0,1,0)game.Debris:AddItem(BV,0.1)
  1296. BV.maxForce = Vector3.new(0,math.huge,0)
  1297. for i2 = 1,10 do
  1298. Shockwave1(Character.HumanoidRootPart.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(0,math.rad(-5),0), i2)
  1299. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-(i2*100))),1)
  1300. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(125)),1)
  1301. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),1)
  1302. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),1)
  1303. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),1)
  1304. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  1305. swait()
  1306. end
  1307. attack = false
  1308. bounce=false
  1309. scfr=nil
  1310. attack = false
  1311. end
  1312.  
  1313. function Spin()
  1314. attack=true
  1315. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1316. so("http://www.roblox.com/asset/?id=562500427",handle,1,.9)
  1317. local BV = Instance.new("BodyVelocity",Character.HumanoidRootPart)BV.Velocity = Vector3.new(0,50,0)game.Debris:AddItem(BV,0.25)
  1318. BV.maxForce = Vector3.new(0,math.huge,0)
  1319. for i2 = 1,25 do
  1320. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(math.random(-100,100)/10),math.rad(math.random(-100,100)/10),math.rad(-(i2*50))),1)
  1321. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(125)),1)
  1322. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),1)
  1323. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),1)
  1324. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),1)
  1325. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  1326. MagniDamage(Character.HumanoidRootPart,10,8,16,0,"Normal",Character.HumanoidRootPart)
  1327. swait()
  1328. end
  1329. attack = false
  1330. bounce=false
  1331. scfr=nil
  1332. attack = false
  1333. end
  1334.  
  1335. function ProjectileStrike()
  1336. attack=true
  1337. for i=0,1,.25 do
  1338. swait()
  1339. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.5)
  1340. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.5)
  1341. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.5)
  1342. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.5)
  1343. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.5)
  1344. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.5)
  1345. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.5)
  1346. end
  1347. Wave=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","Wave",Vector3.new(0.650000036, 8, 0.200000003)) Wave.Parent = game.Workspace
  1348. local Atch3 = Instance.new("Attachment",Wave)Atch3.Position = Vector3.new(0,4,0)
  1349. local Atch4 = Instance.new("Attachment",Wave)Atch4.Position = Vector3.new(0,-4,0)
  1350. local Trail2 = Instance.new("Trail",Wave)Trail2.Attachment0 = Atch3 Trail2.Attachment1 = Atch4
  1351. Trail2.Texture = "rbxassetid://22636887" Trail2.Lifetime = 0.05 Trail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1352. Trail2.Color = ColorSequence.new(ColorsArray) Trail2.LightEmission = 1
  1353. Wave.CFrame = Character.HumanoidRootPart.CFrame*CFrame.new(0,0,-1)*CFrame.Angles(0,0,math.rad(math.random(-20,20)))
  1354. local BV = Instance.new("BodyVelocity",Wave)BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)BV.velocity = Character.HumanoidRootPart.CFrame.lookVector*250
  1355. so("http://www.roblox.com/asset/?id=506383970",handle,1,.9)
  1356. local con=Wave.Touched:connect(function(hit) Damagefunc(Wave,hit,24,46,0,"Normal",RootPart,.2,1) end)
  1357. for i = 0,1,0.1 do
  1358. swait()
  1359. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.5)
  1360. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.5)
  1361. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(math.random(-20,20)), math.rad(0), math.rad(-10)),0.5)
  1362. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.5)
  1363. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.5)
  1364. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.5)
  1365. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.5)
  1366. end
  1367. attack=false
  1368. bounce=false
  1369. scfr=nil
  1370. con:disconnect()
  1371. end
  1372.  
  1373. function WorldBreaker()
  1374. attack=true
  1375. for i=0,1,.25 do
  1376. swait()
  1377. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.5)
  1378. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.5)
  1379. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.5)
  1380. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.5)
  1381. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.5)
  1382. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.5)
  1383. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.5)
  1384. end
  1385. Wave=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","Wave",Vector3.new(6, 100, 20)) Wave.Parent = game.Workspace
  1386. local Atch3 = Instance.new("Attachment",Wave)Atch3.Position = Vector3.new(0,50,-10)
  1387. local Atch4 = Instance.new("Attachment",Wave)Atch4.Position = Vector3.new(0,-50,-10)
  1388. local Trail2 = Instance.new("Trail",Wave)Trail2.Attachment0 = Atch3 Trail2.Attachment1 = Atch4 Trail2.MinLength = 4
  1389. Trail2.Texture = "rbxassetid://22636887" Trail2.Lifetime = 5 Trail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1390. Trail2.Color = ColorSequence.new(ColorsArray) Trail2.LightEmission = 1
  1391. local Soond = SH:clone()Soond.SoundId = "rbxassetid://666736107" Soond.Volume = 3 Soond.Looped = true Soond.Parent = Wave Soond:Play()
  1392. Wave.CFrame = Character.HumanoidRootPart.CFrame*CFrame.Angles(0,0,math.rad(-90))*CFrame.new(0,0,-10)
  1393. game.Debris:AddItem(Wave,5)
  1394. local BV = Instance.new("BodyVelocity",Wave)BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)BV.velocity = Character.HumanoidRootPart.CFrame.lookVector*25
  1395. Wave.Touched:connect(function(hit)
  1396. if hit.Anchored == false and hit.Parent ~= Character and hit.Parent.Parent ~= Character then
  1397. hit:remove()
  1398. end
  1399. end)
  1400. so("http://www.roblox.com/asset/?id=517249876",handle,1,.9)
  1401. for i = 0,1,0.1 do
  1402. swait()
  1403. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.5)
  1404. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.5)
  1405. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(math.random(-20,20)), math.rad(0), math.rad(-10)),0.5)
  1406. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.5)
  1407. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.5)
  1408. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.5)
  1409. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.5)
  1410. end
  1411. attack=false
  1412. bounce=false
  1413. scfr=nil
  1414. end
  1415.  
  1416. function SuperProjectile()
  1417. attack=true
  1418. for i=0,1,.25 do
  1419. swait()
  1420. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.5)
  1421. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.5)
  1422. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.5)
  1423. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.5)
  1424. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.5)
  1425. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.5)
  1426. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.5)
  1427. end
  1428. for i2 = 1,3 do
  1429. for i = 1,12 do
  1430. Wave=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","Wave",Vector3.new(0.650000036, 10, 10*i2)) Wave.Parent = game.Workspace
  1431. game.Debris:AddItem(Wave,10)
  1432. local Atch3 = Instance.new("Attachment",Wave)Atch3.Position = Vector3.new(0,10,0)
  1433. local Atch4 = Instance.new("Attachment",Wave)Atch4.Position = Vector3.new(0,-10,0)
  1434. local Trail2 = Instance.new("Trail",Wave)Trail2.Attachment0 = Atch3 Trail2.Attachment1 = Atch4 Trail2.MinLength = 4
  1435. Trail2.Texture = "rbxassetid://22636887" Trail2.Lifetime = 0.5 Trail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1436. Trail2.Color = ColorSequence.new(ColorsArray) Trail2.LightEmission = 1
  1437. local Soond = SH:clone()Soond.SoundId = "rbxassetid://666736107" Soond.Volume = 0.05 Soond.Looped = true Soond.Parent = Wave Soond:Play()
  1438. Wave.CFrame = Character.HumanoidRootPart.CFrame*CFrame.Angles(0,0,math.rad(30*i))
  1439. Wave.CFrame = Wave.CFrame*CFrame.new(-5*i2,0,4*i2)
  1440. local BV = Instance.new("BodyVelocity",Wave)BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)BV.velocity = Character.HumanoidRootPart.CFrame.lookVector*300
  1441. Wave.Touched:connect(function(hit)
  1442. if hit.Anchored == false and hit.Parent ~= Character and hit.Parent.Parent ~= Character then
  1443. hit:remove()
  1444. end
  1445. end)
  1446. end
  1447. end
  1448. so("http://www.roblox.com/asset/?id=517249876",handle,1,.9)
  1449. for i = 0,1,0.1 do
  1450. swait()
  1451. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.5)
  1452. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.5)
  1453. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(math.random(-20,20)), math.rad(0), math.rad(-10)),0.5)
  1454. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.5)
  1455. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.5)
  1456. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.5)
  1457. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.5)
  1458. end
  1459. attack=false
  1460. bounce=false
  1461. scfr=nil
  1462. end
  1463.  
  1464.  
  1465. function ShockSpin(Partz,SM)
  1466. Spawn(function()
  1467. for i = 1,math.huge do
  1468. if Partz.Transparency >= 1 then break end
  1469. Partz.Transparency = Partz.Transparency + 0.025 Partz.CFrame = Partz.CFrame* CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-50),0)
  1470. SM.Scale = SM.Scale + Vector3.new(1,0.25,1)
  1471. wait()
  1472. end
  1473. Partz:remove()
  1474. end)
  1475. end
  1476.  
  1477. function Shockwave2(Partz)
  1478. local W = 0
  1479. Spawn(function()
  1480. for i = 1,math.huge do
  1481. W = W + 1
  1482. local Shock = Instance.new("Part",game.Workspace)Shock.Transparency = 0.75 Shock.Size = Vector3.new(0.2,0.2,0.2) Shock.Anchored = true
  1483. Shock.CanCollide = false Shock.BrickColor = BrickColor.new("Medium stone grey") local SM = Instance.new("SpecialMesh",Shock)
  1484. SM.MeshId = "rbxassetid://20329976" Shock.CFrame = Partz.CFrame*CFrame.Angles(math.rad(90),math.rad(W*10),0) SM.Scale = Vector3.new(0,0,0)
  1485. ShockSpin(Shock,SM)
  1486. wait()
  1487. end
  1488. end)
  1489. end
  1490.  
  1491. function SuperProjectile2()
  1492. attack=true
  1493. for i=0,1,.25 do
  1494. swait()
  1495. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.5)
  1496. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.5)
  1497. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.5)
  1498. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.5)
  1499. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.5)
  1500. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.5)
  1501. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.5)
  1502. end
  1503. local Wave2 = Instance.new("Part",game.Workspace)Wave2.Size = Vector3.new(20,20,20)Wave2.CanCollide = false Wave2.Anchored = false Wave2.Transparency = 1
  1504. local Soond = SH:clone()Soond.SoundId = "rbxassetid://666736107" Soond.Volume = 0.05 Soond.Looped = true Soond.Parent = Wave2 Soond:Play() Wave2.CFrame = Character.HumanoidRootPart.CFrame
  1505. local BV = Instance.new("BodyVelocity",Wave2)BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)BV.velocity = Character.HumanoidRootPart.CFrame.lookVector*150
  1506. Wave2.Touched:connect(function(hit) Damagefunc(Wave2,hit,24,46,0,"Normal",RootPart,.2,1) end)
  1507. Shockwave2(Wave2) game.Debris:addItem(Wave2,5)
  1508. so("http://www.roblox.com/asset/?id=517249876",handle,1,.9)
  1509. for i = 0,1,0.1 do
  1510. swait()
  1511. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.5)
  1512. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.5)
  1513. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(math.random(-20,20)), math.rad(0), math.rad(-10)),0.5)
  1514. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.5)
  1515. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.5)
  1516. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.5)
  1517. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.5)
  1518. end
  1519. attack=false
  1520. bounce=false
  1521. scfr=nil
  1522. end
  1523.  
  1524. function Warp()
  1525. for i=0,1,.25 do
  1526. swait()
  1527. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.5)
  1528. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.5)
  1529. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.5)
  1530. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.5)
  1531. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.5)
  1532. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.5)
  1533. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.5)
  1534. end
  1535. local WarpS = m:clone() WarpS:FindFirstChild("MagicWeld"):remove() WarpS.Name = "WarpSword"
  1536. WarpS.Parent = Character local Partzs = Instance.new("Part",WarpS)Partzs.Size = Vector3.new(0.2,0.2,0.2)Partzs.CanCollide = false Partzs.Anchored = false Partzs.Transparency = 1
  1537. local WeldS = Instance.new("Weld",WarpS.Hitbox)WeldS.Part0 = WarpS.Hitbox WeldS.Part1 = Partzs
  1538. Partzs.CFrame = CFrame.new(Character.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p)
  1539. local BV = Instance.new("BodyVelocity",Partzs)BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)BV.velocity = Partzs.CFrame.lookVector*750
  1540. Partzs.CFrame = Partzs.CFrame*CFrame.Angles(math.rad(90),math.rad(90),0)
  1541. local Soond = SH:clone()Soond.SoundId = "rbxassetid://181004943" Soond.Volume = 10 Soond.Parent = Partzs Soond.PlaybackSpeed = 3 Soond:Play()
  1542. local SE = Instance.new("PitchShiftSoundEffect",Soond)SE.Octave = 0.5
  1543. Trail.Enabled = false
  1544. for i, v in pairs(m:children()) do
  1545. if v.ClassName == "Part" then
  1546. if v.Transparency ~= 1 then
  1547. v.Transparency = 0.99
  1548. end
  1549. end
  1550. end
  1551. for i = 0,1,0.1 do
  1552. swait()
  1553. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.5)
  1554. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.5)
  1555. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(math.random(-20,20)), math.rad(0), math.rad(-10)),0.5)
  1556. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.5)
  1557. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.5)
  1558. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.5)
  1559. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.5)
  1560. end
  1561. wait(0.05)
  1562. local Soond2 = SH:clone()Soond2.SoundId = "rbxassetid://181004957" Soond2.Volume = 5 Soond2.Parent = Character.HumanoidRootPart Soond2:Play()
  1563. Character.HumanoidRootPart.CFrame = Partzs.CFrame
  1564. Humanoid.Jump = true
  1565. WarpS:remove()
  1566. Trail.Enabled = true
  1567. for i, v in pairs(m:children()) do
  1568. if v.ClassName == "Part" then
  1569. if v.Transparency ~= 1 then
  1570. v.Transparency = 0
  1571. end
  1572. end
  1573. end
  1574. end
  1575.  
  1576. function NukeShockwaves(Size, CFramez)
  1577. local Shock = Instance.new("Part",game.Workspace)Shock.Transparency = 0.5 Shock.Size = Vector3.new(0.2,0.2,0.2) Shock.Anchored = true
  1578. Shock.CanCollide = false Shock.BrickColor = BrickColor.new("Medium stone grey") local SM = Instance.new("SpecialMesh",Shock)
  1579. SM.MeshId = "rbxassetid://20329976" SM.Scale = Vector3.new(Size,5,Size) Shock.CFrame = CFramez*CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0)
  1580. Spawn(function()
  1581. for i = 1,math.huge do
  1582. if Shock.Transparency >= 1 then break end
  1583. Shock.Transparency = Shock.Transparency + 0.025
  1584. wait()
  1585. end
  1586. end)
  1587. end
  1588.  
  1589. function NukeBlade()
  1590. for i=0,1,.25 do
  1591. swait()
  1592. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.5)
  1593. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.5)
  1594. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.5)
  1595. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.5)
  1596. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.5)
  1597. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.5)
  1598. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.5)
  1599. end
  1600. local WarpS = m:clone() WarpS:FindFirstChild("MagicWeld"):remove() WarpS.Name = "WarpSword"
  1601. WarpS.Parent = Character local Partzs = Instance.new("Part",WarpS)Partzs.Size = Vector3.new(0.2,0.2,0.2)Partzs.CanCollide = false Partzs.Anchored = false Partzs.Transparency = 1
  1602. local WeldS = Instance.new("Weld",WarpS.Hitbox)WeldS.Part0 = WarpS.Hitbox WeldS.Part1 = Partzs
  1603. Partzs.CFrame = CFrame.new(Character.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p)
  1604. local BV = Instance.new("BodyVelocity",Partzs)BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)BV.velocity = Partzs.CFrame.lookVector*750
  1605. Partzs.CFrame = Partzs.CFrame*CFrame.Angles(math.rad(90),math.rad(90),0)
  1606. local Soond = SH:clone()Soond.SoundId = "rbxassetid://181004943" Soond.Volume = 10 Soond.Parent = Partzs Soond.PlaybackSpeed = 2 Soond:Play()
  1607. local SE = Instance.new("PitchShiftSoundEffect",Soond)SE.Octave = 0.5
  1608. Trail.Enabled = false
  1609. for i, v in pairs(m:children()) do
  1610. if v.ClassName == "Part" then
  1611. if v.Transparency ~= 1 then
  1612. v.Transparency = 0.99
  1613. end
  1614. end
  1615. end
  1616. wait(0.02)
  1617. local Hit = false
  1618. Partzs.Touched:connect(function(Hit)
  1619. if Hit == true then return end
  1620. Hit = true
  1621. Partzs.Anchored = true
  1622. local Shock = Instance.new("Part",game.Workspace)Shock.Transparency = 0 Shock.Size = Vector3.new(1,1,1) Shock.Anchored = true
  1623. Shock.CanCollide = false Shock.BrickColor = BrickColor.new("Cyan") Shock.Material = "Neon" local SM = Instance.new("SpecialMesh",Shock)
  1624. Shock.CFrame = CFrame.new(Partzs.Position) SM.MeshType = "Sphere"
  1625. local Pos = Shock.Position
  1626. for i = 1,3 do
  1627. local Sound = SH:clone()Sound.SoundId = "rbxassetid://258057783" Sound.Volume = 10 Sound.Parent = Shock Sound.PlaybackSpeed = 0.4 Sound:Play()
  1628. end
  1629. for i = 1,200 do
  1630. SM.Scale = SM.Scale + Vector3.new(i*0.025,i*0.025,i*0.025)
  1631. NukeShockwaves(i*1.5,CFrame.new(Shock.Position))
  1632. MagniDamage(Shock,i*1,10,30,0,"Normal",Character.HumanoidRootPart)
  1633. wait()
  1634. end
  1635. for i = 1,30 do
  1636. Shock.Transparency = Shock.Transparency + 1/30
  1637. SM.Scale = SM.Scale + Vector3.new(i*0.0,i*0.025,i*0.025)
  1638. wait()
  1639. end
  1640. end)
  1641. game.Debris:AddItem(WarpS,10)
  1642. for i = 0,1,0.1 do
  1643. swait()
  1644. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.5)
  1645. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.5)
  1646. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(math.random(-20,20)), math.rad(0), math.rad(-10)),0.5)
  1647. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.5)
  1648. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.5)
  1649. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.5)
  1650. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.5)
  1651. end
  1652. wait(0.05)
  1653. Trail.Enabled = true
  1654. for i, v in pairs(m:children()) do
  1655. if v.ClassName == "Part" then
  1656. if v.Transparency ~= 1 then
  1657. v.Transparency = 0
  1658. end
  1659. end
  1660. end
  1661. end
  1662.  
  1663. attacktype=1
  1664. mouse.Button1Down:connect(function()
  1665. if attacktype==1 and attack==false then
  1666. attacktype=2
  1667. attackone()
  1668. elseif attacktype==2 and attack==false then
  1669. attacktype=3
  1670. attacktwo()
  1671. elseif attacktype==3 and attack==false then
  1672. attacktype=4
  1673. attackthree()
  1674. elseif attacktype==4 and attack==false then
  1675. attacktype=1
  1676. attackfour()
  1677. end
  1678. end)
  1679.  
  1680. mouse.KeyDown:connect(function(k)
  1681. k=k:lower()
  1682. if attack == false and k == 'e' then
  1683. Spin()
  1684. end
  1685. if attack == false and k == 'q' then
  1686. ProjectileStrike()
  1687. end
  1688. if attack == false and k == 'z' then
  1689. SuperProjectile()
  1690. end
  1691. if attack == false and k == 'x' then
  1692. SuperProjectile2()
  1693. end
  1694. if attack == false and k == 'c' then
  1695. NukeBlade()
  1696. end
  1697. if attack == false and k == 'v' then
  1698. Warp()
  1699. end
  1700. if attack == false and k == 'f'then
  1701. WorldBreaker()
  1702. end
  1703. if attack == false and k == 'r'then
  1704. PortalStorm()
  1705. end
  1706. end)
  1707.  
  1708.  
  1709. local sine = 0
  1710. local change = 1
  1711. local val = 0
  1712.  
  1713. while true do
  1714. swait()
  1715. for i, v in pairs(m:children()) do
  1716. if v.ClassName == "Part" then
  1717. v.Anchored = false
  1718. v.CanCollide = false
  1719. end
  1720. end
  1721. for i,v in pairs (Character:children()) do
  1722. if v.ClassName == "Part" then
  1723. v.Anchored = false
  1724. end
  1725. if v.ClassName == "Accessory" then
  1726. for i,v2 in pairs (v:children()) do
  1727. if v2.ClassName == "Part" then
  1728. v2.Anchored = false
  1729. end
  1730. end
  1731. end
  1732. end
  1733. sine = sine + change
  1734. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1735. local velderp=RootPart.Velocity.y
  1736. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1737. if equipped==true or equipped==false then
  1738. if attack==false then
  1739. idle=idle+1
  1740. else
  1741. idle=0
  1742. end
  1743. if idle>=500 then
  1744. if attack==false then
  1745. end
  1746. end
  1747. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1748. Anim="Jump"
  1749. if attack==false then
  1750. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1751. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1752. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  1753. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  1754. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-30),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1755. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1756. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1757. end
  1758. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1759. Anim="Fall"
  1760. if attack==false then
  1761. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1762. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  1763. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  1764. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  1765. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1766. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1767. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1768. end
  1769. elseif torvel<1 and hitfloor~=nil then
  1770. Anim="Idle"
  1771. if attack==false then
  1772. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
  1773. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
  1774. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
  1775. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1776. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  1777. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-4),math.rad(-95),math.rad(0)),.3)
  1778. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
  1779. end
  1780. elseif torvel>2 and hitfloor~=nil then
  1781. Anim="Walk"
  1782. if attack==false then
  1783. change=3
  1784. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  1785. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
  1786. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
  1787. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30)*math.cos(sine/10), math.rad(5), math.rad(0)), 0.3)
  1788. RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1789. LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1790. handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1791. end
  1792. end
  1793. end
  1794. if #Effects>0 then
  1795. for e=1,#Effects do
  1796. if Effects[e]~=nil then
  1797. local Thing=Effects[e]
  1798. if Thing~=nil then
  1799. local Part=Thing[1]
  1800. local Mode=Thing[2]
  1801. local Delay=Thing[3]
  1802. local IncX=Thing[4]
  1803. local IncY=Thing[5]
  1804. local IncZ=Thing[6]
  1805. if Thing[1].Transparency<=1 then
  1806. if Thing[2]=="Block1" then
  1807. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1808. Mesh=Thing[1].Mesh
  1809. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1810. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1811. elseif Thing[2]=="Cylinder" then
  1812. Mesh=Thing[1].Mesh
  1813. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1814. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1815. elseif Thing[2]=="Blood" then
  1816. Mesh=Thing[7]
  1817. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1818. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1819. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1820. elseif Thing[2]=="Elec" then
  1821. Mesh=Thing[1].Mesh
  1822. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1823. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1824. elseif Thing[2]=="Disappear" then
  1825. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1826. end
  1827. else
  1828. Part.Parent=nil
  1829. table.remove(Effects,e)
  1830. end
  1831. end
  1832. end
  1833. end
  1834. end
  1835. end
  1836.  
  1837. --[[game:GetService("RunService").RenderStepped:connect(function()
  1838. for i,v in pairs (ShockModel:children()) do
  1839. if v.Transparency == 1 then break end
  1840. v.Transparency = v.Transparency + 0.05 v.CFrame = CFrame.new(0,math.rad(2),0)
  1841. local SM = v:findFirstChild("Mesh")
  1842. SM.Scale = SM.Scale + Vector3.new(1,0,1)
  1843. end
  1844. end)]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement