daily pastebin goal
7%
SHARE
TWEET

Untitled

GojiGaming1337 May 25th, 2018 110 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. warn([[Extermina Loaded.
  2. Made by NoobyGames12
  3.  
  4. One who is based off to someone.
  5. But its different.]])
  6. plr = game.Players.LocalPlayer
  7. char = plr.Character
  8. hum = char.Humanoid
  9. local cam = game.Workspace.CurrentCamera
  10. t = char.Torso
  11. h = char.Head
  12. ra = char["Right Arm"]
  13. la = char["Left Arm"]
  14. rl = char["Right Leg"]
  15. ll = char["Left Leg"]
  16. tors = char.Torso
  17. lleg = char["Left Leg"]
  18. root = char.HumanoidRootPart
  19. hed = char.Head
  20. rleg = char["Right Leg"]
  21. rarm = char["Right Arm"]
  22. larm = char["Left Arm"]
  23. radian = math.rad
  24. random = math.random
  25. Vec3 = Vector3.new
  26. Inst = Instance.new
  27. cFrame = CFrame.new
  28. Euler = CFrame.fromEulerAnglesXYZ
  29. vt = Vector3.new
  30. bc = BrickColor.new
  31. br = BrickColor.random
  32. it = Instance.new
  33. cf = CFrame.new
  34. local killcount = 0
  35.  
  36.  
  37. function CameraEnshaking(Length,Intensity,Parent)
  38. coroutine.resume(coroutine.create(function()
  39. local HumanoidParented = Parent:WaitForChild("Humanoid")
  40.       local intensity = 1*Intensity
  41.       local rotM = 0.01*Intensity
  42. for i = 0, Length, 0.1 do
  43. swait()
  44. intensity = intensity - 0.05*Intensity/Length
  45. rotM = rotM - 0.0005*Intensity/Length
  46.       HumanoidParented.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  47.       cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  48. end
  49. Humanoid.CameraOffset = Vec3(0, 0, 0)
  50. end))
  51. end
  52.  
  53.  
  54. --[[kan = Instance.new("Sound",char)
  55. kan.Volume = 1.25
  56. kan.TimePosition = 0
  57. kan.PlaybackSpeed = 1
  58. kan.Pitch = 1
  59. kan.SoundId = "rbxassetid://1347011178"
  60. kan.Name = "watisdis"
  61. kan.Looped = true
  62. kan:Play()]]--
  63.  
  64.  
  65. function CameraShake(Times, Power)
  66. coroutine.resume(coroutine.create(function()
  67. FV = Instance.new("BoolValue", Character)
  68. FV.Name = "CameraShake"
  69. for ShakeNum=1,Times do
  70. swait()
  71. local ef=Power
  72.   if ef>=1 then
  73.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  74.   else
  75.    ef=Power*10
  76.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  77.   end  
  78. end
  79. Humanoid.CameraOffset = Vector3.new(0,0,0)
  80. FV:Destroy()
  81. end))
  82. end
  83.  
  84. CamShake=function(Part,Distan,Power,Times)
  85. local de=Part.Position
  86. for i,v in pairs(workspace:children()) do
  87.  if v:IsA("Model") and v:findFirstChild("Humanoid") then
  88. for _,c in pairs(v:children()) do
  89. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  90. local Noob=v.Humanoid
  91. if Noob~=nil then
  92. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  93. --[[local ss=script.CamShake:clone()
  94. ss.Parent=Noob
  95. ss.Power.Value=Power
  96. ss.Times.Value=Times
  97. ss.Disabled=false]]
  98. CameraShake(Times, Power)
  99. end
  100. end
  101. end
  102. end
  103. end
  104. end
  105. end
  106.  
  107. function chatfunc(text,color)
  108. local chat = coroutine.wrap(function()
  109. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  110. Character:FindFirstChild("TalkingBillBoard"):destroy()
  111. end
  112. local naeeym2 = Instance.new("BillboardGui",Character)
  113. naeeym2.Size = UDim2.new(0,100,0,40)
  114. naeeym2.StudsOffset = Vector3.new(0,3,0)
  115. naeeym2.Adornee = Character.Head
  116. naeeym2.Name = "TalkingBillBoard"
  117. local tecks2 = Instance.new("TextLabel",naeeym2)
  118. tecks2.BackgroundTransparency = 1
  119. tecks2.BorderSizePixel = 0
  120. tecks2.Text = ""
  121. tecks2.Font = "SciFi"
  122. tecks2.TextSize = 30
  123. tecks2.TextStrokeTransparency = 0
  124. tecks2.TextColor3 = color
  125. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  126. tecks2.Size = UDim2.new(1,0,0.5,0)
  127. local tecks3 = Instance.new("TextLabel",naeeym2)
  128. tecks3.BackgroundTransparency = 1
  129. tecks3.BorderSizePixel = 0
  130. tecks3.Text = ""
  131. tecks3.Font = "SciFi"
  132. tecks3.TextSize = 30
  133. tecks3.TextStrokeTransparency = 0
  134. tecks3.TextColor3 = Color3.new(0,0,0)
  135. tecks3.TextStrokeColor3 = color
  136. tecks3.Size = UDim2.new(1,0,0.5,0)
  137. coroutine.resume(coroutine.create(function()
  138. while true do
  139. swait(1)
  140. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  141. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  142. tecks2.Rotation = math.random(-5,5)
  143. tecks3.Rotation = math.random(-5,5)
  144. end
  145. end))
  146. for i = 1,string.len(text),1 do
  147. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  148. tecks2.Text = string.sub(text,1,i)
  149. tecks3.Text = string.sub(text,1,i)
  150. swait(1)
  151. end
  152. wait(1)
  153. local randomrot = math.random(1,2)
  154. if randomrot == 1 then
  155. for i = 1, 50 do
  156. swait()
  157. tecks2.Rotation = tecks2.Rotation - .75
  158. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  159. tecks2.TextTransparency = tecks2.TextTransparency + .04
  160. tecks3.Rotation = tecks2.Rotation + .75
  161. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  162. tecks3.TextTransparency = tecks2.TextTransparency + .04
  163. end
  164. elseif randomrot == 2 then
  165.     for i = 1, 50 do
  166. swait()
  167. tecks2.Rotation = tecks2.Rotation + .75
  168. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  169. tecks2.TextTransparency = tecks2.TextTransparency + .04
  170. tecks3.Rotation = tecks2.Rotation - .75
  171. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  172. tecks3.TextTransparency = tecks2.TextTransparency + .04
  173. end
  174. end
  175. naeeym2:Destroy()
  176. end)
  177. chat()
  178. end
  179.  
  180.  
  181. local Create = LoadLibrary("RbxUtility").Create
  182.  
  183. CFuncs = { 
  184.     ["Part"] = {
  185.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  186.             local Part = Create("Part"){
  187.                 Parent = Parent,
  188.                 Reflectance = Reflectance,
  189.                 Transparency = Transparency,
  190.                 CanCollide = false,
  191.                 Locked = true,
  192.                 BrickColor = BrickColor.new(tostring(BColor)),
  193.                 Name = Name,
  194.                 Size = Size,
  195.                 Material = Material,
  196.             }
  197.             RemoveOutlines(Part)
  198.             return Part
  199.         end;
  200.     };
  201.    
  202.     ["Mesh"] = {
  203.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  204.             local Msh = Create(Mesh){
  205.                 Parent = Part,
  206.                 Offset = OffSet,
  207.                 Scale = Scale,
  208.             }
  209.             if Mesh == "SpecialMesh" then
  210.                 Msh.MeshType = MeshType
  211.                 Msh.MeshId = MeshId
  212.             end
  213.             return Msh
  214.         end;
  215.     };
  216.    
  217.     ["Mesh"] = {
  218.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  219.             local Msh = Create(Mesh){
  220.                 Parent = Part,
  221.                 Offset = OffSet,
  222.                 Scale = Scale,
  223.             }
  224.             if Mesh == "SpecialMesh" then
  225.                 Msh.MeshType = MeshType
  226.                 Msh.MeshId = MeshId
  227.             end
  228.             return Msh
  229.         end;
  230.     };
  231.    
  232.     ["Weld"] = {
  233.         Create = function(Parent, Part0, Part1, C0, C1)
  234.             local Weld = Create("Weld"){
  235.                 Parent = Parent,
  236.                 Part0 = Part0,
  237.                 Part1 = Part1,
  238.                 C0 = C0,
  239.                 C1 = C1,
  240.             }
  241.             return Weld
  242.         end;
  243.     };
  244.  
  245.     ["Sound"] = {
  246.         Create = function(id, par, vol, pit)
  247.             coroutine.resume(coroutine.create(function()
  248.                 local S = Create("Sound"){
  249.                     Volume = vol,
  250.                     Pitch = pit or 1,
  251.                     SoundId = id,
  252.                     Parent = par or workspace,
  253.                 }
  254.                 wait()
  255.                 S:play()
  256.                 game:GetService("Debris"):AddItem(S, 10)
  257.             end))
  258.         end;
  259.     };
  260.  
  261. ["LongSound"] = {
  262.         Create = function(id, par, vol, pit)
  263.             coroutine.resume(coroutine.create(function()
  264.                 local S = Create("Sound"){
  265.                     Volume = vol,
  266.                     Pitch = pit or 1,
  267.                     SoundId = id,
  268.                     Parent = par or workspace,
  269.                 }
  270.                 wait()
  271.                 S:play()
  272.                 game:GetService("Debris"):AddItem(S, 30)
  273.             end))
  274.         end;
  275.     };
  276.    
  277.     ["ParticleEmitter"] = {
  278.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  279.             local fp = Create("ParticleEmitter"){
  280.                 Parent = Parent,
  281.                 Color = ColorSequence.new(Color1, Color2),
  282.                 LightEmission = LightEmission,
  283.                 Size = Size,
  284.                 Texture = Texture,
  285.                 Transparency = Transparency,
  286.                 ZOffset = ZOffset,
  287.                 Acceleration = Accel,
  288.                 Drag = Drag,
  289.                 LockedToPart = LockedToPart,
  290.                 VelocityInheritance = VelocityInheritance,
  291.                 EmissionDirection = EmissionDirection,
  292.                 Enabled = Enabled,
  293.                 Lifetime = LifeTime,
  294.                 Rate = Rate,
  295.                 Rotation = Rotation,
  296.                 RotSpeed = RotSpeed,
  297.                 Speed = Speed,
  298.                 VelocitySpread = VelocitySpread,
  299.             }
  300.             return fp
  301.         end;
  302.     };
  303.  
  304.     CreateTemplate = {
  305.    
  306.     };
  307. }
  308.  
  309.  
  310.  
  311. New = function(Object, Parent, Name, Data)
  312.     local Object = Instance.new(Object)
  313.     for Index, Value in pairs(Data or {}) do
  314.         Object[Index] = Value
  315.     end
  316.     Object.Parent = Parent
  317.     Object.Name = Name
  318.     return Object
  319. end
  320. local halocolor = BrickColor.new("White")
  321. local wepcolor = BrickColor.new("Really black")
  322. local m = Instance.new("Model",char)
  323.  
  324. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  325. local p = Instance.new("Part")
  326. p.TopSurface = 0
  327. p.BottomSurface = 0
  328. p.Parent = parent
  329. p.Size = Vector3.new(0.1,0.1,0.1)
  330. p.Transparency = transparency
  331. p.Reflectance = reflectance
  332. p.CanCollide = false
  333. p.Locked = true
  334. p.BrickColor = brickcolor
  335. p.Material = material
  336. return p
  337. end
  338.  
  339. function CreateMesh(parent,meshtype,x1,y1,z1)
  340. local mesh = Instance.new("SpecialMesh",parent)
  341. mesh.MeshType = meshtype
  342. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  343. return mesh
  344. end
  345.  
  346. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  347. local mesh = Instance.new("SpecialMesh",parent)
  348. mesh.MeshType = "FileMesh"
  349. mesh.MeshId = meshid
  350. mesh.Scale = Vector3.new(x1,y1,z1)
  351. return mesh
  352. end
  353.  
  354. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  355. local mesh = Instance.new("SpecialMesh",parent)
  356. mesh.MeshType = "FileMesh"
  357. mesh.MeshId = meshid
  358. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  359. mesh.Scale = Vector3.new(x1,y1,z1)
  360. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  361. return mesh
  362. end
  363.  
  364. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  365. local weld = Instance.new("Weld")
  366. weld.Parent = parent
  367. weld.Part0 = part0
  368. weld.Part1 = part1
  369. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  370. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  371. return weld
  372. end
  373.  
  374. sord = CreateParta(m,0,0,"Granite",wepcolor)
  375. CreateSpecialMesh(sord,"rbxassetid://94840342",0.75,1.25,1.25)
  376. local sordweld = CreateWeld(sord,rarm,sord,0,-3.5,1,math.rad(90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  377.  
  378. at1 = CreateParta(m,1,0,"Neon",halocolor)
  379. CreateMesh(at1,"Sphere",1,1,1)
  380. CreateWeld(at1,sord,at1,0,1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  381. at2 = CreateParta(m,1,0,"Neon",halocolor)
  382. CreateMesh(at2,"Sphere",1,1,1)
  383. CreateWeld(at2,sord,at2,0,-4.3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  384. A0 = Instance.new('Attachment',at1)
  385. A1 = Instance.new('Attachment',at2)
  386. tl1 = Instance.new('Trail',at1)
  387. tl1.Attachment0 = A0
  388. tl1.Attachment1 = A1
  389. tl1.Texture = "http://www.roblox.com/asset/?id=928134823"
  390. tl1.LightEmission = 0
  391. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  392. tl1.Color = ColorSequence.new(BrickColor.new('Really black').Color)
  393. tl1.Lifetime = 0.3
  394.  
  395. hibox = CreateParta(m,1,0,"Granite",BrickColor.random())
  396. hibox.Size = vt(1,2,1)
  397. CreateWeld(hibox,sord,hibox,0,-0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  398.  
  399.  
  400. glow = CreateParta(m,0,0,"Neon",halocolor)
  401. CreateMesh(glow,"Sphere",0.45,1,1)
  402. CreateWeld(glow,sord,glow,0,2.325,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  403.  
  404. local blackem = Instance.new("ParticleEmitter",sord)
  405. blackem.Texture = "rbxassetid://296874871"
  406. blackem.LightEmission = 0.25
  407. blackem.Color = ColorSequence.new(Color3.new(0,0,0))
  408. blackem.Rate = 10
  409. blackem.Lifetime = NumberRange.new(1)
  410. blackem.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
  411. blackem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.9,0),NumberSequenceKeypoint.new(1,1,0)})
  412. blackem.Speed = NumberRange.new(1,6)
  413. blackem.LockedToPart = true
  414. blackem.Rotation = NumberRange.new(-500,500)
  415. blackem.RotSpeed = NumberRange.new(-500,500)
  416. local blackem2 = blackem:Clone()
  417. blackem2.Parent = sord
  418. blackem2.EmissionDirection = "Bottom"
  419.  
  420. staf = CreateParta(m,0,0,"Granite",wepcolor)
  421. CreateSpecialMesh(staf,"rbxassetid://283705926",1.5,1.5,1.5)
  422. local stafweld = CreateWeld(staf,larm,staf,-0.95,-2,0,math.rad(90),math.rad(0),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  423. glowst = CreateParta(m,0,0,"Neon",halocolor)
  424. CreateMesh(glowst,"Sphere",0.35,0.35,0.35)
  425. CreateWeld(glowst,staf,glowst,0.1,-3.325,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  426.  
  427. --[[extend = CreateParta(Gaunlet,0,0,"Granite",wepcolor)
  428. CreateMesh(extend,"Brick",1.05,1.05,1.05)
  429. CreateWeld(extend,rarm,extend,0,0.25,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  430.  
  431. function RemoveOutlines(part)
  432.   part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  433. end
  434. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  435.   local Part = Create("Part")({
  436.     Parent = Parent,
  437.     Reflectance = Reflectance,
  438.     Transparency = Transparency,
  439.     CanCollide = false,
  440.     Locked = true,
  441.     BrickColor = BrickColor.new(tostring(BColor)),
  442.     Name = Name,
  443.     Size = Size,
  444.     Material = Material
  445.   })
  446.   Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  447.   RemoveOutlines(Part)
  448.   return Part
  449. end
  450. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  451.   local Msh = Create(Mesh)({
  452.     Parent = Part,
  453.     Offset = OffSet,
  454.     Scale = Scale
  455.   })
  456.   if Mesh == "SpecialMesh" then
  457.     Msh.MeshType = MeshType
  458.     Msh.MeshId = MeshId
  459.   end
  460.   return Msh
  461. end
  462. function CreateWeld(Parent, Part0, Part1, C0, C1)
  463.   local Weld = Create("Weld")({
  464.     Parent = Parent,
  465.     Part0 = Part0,
  466.     Part1 = Part1,
  467.     C0 = C0,
  468.     C1 = C1
  469.   })
  470.   return Weld
  471. end
  472.  
  473. local ff = Instance.new("ForceField",char)
  474. ff.Visible = false
  475.  
  476. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  477.   local gui = it(GuiType)
  478.   gui.Parent = parent
  479.   gui.Text = text
  480.   gui.BackgroundTransparency = backtrans
  481.   gui.BackgroundColor3 = backcol
  482.   gui.SizeConstraint = "RelativeXY"
  483.   gui.TextXAlignment = "Center"
  484.   gui.TextYAlignment = "Center"
  485.   gui.Position = pos
  486.   gui.Size = size
  487.   gui.Font = "SourceSans"
  488.   gui.FontSize = "Size14"
  489.   gui.TextWrapped = false
  490.   gui.TextStrokeTransparency = 0
  491.   gui.TextColor = BrickColor.new("White")
  492.   return gui
  493. end
  494.  
  495.  
  496. Player=game:GetService("Players").LocalPlayer
  497. Character=Player.Character
  498. local Mouse = Player:GetMouse()
  499. PlayerGui=Player.PlayerGui
  500. Backpack=Player.Backpack
  501. Torso=Character.Torso
  502. Head=Character.Head
  503. Humanoid=Character.Humanoid
  504. m=Instance.new('Model',Character)
  505. LeftArm=Character["Left Arm"]
  506. LeftLeg=Character["Left Leg"]
  507. RightArm=Character["Right Arm"]
  508. RightLeg=Character["Right Leg"]
  509. LS=Torso["Left Shoulder"]
  510. LH=Torso["Left Hip"]
  511. RS=Torso["Right Shoulder"]
  512. RH=Torso["Right Hip"]
  513. Face = Head.face
  514. Neck=Torso.Neck
  515. it=Instance.new
  516. attacktype=1
  517. vt=Vector3.new
  518. cf=CFrame.new
  519. euler=CFrame.fromEulerAnglesXYZ
  520. angles=CFrame.Angles
  521. cloaked=false
  522. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  523. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  524. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  525. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  526. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  527. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  528. RootPart=Character.HumanoidRootPart
  529. RootJoint=RootPart.RootJoint
  530. RootCF=euler(-1.57,0,3.14)
  531. attack = false
  532. attackdebounce = false
  533. deb=false
  534. equipped=true
  535. hand=false
  536. MMouse=nil
  537. combo=0
  538. mana=0
  539. trispeed=.2
  540. attackmode='none'
  541. local idle=0
  542. local Anim="Idle"
  543. local Effects={}
  544. local gun=false
  545. local shoot=false
  546. local sine = 0
  547. local change = 1
  548. player=nil
  549.  
  550. mouse=Player:GetMouse()
  551. --save shoulders
  552. RSH, LSH=nil, nil
  553. --welds
  554. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  555. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  556. LH=Torso["Left Hip"]
  557. RH=Torso["Right Hip"]
  558. TorsoColor=Torso.BrickColor
  559. function NoOutline(Part)
  560. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  561. end
  562. player=Player
  563. ch=Character
  564. RSH=ch.Torso["Right Shoulder"]
  565. LSH=ch.Torso["Left Shoulder"]
  566. --
  567. RSH.Parent=nil
  568. LSH.Parent=nil
  569. --
  570. RW.Name="Right Shoulder"
  571. RW.Part0=ch.Torso
  572. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  573. RW.C1=cf(0, 0.5, 0)
  574. RW.Part1=ch["Right Arm"]
  575. RW.Parent=ch.Torso
  576. --
  577. LW.Name="Left Shoulder"
  578. LW.Part0=ch.Torso
  579. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  580. LW.C1=cf(0, 0.5, 0)
  581. LW.Part1=ch["Left Arm"]
  582. LW.Parent=ch.Torso
  583.  
  584. local Stats=Instance.new("BoolValue")
  585. Stats.Name="Stats"
  586. Stats.Parent=Character
  587. local Atk=Instance.new("NumberValue")
  588. Atk.Name="Damage"
  589. Atk.Parent=Stats
  590. Atk.Value=1
  591. local Def=Instance.new("NumberValue")
  592. Def.Name="Defense"
  593. Def.Parent=Stats
  594. Def.Value=1
  595. local Speed=Instance.new("NumberValue")
  596. Speed.Name="Speed"
  597. Speed.Parent=Stats
  598. Speed.Value=1
  599. local Mvmt=Instance.new("NumberValue")
  600. Mvmt.Name="Movement"
  601. Mvmt.Parent=Stats
  602. Mvmt.Value=1
  603.  
  604. local donum=0
  605.  
  606.  
  607. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  608. local fp=it("Part")
  609. fp.formFactor=formfactor
  610. fp.Parent=parent
  611. fp.Reflectance=reflectance
  612. fp.Transparency=transparency
  613. fp.CanCollide=false
  614. fp.Locked=true
  615. fp.BrickColor=brickcolor
  616. fp.Name=name
  617. fp.Size=size
  618. fp.Position=Torso.Position
  619. NoOutline(fp)
  620. fp.Material="SmoothPlastic"
  621. fp:BreakJoints()
  622. return fp
  623. end
  624.  
  625. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  626. local mesh=it(Mesh)
  627. mesh.Parent=part
  628. if Mesh=="SpecialMesh" then
  629. mesh.MeshType=meshtype
  630. if meshid~="nil" then
  631. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  632. end
  633. end
  634. mesh.Offset=offset
  635. mesh.Scale=scale
  636. return mesh
  637. end
  638.  
  639. function weld(parent,part0,part1,c0)
  640. local weld=it("Weld")
  641. weld.Parent=parent
  642. weld.Part0=part0
  643. weld.Part1=part1
  644. weld.C0=c0
  645. return weld
  646. end
  647.  
  648. local Color1=Torso.BrickColor
  649.  
  650. local bodvel=Instance.new("BodyVelocity")
  651. local bg=Instance.new("BodyGyro")
  652.  
  653. function swait(num)
  654. if num==0 or num==nil then
  655. game:service'RunService'.Stepped:wait(0)
  656. else
  657. for i=0,num do
  658. game:service'RunService'.Stepped:wait(0)
  659. end
  660. end
  661. end
  662.  
  663.  
  664. so = function(id,par,vol,pit)
  665. coroutine.resume(coroutine.create(function()
  666. local sou = Instance.new("Sound",par or workspace)
  667. sou.Volume=vol
  668. sou.Pitch=pit or 1
  669. sou.SoundId=id
  670. swait()
  671. sou:play()
  672. game:GetService("Debris"):AddItem(sou,6)
  673. end))
  674. end
  675.  
  676. function clerp(a,b,t)
  677. local qa = {QuaternionFromCFrame(a)}
  678. local qb = {QuaternionFromCFrame(b)}
  679. local ax, ay, az = a.x, a.y, a.z
  680. local bx, by, bz = b.x, b.y, b.z
  681. local _t = 1-t
  682. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  683. end
  684.  
  685. function QuaternionFromCFrame(cf)
  686. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  687. local trace = m00 + m11 + m22
  688. if trace > 0 then
  689. local s = math.sqrt(1 + trace)
  690. local recip = 0.5/s
  691. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  692. else
  693. local i = 0
  694. if m11 > m00 then
  695. i = 1
  696. end
  697. if m22 > (i == 0 and m00 or m11) then
  698. i = 2
  699. end
  700. if i == 0 then
  701. local s = math.sqrt(m00-m11-m22+1)
  702. local recip = 0.5/s
  703. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  704. elseif i == 1 then
  705. local s = math.sqrt(m11-m22-m00+1)
  706. local recip = 0.5/s
  707. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  708. elseif i == 2 then
  709. local s = math.sqrt(m22-m00-m11+1)
  710. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  711. end
  712. end
  713. end
  714.  
  715. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  716. local xs, ys, zs = x + x, y + y, z + z
  717. local wx, wy, wz = w*xs, w*ys, w*zs
  718. local xx = x*xs
  719. local xy = x*ys
  720. local xz = x*zs
  721. local yy = y*ys
  722. local yz = y*zs
  723. local zz = z*zs
  724. 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))
  725. end
  726.  
  727. function QuaternionSlerp(a, b, t)
  728. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  729. local startInterp, finishInterp;
  730. if cosTheta >= 0.0001 then
  731. if (1 - cosTheta) > 0.0001 then
  732. local theta = math.acos(cosTheta)
  733. local invSinTheta = 1/math.sin(theta)
  734. startInterp = math.sin((1-t)*theta)*invSinTheta
  735. finishInterp = math.sin(t*theta)*invSinTheta  
  736. else
  737. startInterp = 1-t
  738. finishInterp = t
  739. end
  740. else
  741. if (1+cosTheta) > 0.0001 then
  742. local theta = math.acos(-cosTheta)
  743. local invSinTheta = 1/math.sin(theta)
  744. startInterp = math.sin((t-1)*theta)*invSinTheta
  745. finishInterp = math.sin(t*theta)*invSinTheta
  746. else
  747. startInterp = t-1
  748. finishInterp = t
  749. end
  750. end
  751. 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
  752. end
  753.  
  754. local function CFrameFromTopBack(at, top, back)
  755. local right = top:Cross(back)
  756. return CFrame.new(at.x, at.y, at.z,
  757. right.x, top.x, back.x,
  758. right.y, top.y, back.y,
  759. right.z, top.z, back.z)
  760. end
  761.  
  762. function Triangle(a, b, c)
  763. local edg1 = (c-a):Dot((b-a).unit)
  764. local edg2 = (a-b):Dot((c-b).unit)
  765. local edg3 = (b-c):Dot((a-c).unit)
  766. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  767. a, b, c = a, b, c
  768. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  769. a, b, c = b, c, a
  770. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  771. a, b, c = c, a, b
  772. else
  773. assert(false, "unreachable")
  774. end
  775.  
  776. local len1 = (c-a):Dot((b-a).unit)
  777. local len2 = (b-a).magnitude - len1
  778. local width = (a + (b-a).unit*len1 - c).magnitude
  779.  
  780. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  781.  
  782. local list = {}
  783.  
  784. if len1 > 0.01 then
  785. local w1 = Instance.new('WedgePart', m)
  786. game:GetService("Debris"):AddItem(w1,5)
  787. w1.Material = "SmoothPlastic"
  788. w1.FormFactor = 'Custom'
  789. w1.BrickColor = BrickColor.new("Really red")
  790. w1.Transparency = 0
  791. w1.Reflectance = 0
  792. w1.Material = "SmoothPlastic"
  793. w1.CanCollide = false
  794. local l1 = Instance.new("PointLight",w1)
  795. l1.Color = Color3.new(170,0,0)
  796. NoOutline(w1)
  797. local sz = Vector3.new(0.2, width, len1)
  798. w1.Size = sz
  799. local sp = Instance.new("SpecialMesh",w1)
  800. sp.MeshType = "Wedge"
  801. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  802. w1:BreakJoints()
  803. w1.Anchored = true
  804. w1.Parent = workspace
  805. w1.Transparency = 0.7
  806. table.insert(Effects,{w1,"Disappear",.01})
  807. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  808. table.insert(list,w1)
  809. end
  810.  
  811. if len2 > 0.01 then
  812. local w2 = Instance.new('WedgePart', m)
  813. game:GetService("Debris"):AddItem(w2,5)
  814. w2.Material = "SmoothPlastic"
  815. w2.FormFactor = 'Custom'
  816. w2.BrickColor = BrickColor.new("Really red")
  817. w2.Transparency = 0
  818. w2.Reflectance = 0
  819. w2.Material = "SmoothPlastic"
  820. w2.CanCollide = false
  821. local l2 = Instance.new("PointLight",w2)
  822. l2.Color = Color3.new(170,0,0)
  823. NoOutline(w2)
  824. local sz = Vector3.new(0.2, width, len2)
  825. w2.Size = sz
  826. local sp = Instance.new("SpecialMesh",w2)
  827. sp.MeshType = "Wedge"
  828. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  829. w2:BreakJoints()
  830. w2.Anchored = true
  831. w2.Parent = workspace
  832. w2.Transparency = 0.7
  833. table.insert(Effects,{w2,"Disappear",.01})
  834. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  835. table.insert(list,w2)
  836. end
  837. return unpack(list)
  838. end
  839.  
  840.  
  841. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  842.    if hit.Parent == nil then
  843.     return
  844.   end
  845.   local h = hit.Parent:FindFirstChild("Humanoid")
  846.   for _, v in pairs(hit.Parent:children()) do
  847.     if v:IsA("Humanoid") then
  848.       h = v
  849.     end
  850.   end
  851.   if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  852.     if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  853.       return
  854.     end
  855.     local c = Create("ObjectValue")({
  856.       Name = "creator",
  857.       Value = game:service("Players").LocalPlayer,
  858.       Parent = h
  859.     })
  860.     game:GetService("Debris"):AddItem(c, 0.5)
  861.     if HitSound ~= nil and HitPitch ~= nil then
  862.       CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  863.     end
  864.     local Damage = math.random(minim, maxim)
  865.     local blocked = false
  866.     local block = hit.Parent:findFirstChild("Block")
  867.     if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  868.       blocked = true
  869.       block.Value = block.Value - 1
  870.       print(block.Value)
  871.     end
  872.     if blocked == false then
  873.       HitHealth = h.Health
  874.       h.Health = h.Health - Damage
  875.       if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  876.         print("gained kill")
  877. killcount = killcount + 1
  878.       end
  879.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  880.     else
  881.       h.Health = h.Health - Damage / 2
  882.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  883.     end
  884.     if Type == "Knockdown" then
  885.       local hum = hit.Parent.Humanoid
  886.       hum.PlatformStand = true
  887.       coroutine.resume(coroutine.create(function(HHumanoid)
  888.         swait(1)
  889.         HHumanoid.PlatformStand = false
  890.       end), hum)
  891.       local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  892.       local bodvol = Create("BodyVelocity")({
  893.         velocity = angle * knockback,
  894.         P = 5000,
  895.         maxForce = Vector3.new(8000, 8000, 8000),
  896.         Parent = hit
  897.       })
  898.       local rl = Create("BodyAngularVelocity")({
  899.         P = 3000,
  900.         maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  901.         angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  902.         Parent = hit
  903.       })
  904.       game:GetService("Debris"):AddItem(bodvol, 0.5)
  905.       game:GetService("Debris"):AddItem(rl, 0.5)
  906.     elseif Type == "Normal" then
  907.       local vp = Create("BodyVelocity")({
  908.         P = 500,
  909.         maxForce = Vector3.new(math.huge, 0, math.huge),
  910.         velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  911.       })
  912.       if knockback > 0 then
  913.         vp.Parent = hit.Parent.Torso
  914.       end
  915.       game:GetService("Debris"):AddItem(vp, 0.5)
  916.     elseif Type == "Up" then
  917.       local bodyVelocity = Create("BodyVelocity")({
  918.         velocity = Vector3.new(0, 20, 0),
  919.         P = 5000,
  920.         maxForce = Vector3.new(8000, 8000, 8000),
  921.         Parent = hit
  922.       })
  923.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  924.       local bodyVelocity = Create("BodyVelocity")({
  925.         velocity = Vector3.new(0, 20, 0),
  926.         P = 5000,
  927.         maxForce = Vector3.new(8000, 8000, 8000),
  928.         Parent = hit
  929.       })
  930.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  931.     elseif Type == "Leech" then
  932.       local hum = hit.Parent.Humanoid
  933.       if hum ~= nil then
  934.         for i = 0, 2 do
  935.           Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  936.         end
  937.         Humanoid.Health = Humanoid.Health + 10
  938.       end
  939.     elseif Type == "UpKnock" then
  940.       local hum = hit.Parent.Humanoid
  941.       hum.PlatformStand = true
  942.       if hum ~= nil then
  943.         hitr = true
  944.       end
  945.       coroutine.resume(coroutine.create(function(HHumanoid)
  946.         swait(5)
  947.         HHumanoid.PlatformStand = false
  948.         hitr = false
  949.       end), hum)
  950.       local bodyVelocity = Create("BodyVelocity")({
  951.         velocity = Vector3.new(0, 20, 0),
  952.         P = 5000,
  953.         maxForce = Vector3.new(8000, 8000, 8000),
  954.         Parent = hit
  955.       })
  956.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  957.       local bodyVelocity = Create("BodyVelocity")({
  958.         velocity = Vector3.new(0, 20, 0),
  959.         P = 5000,
  960.         maxForce = Vector3.new(8000, 8000, 8000),
  961.         Parent = hit
  962.       })
  963.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  964.     elseif Type == "Snare" then
  965.       local bp = Create("BodyPosition")({
  966.         P = 2000,
  967.         D = 100,
  968.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  969.         position = hit.Parent.Torso.Position,
  970.         Parent = hit.Parent.Torso
  971.       })
  972.       game:GetService("Debris"):AddItem(bp, 1)
  973.     elseif Type == "Slashnare" then
  974.       Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  975.       for i = 1, math.random(4, 5) do
  976.         Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  977.       end
  978.       local bp = Create("BodyPosition")({
  979.         P = 2000,
  980.         D = 100,
  981.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  982.         position = hit.Parent.Torso.Position,
  983.         Parent = hit.Parent.Torso
  984.       })
  985.       game:GetService("Debris"):AddItem(bp, 1)
  986.     elseif Type == "Spike" then
  987.       CreateBigIceSword(hit.Parent.Torso.CFrame)
  988.       local bp = Create("BodyPosition")({
  989.         P = 2000,
  990.         D = 100,
  991.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  992.         position = hit.Parent.Torso.Position,
  993.         Parent = hit.Parent.Torso
  994.       })
  995.       game:GetService("Debris"):AddItem(bp, 1)
  996.     elseif Type == "Freeze" then
  997.       local BodPos = Create("BodyPosition")({
  998.         P = 50000,
  999.         D = 1000,
  1000.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1001.         position = hit.Parent.Torso.Position,
  1002.         Parent = hit.Parent.Torso
  1003.       })
  1004.       local BodGy = Create("BodyGyro")({
  1005.         maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1006.         P = 20000,
  1007.         Parent = hit.Parent.Torso,
  1008.         cframe = hit.Parent.Torso.CFrame
  1009.       })
  1010.       hit.Parent.Torso.Anchored = true
  1011.       coroutine.resume(coroutine.create(function(Part)
  1012.         swait(1.5)
  1013.         Part.Anchored = false
  1014.       end), hit.Parent.Torso)
  1015.       game:GetService("Debris"):AddItem(BodPos, 3)
  1016.       game:GetService("Debris"):AddItem(BodGy, 3)
  1017.     end
  1018.     local debounce = Create("BoolValue")({
  1019.       Name = "DebounceHit",
  1020.       Parent = hit.Parent,
  1021.       Value = true
  1022.     })
  1023.     game:GetService("Debris"):AddItem(debounce, Delay)
  1024.     c = Instance.new("ObjectValue")
  1025.     c.Name = "creator"
  1026.     c.Value = Player
  1027.     c.Parent = h
  1028.     game:GetService("Debris"):AddItem(c, 0.5)
  1029.   end
  1030. end
  1031. function ShowDamage(Pos, Text, Time, Color)
  1032.   local Rate = 0.03333333333333333
  1033.   local Pos = Pos or Vector3.new(0, 0, 0)
  1034.   local Text = Text or ""
  1035.   local Time = Time or 2
  1036.   local Color = Color or Color3.new(1, 0, 1)
  1037.   local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1038.   EffectPart.Anchored = true
  1039.   local BillboardGui = Create("BillboardGui")({
  1040.     Size = UDim2.new(3, 0, 3, 0),
  1041.     Adornee = EffectPart,
  1042.     Parent = EffectPart
  1043.   })
  1044.   local TextLabel = Create("TextLabel")({
  1045.     BackgroundTransparency = 1,
  1046.     Size = UDim2.new(1, 0, 1, 0),
  1047.     Text = Text,
  1048.     TextColor3 = Color,
  1049.     TextScaled = true,
  1050.     Font = Enum.Font.ArialBold,
  1051.     Parent = BillboardGui
  1052.   })
  1053.   game.Debris:AddItem(EffectPart, Time + 0.1)
  1054.   EffectPart.Parent = game:GetService("Workspace")
  1055.   delay(0, function()
  1056.     local Frames = Time / Rate
  1057.     for Frame = 1, Frames do
  1058.       wait(Rate)
  1059.       local Percent = Frame / Frames
  1060.       EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1061.       TextLabel.TextTransparency = Percent
  1062.     end
  1063.     if EffectPart and EffectPart.Parent then
  1064.       EffectPart:Destroy()
  1065.     end
  1066.   end)
  1067. end
  1068. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1069.   for _, c in pairs(workspace:children()) do
  1070.     local hum = c:findFirstChild("Humanoid")
  1071.     if hum ~= nil then
  1072.       local head = c:findFirstChild("Torso")
  1073.       if head ~= nil then
  1074.         local targ = head.Position - Part.Position
  1075.         local mag = targ.magnitude
  1076.         if magni >= mag and c.Name ~= Player.Name then
  1077.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1078.         end
  1079.       end
  1080.     end
  1081.   end
  1082. end
  1083.  
  1084. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1085.   for _, c in pairs(workspace:children()) do
  1086.     local hum = c:findFirstChild("Humanoid")
  1087.     if hum ~= nil then
  1088.       local head = c:findFirstChild("Torso")
  1089.       if head ~= nil then
  1090.         local targ = head.Position - Part.Position
  1091.         local mag = targ.magnitude
  1092.         if magni >= mag and c.Name ~= Player.Name then
  1093.     MagicBlock(BrickColor.new("Dark indigo"),head.CFrame,5,5,5,1,1,1,0.05)
  1094.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1095.         end
  1096.       end
  1097.     end
  1098.   end
  1099. end
  1100.  
  1101. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1102. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1103. end
  1104.  
  1105. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1106. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1107. prt.Anchored=true
  1108. prt.CFrame=cframe
  1109. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1110. --http://www.roblox.com/asset/?id=4770560
  1111. game:GetService("Debris"):AddItem(prt,2)
  1112. CF=prt.CFrame
  1113. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1114. for i=0,1,0.2 do
  1115. wait()
  1116. Part.CFrame=CF*cf(0,0,-0.4)
  1117. end
  1118. for i=0,1,delay do
  1119. wait()
  1120. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1121. Mesh.Scale=Mesh.Scale
  1122. end
  1123. for i=0,1,0.1 do
  1124. wait()
  1125. Part.Transparency=i
  1126. end
  1127. Part.Parent=nil
  1128. end),prt,msh,CF)
  1129. end
  1130.  
  1131. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1132. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1133. prt.Anchored=true
  1134. prt.Material = "Neon"
  1135. prt.CFrame=cframe
  1136. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1137. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1138. game:GetService("Debris"):AddItem(prt,5)
  1139. coroutine.resume(coroutine.create(function(Part,Mesh)
  1140. for i=0,1,delay do
  1141. swait()
  1142. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1143. Part.Transparency=i
  1144. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1145. end
  1146. Part.Parent=nil
  1147. end),prt,msh)
  1148. end
  1149.  
  1150. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1151. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1152. prt.Anchored=true
  1153. prt.Material = "Neon"
  1154. prt.CFrame=cframe
  1155. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1156. game:GetService("Debris"):AddItem(prt,5)
  1157. coroutine.resume(coroutine.create(function(Part,Mesh)
  1158.     local rtype = rottype
  1159. for i=0,1,delay do
  1160. swait()
  1161. if rtype == 1 then
  1162. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1163. elseif rtype == 2 then
  1164. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1165. end
  1166. Part.Transparency=i
  1167. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1168. end
  1169. Part.Parent=nil
  1170. end),prt,msh)
  1171. end
  1172.  
  1173. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1174. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1175. prt.Anchored=true
  1176. prt.CFrame=cframe
  1177. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1178. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1179. game:GetService("Debris"):AddItem(prt,5)
  1180. coroutine.resume(coroutine.create(function(Part,Mesh)
  1181. for i=0,1,delay do
  1182. wait()
  1183. Part.Transparency=i
  1184. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1185. end
  1186. Part.Parent=nil
  1187. end),prt,msh)
  1188. end
  1189.  
  1190. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1191. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1192. prt.Anchored=true
  1193. prt.Material = "Neon"
  1194. prt.CFrame=cframe
  1195. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1196. game:GetService("Debris"):AddItem(prt,5)
  1197. coroutine.resume(coroutine.create(function(Part,Mesh)
  1198.     local rtype = rottype
  1199. for i=0,1,delay do
  1200. swait()
  1201. if rtype == 1 then
  1202. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1203. elseif rtype == 2 then
  1204. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1205. end
  1206. Part.Transparency=i
  1207. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1208. end
  1209. Part.Parent=nil
  1210. end),prt,msh)
  1211. end
  1212.  
  1213. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1214. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1215. prt.Anchored=true
  1216. prt.Material = "Neon"
  1217. prt.CFrame=cframe
  1218. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1219. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1220. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1221. game:GetService("Debris"):AddItem(prt,5)
  1222. coroutine.resume(coroutine.create(function(Part,Mesh)
  1223.     local rtype = rottype
  1224. for i=0,1,delay do
  1225. swait()
  1226. if rtype == 1 then
  1227. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1228. elseif rtype == 2 then
  1229. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1230. end
  1231. dec.Transparency=i
  1232. dec2.Transparency=i
  1233. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1234. end
  1235. Part.Parent=nil
  1236. end),prt,msh)
  1237. end
  1238.  
  1239. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1240. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1241. prt.Anchored=true
  1242. prt.Material = "Neon"
  1243. prt.CFrame=cframe
  1244. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1245. game:GetService("Debris"):AddItem(prt,5)
  1246. coroutine.resume(coroutine.create(function(Part,Mesh)
  1247.     local rtype = rottype
  1248. for i=0,1,delay do
  1249. swait()
  1250. if rtype == 1 then
  1251. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1252. elseif rtype == 2 then
  1253. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1254. end
  1255. prt.Transparency=i
  1256. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1257. end
  1258. Part.Parent=nil
  1259. end),prt,msh)
  1260. end
  1261.  
  1262. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1263. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1264. prt.Anchored=true
  1265. prt.Material = "Neon"
  1266. prt.CFrame=cframe
  1267. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1268. game:GetService("Debris"):AddItem(prt,5)
  1269. coroutine.resume(coroutine.create(function(Part,Mesh)
  1270.     local rtype = rottype
  1271. for i=0,1,delay do
  1272. swait()
  1273. if rtype == 1 then
  1274. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1275. elseif rtype == 2 then
  1276. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1277. end
  1278. prt.Transparency=i
  1279. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1280. end
  1281. Part.Parent=nil
  1282. end),prt,msh)
  1283. end
  1284.  
  1285. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1286. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1287. prt.Anchored=true
  1288. prt.Material = "Neon"
  1289. prt.CFrame=cframe
  1290. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1291. game:GetService("Debris"):AddItem(prt,5)
  1292. coroutine.resume(coroutine.create(function(Part,Mesh)
  1293.     local rtype = rottype
  1294. for i=0,1,delay do
  1295. swait()
  1296. if rtype == 1 then
  1297. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1298. elseif rtype == 2 then
  1299. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1300. end
  1301. prt.Transparency=i
  1302. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1303. end
  1304. Part.Parent=nil
  1305. end),prt,msh)
  1306. end
  1307.  
  1308. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1309. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1310. prt.Anchored=true
  1311. prt.Material = "Neon"
  1312. prt.CFrame=cframe
  1313. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1314. game:GetService("Debris"):AddItem(prt,5)
  1315. coroutine.resume(coroutine.create(function(Part,Mesh)
  1316.     local rtype = rottype
  1317. for i=0,1,delay do
  1318. swait()
  1319. if rtype == 1 then
  1320. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1321. elseif rtype == 2 then
  1322. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1323. end
  1324. prt.Transparency=i
  1325. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1326. end
  1327. Part.Parent=nil
  1328. end),prt,msh)
  1329. end
  1330.  
  1331. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1332. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1333. prt.Anchored=false
  1334. prt.CFrame=cframe
  1335. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1336. local wld=weld(prt,prt,Parent,cframe)
  1337. game:GetService("Debris"):AddItem(prt,5)
  1338. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1339. for i=0,1,delay do
  1340. wait()
  1341. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1342. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1343. Part.Transparency=i
  1344. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1345. end
  1346. Part.Parent=nil
  1347. end),prt,msh,wld)
  1348. end
  1349.  
  1350. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1351. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1352. prt.Anchored=false
  1353. prt.CFrame=cframe
  1354. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1355. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1356. game:GetService("Debris"):AddItem(prt,5)
  1357. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1358. for i=0,1,delay do
  1359. wait()
  1360. Weld.C0=euler(i*20,0,0)
  1361. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1362. Part.Transparency=i
  1363. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1364. end
  1365. Part.Parent=nil
  1366. end),prt,msh,wld)
  1367. end
  1368.  
  1369. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1370. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1371. prt.Anchored=true
  1372. prt.CFrame=cframe
  1373. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1374. game:GetService("Debris"):AddItem(prt,2)
  1375. coroutine.resume(coroutine.create(function(Part,Mesh)
  1376. for i=0,1,delay do
  1377. wait()
  1378. Part.CFrame=Part.CFrame
  1379. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1380. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1381. prt2.Anchored=true
  1382. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1383. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1384. game:GetService("Debris"):AddItem(prt2,2)
  1385. coroutine.resume(coroutine.create(function(Part,Mesh)
  1386. for i=0,1,0.1 do
  1387. wait()
  1388. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1389. end
  1390. Part.Parent=nil
  1391. end),prt2,msh2)
  1392. end
  1393. for i=0,1,delay*2 do
  1394. wait()
  1395. Part.CFrame=Part.CFrame
  1396. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1397. end
  1398. Part.Parent=nil
  1399. end),prt,msh)
  1400. end
  1401.  
  1402. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1403. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1404. prt.Anchored=true
  1405. prt.CFrame=cframe
  1406. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1407. game:GetService("Debris"):AddItem(prt,2)
  1408. coroutine.resume(coroutine.create(function(Part,Mesh)
  1409. for i=0,1,delay do
  1410. wait()
  1411. Part.CFrame=Part.CFrame
  1412. Part.Transparency=i
  1413. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1414. end
  1415. Part.Parent=nil
  1416. end),prt,msh)
  1417. end
  1418.  
  1419. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1420. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1421. prt.Anchored=true
  1422. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1423. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1424. game:GetService("Debris"):AddItem(prt,2)
  1425. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1426. CF=Part.CFrame
  1427. Numbb=0
  1428. randnumb=math.random()/10
  1429. rand1=math.random()/10
  1430. for i=0,1,rand1 do
  1431. wait()
  1432. CF=CF*cf(0,math.random()/2,0)
  1433. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1434. Part.CFrame=CF*euler(Numbb,0,0)
  1435. Part.Transparency=i
  1436. Numbb=Numbb+randnumb
  1437. end
  1438. Part.Parent=nil
  1439. end),prt,CF,Numbb,randnumb)
  1440. end
  1441.  
  1442. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1443. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1444. prt.Anchored=true
  1445. prt.CFrame=cframe
  1446. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1447. game:GetService("Debris"):AddItem(prt,5)
  1448. coroutine.resume(coroutine.create(function(Part,Mesh)
  1449. for i=0,1,delay do
  1450. wait()
  1451. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1452. Part.Transparency=i
  1453. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1454. end
  1455. Part.Parent=nil
  1456. end),prt,msh)
  1457. end
  1458.  
  1459. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1460. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1461. prt.Anchored=true
  1462. prt.CFrame=cframe
  1463. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1464. game:GetService("Debris"):AddItem(prt,2)
  1465. coroutine.resume(coroutine.create(function(Part,Mesh)
  1466. for i=0,1,delay do
  1467. wait()
  1468. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1469. Part.Transparency=i
  1470. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1471. end
  1472. Part.Parent=nil
  1473. end),prt,msh)
  1474. end
  1475.  
  1476. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1477. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1478. prt.Anchored=true
  1479. prt.CFrame=cframe*cf(x,y,z)
  1480. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1481. game:GetService("Debris"):AddItem(prt,5)
  1482. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1483. local num=math.random()
  1484. local num2=math.random(-3,2)+math.random()
  1485. local numm=0
  1486. for i=0,1,delay*2 do
  1487. swait()
  1488. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1489. Part.Transparency=i
  1490. numm=numm+0.01
  1491. end
  1492. Part.Parent=nil
  1493. Mesh.Parent=nil
  1494. end),prt,msh,x,y,z)
  1495. end
  1496.  
  1497. function dmgstart(dmg,what)
  1498.     hitcon = what.Touched:connect(function(hit)
  1499.         local hum = hit.Parent:FindFirstChild("Humanoid")
  1500.         if hum and not hum:IsDescendantOf(Character) then
  1501.             hum:TakeDamage(dmg)
  1502.         end
  1503.     end)
  1504. end
  1505.  
  1506. function dmgstop()
  1507.     hitcon:disconnect()
  1508. end
  1509.  
  1510. function Cloak()
  1511. Face.Parent=nil
  1512. cloaked=true
  1513.         for _,v in pairs(Torso.Parent:children()) do
  1514.                 if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1515.                 coroutine.resume(coroutine.create(function()
  1516.                 for i=0,1,0.2 do
  1517.                 wait()
  1518.                 v.Transparency=i
  1519.                 end
  1520.                 v.Transparency=1
  1521.                 end))
  1522.                 end
  1523.                 if v.className=="Hat" then
  1524.                 hatp=v.Handle
  1525.                 coroutine.resume(coroutine.create(function(derp)
  1526.                 for i=0,1,0.2 do
  1527.                 wait()
  1528.                 derp.Transparency=i
  1529.                 end
  1530.                 derp.Transparency=1
  1531.                 end),hatp)
  1532.                 end
  1533.         end
  1534.         for _,v in pairs(m:children()) do
  1535.                 if v.className=="Part" then
  1536.                 coroutine.resume(coroutine.create(function()
  1537.                 for i=0,1,0.2 do
  1538.                 wait()
  1539.                 v.Transparency=i
  1540.                 end
  1541.                 v.Transparency=1
  1542.                 end))
  1543.                 end
  1544.         end
  1545. end
  1546.  
  1547. function UnCloak()
  1548. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1549. Face.Parent=Head
  1550. cloaked=false
  1551.         for _,v in pairs(Torso.Parent:children()) do
  1552.                 if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1553.                 coroutine.resume(coroutine.create(function()
  1554.                 for i=0,1,0.1 do
  1555.                 wait()
  1556.                 v.Transparency=v.Transparency-0.1
  1557.                 end
  1558.                 v.Transparency=0
  1559.                 end))
  1560.                 end
  1561.                 if v.className=="Hat" then
  1562.                 hatp=v.Handle
  1563.                 coroutine.resume(coroutine.create(function(derp)
  1564.                 for i=0,1,0.1 do
  1565.                 wait()
  1566.                 derp.Transparency=derp.Transparency-0.1
  1567.                 end
  1568.                 derp.Transparency=0
  1569.                 end),hatp)
  1570.                 end
  1571.         end
  1572.         for _,v in pairs(m:children()) do
  1573.                 if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1574.                 coroutine.resume(coroutine.create(function()
  1575.                 for i=0,1,0.1 do
  1576.                 wait()
  1577.                 v.Transparency=v.Transparency-0.1
  1578.                 end
  1579.                 v.Transparency=0
  1580.                 end))
  1581.                 v.Transparency=0
  1582.                 end
  1583.         end
  1584. end
  1585.  
  1586. local origcolor = BrickColor.new("Dark indigo")
  1587. ---- This section of explosions.
  1588. function Explode(rad,par,pitch,vol,mindam,maxdam)
  1589.     local expart = Instance.new("Part",char)
  1590.     local expart2 = Instance.new("Part",char)
  1591.     local rin = Instance.new("Part",char)
  1592.     local rin2 = Instance.new("Part",char)
  1593.     local partMesh = Instance.new("SpecialMesh",expart)
  1594.     partMesh.MeshType = "Sphere"
  1595.     local partMesh2 = Instance.new("SpecialMesh",expart2)
  1596.     partMesh2.MeshType = "Sphere"
  1597.     local partMesh3 = Instance.new("SpecialMesh",rin)
  1598.     partMesh3.MeshType = "Brick"
  1599.     local partMesh4 = Instance.new("SpecialMesh",rin2)
  1600.     partMesh4.MeshType = "Brick"
  1601.     CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  1602.     partMesh.Scale = vt(rad,rad,rad)
  1603.     expart.Size = vt(1,1,1)
  1604.     expart.Transparency = 1
  1605.     expart.Anchored = true
  1606.     expart.Material = "Neon"
  1607.     expart.BrickColor = bc("White")
  1608.     expart.CFrame = par.CFrame
  1609.     partMesh2.Scale = vt(rad,rad,rad)
  1610.     expart2.Size = vt(1.15,1.15,1.15)
  1611.     expart2.Transparency = 0.75
  1612.     expart2.Anchored = true
  1613.     expart2.Material = "Glass"
  1614.     expart2.BrickColor = par.BrickColor
  1615.     expart2.CFrame = par.CFrame
  1616.     rin.Size = vt(1.15,1.15,1.15)
  1617.     rin.Transparency = 1
  1618.     rin.Anchored = true
  1619.     rin.Material = "Neon"
  1620.     rin.BrickColor = par.BrickColor
  1621.     rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1622.     rin2.Size = vt(1.15,1.15,1.15)
  1623.     rin2.Transparency = 1
  1624.     rin2.Anchored = true
  1625.     rin2.Material = "Neon"
  1626.     rin2.BrickColor = par.BrickColor
  1627.     rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1628.     partMesh3.Scale = vt(0,1,0)
  1629.     partMesh4.Scale = vt(0,1,0)
  1630. local dec2 = Instance.new("Decal", rin)
  1631. dec2.Face = "Top"
  1632. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  1633. dec2.Parent = rin
  1634. local dec2b = dec2:Clone()
  1635. dec2b.Face = "Bottom"
  1636. dec2b.Parent = rin
  1637.  
  1638. local dec2a = Instance.new("Decal", rin2)
  1639. dec2a.Face = "Top"
  1640. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  1641. dec2a.Parent = rin2
  1642. local dec2ab = dec2a:Clone()
  1643. dec2ab.Face = "Bottom"
  1644. dec2ab.Parent = rin2
  1645. expart.CanCollide = false
  1646. expart2.CanCollide = false
  1647. rin.CanCollide = false
  1648. rin2.CanCollide = false
  1649. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  1650.         local value = 1*rad/6.5
  1651.     for i = 0, 199 do
  1652.                 partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1653.         expart.CFrame = expart.CFrame
  1654.                 partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1655.         expart2.CFrame = expart.CFrame
  1656.                 value = value - 0.035*rad/30
  1657.                 if value < 7.5 then
  1658.     partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  1659.         rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  1660.     partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  1661.         rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  1662.         end
  1663.                 if value < 0 then
  1664. dec2.Transparency = dec2.Transparency + 0.025
  1665. dec2a.Transparency = dec2a.Transparency + 0.025
  1666. dec2b.Transparency = dec2b.Transparency + 0.025
  1667. dec2ab.Transparency = dec2ab.Transparency + 0.025
  1668.         expart.Transparency = expart.Transparency + 0.025
  1669.         expart2.Transparency = expart2.Transparency + 0.025
  1670.         rin.Transparency = rin.Transparency + 0.025
  1671.         rin2.Transparency = rin2.Transparency + 0.025
  1672.                 end
  1673.         swait()
  1674.     end
  1675. game:GetService("Debris"):AddItem(expart, 1)
  1676. game:GetService("Debris"):AddItem(expart2, 1)
  1677. game:GetService("Debris"):AddItem(rin, 1)
  1678. game:GetService("Debris"):AddItem(rin2, 1)
  1679. end
  1680.  
  1681. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  1682.     local expart = Instance.new("Part",char)
  1683.     local expart2 = Instance.new("Part",char)
  1684.     local partMesh = Instance.new("SpecialMesh",expart)
  1685.     partMesh.MeshType = "Sphere"
  1686.     local partMesh2 = Instance.new("SpecialMesh",expart2)
  1687.     partMesh2.MeshType = "Sphere"
  1688.     CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  1689.     partMesh.Scale = vt(rad,rad,rad)
  1690.     expart.Size = vt(1,1,1)
  1691.     expart.Transparency = 0
  1692.     expart.Anchored = true
  1693.     expart.Material = "Neon"
  1694.     expart.BrickColor = bc("White")
  1695.     expart.CFrame = par.CFrame
  1696.     partMesh2.Scale = vt(rad,rad,rad)
  1697.     expart2.Size = vt(1.15,1.15,1.15)
  1698.     expart2.Transparency = 0.5
  1699.     expart2.Anchored = true
  1700.     expart2.Material = "Neon"
  1701.     expart2.BrickColor = par.BrickColor
  1702.     expart2.CFrame = par.CFrame
  1703. expart.CanCollide = false
  1704. expart2.CanCollide = false
  1705. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  1706.         local value = 1*rad/6.5
  1707.     for i = 0, 75 do
  1708.                 partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1709.         expart.CFrame = expart.CFrame
  1710.                 partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  1711.         expart2.CFrame = expart.CFrame
  1712.                 value = value - 0.035*rad/5
  1713.                 if value < 0 then
  1714. value = 0
  1715.         expart.Transparency = expart.Transparency + 0.05
  1716.         expart2.Transparency = expart2.Transparency + 0.05
  1717.                 end
  1718.         swait()
  1719.     end
  1720. game:GetService("Debris"):AddItem(expart, 1)
  1721. game:GetService("Debris"):AddItem(expart2, 1)
  1722. end
  1723.  
  1724. function AreaDanger(rad,par,mindam,maxdam)
  1725.     local expart = Instance.new("Part",char)
  1726.     local partMesh = Instance.new("SpecialMesh",expart)
  1727.     CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  1728.     partMesh.MeshType = "Sphere"
  1729.     partMesh.Scale = vt(rad,rad,rad)
  1730.     expart.Size = vt(1,1,1)
  1731.     expart.Transparency = 0.5
  1732.     expart.Anchored = true
  1733.     expart.Material = "Neon"
  1734.     expart.CanCollide = false
  1735.     expart.BrickColor = par.BrickColor
  1736.     expart.CFrame = par.CFrame
  1737.         local value = 1*rad/5
  1738. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  1739.     for i = 0, 14 do
  1740.         wait()
  1741.                 partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1742.         expart.CFrame = expart.CFrame
  1743.                 value = value - 0.035*rad
  1744.                 if value < 0 then
  1745.     value = 0
  1746. end
  1747.     end
  1748.     wait(0.25)
  1749. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  1750. wait(0.5)
  1751. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  1752. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  1753. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  1754. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  1755. for i = 0, 14 do
  1756.         wait()
  1757.                 partMesh.Scale = partMesh.Scale + vt(value,value,value)
  1758.         expart.CFrame = expart.CFrame
  1759.                 value = value - 0.035*rad/2
  1760. end
  1761. expart.Transparency = 1
  1762. game:GetService("Debris"):AddItem(expart, 5)
  1763. end
  1764.  
  1765. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  1766.         CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  1767.     CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  1768.     CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  1769.     CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  1770.             MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  1771.             MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  1772.     for i = 0, 24 do
  1773.         MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  1774.     end
  1775.     for i = 0, 24 do
  1776.     local expart = Instance.new("Part",char)
  1777.     expart.Transparency = 1
  1778.     expart.Anchored = true
  1779.     expart.CanCollide = false
  1780.     expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  1781. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  1782. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  1783. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  1784. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  1785. for i = 0, 9 do
  1786.         MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  1787.     end
  1788. game:GetService("Debris"):AddItem(expart, 2)
  1789. wait(0.1)
  1790.     end
  1791. end
  1792.  
  1793. function EXterPlosion(par)
  1794.         CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  1795.     CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  1796.     CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  1797.     CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  1798.             MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  1799.             MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  1800.             MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  1801.     for i = 0, 24 do
  1802.         MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  1803.     end
  1804.     for i = 0, 24 do
  1805.         MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  1806.     end
  1807. end
  1808. ----
  1809.  
  1810. local stackingpower = 1
  1811.  
  1812. function HellsCore()
  1813.     attack = true
  1814.     --[[for i = 0,1,0.1 do
  1815.         swait()
  1816.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  1817.             Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1818.              RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1819.              LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1820.     end]]--
  1821.  
  1822. local rng = Instance.new("Part", char)
  1823. CFuncs["Sound"].Create("rbxassetid://401466969", root, 1, 0.6)
  1824.         rng.Anchored = true
  1825.         rng.BrickColor = origcolor
  1826.         rng.CanCollide = false
  1827.         rng.FormFactor = 3
  1828.         rng.Name = "Ring"
  1829.         rng.Material = "Neon"
  1830.         rng.Size = Vector3.new(1, 1, 1)
  1831.         rng.Transparency = 1
  1832.         rng.TopSurface = 0
  1833.         rng.BottomSurface = 0
  1834.         rng.CFrame = root.CFrame + Vector3.new(0,-2.5,0)
  1835.         local rngm = Instance.new("SpecialMesh", rng)
  1836.         rngm.MeshType = "Brick"
  1837. local dec = Instance.new("Decal",rng)
  1838. dec.Texture = "http://www.roblox.com/asset/?id=401466968"
  1839. dec.Face = "Top"
  1840. local dec2 = dec:Clone()
  1841. dec2.Parent = rng
  1842. dec2.Face = "Bottom"
  1843.  
  1844. local scaler2 = 1
  1845. scaler2 = 1*3
  1846. for i = 0,10,0.1 do
  1847. swait()
  1848. scaler2 = scaler2 - 0.01*3
  1849. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  1850. end
  1851. wait(3)
  1852. for i = 0,10,0.1 do
  1853. swait()
  1854. scaler2 = scaler2 - 0.01*3
  1855. dec.Transparency = dec.Transparency + 0.01
  1856. dec2.Transparency = dec2.Transparency + 0.01
  1857. rngm.Scale = rngm.Scale + Vector3.new(scaler2, 0, scaler2)
  1858. end
  1859. rng:Destroy()
  1860. attack = false
  1861. end
  1862.  
  1863.  
  1864. function FaceMouse()
  1865.   Cam = workspace.CurrentCamera
  1866.   return {
  1867.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1868.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1869.   }
  1870. end
  1871.  
  1872. function FaceMouse2()
  1873.   Cam = workspace.CurrentCamera
  1874.   return {
  1875.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  1876.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1877.   }
  1878. end
  1879.  
  1880.  
  1881. local HoldingZ = false
  1882. local HoldingX = false
  1883. local HoldingC = false
  1884. local HoldingV = false
  1885. local HoldingB = false
  1886.  
  1887.  
  1888. function RingEffect(pos,startsize,size,col)
  1889. local lb = Instance.new("Part")
  1890.   lb.Parent = char
  1891.     lb.BrickColor = col
  1892.      lb.CanCollide = false
  1893. lb.Material = "Neon"
  1894.      lb.Anchored = true
  1895. lb.TopSurface = 0
  1896.         lb.BottomSurface = 0
  1897.      lb.Transparency = 1
  1898.      lb.Size = vt(1,1,1)
  1899.      lb.CFrame = pos
  1900. local thingery = Instance.new("SpecialMesh",lb)
  1901.      thingery.MeshType = "Brick"
  1902. thingery.Scale = vt(startsize,0.1,startsize)
  1903. local dec2 = Instance.new("Texture", lb)
  1904. dec2.Face = "Top"
  1905. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  1906. dec2.Color3 = lb.Color
  1907. dec2.Parent = lb
  1908. dec2.StudsPerTileU = startsize
  1909. dec2.StudsPerTileV = startsize
  1910. local dec2b = dec2:Clone()
  1911. dec2b.Face = "Bottom"
  1912. dec2b.Parent = lb
  1913. local randomrot = math.random(1,2)
  1914. coroutine.resume(coroutine.create(function()
  1915. for i = 0, 19 do
  1916. swait()
  1917. if randomrot == 1 then
  1918. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  1919. elseif randomrot == 2 then
  1920. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  1921. end
  1922. dec2.Transparency = dec2.Transparency + 0.05
  1923. dec2b.Transparency = dec2b.Transparency + 0.05
  1924. dec2.StudsPerTileU = dec2.StudsPerTileU + size
  1925. dec2.StudsPerTileV = dec2.StudsPerTileV + size
  1926. dec2b.StudsPerTileU = dec2b.StudsPerTileU + size
  1927. dec2b.StudsPerTileV = dec2b.StudsPerTileV + size
  1928. thingery.Scale = thingery.Scale + vt(size,0,size)
  1929. end
  1930. lb:Destroy()
  1931. end))
  1932. end
  1933.  
  1934. function SlowRingEffect(pos,startsize,size,col)
  1935. local lb = Instance.new("Part")
  1936.   lb.Parent = char
  1937.     lb.BrickColor = col
  1938.      lb.CanCollide = false
  1939. lb.Material = "Neon"
  1940.      lb.Anchored = true
  1941. lb.TopSurface = 0
  1942.         lb.BottomSurface = 0
  1943.      lb.Transparency = 1
  1944.      lb.Size = vt(1,1,1)
  1945.      lb.CFrame = pos
  1946. local thingery = Instance.new("SpecialMesh",lb)
  1947.      thingery.MeshType = "Brick"
  1948. thingery.Scale = vt(startsize,0.1,startsize)
  1949. local dec2 = Instance.new("Decal", lb)
  1950. dec2.Face = "Top"
  1951. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  1952. dec2.Color3 = lb.Color
  1953. dec2.Parent = lb
  1954. local dec2b = dec2:Clone()
  1955. dec2b.Face = "Bottom"
  1956. dec2b.Parent = lb
  1957. local randomrot = math.random(1,2)
  1958. coroutine.resume(coroutine.create(function()
  1959. for i = 0, 49 do
  1960. swait()
  1961. if randomrot == 1 then
  1962. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(5),0)
  1963. elseif randomrot == 2 then
  1964. lb.CFrame = lb.CFrame*CFrame.new(0,math.rad(-5),0)
  1965. end
  1966. dec2.Transparency = dec2.Transparency + 0.02
  1967. dec2b.Transparency = dec2b.Transparency + 0.02
  1968. thingery.Scale = thingery.Scale + vt(size,0,size)
  1969. end
  1970. lb:Destroy()
  1971. end))
  1972. end
  1973.  
  1974.  
  1975. function groundringaa(pos)
  1976. local rng = Instance.new("Part", char)
  1977.         rng.Anchored = true
  1978.         rng.BrickColor = origcolor
  1979.         rng.CanCollide = false
  1980.         rng.FormFactor = 3
  1981.         rng.Name = "Ring"
  1982.         rng.Size = Vector3.new(1, 1, 1)
  1983.         rng.Transparency = 1
  1984.         rng.TopSurface = 0
  1985.         rng.BottomSurface = 0
  1986.         rng.CFrame = pos
  1987.         local rngm = Instance.new("SpecialMesh", rng)
  1988.         rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1989. rngm.Scale = Vector3.new(100,100,5)
  1990. local scaler2 = -10/2
  1991. coroutine.resume(coroutine.create(function()
  1992. for i = 0,10,0.1 do
  1993. swait()
  1994. scaler2 = scaler2 + 0.1/2
  1995. rng.Transparency = rng.Transparency - 0.01
  1996. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  1997. end
  1998. rng:Destroy()
  1999. end))
  2000. end
  2001.  
  2002. function groundringbb(pos)
  2003. local rng = Instance.new("Part", char)
  2004.         rng.Anchored = true
  2005.         rng.BrickColor = origcolor
  2006.         rng.CanCollide = false
  2007.         rng.FormFactor = 3
  2008.         rng.Name = "Ring"
  2009.         rng.Size = Vector3.new(1, 1, 1)
  2010.         rng.Transparency = 0
  2011.         rng.TopSurface = 0
  2012.         rng.BottomSurface = 0
  2013.         rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2014. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2015.         local rngm = Instance.new("SpecialMesh", rng)
  2016.         rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2017. rngm.Scale = Vector3.new(0,0,5)
  2018. local scaler2 = 10
  2019. coroutine.resume(coroutine.create(function()
  2020. for i = 0,10*2,0.1 do
  2021. swait()
  2022. scaler2 = scaler2 - 0.1/2
  2023. rng.Transparency = rng.Transparency + 0.005
  2024. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  2025. end
  2026. rng:Destroy()
  2027. end))
  2028. end
  2029.  
  2030. function groundglowaa(pos)
  2031. local rng = Instance.new("Part", char)
  2032.         rng.Anchored = true
  2033.         rng.BrickColor = origcolor
  2034.         rng.CanCollide = false
  2035.         rng.FormFactor = 3
  2036. rng.Material = "Neon"
  2037.         rng.Name = "Ring"
  2038.         rng.Size = Vector3.new(1, 1, 1)
  2039.         rng.Transparency = 0
  2040.         rng.TopSurface = 0
  2041.         rng.BottomSurface = 0
  2042.         rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2043. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2044.         local rngm = Instance.new("SpecialMesh", rng)
  2045.         rngm.MeshType = "Sphere"
  2046. rngm.Scale = Vector3.new(0,0,25)
  2047. local scaler2 = 10*2
  2048. coroutine.resume(coroutine.create(function()
  2049. for i = 0,10*2,0.1 do
  2050. swait()
  2051. scaler2 = scaler2 - 0.1*2/2
  2052. rng.Transparency = rng.Transparency + 0.005
  2053. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 0)
  2054. end
  2055. rng:Destroy()
  2056. end))
  2057. end
  2058.  
  2059. function bemaa(pos)
  2060. local rng = Instance.new("Part", char)
  2061.         rng.Anchored = true
  2062.         rng.BrickColor = origcolor
  2063.         rng.CanCollide = false
  2064.         rng.FormFactor = 3
  2065. rng.Material = "Neon"
  2066.         rng.Name = "Ring"
  2067.         rng.Size = Vector3.new(1, 1, 1)
  2068.         rng.Transparency = 0
  2069.         rng.TopSurface = 0
  2070.         rng.BottomSurface = 0
  2071.         rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2072. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2073.         local rngm = Instance.new("SpecialMesh", rng)
  2074.         rngm.MeshType = "Sphere"
  2075. rngm.Scale = Vector3.new(0,0,10000)
  2076. local scaler2 = 1
  2077. coroutine.resume(coroutine.create(function()
  2078. for i = 0,99,0.1 do
  2079. swait()
  2080. scaler2 = scaler2 - 0.0025
  2081. rng.Transparency = rng.Transparency + 0.0025
  2082. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  2083. end
  2084. rng:Destroy()
  2085. end))
  2086. end
  2087.  
  2088. function bemaashake(pos)
  2089. local rng = Instance.new("Part", char)
  2090.         rng.Anchored = true
  2091.         rng.BrickColor = origcolor
  2092.         rng.CanCollide = false
  2093.         rng.FormFactor = 3
  2094. rng.Material = "Neon"
  2095.         rng.Name = "Ring"
  2096.         rng.Size = Vector3.new(1, 1, 1)
  2097.         rng.Transparency = 0
  2098.         rng.TopSurface = 0
  2099.         rng.BottomSurface = 0
  2100.         rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2101. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2102.         local rngm = Instance.new("SpecialMesh", rng)
  2103.         rngm.MeshType = "Sphere"
  2104. local oof = Instance.new("Part",char)
  2105. oof.Parent = rng
  2106. oof.CFrame = rng.CFrame
  2107. oof.CanCollide = false
  2108. oof.Anchored = true
  2109. oof.Transparency = 1
  2110. rngm.Scale = Vector3.new(0,0,10000)
  2111. local scaler2 = 1*10
  2112. coroutine.resume(coroutine.create(function()
  2113. for i = 0,99,0.1 do
  2114. swait()
  2115. scaler2 = scaler2 - 0.0025*10
  2116. rng.CFrame = oof.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  2117. rng.Transparency = rng.Transparency + 0.0025
  2118. rngm.Scale = rngm.Scale + Vector3.new(scaler2/5, scaler2/5, 0)
  2119. end
  2120. rng:Destroy()
  2121. end))
  2122. end
  2123.  
  2124. function groundringlarge(pos)
  2125. local rng = Instance.new("Part", char)
  2126.         rng.Anchored = true
  2127.         rng.BrickColor = origcolor
  2128.         rng.CanCollide = false
  2129.         rng.FormFactor = 3
  2130.         rng.Name = "Ring"
  2131.         rng.Size = Vector3.new(1, 1, 1)
  2132.         rng.Transparency = 0
  2133.         rng.TopSurface = 0
  2134.         rng.BottomSurface = 0
  2135.         rng.CFrame = pos.CFrame - Vector3.new(0,2.5,0)
  2136. rng.CFrame = rng.CFrame *CFrame.Angles(math.rad(90),0,0)
  2137.         local rngm = Instance.new("SpecialMesh", rng)
  2138.         rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2139. rngm.Scale = Vector3.new(0,0,5)
  2140. local scaler2 = 10*10
  2141. coroutine.resume(coroutine.create(function()
  2142. for i = 0,10*2,0.1 do
  2143. swait()
  2144. scaler2 = scaler2 - 0.1*10/2
  2145. rng.Transparency = rng.Transparency + 0.005
  2146. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, scaler2)
  2147. end
  2148. rng:Destroy()
  2149. end))
  2150. end
  2151.  
  2152. function sphere(bonuspeed,type,pos,scale,value,color)
  2153. local type = type
  2154. local rng = Instance.new("Part", char)
  2155.         rng.Anchored = true
  2156.         rng.BrickColor = color
  2157.         rng.CanCollide = false
  2158.         rng.FormFactor = 3
  2159.         rng.Name = "Ring"
  2160.         rng.Material = "Neon"
  2161.         rng.Size = Vector3.new(1, 1, 1)
  2162.         rng.Transparency = 0
  2163.         rng.TopSurface = 0
  2164.         rng.BottomSurface = 0
  2165.         rng.CFrame = pos
  2166.         local rngm = Instance.new("SpecialMesh", rng)
  2167.         rngm.MeshType = "Sphere"
  2168. rngm.Scale = scale
  2169. if rainbowmode == true then
  2170. rng.Color = Color3.new(r/255,g/255,b/255)
  2171. end
  2172. local scaler2 = 1
  2173. if type == "Add" then
  2174. scaler2 = 1*value
  2175. elseif type == "Divide" then
  2176. scaler2 = 1/value
  2177. end
  2178. coroutine.resume(coroutine.create(function()
  2179. for i = 0,10/bonuspeed,0.1 do
  2180. swait()
  2181. if rainbowmode == true then
  2182. rng.Color = Color3.new(r/255,g/255,b/255)
  2183. end
  2184. if type == "Add" then
  2185. scaler2 = scaler2 - 0.01*value/bonuspeed
  2186. elseif type == "Divide" then
  2187. scaler2 = scaler2 - 0.01/value*bonuspeed
  2188. end
  2189. if chaosmode == true then
  2190. rng.BrickColor = BrickColor.random()
  2191. end
  2192. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2193. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2194. end
  2195. rng:Destroy()
  2196. end))
  2197. end
  2198.  
  2199. function sphereouter(bonuspeed,type,pos,scale,value,color)
  2200. local type = type
  2201. local rng = Instance.new("Part", char)
  2202.         rng.Anchored = true
  2203.         rng.BrickColor = color
  2204.         rng.CanCollide = false
  2205.         rng.FormFactor = 3
  2206.         rng.Name = "Ring"
  2207.         rng.Material = "Neon"
  2208.         rng.Size = Vector3.new(1, 1, 1)
  2209.         rng.Transparency = 0
  2210.         rng.TopSurface = 0
  2211.         rng.BottomSurface = 0
  2212.         rng.CFrame = pos
  2213.         local rngm = Instance.new("SpecialMesh", rng)
  2214.         rngm.MeshType = "Sphere"
  2215. rngm.Scale = scale
  2216. if rainbowmode == true then
  2217. rng.Color = Color3.new(r/255,g/255,b/255)
  2218. end
  2219. local scaler2 = 1
  2220. if type == "Add" then
  2221. scaler2 = 1*value
  2222. elseif type == "Divide" then
  2223. scaler2 = 1/value
  2224. end
  2225. coroutine.resume(coroutine.create(function()
  2226. for i = 0,10/bonuspeed,0.1 do
  2227. swait()
  2228. if rainbowmode == true then
  2229. rng.Color = Color3.new(r/255,g/255,b/255)
  2230. end
  2231. if type == "Add" then
  2232. scaler2 = scaler2 - 0.01*value/bonuspeed
  2233. elseif type == "Divide" then
  2234. scaler2 = scaler2 - 0.01/value*bonuspeed
  2235. end
  2236. if chaosmode == true then
  2237. rng.BrickColor = BrickColor.random()
  2238. end
  2239. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2240. rngm.Scale = rngm.Scale + Vector3.new(0, scaler2*bonuspeed, 0)
  2241. end
  2242. rng:Destroy()
  2243. end))
  2244. end
  2245.  
  2246. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2247. local type = type
  2248. local rng = Instance.new("Part", char)
  2249.         rng.Anchored = true
  2250.         rng.BrickColor = color
  2251.         rng.CanCollide = false
  2252.         rng.FormFactor = 3
  2253.         rng.Name = "Ring"
  2254.         rng.Material = "Neon"
  2255.         rng.Size = Vector3.new(1, 1, 1)
  2256.         rng.Transparency = 0
  2257.         rng.TopSurface = 0
  2258.         rng.BottomSurface = 0
  2259.         rng.CFrame = pos
  2260. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2261.         local rngm = Instance.new("SpecialMesh", rng)
  2262.         rngm.MeshType = "Brick"
  2263. rngm.Scale = vt(x1,y1,z1)
  2264. if rainbowmode == true then
  2265. rng.Color = Color3.new(r/255,g/255,b/255)
  2266. end
  2267. local scaler2 = 1
  2268. local speeder = FastSpeed/10
  2269. if type == "Add" then
  2270. scaler2 = 1*value
  2271. elseif type == "Divide" then
  2272. scaler2 = 1/value
  2273. end
  2274. coroutine.resume(coroutine.create(function()
  2275. for i = 0,10/bonuspeed,0.1 do
  2276. swait()
  2277. if rainbowmode == true then
  2278. rng.Color = Color3.new(r/255,g/255,b/255)
  2279. end
  2280. if type == "Add" then
  2281. scaler2 = scaler2 - 0.01*value/bonuspeed
  2282. elseif type == "Divide" then
  2283. scaler2 = scaler2 - 0.01/value*bonuspeed
  2284. end
  2285. if chaosmode == true then
  2286. rng.BrickColor = BrickColor.random()
  2287. end
  2288. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2289. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2290. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2291. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2292. end
  2293. rng:Destroy()
  2294. end))
  2295. end
  2296.  
  2297. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2298. local type = type
  2299. local rng = Instance.new("Part", char)
  2300.         rng.Anchored = true
  2301.         rng.BrickColor = color
  2302.         rng.CanCollide = false
  2303.         rng.FormFactor = 3
  2304.         rng.Name = "Ring"
  2305.         rng.Material = "Neon"
  2306.         rng.Size = Vector3.new(1, 1, 1)
  2307.         rng.Transparency = 0
  2308.         rng.TopSurface = 0
  2309.         rng.BottomSurface = 0
  2310.         rng.CFrame = pos
  2311. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2312.         local rngm = Instance.new("SpecialMesh", rng)
  2313.         rngm.MeshType = "Brick"
  2314. rngm.Scale = vt(x1,y1,z1)
  2315. if rainbowmode == true then
  2316. rng.Color = Color3.new(r/255,g/255,b/255)
  2317. end
  2318. local scaler2 = 0
  2319. local speeder = FastSpeed/10
  2320. if type == "Add" then
  2321. scaler2 = 1*value
  2322. elseif type == "Divide" then
  2323. scaler2 = 1/value
  2324. end
  2325. coroutine.resume(coroutine.create(function()
  2326. for i = 0,10/bonuspeed,0.1 do
  2327. swait()
  2328. if rainbowmode == true then
  2329. rng.Color = Color3.new(r/255,g/255,b/255)
  2330. end
  2331. if type == "Add" then
  2332. scaler2 = scaler2 - 0.01*value/bonuspeed
  2333. elseif type == "Divide" then
  2334. scaler2 = scaler2 - 0.01/value*bonuspeed
  2335. end
  2336. if chaosmode == true then
  2337. rng.BrickColor = BrickColor.random()
  2338. end
  2339. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2340. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2341. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2342. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2343. end
  2344. rng:Destroy()
  2345. end))
  2346. end
  2347.  
  2348.  
  2349. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2350. local type = type
  2351. local rng = Instance.new("Part", char)
  2352.         rng.Anchored = true
  2353.         rng.BrickColor = color
  2354.         rng.CanCollide = false
  2355.         rng.FormFactor = 3
  2356.         rng.Name = "Ring"
  2357.         rng.Material = "Neon"
  2358.         rng.Size = Vector3.new(1, 1, 1)
  2359.         rng.Transparency = 0
  2360.         rng.TopSurface = 0
  2361.         rng.BottomSurface = 0
  2362.         rng.CFrame = pos
  2363. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2364.         local rngm = Instance.new("SpecialMesh", rng)
  2365.         rngm.MeshType = "Sphere"
  2366. rngm.Scale = vt(x1,y1,z1)
  2367. if rainbowmode == true then
  2368. rng.Color = Color3.new(r/255,g/255,b/255)
  2369. end
  2370. local scaler2 = 1
  2371. local speeder = FastSpeed
  2372. if type == "Add" then
  2373. scaler2 = 1*value
  2374. elseif type == "Divide" then
  2375. scaler2 = 1/value
  2376. end
  2377. coroutine.resume(coroutine.create(function()
  2378. for i = 0,10/bonuspeed,0.1 do
  2379. swait()
  2380. if rainbowmode == true then
  2381. rng.Color = Color3.new(r/255,g/255,b/255)
  2382. end
  2383. if type == "Add" then
  2384. scaler2 = scaler2 - 0.01*value/bonuspeed
  2385. elseif type == "Divide" then
  2386. scaler2 = scaler2 - 0.01/value*bonuspeed
  2387. end
  2388. if chaosmode == true then
  2389. rng.BrickColor = BrickColor.random()
  2390. end
  2391. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2392. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2393. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2394. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2395. end
  2396. rng:Destroy()
  2397. end))
  2398. end
  2399.  
  2400.  
  2401. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2402. local type = type
  2403. local rng = Instance.new("Part", char)
  2404.         rng.Anchored = true
  2405.         rng.BrickColor = color
  2406.         rng.CanCollide = false
  2407.         rng.FormFactor = 3
  2408.         rng.Name = "Ring"
  2409.         rng.Material = "Neon"
  2410.         rng.Size = Vector3.new(1, 1, 1)
  2411.         rng.Transparency = 1
  2412.         rng.TopSurface = 0
  2413.         rng.BottomSurface = 0
  2414.         rng.CFrame = pos
  2415. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2416.         local rngm = Instance.new("SpecialMesh", rng)
  2417.         rngm.MeshType = "Sphere"
  2418. rngm.Scale = vt(x1,y1,z1)
  2419. if rainbowmode == true then
  2420. rng.Color = Color3.new(r/255,g/255,b/255)
  2421. end
  2422. local scaler2 = 1
  2423. local speeder = FastSpeed
  2424. if type == "Add" then
  2425. scaler2 = 1*value
  2426. elseif type == "Divide" then
  2427. scaler2 = 1/value
  2428. end
  2429. coroutine.resume(coroutine.create(function()
  2430. for i = 0,10/bonuspeed,0.1 do
  2431. swait()
  2432. if rainbowmode == true then
  2433. rng.Color = Color3.new(r/255,g/255,b/255)
  2434. end
  2435. if type == "Add" then
  2436. scaler2 = scaler2 - 0.01*value/bonuspeed
  2437. elseif type == "Divide" then
  2438. scaler2 = scaler2 - 0.01/value*bonuspeed
  2439. end
  2440. if chaosmode == true then
  2441. rng.BrickColor = BrickColor.random()
  2442. end
  2443. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2444. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2445. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2446. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2447. end
  2448. rng:Destroy()
  2449. end))
  2450. end
  2451.  
  2452.  
  2453. function TargetSelect(person)
  2454. local dd=coroutine.wrap(function()
  2455. if targetted ~= person then
  2456. targetted = person
  2457. img2.Size = UDim2.new(1,0,1,0)
  2458. img2.ImageTransparency = 0
  2459. img2.Position = UDim2.new(0,0,0,0)
  2460. img2.ImageColor3 = Color3.new(0,0,0)
  2461. for i = 0, 2, 0.1 do
  2462. swait()
  2463. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  2464. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  2465. img2.ImageTransparency = img2.ImageTransparency + 0.05
  2466. end
  2467. end
  2468. end)
  2469. dd()
  2470. end
  2471.  
  2472. function FindNearestTorso(Position, Distance, SinglePlayer)
  2473.     if SinglePlayer then
  2474.         return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2475.     end
  2476.     local List = {}
  2477.     for i, v in pairs(workspace:GetChildren()) do
  2478.         if v:IsA("Model") then
  2479.             if v:findFirstChild("Torso") then
  2480.                 if v ~= Character then
  2481.                     if (v.Torso.Position - Position).magnitude <= Distance then
  2482.                         table.insert(List, v)
  2483.                     end
  2484.                 end
  2485.             end
  2486.         end
  2487.     end
  2488.     return List
  2489. end
  2490.  
  2491. function FindNearestHead(Position, Distance, SinglePlayer)
  2492.     if SinglePlayer then
  2493.         return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2494.     end
  2495.     local List = {}
  2496.     for i, v in pairs(workspace:GetChildren()) do
  2497.         if v:IsA("Model") then
  2498.             if v:findFirstChild("Head") then
  2499.                 if v ~= Character then
  2500.                     if (v.Head.Position - Position).magnitude <= Distance then
  2501.                         table.insert(List, v)
  2502.                     end
  2503.                 end
  2504.             end
  2505.         end
  2506.     end
  2507.     return List
  2508. end
  2509.  
  2510. function LockOn()
  2511. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2512. TargetSelect(Mouse.Target.Parent)
  2513. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  2514. elseif Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") == nil then
  2515. TargetSelect(Mouse.Target.Parent)
  2516. if Mouse.Target.Parent == workspace or Mouse.Target.Parent:IsA("Accessory") then
  2517. targetted = nil
  2518. end
  2519. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, 0.5)
  2520. end
  2521. end
  2522.  
  2523. function dmg(dude)
  2524. if dude.Name ~= Character then
  2525. local bgf = Instance.new("BodyGyro",dude.Head)
  2526. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2527. local val = Instance.new("BoolValue",dude)
  2528. val.Name = "IsHit"
  2529. local ds = coroutine.wrap(function()
  2530. if dude.Name ~= "XXUNORIBOASXX" then
  2531. killcount = killcount + 1
  2532. dude:WaitForChild("Torso"):BreakJoints()
  2533. wait(0.5)
  2534. targetted = nil
  2535. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  2536. coroutine.resume(coroutine.create(function()
  2537. for i, v in pairs(dude:GetChildren()) do
  2538. if v:IsA("Accessory") then
  2539. v:Destroy()
  2540. end
  2541. if v:IsA("Humanoid") then
  2542. v:Destroy()
  2543. end
  2544. if v:IsA("CharacterMesh") then
  2545. v:Destroy()
  2546. end
  2547. if v:IsA("Model") then
  2548. v:Destroy()
  2549. end
  2550. if v:IsA("Part") then
  2551. for x, o in pairs(v:GetChildren()) do
  2552. if o:IsA("Decal") then
  2553. o:Destroy()
  2554. end
  2555. end
  2556. coroutine.resume(coroutine.create(function()
  2557. v.Material = "Neon"
  2558. v.CanCollide = false
  2559. local bld = Instance.new("ParticleEmitter",v)
  2560. bld.LightEmission = 1
  2561. bld.Texture = "rbxassetid://284205403"
  2562. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  2563. bld.Rate = 50
  2564. bld.Lifetime = NumberRange.new(1)
  2565. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  2566. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2567. bld.Speed = NumberRange.new(0,0,0)
  2568. bld.Rotation = NumberRange.new(-500,500)
  2569. bld.RotSpeed = NumberRange.new(-500,500)
  2570.         local sbs = Instance.new("BodyPosition", v)
  2571.         sbs.P = 3000
  2572.         sbs.D = 1000
  2573.         sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2574.         sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2575. v.Color = Color3.new(1,1,1)
  2576. coroutine.resume(coroutine.create(function()
  2577. for i = 0, 24 do
  2578. swait(1)
  2579. v.Transparency = v.Transparency + 0.02
  2580. end
  2581. bld.Enabled = false
  2582. for i = 0, 24 do
  2583. swait(1)
  2584. v.Transparency = v.Transparency + 0.02
  2585. end
  2586. v:Destroy()
  2587. dude:Destroy()
  2588. end))
  2589. end))
  2590. end
  2591. end
  2592. end))
  2593. else
  2594. bgf:Destroy()
  2595. sphere(1,"Add",dude:WaitForChild("Torso").CFrame,vt(10,10,10),-0.005,BrickColor.new("Really red"))
  2596. end
  2597. end)
  2598. ds()
  2599. end
  2600. end
  2601.  
  2602. function MagniStop(Magnitude,Parent,Duration)
  2603.     for i, v in pairs(FindNearestTorso(Parent, Magnitude)) do
  2604.         if v:FindFirstChild('Head') then
  2605. --[[local origWalk = v.Humanoid.WalkSpeed
  2606. local origJump = v.Humanoid.JumpPower]]--
  2607. local ActiveStop = true
  2608. --[[v.Humanoid.WalkSpeed = 0
  2609. v.Humanoid.JumpPower = 0]]--
  2610. for x, o in pairs(v:GetChildren()) do
  2611. if o:IsA("Part") then
  2612. o.Anchored = true
  2613. end
  2614. end
  2615. coroutine.resume(coroutine.create(function()
  2616. while true do
  2617. swait()
  2618. if ActiveStop ~= false then
  2619. --[[v.Humanoid.WalkSpeed = 0
  2620. v.Humanoid.JumpPower = 0]]--
  2621. for x, o in pairs(v:GetChildren()) do
  2622. if o:IsA("Part") then
  2623. o.Anchored = true
  2624. end
  2625. end
  2626. else
  2627. break
  2628. end
  2629. end
  2630. end))
  2631. local txt = Instance.new("BillboardGui", v)
  2632. txt.Adornee = v.Head
  2633. txt.Name = "StoppedSTAT"
  2634. txt.AlwaysOnTop = true
  2635. txt.Size = UDim2.new(2, 0, 1.2, 0)
  2636. txt.StudsOffset = Vector3.new(-9, 8, 0)
  2637. local text = Instance.new("TextLabel", txt)
  2638. text.Size = UDim2.new(10, 0, 7, 0)
  2639. text.FontSize = "Size24"
  2640. text.TextScaled = true
  2641. text.TextTransparency = 0
  2642. text.BackgroundTransparency = 1
  2643. text.TextTransparency = 0
  2644. text.TextStrokeTransparency = 0.75
  2645. text.Font = "Cartoon"
  2646. text.TextStrokeColor3 = Color3.new(0,0,0)
  2647. text.TextColor3 = Color3.new(0,1,0)
  2648. text.Text = "STOPPED"
  2649. coroutine.resume(coroutine.create(function()
  2650. wait(Duration)
  2651. ActiveStop = false
  2652. for x, o in pairs(v:GetChildren()) do
  2653. if o:IsA("Part") then
  2654. o.Anchored = false
  2655. end
  2656. end
  2657. --[[v.Humanoid.WalkSpeed = origWalk
  2658. v.Humanoid.JumpPower = origJump]]--
  2659. txt:Destroy()
  2660. end))
  2661.     end
  2662. end
  2663. end
  2664.  
  2665. function MakeBullet(Type,Speed,Position,Magni,Minim,Maxim,Color,TrailColor,Size,TrailSize,Delay,VolumeEx)
  2666. local ExplodeType = Type
  2667. local spart = Instance.new("Part",char)
  2668. local msh = Instance.new("SpecialMesh",spart)
  2669. msh.MeshType = "Sphere"
  2670. msh.Scale = Size
  2671. CFuncs["Sound"].Create("rbxassetid://260433768", spart, 2, 1)
  2672.   spart.Size = vt(1,1,1)
  2673.   spart.BrickColor = Color
  2674.   spart.Material = "Neon"
  2675.   spart.Transparency = 0
  2676.   spart.Anchored = true
  2677.   spart.CanCollide = false
  2678.   spart.CFrame = Position
  2679.   local hitted = false
  2680.   spart.Anchored = false
  2681.   local bv = Instance.new("BodyVelocity")
  2682.   bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2683.   bv.velocity = spart.CFrame.lookVector *Speed
  2684.   bv.Parent = spart
  2685. game:GetService("Debris"):AddItem(spart, Delay)
  2686. --[[coroutine.resume(coroutine.create(function()
  2687. while true do
  2688. swait(1)
  2689. if spart.Parent ~= nil and hitted == false then
  2690. sphere(3,"Add",spart.CFrame*CFrame.new(math.random(-TrailSize,TrailSize),math.random(-TrailSize,TrailSize),0)+ spart.CFrame.lookVector*-TrailSize-3,vt(0,0,0),TrailSize,TrailColor)
  2691. elseif spart.Parent == nil then
  2692. break
  2693. end
  2694. end
  2695. end))]]--
  2696. swait(1)
  2697. if ExplodeType == "Normal" then
  2698. local hit =spart.Touched:connect(function(hit)
  2699.     if hitted == false then
  2700.     hitted = true
  2701. CFuncs["Sound"].Create("rbxassetid://239000203", spart, VolumeEx, 1)
  2702.     MagniDamage(spart, Magni, Minim,Maxim, 0, "Normal")
  2703.     sphere(1,"Add",spart.CFrame,Size,Magni/20,spart.BrickColor)
  2704. spart.Anchored = true
  2705. spart.Transparency = 1
  2706. end
  2707. end)
  2708. elseif ExplodeType == "Timefreeze" then
  2709. local hit =spart.Touched:connect(function(hit)
  2710.     if hitted == false then
  2711.     hitted = true
  2712.     MagniStop(Magni/1.75,spart.CFrame.p,1)
  2713. MagniDamage(spart, Magni/1.75, Minim,Maxim, 0, "Normal")
  2714. --CFuncs["Sound"].Create("rbxassetid://239000203", spart, 2, 1)
  2715. CFuncs["Sound"].Create("rbxassetid://1208650519", spart, VolumeEx, 1)
  2716.     sphere(1,"Add",spart.CFrame,vt(Magni,Magni,Magni),-Magni/50,spart.BrickColor)
  2717. spart.Anchored = true
  2718. spart.Transparency = 1
  2719. end
  2720. end)
  2721. end
  2722. end
  2723. --[[function UnusedSource()
  2724. MagniStop(12.5,targetted.Torso.CFrame.p,2)
  2725. CFuncs["Sound"].Create("rbxassetid://743521656", targetted.Torso, 5, 0.8)
  2726. --CFuncs["Sound"].Create("rbxassetid://1208650519", targetted.Torso, 5, 1)
  2727. sphere(1,"Add",targetted.Torso.CFrame,vt(25,25,25),-0.5,BrickColor.new("White"))
  2728. end]]--
  2729.  
  2730. -------------
  2731. function FaceMouse()
  2732.   Cam = workspace.CurrentCamera
  2733.   return {
  2734.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2735.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2736.   }
  2737. end
  2738.  
  2739. function FaceMouse2()
  2740.   Cam = workspace.CurrentCamera
  2741.   return {
  2742.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2743.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2744.   }
  2745. end
  2746.  
  2747. ---- main combo attacks
  2748.  
  2749. local r = 255
  2750. local g = 0
  2751. local b = 0
  2752. coroutine.resume(coroutine.create(function()
  2753. while wait() do
  2754.     for i = 0, 254/5 do
  2755.         swait()
  2756.         g = g + 5
  2757.     end
  2758.     for i = 0, 254/5 do
  2759.         swait()
  2760.         r = r - 5
  2761.     end
  2762.     for i = 0, 254/5 do
  2763.         swait()
  2764.         b = b + 5
  2765.     end
  2766.     for i = 0, 254/5 do
  2767.         swait()
  2768.         g = g - 5
  2769.     end
  2770.     for i = 0, 254/5 do
  2771.         swait()
  2772.         r = r + 5
  2773.     end
  2774.     for i = 0, 254/5 do
  2775.         swait()
  2776.         b = b - 5
  2777.     end
  2778. end
  2779. end))
  2780.  
  2781. function attackone()
  2782. attack = true
  2783. for i = 0,1,0.1 do
  2784. swait()
  2785. sordweld.C0=clerp(sordweld.C0,cf(-1,-0.5,0)*angles(math.rad(-90),math.rad(20),math.rad(90)),.3)
  2786. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2787. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2788. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.3)
  2789. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  2790. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(30)),.3)
  2791. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(110),math.rad(0),math.rad(50)),.3)
  2792. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.3)
  2793. end
  2794. local con = hibox.Touched:connect(function(hit)
  2795. Damagefunc(hibox, hit, 10, 12, 0, "Normal", RootPart, 0.3, "rbxassetid://199149137", 1)
  2796. end)
  2797. CFuncs["Sound"].Create("rbxassetid://92597369", hibox, 1.5, 1)
  2798. for i = 0,1,0.1 do
  2799. swait()
  2800. sordweld.C0=clerp(sordweld.C0,cf(-1,0,0)*angles(math.rad(-90),math.rad(60),math.rad(90)),.3)
  2801. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2802. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2803. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.3)
  2804. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  2805. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  2806. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  2807. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.3)
  2808. end
  2809. con:disconnect()
  2810. attack = false
  2811. end
  2812.  
  2813. function attacktwo()
  2814. attack = true
  2815. for i = 0,1,0.1 do
  2816. swait()
  2817. sordweld.C0=clerp(sordweld.C0,cf(-1,-0.5,0)*angles(math.rad(-90),math.rad(75),math.rad(90)),.3)
  2818. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2819. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2820. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.3)
  2821. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  2822. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(-70)),.3)
  2823. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),-0.5)*angles(math.rad(50),math.rad(20),math.rad(-30)),.3)
  2824. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.3)
  2825. end
  2826. local con = hibox.Touched:connect(function(hit)
  2827. Damagefunc(hibox, hit, 10, 12, 0, "Normal", RootPart, 0.3, "rbxassetid://199149137", 1)
  2828. end)
  2829. CFuncs["Sound"].Create("rbxassetid://92597369", hibox, 1.5, 0.75)
  2830. for i = 0,1,0.1 do
  2831. swait()
  2832. sordweld.C0=clerp(sordweld.C0,cf(-1,-1,0)*angles(math.rad(-90),math.rad(5),math.rad(90)),.3)
  2833. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  2834. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  2835. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.3)
  2836. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  2837. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  2838. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),-0.5)*angles(math.rad(90),math.rad(0),math.rad(30)),.3)
  2839. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.3)
  2840. end
  2841. con:disconnect()
  2842. attack = false
  2843. end
  2844.  
  2845. function attackthree()
  2846. attack = true
  2847. for i = 0,1,0.1 do
  2848. swait()
  2849. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2850. stafweld.C0=clerp(stafweld.C0,cf(0,-0.1,1.2)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2851. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.1)
  2852. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.1)
  2853. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(15)),.3)
  2854. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-15)),.3)
  2855. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-5),math.rad(-10),math.rad(10)),.3)
  2856. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(120),math.rad(0),math.rad(-10)),.3)
  2857. end
  2858. for i = 0,2,0.1 do
  2859. swait()
  2860. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2861. stafweld.C0=clerp(stafweld.C0,cf(0,0,-1.2)*angles(math.rad(-90),math.rad(-20),math.rad(0)),.3)
  2862. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.1)
  2863. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.1)
  2864. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.3)
  2865. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(45)),.3)
  2866. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-5),math.rad(-10),math.rad(10)),.3)
  2867. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-55)),.3)
  2868. end
  2869. sphere(2.5,"Add",glowst.CFrame,vt(0,0,0),0.175,halocolor)
  2870. sphere(5,"Add",glowst.CFrame,vt(0,0,0),0.175,halocolor)
  2871. MagniDamage(glowst, 7.5, 12,16, 0, "Normal")
  2872. for i = 0, 9 do
  2873. sphereMK(2,0.2,"Add",glowst.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,halocolor,0)
  2874. sphereMK(4,0.4,"Add",glowst.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,halocolor,0)
  2875. end
  2876. CFuncs["Sound"].Create("rbxassetid://183763506", glowst, 1.5, 1)
  2877. attack = false
  2878. end
  2879.  
  2880. function attackorb()
  2881. attack = true
  2882. for i = 0,1,0.1 do
  2883. swait()
  2884. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2885. stafweld.C0=clerp(stafweld.C0,cf(0,-0.1,1.2)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2886. PixelBlock(5,0.25,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,halocolor,0)
  2887. PixelBlock(5,0.25,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,halocolor,0)
  2888. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-5 + 3 * math.cos(sine / 18))),.3)
  2889. LH.C0=clerp(LH.C0,cf(-1,-0.5 - 0.05 * math.cos(sine / 28),-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5 + 5 * math.cos(sine / 24))),.3)
  2890. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(5 + 3 * math.cos(sine / 27.5)),math.rad(0),math.rad(30)),.3)
  2891. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 29.5)),math.rad(0),math.rad(-30)),.3)
  2892. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-5 + 2.5 * math.cos(sine / 25)),math.rad(-20),math.rad(10 + 2.5 * math.cos(sine / 25))),.3)
  2893. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(120),math.rad(0),math.rad(-55)),.3)
  2894. end
  2895. for i = 0,1,0.1 do
  2896. swait()
  2897. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2898. stafweld.C0=clerp(stafweld.C0,cf(0,0,-1.2)*angles(math.rad(-90),math.rad(-20),math.rad(0)),.3)
  2899. PixelBlock(5,0.25,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,halocolor,0)
  2900. PixelBlock(5,0.25,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,halocolor,0)
  2901. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-5 + 3 * math.cos(sine / 18))),.3)
  2902. LH.C0=clerp(LH.C0,cf(-1,-0.5 - 0.05 * math.cos(sine / 28),-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5 + 5 * math.cos(sine / 24))),.3)
  2903. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(5 + 3 * math.cos(sine / 27.5)),math.rad(0),math.rad(-20)),.3)
  2904. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 29.5)),math.rad(0),math.rad(20)),.3)
  2905. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-5 + 2.5 * math.cos(sine / 25)),math.rad(-20),math.rad(10 + 2.5 * math.cos(sine / 25))),.3)
  2906. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-35)),.3)
  2907. end
  2908. sphere(2.5,"Add",glowst.CFrame,vt(0,0,0),0.05,halocolor)
  2909. sphere(5,"Add",glowst.CFrame,vt(0,0,0),0.05,halocolor)
  2910. local orb = Instance.new("Part", char)
  2911.         orb.BrickColor = halocolor
  2912.         orb.CanCollide = false
  2913.         orb.FormFactor = 3
  2914.         orb.Name = "Ring"
  2915.         orb.Material = "Neon"
  2916.         orb.Size = Vector3.new(1, 1, 1)
  2917.         orb.Transparency = 0
  2918.         orb.TopSurface = 0
  2919.         orb.BottomSurface = 0
  2920.         local orbm = Instance.new("SpecialMesh", orb)
  2921.         orbm.MeshType = "Sphere"
  2922. orbm.Name = "SizeMesh"
  2923. orbm.Scale = vt(1.5,1.5,1.5)
  2924. local a = Instance.new("Part",workspace)
  2925.     a.Name = "Direction"   
  2926.     a.Anchored = true
  2927.     a.BrickColor = bc("Bright red")
  2928. a.Material = "Neon"
  2929. a.Transparency = 1
  2930.     a.CanCollide = false
  2931.     local ray = Ray.new(
  2932.         glowst.CFrame.p,                           -- origin
  2933.         (mouse.Hit.p - glowst.CFrame.p).unit * 500 -- direction
  2934.     )
  2935.     local ignore = glowst
  2936.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2937.     a.BottomSurface = 10
  2938.     a.TopSurface = 10
  2939.     local distance = (glowst.CFrame.p - position).magnitude
  2940.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  2941.     a.CFrame = CFrame.new(glowst.CFrame.p, position) * CFrame.new(0, 0, 0)
  2942. orb.CFrame = a.CFrame
  2943. a:Destroy()
  2944. local bv = Instance.new("BodyVelocity")
  2945. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2946. bv.velocity = orb.CFrame.lookVector*100
  2947. bv.Parent = orb
  2948. local hitted = false
  2949. game:GetService("Debris"):AddItem(orb, 10)
  2950. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  2951. coroutine.resume(coroutine.create(function()
  2952. swait(0.1)
  2953. orb.Touched:connect(function(hit)
  2954. if hitted == false then
  2955. hitted = true
  2956. game:GetService("Debris"):AddItem(orb, 5)
  2957. orb.Transparency = 1
  2958. orb.Anchored = true
  2959. for i = 0, 49 do
  2960. PixelBlock(1,math.random(3,10),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,halocolor,0)
  2961. end
  2962. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.25,halocolor)
  2963. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.25,halocolor)
  2964. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.25,halocolor)
  2965. sphere(4,"Add",orb.CFrame,vt(0,0,0),0.25,halocolor)
  2966. sphere(5,"Add",orb.CFrame,vt(0,0,0),0.25,halocolor)
  2967. CFuncs["Sound"].Create("rbxassetid://468991944", orb, 7.5, 1)
  2968. CFuncs["Sound"].Create("rbxassetid://419447292", orb, 2.5,1)
  2969. MagniDamage(orb, 12.5, 15,22, 0, "Normal")
  2970. end
  2971. end)
  2972. end))
  2973. attack = false
  2974. end
  2975.  
  2976. function Taunt()
  2977. attack = true
  2978. hum.WalkSpeed = 0
  2979. for x = 0, 4 do
  2980. CFuncs["Sound"].Create("rbxassetid://92597296", sord, 1.5,0.75)
  2981. CFuncs["Sound"].Create("rbxassetid://92597369", sord, 1.5,0.6)
  2982. for i = 0,1,0.6 do
  2983. swait()
  2984. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.5)
  2985. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.5)
  2986. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.5)
  2987. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.5)
  2988. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.5)
  2989. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(30)),.5)
  2990. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(160),math.rad(0),math.rad(20)),.5)
  2991. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.5)
  2992. end
  2993. for i = 0,1,0.6 do
  2994. swait()
  2995. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.5)
  2996. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.5)
  2997. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.5)
  2998. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.5)
  2999. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.5)
  3000. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(30)),.5)
  3001. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(160),math.rad(0),math.rad(20)),.5)
  3002. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.5)
  3003. end
  3004. for i = 0,1,0.6 do
  3005. swait()
  3006. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(180),math.rad(0)),.5)
  3007. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.5)
  3008. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.5)
  3009. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.5)
  3010. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.5)
  3011. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(30)),.5)
  3012. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(160),math.rad(0),math.rad(20)),.5)
  3013. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.5)
  3014. end
  3015. for i = 0,1,0.6 do
  3016. swait()
  3017. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(270),math.rad(0)),.5)
  3018. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.5)
  3019. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.5)
  3020. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.5)
  3021. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.5)
  3022. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(30)),.5)
  3023. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(160),math.rad(0),math.rad(20)),.5)
  3024. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.5)
  3025. end
  3026. end
  3027. local ranod = math.random(1,5)
  3028. if ranod == 1 then
  3029. chatfunc("You're not really at this, arent you.",halocolor.Color)
  3030. elseif ranod == 2 then
  3031. chatfunc("I dont like whoever messes me up.",halocolor.Color)
  3032. elseif ranod == 3 then
  3033. chatfunc("I never expected you to be here.",halocolor.Color)
  3034. elseif ranod == 4 then
  3035. chatfunc("You really messed up.",halocolor.Color)
  3036. elseif ranod == 5 then
  3037. chatfunc("Go away.",halocolor.Color)
  3038. end
  3039. for i = 0,15,0.1 do
  3040. swait()
  3041. sordweld.C0=clerp(sordweld.C0,cf(0,-1.8,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
  3042. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  3043. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  3044. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.3)
  3045. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  3046. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  3047. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  3048. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.3)
  3049. end
  3050. hum.WalkSpeed = 16
  3051. attack = false
  3052. end
  3053.  
  3054. MAINRUINCOLOR = BrickColor.new("Institutional white")
  3055.  
  3056. function SwordSplosion()
  3057. attack = true
  3058.  
  3059. local orb = Instance.new("Part", char)
  3060.         orb.Anchored = true
  3061.         orb.BrickColor = MAINRUINCOLOR
  3062.         orb.CanCollide = false
  3063.         orb.FormFactor = 3
  3064.         orb.Name = "Ring"
  3065.         orb.Material = "Neon"
  3066.         orb.Size = Vector3.new(1, 1, 1)
  3067.         orb.Transparency = 1
  3068.         orb.TopSurface = 0
  3069.         orb.BottomSurface = 0
  3070.         local orbm = Instance.new("SpecialMesh", orb)
  3071.         orbm.MeshType = "Sphere"
  3072. orbm.Name = "SizeMesh"
  3073. orbm.Scale = vt(0,0,0)
  3074. local scaled = 0.1
  3075. local posid = 0
  3076. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3077. for i = 0, 5, 0.1 do
  3078. swait()
  3079. scaled = scaled - 0.001
  3080. posid = posid - scaled
  3081. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3082. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3083. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10)
  3084. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  3085. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3086. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3087. sordweld.C0=clerp(sordweld.C0,cf(0,-1.75,1)*angles(math.rad(90),math.rad(180),math.rad(0)),.1)
  3088. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3089. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3090. end
  3091. swait(60)
  3092. for i =1,3 do
  3093.     swait(30)
  3094.     CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9)
  3095.     sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  3096. end
  3097. swait(30)
  3098. for i = 0, 2, 0.1 do
  3099. swait()
  3100. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3101. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3102. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3103. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3104. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3105. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3106. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3107. end
  3108. swait(60)
  3109.     CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3110.     CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1)
  3111.     sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR)
  3112.     sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR)
  3113.     MagniDamageWithEffect(tors, 999, math.huge, math.huge, 0, "Normal")
  3114.     for i = 1,20 do
  3115.     sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,MAINRUINCOLOR,0)
  3116.     for i = 0, 45 do
  3117. sphereouter(5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0,1),25,BrickColor.new("White"))
  3118. end
  3119. for i = 0, 10 do
  3120.         PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,MAINRUINCOLOR,0)
  3121.     end
  3122. end
  3123. orb:Remove()
  3124. attack = false
  3125. end
  3126.  
  3127. function WAT()
  3128. attack = true
  3129. hum.WalkSpeed = 0
  3130. for x = 0, 9 do
  3131. CFuncs["Sound"].Create("rbxassetid://92597296", sord, 1.5,0.7)
  3132. CFuncs["Sound"].Create("rbxassetid://92597369", sord, 1.5,0.55)
  3133. for i = 0,1,0.6 do
  3134. swait()
  3135. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.5)
  3136. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.5)
  3137. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.5)
  3138. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.5)
  3139. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.5)
  3140. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.5)
  3141. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 30),-1)*angles(math.rad(90),math.rad(0),math.rad(-50)),.5)
  3142. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.5)
  3143. end
  3144. for i = 0,1,0.6 do
  3145. swait()
  3146. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),.5)
  3147. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.5)
  3148. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.5)
  3149. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.5)
  3150. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.5)
  3151. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.5)
  3152. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 30),-1)*angles(math.rad(90),math.rad(0),math.rad(-50)),.5)
  3153. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.5)
  3154. end
  3155. for i = 0,1,0.6 do
  3156. swait()
  3157. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(-180),math.rad(0),math.rad(0)),.5)
  3158. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.5)
  3159. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.5)
  3160. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.5)
  3161. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.5)
  3162. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.5)
  3163. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 30),-1)*angles(math.rad(90),math.rad(0),math.rad(-50)),.5)
  3164. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.5)
  3165. end
  3166. for i = 0,1,0.6 do
  3167. swait()
  3168. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(-270),math.rad(0),math.rad(0)),.5)
  3169. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.5)
  3170. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.5)
  3171. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.5)
  3172. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.5)
  3173. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.5)
  3174. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 30),-1)*angles(math.rad(90),math.rad(0),math.rad(-50)),.5)
  3175. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.5)
  3176. end
  3177. end
  3178. local hittery = false
  3179. local ParentedHit = nil
  3180. local con = hibox.Touched:connect(function(hit)
  3181. if hit.Name == "Torso" and hittery == false then
  3182. hittery = true
  3183. ParentedHit = hit
  3184. for i = 0, 24 do
  3185. sphereouter(5,"Add",ParentedHit.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0,1),25,BrickColor.new("White"))
  3186. end
  3187. sphere(2,"Add",hit.CFrame,vt(0,0,0),0.5,halocolor)
  3188. sphere(3,"Add",hit.CFrame,vt(0,0,0),0.5,halocolor)
  3189. sphere(4,"Add",hit.CFrame,vt(0,0,0),0.5,halocolor)
  3190. CFuncs["Sound"].Create("rbxassetid://153092227", hit, 5, 1)
  3191.         sbs = Instance.new("BodyPosition", hit)
  3192.         sbs.P = 3000
  3193.         sbs.D = 1000
  3194.         sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3195.         sbs.position = hit.CFrame.p
  3196. end
  3197. end)
  3198. for i = 0,2,0.1 do
  3199. swait()
  3200. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  3201. PixelBlockNeg(1,1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
  3202. sordweld.C0=clerp(sordweld.C0,cf(0,-1.8,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.6)
  3203. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.6)
  3204. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.6)
  3205. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.6)
  3206. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(2.5),math.rad(5),math.rad(90)),.6)
  3207. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  3208. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.6)
  3209. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(0)),.6)
  3210. end
  3211. con:disconnect()
  3212. if hittery == true then
  3213. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3214. sphere(2,"Add",root.CFrame,vt(0,0,0),0.25,halocolor)
  3215. for i = 0, 24 do
  3216. PixelBlock(1,math.random(3,6),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,halocolor,0)
  3217. end
  3218. root.CFrame = ParentedHit.CFrame + ParentedHit.CFrame.lookVector*-8
  3219. sphere(2,"Add",root.CFrame,vt(0,0,0),0.25,halocolor)
  3220. for i = 0, 24 do
  3221. PixelBlock(1,math.random(3,6),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,halocolor,0)
  3222. end
  3223. for x = 0, 9 do
  3224. CFuncs["Sound"].Create("rbxassetid://153092227", ParentedHit, 2.5, 1)
  3225. sphere(5,"Add",ParentedHit.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3226. sphere(5,"Add",ParentedHit.CFrame,vt(0,0,0),0.125,BrickColor.new("Really black"))
  3227. for i = 0, 2 do
  3228. sphereouter(5,"Add",ParentedHit.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0,1),25,BrickColor.new("White"))
  3229. PixelBlock(1,math.random(5,25),"Add",ParentedHit.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Really black"),0)
  3230. end
  3231. for i = 0,1,0.6 do
  3232. swait()
  3233. sordweld.C0=clerp(sordweld.C0,cf(0,-1.8,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.6)
  3234. stafweld.C0=clerp(stafweld.C0,cf(0,0,-1.2)*angles(math.rad(-90),math.rad(-20),math.rad(0)),.6)
  3235. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-5)),.6)
  3236. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.6)
  3237. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(5),math.rad(90)),.6)
  3238. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  3239. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.6)
  3240. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.6)
  3241. end
  3242. for i = 0,1,0.6 do
  3243. swait()
  3244. sordweld.C0=clerp(sordweld.C0,cf(0,-1.8,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.6)
  3245. stafweld.C0=clerp(stafweld.C0,cf(0,0,-1.2)*angles(math.rad(-90),math.rad(-20),math.rad(0)),.6)
  3246. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-5)),.6)
  3247. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.6)
  3248. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(90),math.rad(5),math.rad(90)),.6)
  3249. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  3250. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.6)
  3251. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.6)
  3252. end
  3253. CFuncs["Sound"].Create("rbxassetid://153092227", ParentedHit, 2.5, 1)
  3254. sphere(5,"Add",ParentedHit.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3255. sphere(5,"Add",ParentedHit.CFrame,vt(0,0,0),0.125,BrickColor.new("Really black"))
  3256. for i = 0, 2 do
  3257. sphereouter(5,"Add",ParentedHit.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0,1),25,BrickColor.new("White"))
  3258. PixelBlock(1,math.random(5,25),"Add",ParentedHit.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Really black"),0)
  3259. end
  3260. for i = 0,1,0.6 do
  3261. swait()
  3262. sordweld.C0=clerp(sordweld.C0,cf(0,-1.8,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.6)
  3263. stafweld.C0=clerp(stafweld.C0,cf(0,0,-1.2)*angles(math.rad(-90),math.rad(-20),math.rad(0)),.6)
  3264. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-5)),.6)
  3265. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.6)
  3266. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(180),math.rad(5),math.rad(90)),.6)
  3267. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  3268. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.6)
  3269. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.6)
  3270. end
  3271. for i = 0,1,0.6 do
  3272. swait()
  3273. sordweld.C0=clerp(sordweld.C0,cf(0,-1.8,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.6)
  3274. stafweld.C0=clerp(stafweld.C0,cf(0,0,-1.2)*angles(math.rad(-90),math.rad(-20),math.rad(0)),.6)
  3275. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-5)),.6)
  3276. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5)),.6)
  3277. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(270),math.rad(5),math.rad(90)),.6)
  3278. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  3279. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.6)
  3280. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.6)
  3281. end
  3282. end
  3283.  
  3284. local ex = Instance.new("ParticleEmitter",at1)
  3285. ex.Texture = "rbxassetid://296874871"
  3286. ex.LightEmission = 0.25
  3287. ex.Color = ColorSequence.new(Color3.new(0,0,0))
  3288. ex.Rate = 100
  3289. ex.Lifetime = NumberRange.new(2)
  3290. ex.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
  3291. ex.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3292. ex.Speed = NumberRange.new(10)
  3293. ex.LockedToPart = true
  3294. ex.Rotation = NumberRange.new(-500,500)
  3295. ex.RotSpeed = NumberRange.new(-500,500)
  3296. local ex2 = Instance.new("ParticleEmitter",at1)
  3297. ex2.Texture = "rbxassetid://865418009"
  3298. ex2.LightEmission = 1
  3299. ex2.Color = ColorSequence.new(Color3.new(1,1,1))
  3300. ex2.Rate = 50
  3301. ex2.Lifetime = NumberRange.new(0.25)
  3302. ex2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3303. ex2.Speed = NumberRange.new(75)
  3304. ex2.LockedToPart = true
  3305. ex2.Rotation = NumberRange.new(-500,500)
  3306. local ex3 = Instance.new("ParticleEmitter",glow)
  3307. ex3.Texture = "rbxassetid://865418009"
  3308. ex3.LightEmission = 1
  3309. ex3.Color = ColorSequence.new(Color3.new(1,1,1))
  3310. ex3.Rate = 50
  3311. ex3.Lifetime = NumberRange.new(0.5)
  3312. ex3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,3,0)})
  3313. ex3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3314. ex3.Speed = NumberRange.new(0)
  3315. ex3.LockedToPart = true
  3316. ex3.Rotation = NumberRange.new(-500,500)
  3317. CFuncs["Sound"].Create("rbxassetid://1548527129", sord, 4.5, 1)
  3318. CFuncs["Sound"].Create("rbxassetid://1548599511", root, 8, 1)
  3319. for i = 0,10,0.1 do
  3320. swait()
  3321. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  3322. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  3323. RH.C0=clerp(RH.C0,cf(1,-1,-0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(-20),math.rad(0)),.3)
  3324. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  3325. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  3326. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(-30)),.3)
  3327. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(30)),.3)
  3328. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(-20)),.3)
  3329. end
  3330. for i = 0,5,0.1 do
  3331. swait()
  3332. sordweld.C0=clerp(sordweld.C0,cf(-1,-0.5,0)*angles(math.rad(-90),math.rad(75),math.rad(90)),.3)
  3333. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  3334. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(20),math.rad(20)),.3)
  3335. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(20)),.3)
  3336. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(20),math.rad(0),math.rad(70)),.3)
  3337. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(-70)),.3)
  3338. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),-0.5)*angles(math.rad(50),math.rad(20),math.rad(-30)),.3)
  3339. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(-20)),.3)
  3340. end
  3341. CameraEnshaking(3,30,char)
  3342. CameraEnshaking(3,30,ParentedHit.Parent)
  3343. CFuncs["Sound"].Create("rbxassetid://1548544673", sord, 1.5, 1)
  3344. CFuncs["Sound"].Create("rbxassetid://1548538202", sord, 2.5, 1)
  3345. CFuncs["Sound"].Create("rbxassetid://1548544673", ParentedHit, 1.5, 1)
  3346. CFuncs["Sound"].Create("rbxassetid://1548538202", ParentedHit, 2.5, 1)
  3347. CFuncs["Sound"].Create("rbxassetid://1548599962", root, 8, 1)
  3348. for i = 0, 9 do
  3349. sphereouter(1,"Add",ParentedHit.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0,1),5,BrickColor.new("White"))
  3350. end
  3351. dmg(ParentedHit.Parent)
  3352. sbs:Destroy()
  3353. for i = 0,5,0.1 do
  3354. swait()
  3355. sordweld.C0=clerp(sordweld.C0,cf(-1,-0.5,0)*angles(math.rad(-90),math.rad(75),math.rad(90)),.5)
  3356. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.5)
  3357. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(20),math.rad(20)),.5)
  3358. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(20)),.5)
  3359. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(20),math.rad(0),math.rad(-70)),.5)
  3360. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(70)),.5)
  3361. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),-0.5)*angles(math.rad(120),math.rad(20),math.rad(90)),.5)
  3362. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-10),math.rad(20),math.rad(-20)),.5)
  3363. end
  3364. ex.Enabled = false
  3365. ex2.Enabled = false
  3366. ex3.Enabled = false
  3367. game:GetService("Debris"):AddItem(ex, 10)
  3368. game:GetService("Debris"):AddItem(ex2, 10)
  3369. game:GetService("Debris"):AddItem(ex3, 10)
  3370. end
  3371. hum.WalkSpeed = 16
  3372. attack = false
  3373. end
  3374.  
  3375. local FloatMode = false
  3376. local attacktype = 1
  3377. mouse.Button1Down:connect(function()
  3378. if FloatMode == false then
  3379.   if attack == false and attacktype == 1 then
  3380.     attacktype = 2
  3381.     attackone()
  3382.   elseif attack == false and attacktype == 2 then
  3383.     attacktype = 3
  3384.     attacktwo()
  3385.   elseif attack == false and attacktype == 3 then
  3386.     attacktype = 1
  3387.     attackthree()
  3388.   end
  3389. elseif FloatMode == true then
  3390.   if attack == false then
  3391.     attackorb()
  3392.   end
  3393. end
  3394. end)
  3395.  
  3396. mouse.KeyDown:connect(function(k)
  3397. if k == "q" and attack == false and FloatMode == false then
  3398. FloatMode = true
  3399. hum.WalkSpeed = 32
  3400. elseif k == "q" and attack == false and FloatMode == true then
  3401. FloatMode = false
  3402. hum.WalkSpeed = 16
  3403. end
  3404.  
  3405. if FloatMode == false then
  3406. if k == "t" and attack == false then
  3407. Taunt()
  3408. end
  3409. if k == "x" and attack == false then
  3410. SwordSplosion()
  3411. end
  3412. if k == "m" and attack == false then
  3413. DashnSlash()
  3414. end
  3415. end
  3416. end)
  3417. idleanim=.4
  3418. hum.Animator.Parent = nil
  3419. while true do
  3420. swait()
  3421.   sine = sine + change
  3422. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3423. local velderp=RootPart.Velocity.y
  3424. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  3425. if equipped==true or equipped==false then
  3426. if attack==false then
  3427. idle=idle+1
  3428. else
  3429. idle=0
  3430. end
  3431. if idle>=500 then
  3432. if attack==false then
  3433. --Sheath()
  3434. end
  3435. end
  3436. if RootPart.Velocity.y > 1 and hitfloor==nil then
  3437. Anim="Jump"
  3438. if attack==false then
  3439. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  3440. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  3441. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3442. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  3443. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  3444. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  3445. end
  3446. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  3447. Anim="Fall"
  3448. if attack==false then
  3449. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  3450. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  3451. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3452. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3453. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  3454. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  3455. end
  3456. elseif torvel<1 and hitfloor~=nil then
  3457. Anim="Idle"
  3458. if attack==false then
  3459. if FloatMode == false then
  3460. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3461. stafweld.C0=clerp(stafweld.C0,cf(0,-0.1,1.2)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3462. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0 + 3 * math.cos(sine / 28))),.1)
  3463. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5 - 3 * math.cos(sine / 28))),.1)
  3464. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 + 3 * math.cos(sine / 28)),math.rad(0),math.rad(10)),.1)
  3465. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 29.5)),math.rad(0),math.rad(-10)),.1)
  3466. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-5 + 2.5 * math.cos(sine / 25)),math.rad(-10),math.rad(10 + 2.5 * math.cos(sine / 25))),.1)
  3467. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90 + 2.5 * math.cos(sine / 25)),math.rad(0),math.rad(-10 - 2.5 * math.cos(sine / 25))),.1)
  3468. elseif FloatMode == true then
  3469. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3470. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.1)
  3471. PixelBlock(5,0.25,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,halocolor,0)
  3472. PixelBlock(5,0.25,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,halocolor,0)
  3473. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-5 + 3 * math.cos(sine / 18))),.1)
  3474. LH.C0=clerp(LH.C0,cf(-1,-0.5 - 0.05 * math.cos(sine / 28),-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(5 + 5 * math.cos(sine / 24))),.1)
  3475. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(5 + 3 * math.cos(sine / 27.5)),math.rad(0),math.rad(20)),.1)
  3476. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 29.5)),math.rad(0),math.rad(-20)),.1)
  3477. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-5 + 2.5 * math.cos(sine / 25)),math.rad(-20),math.rad(10 + 2.5 * math.cos(sine / 25))),.1)
  3478. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-5 + 2.5 * math.cos(sine / 25)),math.rad(0),math.rad(-10 - 2.5 * math.cos(sine / 25))),.1)
  3479. end
  3480. end
  3481. elseif torvel>2 and torvel<42 and hitfloor~=nil then
  3482. Anim="Walk"
  3483. if attack==false then
  3484. if FloatMode == false then
  3485. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3486. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.1)
  3487. RH.C0=clerp(RH.C0,cf(1,-1 - 0.25 * math.cos(sine / 8),-0.1 - 0.25 * math.cos(sine / 8))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 40 * math.cos(sine / 8))),.1)
  3488. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.25 * math.cos(sine / 8),-0.1 + 0.25 * math.cos(sine / 8))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 40 * math.cos(sine / 8))),.1)
  3489. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 8))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 16))),.1)
  3490. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 29.5)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 16))),.1)
  3491. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-5 + 2.5 * math.cos(sine / 25)),math.rad(-30),math.rad(10 + 2.5 * math.cos(sine / 25))),.1)
  3492. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-5 + 2.5 * math.cos(sine / 25)),math.rad(0),math.rad(-10 - 2.5 * math.cos(sine / 25))),.1)
  3493. elseif FloatMode == true then
  3494. sordweld.C0=clerp(sordweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3495. stafweld.C0=clerp(stafweld.C0,cf(1,0,1)*angles(math.rad(0),math.rad(50),math.rad(0)),.1)
  3496. PixelBlock(5,0.25,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,halocolor,0)
  3497. PixelBlock(5,0.25,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,halocolor,0)
  3498. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20 + 3 * math.cos(sine / 18))),.1)
  3499. LH.C0=clerp(LH.C0,cf(-1,-0.5 - 0.05 * math.cos(sine / 28),-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(20 + 5 * math.cos(sine / 24))),.1)
  3500. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(25 + 3 * math.cos(sine / 27.5)),math.rad(0),math.rad(0)),.1)
  3501. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3502. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(10 + 2.5 * math.cos(sine / 25)),math.rad(-30),math.rad(5 + 2.5 * math.cos(sine / 25))),.1)
  3503. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(-20 + 2.5 * math.cos(sine / 25)),math.rad(0),math.rad(-5 - 2.5 * math.cos(sine / 25))),.1)
  3504. end
  3505. end
  3506. elseif torvel>=42 and hitfloor~=nil then
  3507. Anim="Run"
  3508. if attack==false then
  3509. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  3510. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  3511. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  3512. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  3513. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 125 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  3514. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 125 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  3515. end
  3516. end
  3517. end
  3518. end--//====================================================\\--
  3519. --||               CREATED BY SHACKLUSTER
  3520. --\\====================================================//--
  3521.  
  3522. wait(0.2)
  3523.  
  3524. Player = game:GetService("Players").LocalPlayer
  3525. PlayerGui = Player.PlayerGui
  3526. Cam = workspace.CurrentCamera
  3527. Backpack = Player.Backpack
  3528. Character = Player.Character
  3529. Humanoid = Character.Humanoid
  3530. Mouse = Player:GetMouse()
  3531. RootPart = Character["HumanoidRootPart"]
  3532. Torso = Character["Torso"]
  3533. Head = Character["Head"]
  3534. RightArm = Character["Right Arm"]
  3535. LeftArm = Character["Left Arm"]
  3536. RightLeg = Character["Right Leg"]
  3537. LeftLeg = Character["Left Leg"]
  3538. RootJoint = RootPart["RootJoint"]
  3539. Neck = Torso["Neck"]
  3540. RightShoulder = Torso["Right Shoulder"]
  3541. LeftShoulder = Torso["Left Shoulder"]
  3542. RightHip = Torso["Right Hip"]
  3543. LeftHip = Torso["Left Hip"]
  3544. local sick = Instance.new("Sound",Torso)
  3545. sick.SoundId = "rbxassetid://534861083"
  3546. sick.Looped = true
  3547. sick.Pitch = 1
  3548. sick.Volume = 3
  3549. sick:Play()
  3550.  
  3551. IT = Instance.new
  3552. CF = CFrame.new
  3553. VT = Vector3.new
  3554. RAD = math.rad
  3555. C3 = Color3.new
  3556. UD2 = UDim2.new
  3557. BRICKC = BrickColor.new
  3558. ANGLES = CFrame.Angles
  3559. EULER = CFrame.fromEulerAnglesXYZ
  3560. COS = math.cos
  3561. ACOS = math.acos
  3562. SIN = math.sin
  3563. ASIN = math.asin
  3564. ABS = math.abs
  3565. MRANDOM = math.random
  3566. FLOOR = math.floor
  3567.  
  3568. local naeeym3 = IT("BillboardGui",Character)
  3569. naeeym3.AlwaysOnTop = true
  3570. naeeym3.Size = UDim2.new(5,35,2,15)
  3571. naeeym3.StudsOffset = Vector3.new(0,2.25,0)
  3572. naeeym3.MaxDistance = 75
  3573. naeeym3.Adornee = Character.Head
  3574. naeeym3.Name = "Name"
  3575. local tecks3 = IT("TextLabel",naeeym3)
  3576. tecks3.BackgroundTransparency = 1
  3577. tecks3.TextScaled = true
  3578. tecks3.BorderSizePixel = 0
  3579. tecks3.Text = "Fire master"
  3580. tecks3.Font = "Bodoni"
  3581. tecks3.TextSize = 30
  3582. tecks3.TextStrokeTransparency = 0.5
  3583. tecks3.TextColor3 = C3(0,0,0)
  3584. tecks3.TextStrokeColor3 = BRICKC"Really red".Color
  3585. tecks3.Size = UDim2.new(1,0,0.5,0)
  3586. tecks3.Parent = naeeym3
  3587.  
  3588. --//=================================\\
  3589. --||          USEFUL VALUES
  3590. --\\=================================//
  3591.  
  3592. Animation_Speed = 3
  3593. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  3594. local Speed = 12
  3595. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3596. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3597. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  3598. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  3599. local DAMAGEMULTIPLIER = 1
  3600. local ANIM = "Idle"
  3601. local ATTACK = false
  3602. local EQUIPPED = false
  3603. local HOLD = false
  3604. local COMBO = 1
  3605. local Rooted = false
  3606. local SINE = 0
  3607. local KEYHOLD = false
  3608. local CHANGE = 2 / Animation_Speed
  3609. local WALKINGANIM = false
  3610. local VALUE1 = false
  3611. local VALUE2 = false
  3612. local ROBLOXIDLEANIMATION = IT("Animation")
  3613. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  3614. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  3615. --ROBLOXIDLEANIMATION.Parent = Humanoid
  3616. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  3617. WEAPONGUI.Name = "Weapon GUI"
  3618. local Effects = IT("Folder", Character)
  3619. Effects.Name = "Effects"
  3620. local ANIMATOR = Humanoid.Animator
  3621. local ANIMATE = Character.Animate
  3622. local UNANCHOR = true
  3623. local WHITELIST = {}
  3624. local TAUNT = false
  3625. local OFFSET = 0
  3626. local FULL = false
  3627.  
  3628. --//=================================\\
  3629. --\\=================================//
  3630.  
  3631.  
  3632. --//=================================\\
  3633. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  3634. --\\=================================//
  3635.  
  3636. ArtificialHB = Instance.new("BindableEvent", script)
  3637. ArtificialHB.Name = "ArtificialHB"
  3638.  
  3639. script:WaitForChild("ArtificialHB")
  3640.  
  3641. frame = Frame_Speed
  3642. tf = 0
  3643. allowframeloss = false
  3644. tossremainder = false
  3645. lastframe = tick()
  3646. script.ArtificialHB:Fire()
  3647.  
  3648. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3649.     tf = tf + s
  3650.     if tf >= frame then
  3651.         if allowframeloss then
  3652.             script.ArtificialHB:Fire()
  3653.             lastframe = tick()
  3654.         else
  3655.             for i = 1, math.floor(tf / frame) do
  3656.                 script.ArtificialHB:Fire()
  3657.             end
  3658.         lastframe = tick()
  3659.         end
  3660.         if tossremainder then
  3661.             tf = 0
  3662.         else
  3663.             tf = tf - frame * math.floor(tf / frame)
  3664.         end
  3665.     end
  3666. end)
  3667.  
  3668. --//=================================\\
  3669. --\\=================================//
  3670.  
  3671. --//=================================\\
  3672. --||          SOME FUNCTIONS
  3673. --\\=================================//
  3674.  
  3675. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  3676.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  3677. end
  3678.  
  3679. function PositiveAngle(NUMBER)
  3680.     if NUMBER >= 0 then
  3681.         NUMBER = 0
  3682.     end
  3683.     return NUMBER
  3684. end
  3685.  
  3686. function NegativeAngle(NUMBER)
  3687.     if NUMBER <= 0 then
  3688.         NUMBER = 0
  3689.     end
  3690.     return NUMBER
  3691. end
  3692.  
  3693. function Swait(NUMBER)
  3694.     if NUMBER == 0 or NUMBER == nil then
  3695.         ArtificialHB.Event:wait()
  3696.     else
  3697.         for i = 1, NUMBER do
  3698.             ArtificialHB.Event:wait()
  3699.         end
  3700.     end
  3701. end
  3702.  
  3703. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  3704.     local NEWMESH = IT(MESH)
  3705.     if MESH == "SpecialMesh" then
  3706.         NEWMESH.MeshType = MESHTYPE
  3707.         if MESHID ~= "nil" and MESHID ~= "" then
  3708.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  3709.         end
  3710.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  3711.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  3712.         end
  3713.     end
  3714.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  3715.     NEWMESH.Scale = SCALE
  3716.     NEWMESH.Parent = PARENT
  3717.     return NEWMESH
  3718. end
  3719.  
  3720. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  3721.     local NEWPART = IT("Part")
  3722.     NEWPART.formFactor = FORMFACTOR
  3723.     NEWPART.Reflectance = REFLECTANCE
  3724.     NEWPART.Transparency = TRANSPARENCY
  3725.     NEWPART.CanCollide = false
  3726.     NEWPART.Locked = true
  3727.     NEWPART.Anchored = true
  3728.     if ANCHOR == false then
  3729.         NEWPART.Anchored = false
  3730.     end
  3731.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  3732.     NEWPART.Name = NAME
  3733.     NEWPART.Size = SIZE
  3734.     NEWPART.Position = Torso.Position
  3735.     NEWPART.Material = MATERIAL
  3736.     NEWPART:BreakJoints()
  3737.     NEWPART.Parent = PARENT
  3738.     return NEWPART
  3739. end
  3740.  
  3741.     local function weldBetween(a, b)
  3742.         local weldd = Instance.new("ManualWeld")
  3743.         weldd.Part0 = a
  3744.         weldd.Part1 = b
  3745.         weldd.C0 = CFrame.new()
  3746.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  3747.         weldd.Parent = a
  3748.         return weldd
  3749.     end
  3750.  
  3751.  
  3752. function QuaternionFromCFrame(cf)
  3753.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3754.     local trace = m00 + m11 + m22
  3755.     if trace > 0 then
  3756.         local s = math.sqrt(1 + trace)
  3757.         local recip = 0.5 / s
  3758.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  3759.     else
  3760.         local i = 0
  3761.         if m11 > m00 then
  3762.             i = 1
  3763.         end
  3764.         if m22 > (i == 0 and m00 or m11) then
  3765.             i = 2
  3766.         end
  3767.         if i == 0 then
  3768.             local s = math.sqrt(m00 - m11 - m22 + 1)
  3769.             local recip = 0.5 / s
  3770.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  3771.         elseif i == 1 then
  3772.             local s = math.sqrt(m11 - m22 - m00 + 1)
  3773.             local recip = 0.5 / s
  3774.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  3775.         elseif i == 2 then
  3776.             local s = math.sqrt(m22 - m00 - m11 + 1)
  3777.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  3778.         end
  3779.     end
  3780. end
  3781.  
  3782. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3783.     local xs, ys, zs = x + x, y + y, z + z
  3784.     local wx, wy, wz = w * xs, w * ys, w * zs
  3785.     local xx = x * xs
  3786.     local xy = x * ys
  3787.     local xz = x * zs
  3788.     local yy = y * ys
  3789.     local yz = y * zs
  3790.     local zz = z * zs
  3791.     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))
  3792. end
  3793.  
  3794. function QuaternionSlerp(a, b, t)
  3795.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  3796.     local startInterp, finishInterp;
  3797.     if cosTheta >= 0.0001 then
  3798.         if (1 - cosTheta) > 0.0001 then
  3799.             local theta = ACOS(cosTheta)
  3800.             local invSinTheta = 1 / SIN(theta)
  3801.             startInterp = SIN((1 - t) * theta) * invSinTheta
  3802.             finishInterp = SIN(t * theta) * invSinTheta
  3803.         else
  3804.             startInterp = 1 - t
  3805.             finishInterp = t
  3806.         end
  3807.     else
  3808.         if (1 + cosTheta) > 0.0001 then
  3809.             local theta = ACOS(-cosTheta)
  3810.             local invSinTheta = 1 / SIN(theta)
  3811.             startInterp = SIN((t - 1) * theta) * invSinTheta
  3812.             finishInterp = SIN(t * theta) * invSinTheta
  3813.         else
  3814.             startInterp = t - 1
  3815.             finishInterp = t
  3816.         end
  3817.     end
  3818.     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
  3819. end
  3820.  
  3821. function Clerp(a, b, t)
  3822.     local qa = {QuaternionFromCFrame(a)}
  3823.     local qb = {QuaternionFromCFrame(b)}
  3824.     local ax, ay, az = a.x, a.y, a.z
  3825.     local bx, by, bz = b.x, b.y, b.z
  3826.     local _t = 1 - t
  3827.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  3828. end
  3829.  
  3830. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  3831.     local frame = IT("Frame")
  3832.     frame.BackgroundTransparency = TRANSPARENCY
  3833.     frame.BorderSizePixel = BORDERSIZEPIXEL
  3834.     frame.Position = POSITION
  3835.     frame.Size = SIZE
  3836.     frame.BackgroundColor3 = COLOR
  3837.     frame.BorderColor3 = BORDERCOLOR
  3838.     frame.Name = NAME
  3839.     frame.Parent = PARENT
  3840.     return frame
  3841. end
  3842.  
  3843. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  3844.     local label = IT("TextLabel")
  3845.     label.BackgroundTransparency = 1
  3846.     label.Size = UD2(1, 0, 1, 0)
  3847.     label.Position = UD2(0, 0, 0, 0)
  3848.     label.TextColor3 = TEXTCOLOR
  3849.     label.TextStrokeTransparency = STROKETRANSPARENCY
  3850.     label.TextTransparency = TRANSPARENCY
  3851.     label.FontSize = TEXTFONTSIZE
  3852.     label.Font = TEXTFONT
  3853.     label.BorderSizePixel = BORDERSIZEPIXEL
  3854.     label.TextScaled = false
  3855.     label.Text = TEXT
  3856.     label.Name = NAME
  3857.     label.Parent = PARENT
  3858.     return label
  3859. end
  3860.  
  3861. function NoOutlines(PART)
  3862.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  3863. end
  3864.  
  3865. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  3866.     local NEWWELD = IT(TYPE)
  3867.     NEWWELD.Part0 = PART0
  3868.     NEWWELD.Part1 = PART1
  3869.     NEWWELD.C0 = C0
  3870.     NEWWELD.C1 = C1
  3871.     NEWWELD.Parent = PARENT
  3872.     return NEWWELD
  3873. end
  3874.  
  3875. local S = IT("Sound")
  3876. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  3877.     local NEWSOUND = nil
  3878.     coroutine.resume(coroutine.create(function()
  3879.         NEWSOUND = S:Clone()
  3880.         NEWSOUND.Parent = PARENT
  3881.         NEWSOUND.Volume = VOLUME
  3882.         NEWSOUND.Pitch = PITCH
  3883.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  3884.         NEWSOUND:play()
  3885.         if DOESLOOP == true then
  3886.             NEWSOUND.Looped = true
  3887.         else
  3888.             repeat wait(1) until NEWSOUND.Playing == false
  3889.             NEWSOUND:remove()
  3890.         end
  3891.     end))
  3892.     return NEWSOUND
  3893. end
  3894.  
  3895. function CFrameFromTopBack(at, top, back)
  3896.     local right = top:Cross(back)
  3897.     return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  3898. end
  3899.  
  3900. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3901. function WACKYEFFECT(Table)
  3902.     local TYPE = (Table.EffectType or "Sphere")
  3903.     local SIZE = (Table.Size or VT(1,1,1))
  3904.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  3905.     local TRANSPARENCY = (Table.Transparency or 0)
  3906.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  3907.     local CFRAME = (Table.CFrame or Torso.CFrame)
  3908.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  3909.     local ROTATION1 = (Table.RotationX or 0)
  3910.     local ROTATION2 = (Table.RotationY or 0)
  3911.     local ROTATION3 = (Table.RotationZ or 0)
  3912.     local MATERIAL = (Table.Material or "Neon")
  3913.     local COLOR = (Table.Color or C3(1,1,1))
  3914.     local TIME = (Table.Time or 45)
  3915.     local SOUNDID = (Table.SoundID or nil)
  3916.     local SOUNDPITCH = (Table.SoundPitch or nil)
  3917.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  3918.     coroutine.resume(coroutine.create(function()
  3919.         local PLAYSSOUND = false
  3920.         local SOUND = nil
  3921.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  3922.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  3923.             PLAYSSOUND = true
  3924.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  3925.         end
  3926.         EFFECT.Color = COLOR
  3927.         local MSH = nil
  3928.         if TYPE == "Sphere" then
  3929.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  3930.         elseif TYPE == "Block" then
  3931.             MSH = IT("BlockMesh",EFFECT)
  3932.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  3933.         elseif TYPE == "Wave" then
  3934.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  3935.         elseif TYPE == "Ring" then
  3936.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  3937.         elseif TYPE == "Slash" then
  3938.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3939.         elseif TYPE == "Round Slash" then
  3940.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3941.         elseif TYPE == "Swirl" then
  3942.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  3943.         elseif TYPE == "Skull" then
  3944.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  3945.         elseif TYPE == "Crystal" then
  3946.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  3947.         end
  3948.         if MSH ~= nil then
  3949.             local MOVESPEED = nil
  3950.             if MOVEDIRECTION ~= nil then
  3951.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  3952.             end
  3953.             local GROWTH = SIZE - ENDSIZE
  3954.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  3955.             if TYPE == "Block" then
  3956.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3957.             else
  3958.                 EFFECT.CFrame = CFRAME
  3959.             end
  3960.             for LOOP = 1, TIME+1 do
  3961.                 Swait()
  3962.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  3963.                 if TYPE == "Wave" then
  3964.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  3965.                 end
  3966.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  3967.                 if TYPE == "Block" then
  3968.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3969.                 else
  3970.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  3971.                 end
  3972.                 if MOVEDIRECTION ~= nil then
  3973.                     local ORI = EFFECT.Orientation
  3974.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  3975.                     EFFECT.Orientation = ORI
  3976.                 end
  3977.             end
  3978.             if PLAYSSOUND == false then
  3979.                 EFFECT:remove()
  3980.             else
  3981.                 SOUND.Stopped:Connect(function()
  3982.                     EFFECT:remove()
  3983.                 end)
  3984.             end
  3985.         else
  3986.             if PLAYSSOUND == false then
  3987.                 EFFECT:remove()
  3988.             else
  3989.                 repeat Swait() until SOUND.Playing == false
  3990.                 EFFECT:remove()
  3991.             end
  3992.         end
  3993.     end))
  3994. end
  3995.  
  3996. function MakeForm(PART,TYPE)
  3997.     if TYPE == "Cyl" then
  3998.         local MSH = IT("CylinderMesh",PART)
  3999.     elseif TYPE == "Ball" then
  4000.         local MSH = IT("SpecialMesh",PART)
  4001.         MSH.MeshType = "Sphere"
  4002.     elseif TYPE == "Wedge" then
  4003.         local MSH = IT("SpecialMesh",PART)
  4004.         MSH.MeshType = "Wedge"
  4005.     end
  4006. end
  4007.  
  4008. Debris = game:GetService("Debris")
  4009.  
  4010. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  4011.     local DIRECTION = CF(StartPos,EndPos).lookVector
  4012.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  4013. end
  4014.  
  4015. local EyeSizes={
  4016.     NumberSequenceKeypoint.new(0,1,0),
  4017.     NumberSequenceKeypoint.new(1,0,0)
  4018. }
  4019. local EyeTrans={
  4020.     NumberSequenceKeypoint.new(0,0.8,0),
  4021.     NumberSequenceKeypoint.new(1,1,0)
  4022. }
  4023. local PE=Instance.new("ParticleEmitter",nil)
  4024. PE.LightEmission=.8
  4025. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  4026. PE.Size=NumberSequence.new(EyeSizes)
  4027. PE.Transparency=NumberSequence.new(EyeTrans)
  4028. PE.Lifetime=NumberRange.new(0.35,1.5)
  4029. PE.Rotation=NumberRange.new(0,360)
  4030. PE.Rate=999
  4031. PE.VelocitySpread = 10000
  4032. PE.Acceleration = Vector3.new(0,0,0)
  4033. PE.Drag = 5
  4034. PE.Speed = NumberRange.new(0,0,0)
  4035. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  4036. PE.ZOffset = -0
  4037. PE.Name = "PE"
  4038. PE.Enabled = false
  4039.  
  4040. function particles(art)
  4041.     local PARTICLES = PE:Clone()
  4042.     PARTICLES.Parent = art
  4043. end
  4044.  
  4045. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  4046.     if FLOOR ~= nil then
  4047.         coroutine.resume(coroutine.create(function()
  4048.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  4049.             PART.CFrame = CF(POSITION)
  4050.             for i = 1, 45 do
  4051.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  4052.                 RingPiece.Material = FLOOR.Material
  4053.                 RingPiece.Color = FLOOR.Color
  4054.                 RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  4055.                 Debris:AddItem(RingPiece,SWAIT)
  4056.             end
  4057.             PART:remove()
  4058.         end))
  4059.     end
  4060. end
  4061.  
  4062. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  4063.     if FLOOR ~= nil then
  4064.         for i = 1, AMOUNT do
  4065.             local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  4066.             DEBREE.Material = FLOOR.Material
  4067.             DEBREE.Color = FLOOR.Color
  4068.             DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  4069.             DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  4070.             coroutine.resume(coroutine.create(function()
  4071.                 Swait(15)
  4072.                 DEBREE.Parent = workspace
  4073.                 DEBREE.CanCollide = true
  4074.                 Debris:AddItem(DEBREE,SWAIT)
  4075.             end))
  4076.         end
  4077.     end
  4078. end
  4079.  
  4080. --//=================================\\
  4081. --||         WEAPON CREATION
  4082. --\\=================================//
  4083.  
  4084. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  4085. PRT.Color = C3(0,0,0)
  4086. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  4087. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  4088. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  4089. PRT.Color = C3(0,0,0)
  4090. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  4091. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  4092. for i = 1, 16 do
  4093.     local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  4094.     FACE.Color = C3(0,0,0)
  4095.     Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  4096.     CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  4097. end
  4098. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  4099. MakeForm(EYE,"Ball")
  4100. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  4101. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  4102. MakeForm(EYE2,"Ball")
  4103. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  4104. local LASTPART = Head
  4105. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
  4106. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  4107. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "92544798", VT(0.025, 0.025, 0.02), VT(0,0,0))
  4108. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
  4109. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  4110. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "92544798", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  4111.  
  4112. local BODY = {}
  4113.  
  4114. for _, c in pairs(Character:GetDescendants()) do
  4115.     if c:IsA("BasePart") and c.Name ~= "Handle" then
  4116.         if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  4117.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  4118.         end
  4119.         table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  4120.     elseif c:IsA("JointInstance") then
  4121.         table.insert(BODY,{c,c.Parent,nil,nil,nil})
  4122.     end
  4123. end
  4124.  
  4125. for e = 1, #BODY do
  4126.     if BODY[e] ~= nil then
  4127.         local STUFF = BODY[e]
  4128.         local PART = STUFF[1]
  4129.         local PARENT = STUFF[2]
  4130.         local MATERIAL = STUFF[3]
  4131.         local COLOR = STUFF[4]
  4132.         local TRANSPARENCY = STUFF[5]
  4133.         if PART.ClassName == "Part" and PART ~= RootPart then
  4134.             PART.Material = MATERIAL
  4135.             PART.Color = COLOR
  4136.             PART.Transparency = TRANSPARENCY
  4137.         end
  4138.         PART.AncestryChanged:Connect(function()
  4139.             PART.Parent = PARENT
  4140.         end)
  4141.     end
  4142. end
  4143.  
  4144. function refit()
  4145.     Character.Parent = workspace
  4146.     for e = 1, #BODY do
  4147.         if BODY[e] ~= nil then
  4148.             local STUFF = BODY[e]
  4149.             local PART = STUFF[1]
  4150.             local PARENT = STUFF[2]
  4151.             local MATERIAL = STUFF[3]
  4152.             local COLOR = STUFF[4]
  4153.             local TRANSPARENCY = STUFF[5]
  4154.             if PART.ClassName == "Part" and PART ~= RootPart then
  4155.                 PART.Material = MATERIAL
  4156.                 PART.Color = COLOR
  4157.                 PART.Transparency = TRANSPARENCY
  4158.             end
  4159.             if PART.Parent ~= PARENT then
  4160.                 Humanoid:remove()
  4161.                 PART.Parent = PARENT
  4162.                 Humanoid = IT("Humanoid",Character)
  4163.             end
  4164.         end
  4165.     end
  4166. end
  4167.  
  4168. local SKILLTEXTCOLOR = C3(0,0,0)
  4169. local SKILLFONT = "Antique"
  4170. local SKILLTEXTSIZE = 7
  4171.  
  4172. Humanoid.Died:connect(function()
  4173.     refit()
  4174. end)
  4175.  
  4176. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  4177. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  4178. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  4179. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  4180. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  4181. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.05, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  4182. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.05, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  4183.  
  4184. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Magic Barrier", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  4185. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[N] Remove Barrier", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  4186. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Lava from above", SKILLTEXTCOLOR, 8, SKILLFONT, 0, 2, 1, "Text 3")
  4187. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Meteor Shower", SKILLTEXTCOLOR, 10, SKILLFONT, 0, 2, 1, "Text 4")
  4188. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] Teleport", SKILLTEXTCOLOR, 10, SKILLFONT, 0, 2, 1, "Text 5")
  4189. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[P] Burst of fire", SKILLTEXTCOLOR, 12, SKILLFONT, 0, 2, 1, "Text 6")
  4190. local SKILL6TEXT = CreateLabel(SKILL7FRAME, "[B] Lava Rain", SKILLTEXTCOLOR, 12, SKILLFONT, 0, 2, 1, "Text 7")
  4191.  
  4192.  
  4193. function Blink()
  4194.     coroutine.resume(coroutine.create(function()
  4195.         if EYE ~= nil then
  4196.             for i = 1, 5 do
  4197.                 Swait()
  4198.                 EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0)
  4199.                 EYE2.Mesh.Scale = EYE.Mesh.Scale
  4200.             end
  4201.             for i = 1, 7 do
  4202.                 Swait()
  4203.                 EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0)
  4204.                 EYE2.Mesh.Scale = EYE.Mesh.Scale
  4205.             end
  4206.             EYE.Mesh.Scale = VT(1,1,1)
  4207.             EYE2.Mesh.Scale = EYE.Mesh.Scale
  4208.         end
  4209.     end))
  4210. end
  4211.  
  4212. --//=================================\\
  4213. --||         DAMAGE FUNCTIONS
  4214. --\\=================================//
  4215.  
  4216. function StatLabel(CFRAME, TEXT, COLOR)
  4217.     local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4218.     STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  4219.     local BODYGYRO = IT("BodyGyro", STATPART)
  4220.     game:GetService("Debris"):AddItem(STATPART ,5)
  4221.     local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  4222.     BILLBOARDGUI.Adornee = STATPART
  4223.     BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  4224.     BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  4225.     BILLBOARDGUI.AlwaysOnTop = false
  4226.     local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  4227.     TEXTLABEL.BackgroundTransparency = 1
  4228.     TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  4229.     TEXTLABEL.Text = TEXT
  4230.     TEXTLABEL.Font = SKILLFONT
  4231.     TEXTLABEL.FontSize="Size42"
  4232.     TEXTLABEL.TextColor3 = COLOR
  4233.     TEXTLABEL.TextStrokeTransparency = 0
  4234.     TEXTLABEL.TextScaled = true
  4235.     TEXTLABEL.TextWrapped = true
  4236.     coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  4237.         for i = 1, 50 do
  4238.             Swait()
  4239.             STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  4240.             TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  4241.             TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  4242.         end
  4243.         THEPART.Parent = nil
  4244.     end),STATPART, TEXTLABEL)
  4245. end
  4246.  
  4247. --//=================================\\
  4248. --||            DAMAGING
  4249. --\\=================================//
  4250.  
  4251. function KillChildren(v)
  4252.     v:BreakJoints()
  4253.     for _, c in pairs(v:GetChildren()) do
  4254.         if c:IsA("BasePart") then
  4255.             if c.Transparency < 1 then
  4256.                 if c:FindFirstChildOfClass("Decal") then
  4257.                     c:FindFirstChildOfClass("Decal"):remove()
  4258.                 end
  4259.                 particles(c)
  4260.                 c.PE.Enabled = true
  4261.                 c.Parent = Effects
  4262.                 c.CanCollide = false
  4263.                 c.Material = "Neon"
  4264.                 c.Color = C3(1,0,0)
  4265.                 c.Transparency = 1
  4266.                 local grav = Instance.new("BodyPosition",c)
  4267.                 grav.P = 20000
  4268.                 grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4269.                 grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  4270.                 grav.Name = "GravityForce"
  4271.                 coroutine.resume(coroutine.create(function()
  4272.                     for i = 1, 20 do
  4273.                         Swait()
  4274.                         c.Transparency = c.Transparency + 1/20
  4275.                     end
  4276.                     c.PE.Enabled = false
  4277.                     Debris:AddItem(c,2)
  4278.                 end))
  4279.             end
  4280.         end
  4281.     end
  4282. end
  4283.  
  4284. function ApplyAoE(POSITION,RANGE)
  4285.     local CHILDREN = workspace:GetDescendants()
  4286.     for index, CHILD in pairs(CHILDREN) do
  4287.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  4288.             local LISTED = false
  4289.             for LIST = 1, #WHITELIST do
  4290.                 if WHITELIST[LIST] ~= nil then
  4291.                     if CHILD.Name == WHITELIST[LIST] then
  4292.                         LISTED = true
  4293.                     end
  4294.                 end
  4295.             end
  4296.             if LISTED == false then
  4297.                 local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4298.                 if HUM then
  4299.                     local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4300.                     if TORSO then
  4301.                         if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  4302.                             KillChildren(CHILD)
  4303.                         end
  4304.                     end
  4305.                 end
  4306.             end
  4307.         end
  4308.     end
  4309. end
  4310.  
  4311. --//=================================\\
  4312. --||    ATTACK FUNCTIONS AND STUFF
  4313. --\\=================================//
  4314.  
  4315. function Click()
  4316.     ATTACK = true
  4317.     Rooted = false
  4318.     local HIT = nil
  4319.     OFFSET = -45
  4320.     for i=0, 1, 0.1 / Animation_Speed do
  4321.         Swait()
  4322.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  4323.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4324.     end
  4325.     OFFSET = 45
  4326.     local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false)
  4327.     PUNCH.CanCollide = true
  4328.     CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
  4329.     TAUNT = true
  4330.     local TOUCH = PUNCH.Touched:Connect(function(hit)
  4331.         if hit.Parent:FindFirstChildOfClass("Humanoid") then
  4332.             HIT = hit.Parent
  4333.         end
  4334.     end)
  4335.     for i=0, 0.3, 0.1 / Animation_Speed do
  4336.         Swait()
  4337.         RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
  4338.         if HIT ~= nil then
  4339.             break
  4340.         end
  4341.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  4342.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4343.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4344.     end
  4345.     PUNCH:remove()
  4346.     TOUCH:disconnect()
  4347.     if HIT ~= nil then
  4348.         for _, c in pairs(HIT:GetChildren()) do
  4349.             if c:IsA("BasePart") then
  4350.                 c.Anchored = true
  4351.             end
  4352.         end
  4353.         Rooted = true
  4354.         CreateSound(649634100, Torso, 10, 0.8)
  4355.         CreateSound(1368573150, RightArm, 3, 1.5)
  4356.         for i=0, 0.6, 0.1 / Animation_Speed do
  4357.             Swait()
  4358.             WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4359.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed)
  4360.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4361.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4362.         end
  4363.         for _, c in pairs(HIT:GetChildren()) do
  4364.             if c:IsA("BasePart") then
  4365.                 c.Anchored = false
  4366.             end
  4367.         end
  4368.         KillChildren(HIT)
  4369.     end
  4370.     OFFSET = 0
  4371.     ATTACK = false
  4372.     Rooted = false
  4373.     TAUNT = false
  4374. end
  4375.  
  4376. function Whitelist()
  4377.     if Mouse.Target ~= nil then
  4378.         if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4379.             if game.Players:FindFirstChild(Mouse.Target.Parent.Name) then
  4380.                 table.insert(WHITELIST,Mouse.Target.Parent.Name)
  4381.             end
  4382.         end
  4383.     end
  4384. end
  4385.  
  4386. function Clear_Whitelist()
  4387.     if Mouse.Target ~= nil then
  4388.         if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4389.             for LIST = 1, #WHITELIST do
  4390.                 if WHITELIST[LIST] ~= nil then
  4391.                     if Mouse.Target.Parent.Name == WHITELIST[LIST] then
  4392.                         table.remove(WHITELIST,LIST)
  4393.                         for _, c in pairs(Cam:GetChildren()) do
  4394.                             if c.Name == Mouse.Target.Parent.Name then
  4395.                                 c:remove()
  4396.                             end
  4397.                         end
  4398.                     end
  4399.                 end
  4400.             end
  4401.         end
  4402.     end
  4403. end
  4404.  
  4405. function SpawnSmite(POS)
  4406.     local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  4407.     local EMITPOS = HITPOS
  4408.     if HITFLOOR ~= nil then
  4409.         if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  4410.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  4411.             EMITPOS = HITPOS
  4412.         elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  4413.             HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  4414.             EMITPOS = HITPOS
  4415.         end
  4416.     end
  4417.     if HITFLOOR ~= nil then
  4418.         ApplyAoE(EMITPOS,10)
  4419.         WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  4420.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4421.         WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4422.         for i = 1, 5 do
  4423.             local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  4424.             WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  4425.         end
  4426.     end
  4427. end
  4428.  
  4429. function Smite_Shower()
  4430.     ATTACK = true
  4431.     Rooted = false
  4432.     CreateSound(1368573150, RightArm, 3, 0.8)
  4433.     CreateSound(649634100, Torso, 10, 0.8)
  4434.     for i=0, 1.2, 0.1 / Animation_Speed do
  4435.         Swait()
  4436.         WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4437.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4438.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  4439.     end
  4440.     local POS = Mouse.Hit.p
  4441.     CreateSound(69935389, Effects, 3, 1)
  4442.     coroutine.resume(coroutine.create(function()
  4443.         for i = 1, 35 do
  4444.             wait(MRANDOM(5,150)/100)
  4445.             SpawnSmite(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  4446.         end
  4447.     end))
  4448.     ATTACK = false
  4449.     Rooted = false
  4450. end
  4451.  
  4452. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  4453.     coroutine.resume(coroutine.create(function()
  4454.         local METEOR = IT("Model",Effects)
  4455.         METEOR.Name = "Meteorite"
  4456.         local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  4457.         METEOR.PrimaryPart = CENTER
  4458.         local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  4459.         PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4460.         for i = 1, 15 do
  4461.             local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  4462.             FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4463.         end
  4464.         if ISDEBREE ~= true then
  4465.             METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  4466.         else
  4467.             METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  4468.         end
  4469.         local IMPACT = false
  4470.         CreateSound(463593339, CENTER, 10, 0.6)
  4471.         if SIZE >= 3.5 then
  4472.             for i = 1, MRANDOM(3,7) do
  4473.                 SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  4474.             end
  4475.         end
  4476.         for i = 1, 200 do
  4477.             Swait()
  4478.             local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  4479.             if HITFLOOR == nil then
  4480.                 local ORI = CENTER.Orientation
  4481.                 METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  4482.             else
  4483.                 if HITFLOOR.Anchored == true then
  4484.                     CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  4485.                     CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  4486.                 end
  4487.                 IMPACT = true
  4488.                 break
  4489.             end
  4490.         end
  4491.         if IMPACT == true then
  4492.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  4493.             WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  4494.             WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  4495.             ApplyAoE(CENTER.Position,30*SIZE)
  4496.         end
  4497.         METEOR:remove()
  4498.     end))
  4499. end
  4500.  
  4501. function Smite()
  4502.     ATTACK = true
  4503.     Rooted = false
  4504.     CreateSound(1368573150, RightArm, 3, 1.5)
  4505.     for i=0, 0.6, 0.1 / Animation_Speed do
  4506.         Swait()
  4507.         WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4508.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4509.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  4510.     end
  4511.     local POWER = 0
  4512.     repeat
  4513.         Swait()
  4514.         WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4515.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4516.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  4517.         POWER = POWER + 0.5
  4518.         if POWER >= 85 then
  4519.             POWER = 85
  4520.         end
  4521.     until KEYHOLD == false
  4522.     if POWER < 0.6 then
  4523.         SpawnSmite(Mouse.Hit.p)
  4524.     else
  4525.         if POWER < 15 then
  4526.             POWER = 15
  4527.         end
  4528.         SpawnMeteor(Mouse.Hit.p,POWER/15)
  4529.     end
  4530.     ATTACK = false
  4531.     Rooted = false
  4532. end
  4533.  
  4534. function Disable()
  4535.     local target = nil
  4536.     local targettorso = nil
  4537.     if Mouse.Target ~= nil then
  4538.         if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4539.             target = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4540.             targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  4541.         end
  4542.     end
  4543.     if target ~= nil then
  4544.         VALUE1 = true
  4545.         targettorso.Anchored = true
  4546.         CreateSound("191456748", SCREEN, 10, 1, false)
  4547.         local GYRO = IT("BodyGyro",RootPart)
  4548.         GYRO.D = 100
  4549.         GYRO.P = 2000
  4550.         GYRO.MaxTorque = VT(0,999999999999999999,0)
  4551.         GYRO.cframe = CF(RootPart.Position,targettorso.Position)
  4552.         wait(1)
  4553.         WACKYEFFECT({Time = 75, EffectType = "Ring", Size = VT(0.01,0.01,0.01), Size2 = VT(5,5,0.01), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 314970790, SoundPitch = 1, SoundVolume = 3})
  4554.         GYRO:remove()
  4555.         targettorso.CFrame = CF(targettorso.Position,RootPart.Position)
  4556.         targettorso.Anchored = false
  4557.         for _, c in pairs(target.Parent:GetChildren()) do
  4558.             if c.ClassName == "LocalScript" then
  4559.                 local TOCHUCK = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(1,1,1))
  4560.                 TOCHUCK.CFrame = targettorso.CFrame
  4561.                 local GUI = Instance.new("BillboardGui",TOCHUCK)
  4562.                 GUI.Size = UDim2.new(1,0,1,0)
  4563.                 GUI.Adornee = TOCHUCK
  4564.                 local GUI2 = IT("ImageLabel",GUI)
  4565.                 GUI2.BackgroundTransparency = 1
  4566.                 GUI2.BorderSizePixel = 0
  4567.                 GUI2.Size = UDim2.new(1,0,1,0)
  4568.                 GUI2.SizeConstraint = "RelativeYY"
  4569.                 GUI2.Image = "http://www.roblox.com/asset/?id=99340858"
  4570.                 c.Disabled = true
  4571.                 c.Parent = TOCHUCK
  4572.                 coroutine.resume(coroutine.create(function()
  4573.                     wait()
  4574.                     TOCHUCK.Anchored = false
  4575.                     TOCHUCK.CanCollide = true
  4576.                 end))
  4577.                 coroutine.resume(coroutine.create(function()
  4578.                     wait(MRANDOM(3,6))
  4579.                     local DISTANCE = 10
  4580.                     TOCHUCK.Anchored = true
  4581.                     TOCHUCK.CanCollide = false
  4582.                     repeat
  4583.                         Swait()
  4584.                         TOCHUCK.CFrame = CF(TOCHUCK.Position,RootPart.Position)*CF(0,0,-1)
  4585.                         DISTANCE = (TOCHUCK.Position - RootPart.Position).Magnitude
  4586.                     until DISTANCE < 2
  4587.                     TOCHUCK:remove()
  4588.                 end))
  4589.             elseif c.ClassName == "Script" then
  4590.                 local TOCHUCK = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(1,1,1))
  4591.                 TOCHUCK.CFrame = targettorso.CFrame
  4592.                 local GUI = Instance.new("BillboardGui",TOCHUCK)
  4593.                 GUI.Size = UDim2.new(1,0,1,0)
  4594.                 GUI.Adornee = TOCHUCK
  4595.                 local GUI2 = IT("ImageLabel",GUI)
  4596.                 GUI2.BackgroundTransparency = 1
  4597.                 GUI2.BorderSizePixel = 0
  4598.                 GUI2.Size = UDim2.new(1,0,1,0)
  4599.                 GUI2.SizeConstraint = "RelativeYY"
  4600.                 GUI2.Image = "http://www.roblox.com/asset/?id=99340890"
  4601.                 c.Disabled = true
  4602.                 c.Parent = TOCHUCK
  4603.                 coroutine.resume(coroutine.create(function()
  4604.                     wait()
  4605.                     TOCHUCK.Anchored = false
  4606.                     TOCHUCK.CanCollide = true
  4607.                 end))
  4608.                 coroutine.resume(coroutine.create(function()
  4609.                     wait(MRANDOM(3,6))
  4610.                     local DISTANCE = 10
  4611.                     TOCHUCK.Anchored = true
  4612.                     TOCHUCK.CanCollide = false
  4613.                     repeat
  4614.                         Swait()
  4615.                         TOCHUCK.CFrame = CF(TOCHUCK.Position,RootPart.Position)*CF(0,0,-1)
  4616.                         DISTANCE = (TOCHUCK.Position - RootPart.Position).Magnitude
  4617.                     until DISTANCE < 1.2
  4618.                     TOCHUCK:remove()
  4619.                 end))
  4620.             end
  4621.         end
  4622.         target.PlatformStand = true
  4623.         CreateSound("330010786", targettorso, 10, 1, false)
  4624.         local bv = Instance.new("BodyVelocity")
  4625.         bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4626.         bv.velocity = CF(VT(RootPart.Position.X,targettorso.Position.Y-10,RootPart.Position.Z),targettorso.Position).lookVector*350
  4627.         bv.Parent = targettorso
  4628.         Debris:AddItem(bv,0.05)
  4629.         VALUE1 = false
  4630.     end
  4631. end
  4632.  
  4633. function Meteor_Shower()
  4634.     ATTACK = true
  4635.     Rooted = false
  4636.     CreateSound(1368573150, RightArm, 3, 0.8)
  4637.     CreateSound(649634100, Torso, 10, 0.8)
  4638.     for i=0, 1.2, 0.1 / Animation_Speed do
  4639.         Swait()
  4640.         WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4641.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4642.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  4643.     end
  4644.     local POS = Mouse.Hit.p
  4645.     CreateSound(463593339, Effects, 3, 1)
  4646.     coroutine.resume(coroutine.create(function()
  4647.         for i = 1, 35 do
  4648.             wait(MRANDOM(5,150)/100)
  4649.             SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  4650.         end
  4651.     end))
  4652.     ATTACK = false
  4653.     Rooted = false
  4654. end
  4655.  
  4656. function Taunt()
  4657.     ATTACK = true
  4658.     Rooted = false
  4659.     TAUNT = true
  4660.     for i=0, 0.1, 0.1 / Animation_Speed do
  4661.         Swait()
  4662.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4663.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4664.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4665.     end
  4666.     for i=0, 3, 0.1 / Animation_Speed do
  4667.         Swait()
  4668.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4669.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4670.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4671.     end
  4672.     CreateSound(363808674, Torso, 10, 1.3)
  4673.     for i=0, 1, 0.1 / Animation_Speed do
  4674.         Swait()
  4675.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  4676.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  4677.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  4678.     end
  4679.     WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4680.     CreateSound(649634100, Torso, 10, 0.8)
  4681.     for i=0, 0.01, 0.1 / Animation_Speed do
  4682.         Swait()
  4683.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  4684.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  4685.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  4686.     end
  4687.     ATTACK = false
  4688.     Rooted = false
  4689.     TAUNT = false
  4690. end
  4691.  
  4692. function Teleport()
  4693.     ATTACK = true
  4694.     Rooted = false
  4695.     for i=0, 0.5, 0.1 / Animation_Speed do
  4696.         Swait()
  4697.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4698.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  4699.     end
  4700.     for e = 1, #BODY do
  4701.         if BODY[e] ~= nil then
  4702.             local STUFF = BODY[e]
  4703.             local PART = STUFF[1]
  4704.             if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  4705.                 local PRT = PART:Clone()
  4706.                 PRT.Anchored = true
  4707.                 PRT.CanCollide = false
  4708.                 PRT.Material = "Neon"
  4709.                 PRT.Color = C3(1,0,0)
  4710.                 PRT.Name = "WarpEffect"
  4711.                 PRT.Parent = Effects
  4712.                 PRT.CFrame = PART.CFrame
  4713.                 PRT:BreakJoints()
  4714.                 if PRT:FindFirstChildOfClass("Sound") then
  4715.                     PRT:FindFirstChildOfClass("Sound"):remove()
  4716.                 end
  4717.                 if PRT:FindFirstChildOfClass("Decal") then
  4718.                     PRT:FindFirstChildOfClass("Decal"):remove()
  4719.                 end
  4720.                 coroutine.resume(coroutine.create(function()
  4721.                     for i = 1, 100 do
  4722.                         Swait()
  4723.                         PRT.Transparency = PRT.Transparency + 1/100
  4724.                     end
  4725.                     PRT:remove()
  4726.                 end))
  4727.             end
  4728.         end
  4729.     end
  4730.     CreateSound(217767125, Torso, 10, 1)
  4731.     local POS = RootPart.Orientation
  4732.     RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  4733.     RootPart.Orientation = POS
  4734.     RootJoint.Parent = RootPart
  4735.     for i=0, 0.5, 0.1 / Animation_Speed do
  4736.         Swait()
  4737.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4738.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  4739.     end
  4740.     for i=0, 0.1, 0.1 / Animation_Speed do
  4741.         Swait()
  4742.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  4743.     end
  4744.     ATTACK = false
  4745.     Rooted = false
  4746. end
  4747.  
  4748. function Equivalent_Pain()
  4749.     local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  4750.         if HITFLOOR then
  4751.         ATTACK = true
  4752.         Rooted = true
  4753.         FULL = true
  4754.         local GYRO = IT("BodyGyro",RootPart)
  4755.         GYRO.D = 25
  4756.         GYRO.P = 20000
  4757.         GYRO.MaxTorque = VT(0,math.huge,0)
  4758.         for i=0, 0.3, 0.1 / Animation_Speed do
  4759.             GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  4760.             Swait()
  4761.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 1 / Animation_Speed)
  4762.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4763.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4764.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4765.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-35)), 1 / Animation_Speed)
  4766.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(5)), 1 / Animation_Speed)
  4767.         end
  4768.         GYRO:remove()
  4769.         CreateSound(12222200, RightArm, 10, 1)
  4770.         for i=0, 0.4, 0.1 / Animation_Speed do
  4771.             Swait()
  4772.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  4773.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4774.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4775.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4776.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  4777.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  4778.         end
  4779.         CreateSound(289842971, RightArm, 10, 1)
  4780.         coroutine.resume(coroutine.create(function()
  4781.             local HIT,POS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(Mouse.Hit.p+VT(0,1,0), Mouse.Hit.p-VT(0,1,0))).lookVector, 45, Character)
  4782.             local ECHO = POS
  4783.             if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  4784.                 HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  4785.                 ECHO = POS
  4786.             elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  4787.                 HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  4788.                 ECHO = POS
  4789.             end
  4790.             if ECHO.Y == HITPOS.Y then
  4791.                 local DISTANCE = (HITPOS - ECHO).Magnitude/3
  4792.                 local CFRAME = CF(HITPOS,ECHO)
  4793.                 local RANGE = math.ceil(DISTANCE)
  4794.                 for i = 1, RANGE-1 do
  4795.                     Swait(3)
  4796.                     local A = CFRAME*CF(0,0,-i*3)
  4797.                     ApplyAoE(A.p,4)
  4798.                     CreateFlyingDebree(HITFLOOR,A,2,VT(2,2,2),2,65)
  4799.                 end
  4800.                 local SIZE = 3
  4801.                 local POS = CFRAME*CF(0,0,-RANGE*3).p
  4802.                 WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(55,0,55)*SIZE, Size2 = VT(55,15,55)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 0.8, SoundVolume = 10})
  4803.                 WACKYEFFECT({EffectType = "Sphere", Size = VT(10,250,10)*SIZE, Size2 = VT(20,1000,20)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  4804.                 WACKYEFFECT({EffectType = "Sphere", Size = VT(30,150,30)*SIZE, Size2 = VT(50,300,50)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  4805.                 for i = 1, 9 do
  4806.                     WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  4807.                 end
  4808.                 for i = 1, 9 do
  4809.                     WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  4810.                 end
  4811.                 ApplyAoE(POS,30*SIZE)
  4812.                 CreateDebreeRing(HITFLOOR,POS,30*SIZE,VT(8,8,8)*SIZE,5)
  4813.                 CreateDebreeRing(HITFLOOR,POS,50*SIZE,VT(2,2,2)*SIZE,5)
  4814.             end
  4815.         end))
  4816.         for i=0, 0.6, 0.1 / Animation_Speed do
  4817.             Swait()
  4818.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  4819.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4820.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4821.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4822.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  4823.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  4824.         end
  4825.         FULL = false
  4826.         ATTACK = false
  4827.         Rooted = false
  4828.     end
  4829. end
  4830.  
  4831. --//=================================\\
  4832. --||      ASSIGN THINGS TO KEYS
  4833. --\\=================================//
  4834.  
  4835. function MouseDown(Mouse)
  4836.     if ATTACK == false then
  4837.         Click()
  4838.     end
  4839. end
  4840.  
  4841. function MouseUp(Mouse)
  4842. HOLD = false
  4843. end
  4844.  
  4845. function KeyDown(Key)
  4846.     if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  4847.         KEYHOLD = true
  4848.         if Key == "z" then
  4849.             Whitelist()
  4850.         end
  4851.    
  4852.         if Key == "n" then
  4853.             Clear_Whitelist()
  4854.         end
  4855.    
  4856.         if Key == "c" then
  4857.             Smite()
  4858.         end
  4859.    
  4860.         if Key == "x" then
  4861.             Meteor_Shower()
  4862.         end
  4863.    
  4864.         if Key == "t" then
  4865.             Taunt()
  4866.         end
  4867.  
  4868.         if Key == "q" then
  4869.             Teleport()
  4870.         end
  4871.  
  4872.         if Key == "b" then
  4873.             Smite_Shower()
  4874.         end
  4875.  
  4876.         if Key == "p" then
  4877.             Equivalent_Pain()
  4878.         end
  4879.     end
  4880. end
  4881.  
  4882. function KeyUp(Key)
  4883.     if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  4884.         KEYHOLD = false
  4885.     end
  4886. end
  4887.  
  4888.     Mouse.Button1Down:connect(function(NEWKEY)
  4889.         MouseDown(NEWKEY)
  4890.     end)
  4891.     Mouse.Button1Up:connect(function(NEWKEY)
  4892.         MouseUp(NEWKEY)
  4893.     end)
  4894.     Mouse.KeyDown:connect(function(NEWKEY)
  4895.         KeyDown(NEWKEY)
  4896.     end)
  4897.     Mouse.KeyUp:connect(function(NEWKEY)
  4898.         KeyUp(NEWKEY)
  4899.     end)
  4900.  
  4901. --//=================================\\
  4902. --\\=================================//
  4903.  
  4904.  
  4905. function unanchor()
  4906.     if UNANCHOR == true then
  4907.         g = Character:GetChildren()
  4908.         for i = 1, #g do
  4909.             if g[i].ClassName == "Part" then
  4910.                 g[i].Anchored = false
  4911.             end
  4912.         end
  4913.     end
  4914. end
  4915.  
  4916.  
  4917. --//=================================\\
  4918. --||    WRAP THE WHOLE SCRIPT UP
  4919. --\\=================================//
  4920.  
  4921. Humanoid.Changed:connect(function(Jump)
  4922.     if Jump == "Jump" and (Disable_Jump == true) then
  4923.         Humanoid.Jump = false
  4924.     end
  4925. end)
  4926.  
  4927. local BLINKLOOP = 0
  4928. script.Parent = WEAPONGUI
  4929. ANIMATE.Parent = nil
  4930.  
  4931. while true do
  4932.     Swait()
  4933.     if Humanoid then
  4934.         local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  4935.         IDLEANIMATION:Play()
  4936.     end
  4937.     SINE = SINE + CHANGE*2
  4938.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4939.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4940.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  4941.     local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  4942.     HairWeld1.C1 = Clerp(HairWeld1.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 1.5 * SIN(SINE / 12) - 2.5 * COS(SINE / 12)), RAD(4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4943.     HairWeld2.C1 = Clerp(HairWeld2.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 - 1.5 * SIN(SINE / 12) + 2.5 * COS(SINE / 12)), RAD(-4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4944.     HoodWeld.C1 = Clerp(HoodWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 12) - 1.75 * COS(SINE / 12)), RAD(2.75 * SIN(SINE / 12))), 1 / Animation_Speed)
  4945.     if ANIM == "Walk" and TORSOVELOCITY > 1 and FULL == false then
  4946.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4947.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4948.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  4949.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  4950.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or FULL == true then
  4951.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4952.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4953.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4954.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4955.     end
  4956.     if FULL == false then
  4957.         if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  4958.             ANIM = "Jump"
  4959.             if ATTACK == false then
  4960.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  4961.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-15), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4962.             end
  4963.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4964.             if TAUNT == false then
  4965.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4966.             end
  4967.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  4968.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  4969.         elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4970.             ANIM = "Fall"
  4971.             if ATTACK == false then
  4972.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4973.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4974.             end
  4975.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(OFFSET)), 0.2 / Animation_Speed)
  4976.             if TAUNT == false then
  4977.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4978.             end
  4979.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  4980.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  4981.         elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4982.             ANIM = "Idle"
  4983.             if ATTACK == false then
  4984.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4985.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4986.             end
  4987.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed)
  4988.             if TAUNT == false then
  4989.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4990.             end
  4991.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  4992.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  4993.         elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  4994.             ANIM = "Walk"
  4995.             if ATTACK == false then
  4996.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(5), RAD(0)), 0.15 / Animation_Speed)
  4997.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4998.             end
  4999.             if TAUNT == false then
  5000.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5001.             end
  5002.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed)
  5003.             RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  5004.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  5005.         end
  5006.     end
  5007.     unanchor()
  5008.     Humanoid.MaxHealth = "inf"
  5009.     Humanoid.Health = "inf"
  5010.     if Rooted == false then
  5011.         Disable_Jump = false
  5012.         Humanoid.WalkSpeed = Speed
  5013.     elseif Rooted == true then
  5014.         Disable_Jump = true
  5015.         Humanoid.WalkSpeed = 0
  5016.     end
  5017.     sick.Volume = 2
  5018.     sick.Pitch = 1
  5019.     sick.Playing = true
  5020.     sick.Parent = Torso
  5021.     Humanoid.Name = MRANDOM(100000000,999999999)
  5022.     Humanoid.PlatformStand = false
  5023.     for _, c in pairs(Cam:GetChildren()) do
  5024.         if game.Players:FindFirstChild(c.Name) == nil and c.ClassName == "BillboardGui" then
  5025.             c:remove()
  5026.         end
  5027.     end
  5028.     for LIST = 1, #WHITELIST do
  5029.         if WHITELIST[LIST] ~= nil then
  5030.             local CHARACTER = workspace:FindFirstChild(WHITELIST[LIST])
  5031.             if CHARACTER then
  5032.                 if Cam:FindFirstChild(WHITELIST[LIST]) == nil then
  5033.                     local TORSO = CHARACTER:FindFirstChild("Torso") or CHARACTER:FindFirstChild("UpperTorso")
  5034.                     if TORSO then
  5035.                         CreateSound(201858045, Cam, 3, 1)  
  5036.                         local GUI = Instance.new("BillboardGui",Cam)
  5037.                         GUI.Name = WHITELIST[LIST]
  5038.                         GUI.Size = UDim2.new(5,0,5,0)
  5039.                         GUI.Adornee = TORSO
  5040.                         local GUI2 = IT("ImageLabel",GUI)
  5041.                         GUI2.BackgroundTransparency = 1
  5042.                         GUI2.BorderSizePixel = 0
  5043.                         GUI2.ImageTransparency = 1
  5044.                         GUI2.Size = UDim2.new(1,0,1,0)
  5045.                         GUI2.SizeConstraint = "RelativeYY"
  5046.                         GUI.AlwaysOnTop = true
  5047.                         GUI2.Image = "http://www.roblox.com/asset/?id=142164463"
  5048.                     end
  5049.                 else
  5050.                     local GUI = Cam:FindFirstChild(WHITELIST[LIST])
  5051.                     if GUI.ImageLabel.ImageTransparency <= 1 then
  5052.                         GUI.ImageLabel.ImageTransparency = GUI.ImageLabel.ImageTransparency - 0.03
  5053.                     end
  5054.                     local TORSO = CHARACTER:FindFirstChild("Torso") or CHARACTER:FindFirstChild("UpperTorso")
  5055.                     if TORSO then
  5056.                         GUI.Adornee = TORSO
  5057.                     end
  5058.                 end
  5059.             else
  5060.                 if Cam:FindFirstChild(WHITELIST[LIST]) then
  5061.                     Cam:FindFirstChild(WHITELIST[LIST]):remove()
  5062.                 end
  5063.             end
  5064.         else
  5065.             if Cam:FindFirstChild(WHITELIST[LIST]) then
  5066.                 Cam:FindFirstChild(WHITELIST[LIST]):remove()
  5067.             end
  5068.             table.remove(WHITELIST,LIST)
  5069.         end
  5070.     end
  5071.     if Character:FindFirstChildOfClass("Accessory") then
  5072.         Character:FindFirstChildOfClass("Accessory"):remove()
  5073.     elseif Character:FindFirstChildOfClass("Hat") then
  5074.         Character:FindFirstChildOfClass("Hat"):remove()
  5075.     end
  5076.     if Head:FindFirstChild("face") then
  5077.         Head.face.Texture = "rbxassetid://403870689"
  5078.     end
  5079.     BLINKLOOP = BLINKLOOP + 1
  5080.     if BLINKLOOP >=650 then
  5081.         BLINKLOOP = 0
  5082.         Blink()
  5083.     end
  5084.     Humanoid.DisplayDistanceType = "None"
  5085.     Humanoid.PlatformStand = false
  5086.     refit()
  5087.     for _, c in pairs(Torso:GetChildren()) do
  5088.         if c:IsA("JointInstance") or c.ClassName == "Sound" then
  5089.         else
  5090.             c:remove()
  5091.         end
  5092.     end
  5093. end
  5094.  
  5095. --//=================================\\
  5096. --\\=================================//
  5097.  
  5098.  
  5099.  
  5100.  
  5101.  
  5102. --//====================================================\\--
  5103. --||                     END OF SCRIPT
  5104. --\\====================================================//--
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top