Advertisement
Christoffer07700Extr

adwqe

Aug 13th, 2019
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.34 KB | None | 0 0
  1. -------------------||
  2. --------------------\\
  3. --||||||||||]]]]]]]]]\\
  4. ---------------------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  5. --EDIT BY InfiniteOneWithdank NAME OF SCRIPT: VOID SPAWN CREATOR OF THE VOID IN OTHER WORDS ANYONE WHO APPOSE THY IS DEAD|]]>>
  6. ---------------------/////////////////////////////////////////////////////////////////////////////////////////////////////////
  7. --||||||||||]]]]]]]]]//
  8. --------------------//
  9. -------------------||
  10.  
  11.  
  12. print("Edit By InfiniteOneWithdank, Shackluster/PityPolygon Made The Original Base Of This Script")
  13.  
  14. wait(0.2)
  15. Player = game:GetService("Players").LocalPlayer
  16. PlayerGui = Player.PlayerGui
  17. Cam = workspace.CurrentCamera
  18. Mouse = Player:GetMouse()
  19. Backpack = Player.Backpack
  20. Character = Player.Character
  21. Humanoid = Character.Humanoid
  22. RootPart = Character.HumanoidRootPart
  23. Torso = Character.Torso
  24. Head = Character.Head
  25. RightArm = Character["Right Arm"]
  26. LeftArm = Character["Left Arm"]
  27. RightLeg = Character["Right Leg"]
  28. LeftLeg = Character["Left Leg"]
  29. RootJoint = RootPart.RootJoint
  30. Neck = Torso.Neck
  31. RightShoulder = Torso["Right Shoulder"]
  32. LeftShoulder = Torso["Left Shoulder"]
  33. RightHip = Torso["Right Hip"]
  34. LeftHip = Torso["Left Hip"]
  35. local p = game:GetService("Players").LocalPlayer
  36. local plr = game:GetService("Players").LocalPlayer
  37. local player = game:GetService("Players").LocalPlayer
  38. local char = p.Character
  39. local larm = char:WaitForChild("Left Arm")
  40. local rarm = char:WaitForChild("Right Arm")
  41. local lleg = char:WaitForChild("Left Leg")
  42. local rleg = char:WaitForChild("Right Leg")
  43. local hed = char:WaitForChild("Head")
  44. local torso = char:WaitForChild("Torso")
  45. local root = char:WaitForChild("HumanoidRootPart")
  46. local hum = char:FindFirstChildOfClass("Humanoid")
  47. local debris = game:GetService("Debris")
  48. local run = game:GetService("RunService")
  49. local rs = run.RenderStepped
  50. local cam = workspace.CurrentCamera
  51. local DAMAGEMULTIPLIER = 1
  52.  
  53. IT = Instance.new
  54. CF = CFrame.new
  55. VT = Vector3.new
  56. RAD = math.rad
  57. C3 = Color3.new
  58. UD2 = UDim2.new
  59. BRICKC = BrickColor.new
  60. ANGLES = CFrame.Angles
  61. EULER = CFrame.fromEulerAnglesXYZ
  62. COS = math.cos
  63. ACOS = math.acos
  64. SIN = math.sin
  65. ASIN = math.asin
  66. ABS = math.abs
  67. MRANDOM = math.random
  68. FLOOR = math.floor
  69.  
  70. -----------------------------------
  71. --||///////__Sp_a_wn__\\\\\\\\||--
  72. --><Values?
  73. Animation_Speed = 1.5
  74. local FORCERESET = false
  75. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  76. local SIZE = 1.4
  77. local Speed = 16
  78. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  79. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  80. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  81. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  82. local DAMAGEMULTIPLIER = 1
  83. local ANIM = "Idle"
  84. local ATTACK = false
  85. local EQUIPPED = false
  86. local HOLD = false
  87. local COMBO = 1
  88. local Rooted = false
  89. local SINE = 0
  90. local KEYHOLD = false
  91. local CHANGE = 2 / Animation_Speed
  92. local WALKINGANIM = false
  93. local VALUE1 = false
  94. local VALUE2 = false
  95. local ROBLOXIDLEANIMATION = IT("Animation")
  96. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  97. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  98. --ROBLOXIDLEANIMATION.Parent = Humanoid
  99. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  100. WEAPONGUI.Name = "Weapon GUI"
  101. local Effects = IT("Folder", Character)
  102. Effects.Name = "Effects"
  103. local ANIMATOR = Humanoid.Animator
  104. local ANIMATE = Character.Animate
  105. local UNANCHOR = true
  106. local Weapon = IT("Model")
  107. Weapon.Name = "Adds"
  108. local WHITELIST = {}
  109. local HASBEENBLOCKED = false
  110. local CRITCHANCENUMBER = 0
  111. Player_Size = 1
  112. local TT = Instance.new("Part")
  113. TT.Parent = Weapon
  114. TT.Transparency = 1
  115. TT.Size = Vector3.new(1, 1, 1)
  116. TT.CFrame = char.Torso.CFrame
  117. TT.CanCollide = false
  118. TT.Color = Color3.new(150,0,150)
  119. TT.TopSurface = "Smooth"
  120. TT.BottomSurface = "Smooth"
  121.  
  122. local sick = IT("Sound",RootPart)
  123.  
  124. --><2nd Values
  125.  
  126. Enable_Stats = false --Enables or disables stats.
  127. Put_Stats_In_Character = false --Places stats in Character.
  128.  
  129. if Character:FindFirstChild("Stats") ~= nil then
  130. Character:FindFirstChild("Stats").Parent = nil
  131. end
  132.  
  133. local Stats = IT("Folder", nil)
  134. Stats.Name = "Stats"
  135. local ChangeStat = IT("Folder", Stats)
  136. ChangeStat.Name = "ChangeStat"
  137. local Defense = IT("NumberValue", Stats)
  138. Defense.Name = "Defense"
  139. Defense.Value = 1
  140. local Movement = IT("NumberValue", Stats)
  141. Movement.Name = "Movement"
  142. Movement.Value = 1
  143. local Damage = IT("NumberValue", Stats)
  144. Damage.Name = "Damage"
  145. Damage.Value = 1
  146. local Mana = IT("NumberValue", Stats)
  147. Mana.Name = "Mana"
  148. Mana.Value = 0
  149. local SecondaryMana = IT("NumberValue", Stats)
  150. SecondaryMana.Name = "SecondaryMana"
  151. SecondaryMana.Value = 0
  152. local CanCrit = IT("BoolValue", Stats)
  153. CanCrit.Name = "CanCrit"
  154. CanCrit.Value = false
  155. local CritChance = IT("NumberValue", Stats)
  156. CritChance.Name = "CritChance"
  157. CritChance.Value = 20
  158. local CanPenetrateArmor = IT("BoolValue", Stats)
  159. CanPenetrateArmor.Name = "CanPenetrateArmor"
  160. CanPenetrateArmor.Value = false
  161. local AntiTeamKill = IT("BoolValue", Stats)
  162. AntiTeamKill.Name = "AntiTeamKill"
  163. AntiTeamKill.Value = false
  164. local Rooted = IT("BoolValue", Stats)
  165. Rooted.Name = "Rooted"
  166. Rooted.Value = false
  167. local Block = IT("BoolValue", Stats)
  168. Block.Name = "Block"
  169. Block.Value = false
  170. local RecentEnemy = IT("ObjectValue", Stats)
  171. RecentEnemy.Name = "RecentEnemy"
  172. RecentEnemy.Value = nil
  173. local StaggerHit = IT("BoolValue", Stats)
  174. StaggerHit.Name = "StaggerHit"
  175. StaggerHit.Value = false
  176. local Stagger = IT("BoolValue", Stats)
  177. Stagger.Name = "Stagger"
  178. Stagger.Value = false
  179. local Stun = IT("BoolValue", Stats)
  180. Stun.Name = "Stun"
  181. Stun.Value = false
  182. local StunValue = IT("NumberValue", Stats)
  183. StunValue.Name = "StunValue"
  184. StunValue.Value = 0
  185.  
  186. if Enable_Stats == true and Put_Stats_In_Character == true then
  187. Stats.Parent = Character
  188. end
  189.  
  190. Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
  191. Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
  192. Enable_Stagger = false --Enables or disables staggering.
  193.  
  194. local BLCF = nil
  195. local SCFR = nil
  196.  
  197. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  198. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  199. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  200. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  201.  
  202. -----------------------------------
  203.  
  204.  
  205. -----------------------------------
  206. --------------------------------->
  207. -----------------------------------
  208.  
  209. ArtificialHB = Instance.new("BindableEvent", script)
  210. ArtificialHB.Name = "ArtificialHB"
  211.  
  212. script:WaitForChild("ArtificialHB")
  213.  
  214. frame = Frame_Speed
  215. tf = 0
  216. allowframeloss = false
  217. tossremainder = false
  218. lastframe = tick()
  219. script.ArtificialHB:Fire()
  220.  
  221. game:GetService("RunService").Heartbeat:connect(function(s, p)
  222. tf = tf + s
  223. if tf >= frame then
  224. if allowframeloss then
  225. script.ArtificialHB:Fire()
  226. lastframe = tick()
  227. else
  228. for i = 1, math.floor(tf / frame) do
  229. script.ArtificialHB:Fire()
  230. end
  231. lastframe = tick()
  232. end
  233. if tossremainder then
  234. tf = 0
  235. else
  236. tf = tf - frame * math.floor(tf / frame)
  237. end
  238. end
  239. end)
  240.  
  241. -----------------------------------
  242.  
  243. --><Some Functions
  244.  
  245. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  246. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  247. end
  248.  
  249. function MagicSphere1(SIZE,WAIT,CFRAME,COLOR,GROW)
  250. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Eye", VT(1,1,1), true)
  251. wave.Color = COLOR
  252. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  253. wave.CFrame = CFRAME
  254. coroutine.resume(coroutine.create(function(PART)
  255. for i = 1, WAIT do
  256. Swait()
  257. mesh.Scale = mesh.Scale + GROW
  258. wave.Transparency = wave.Transparency + (1/WAIT)
  259. if wave.Transparency > 0.99 then
  260. wave:remove()
  261. end
  262. end
  263. end))
  264. end
  265.  
  266. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  267. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  268. local mesh = nil
  269. if KIND == "Base" then
  270. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  271. elseif KIND == "Thin" then
  272. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  273. elseif KIND == "Round" then
  274. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  275. end
  276. wave.CFrame = CFRAME
  277. coroutine.resume(coroutine.create(function(PART)
  278. for i = 1, WAIT do
  279. Swait()
  280. mesh.Scale = mesh.Scale + GROW/10
  281. wave.Transparency = wave.Transparency + (0.5/WAIT)
  282. if wave.Transparency > 0.99 then
  283. wave:remove()
  284. end
  285. end
  286. end))
  287. end
  288.  
  289. function chatfunc(text)
  290. local chat = coroutine.wrap(function()
  291. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  292. Character:FindFirstChild("TalkingBillBoard"):destroy()
  293. end
  294. local Bill = Instance.new("BillboardGui",Character)
  295. Bill.Size = UDim2.new(0,100,0,40)
  296. Bill.StudsOffset = Vector3.new(0,2,0)
  297. Bill.Adornee = Character.Head
  298. Bill.Name = "TalkingBillBoard"
  299. local Hehe = Instance.new("TextLabel",Bill)
  300. Hehe.BackgroundTransparency = 1
  301. Hehe.BorderSizePixel = 0
  302. Hehe.Text = ""
  303. Hehe.Font = "SciFi"
  304. Hehe.TextSize = 40
  305. Hehe.TextStrokeTransparency = 0
  306. Hehe.Size = UDim2.new(1,0,0.5,0)
  307. coroutine.resume(coroutine.create(function()
  308. while Hehe ~= nil do
  309. Swait()
  310. Hehe.Position = UDim2.new(math.random(-.2,.2),math.random(-1,1),.05,math.random(-1,1))
  311. Hehe.Rotation = math.random(-5,5)
  312. Hehe.TextColor3 = Color3.new(.7,0,.7)
  313. Hehe.TextStrokeColor3 = Color3.new(.7,0,.7)
  314. end
  315. end))
  316. for i = 1,string.len(text),1 do
  317. Swait()
  318. Hehe.Text = string.sub(text,1,i)
  319. end
  320. Swait(90)--Re[math.random(1, 93)]
  321. for i = 0, 1, .025 do
  322. Swait()
  323. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  324. Hehe.TextStrokeTransparency = i
  325. Hehe.TextTransparency = i
  326. end
  327. Bill:Destroy()
  328. end)
  329. chat()
  330. end
  331.  
  332. function onChatted(msg)
  333. chatfunc(msg)
  334. end
  335.  
  336. Player.Chatted:connect(onChatted)
  337.  
  338. function PositiveAngle(NUMBER)
  339. if NUMBER >= 0 then
  340. NUMBER = 0
  341. end
  342. return NUMBER
  343. end
  344.  
  345. function NegativeAngle(NUMBER)
  346. if NUMBER <= 0 then
  347. NUMBER = 0
  348. end
  349. return NUMBER
  350. end
  351.  
  352. function Swait(NUMBER)
  353. if NUMBER == 0 or NUMBER == nil then
  354. ArtificialHB.Event:wait()
  355. else
  356. for i = 1, NUMBER do
  357. ArtificialHB.Event:wait()
  358. end
  359. end
  360. end
  361.  
  362. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  363. local NEWMESH = IT(MESH)
  364. if MESH == "SpecialMesh" then
  365. NEWMESH.MeshType = MESHTYPE
  366. if MESHID ~= "nil" and MESHID ~= "" then
  367. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  368. end
  369. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  370. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  371. end
  372. end
  373. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  374. NEWMESH.Scale = SCALE
  375. NEWMESH.Parent = PARENT
  376. return NEWMESH
  377. end
  378.  
  379. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  380. local NEWPART = IT("Part")
  381. NEWPART.formFactor = FORMFACTOR
  382. NEWPART.Reflectance = REFLECTANCE
  383. NEWPART.Transparency = TRANSPARENCY
  384. NEWPART.CanCollide = false
  385. NEWPART.Locked = true
  386. NEWPART.Anchored = true
  387. if ANCHOR == false then
  388. NEWPART.Anchored = false
  389. end
  390. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  391. NEWPART.Name = NAME
  392. NEWPART.Size = SIZE
  393. NEWPART.Position = Torso.Position
  394. NEWPART.Material = MATERIAL
  395. NEWPART:BreakJoints()
  396. NEWPART.Parent = PARENT
  397. return NEWPART
  398. end
  399.  
  400. local function weldBetween(a, b)
  401. local weldd = IT("Weld")
  402. weldd.Part0 = a
  403. weldd.Part1 = b
  404. weldd.C0 = CF()
  405. weldd.C1 = b.CFrame:inverse() * a.CFrame
  406. weldd.Parent = a
  407. return weldd
  408. end
  409.  
  410.  
  411. function QuaternionFromCFrame(cf)
  412. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  413. local trace = m00 + m11 + m22
  414. if trace > 0 then
  415. local s = math.sqrt(1 + trace)
  416. local recip = 0.5 / s
  417. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  418. else
  419. local i = 0
  420. if m11 > m00 then
  421. i = 1
  422. end
  423. if m22 > (i == 0 and m00 or m11) then
  424. i = 2
  425. end
  426. if i == 0 then
  427. local s = math.sqrt(m00 - m11 - m22 + 1)
  428. local recip = 0.5 / s
  429. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  430. elseif i == 1 then
  431. local s = math.sqrt(m11 - m22 - m00 + 1)
  432. local recip = 0.5 / s
  433. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  434. elseif i == 2 then
  435. local s = math.sqrt(m22 - m00 - m11 + 1)
  436. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  437. end
  438. end
  439. end
  440.  
  441. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  442. local xs, ys, zs = x + x, y + y, z + z
  443. local wx, wy, wz = w * xs, w * ys, w * zs
  444. local xx = x * xs
  445. local xy = x * ys
  446. local xz = x * zs
  447. local yy = y * ys
  448. local yz = y * zs
  449. local zz = z * zs
  450. 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))
  451. end
  452.  
  453. function QuaternionSlerp(a, b, t)
  454. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  455. local startInterp, finishInterp;
  456. if cosTheta >= 0.0001 then
  457. if (1 - cosTheta) > 0.0001 then
  458. local theta = ACOS(cosTheta)
  459. local invSinTheta = 1 / SIN(theta)
  460. startInterp = SIN((1 - t) * theta) * invSinTheta
  461. finishInterp = SIN(t * theta) * invSinTheta
  462. else
  463. startInterp = 1 - t
  464. finishInterp = t
  465. end
  466. else
  467. if (1 + cosTheta) > 0.0001 then
  468. local theta = ACOS(-cosTheta)
  469. local invSinTheta = 1 / SIN(theta)
  470. startInterp = SIN((t - 1) * theta) * invSinTheta
  471. finishInterp = SIN(t * theta) * invSinTheta
  472. else
  473. startInterp = t - 1
  474. finishInterp = t
  475. end
  476. end
  477. 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
  478. end
  479.  
  480. function Clerp(a, b, t)
  481. local qa = {QuaternionFromCFrame(a)}
  482. local qb = {QuaternionFromCFrame(b)}
  483. local ax, ay, az = a.x, a.y, a.z
  484. local bx, by, bz = b.x, b.y, b.z
  485. local _t = 1 - t
  486. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  487. end
  488.  
  489. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  490. local frame = IT("Frame")
  491. frame.BackgroundTransparency = TRANSPARENCY
  492. frame.BorderSizePixel = BORDERSIZEPIXEL
  493. frame.Position = POSITION
  494. frame.Size = SIZE
  495. frame.BackgroundColor3 = COLOR
  496. frame.BorderColor3 = BORDERCOLOR
  497. frame.Name = NAME
  498. frame.Parent = PARENT
  499. return frame
  500. end
  501.  
  502. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  503. local label = IT("TextLabel")
  504. label.BackgroundTransparency = 1
  505. label.Size = UD2(1, 0, 1, 0)
  506. label.Position = UD2(0, 0, 0, 0)
  507. label.TextColor3 = TEXTCOLOR
  508. label.TextStrokeTransparency = STROKETRANSPARENCY
  509. label.TextTransparency = TRANSPARENCY
  510. label.FontSize = TEXTFONTSIZE
  511. label.Font = TEXTFONT
  512. label.BorderSizePixel = BORDERSIZEPIXEL
  513. label.TextScaled = false
  514. label.Text = TEXT
  515. label.Name = NAME
  516. label.Parent = PARENT
  517. return label
  518. end
  519.  
  520. function NoOutlines(PART)
  521. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  522. end
  523.  
  524. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  525. local NEWWELD = IT(TYPE)
  526. NEWWELD.Part0 = PART0
  527. NEWWELD.Part1 = PART1
  528. NEWWELD.C0 = C0
  529. NEWWELD.C1 = C1
  530. NEWWELD.Parent = PARENT
  531. return NEWWELD
  532. end
  533.  
  534. local S = IT("Sound")
  535. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  536. local NEWSOUND = nil
  537. coroutine.resume(coroutine.create(function()
  538. NEWSOUND = S:Clone()
  539. NEWSOUND.Parent = PARENT
  540. NEWSOUND.Volume = VOLUME
  541. NEWSOUND.Pitch = PITCH
  542. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  543. NEWSOUND:play()
  544. if DOESLOOP == true then
  545. NEWSOUND.Looped = true
  546. else
  547. repeat wait(1) until NEWSOUND.Playing == false
  548. NEWSOUND:remove()
  549. end
  550. end))
  551. return NEWSOUND
  552. end
  553.  
  554. function CFrameFromTopBack(at, top, back)
  555. local right = top:Cross(back)
  556. 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)
  557. end
  558.  
  559. function turnto(position)
  560. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  561. end
  562.  
  563. local EyeSizes={
  564. NumberSequenceKeypoint.new(0,1,0),
  565. NumberSequenceKeypoint.new(1,0,0)
  566. }
  567. local EyeTrans={
  568. NumberSequenceKeypoint.new(0,0.8,0),
  569. NumberSequenceKeypoint.new(1,1,0)
  570. }
  571. local PE=Instance.new("ParticleEmitter",nil)
  572. PE.LightEmission=.8
  573. PE.Color = ColorSequence.new(BRICKC("Royal purple").Color)
  574. PE.Size=NumberSequence.new(EyeSizes)
  575. PE.Transparency=NumberSequence.new(EyeTrans)
  576. PE.Lifetime=NumberRange.new(0.35,1.5)
  577. PE.Rotation=NumberRange.new(0,360)
  578. PE.Rate=999
  579. PE.VelocitySpread = 10000
  580. PE.Acceleration = Vector3.new(0,0,0)
  581. PE.Drag = 5
  582. PE.Speed = NumberRange.new(0,0,0)
  583. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  584. PE.ZOffset = -0
  585. PE.Name = "PE"
  586. PE.Enabled = false
  587.  
  588. function particles(art)
  589. local PARTICLES = PE:Clone()
  590. PARTICLES.Parent = art
  591. end
  592.  
  593.  
  594. --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})
  595. function WACKYEFFECT(Table)
  596. local TYPE = (Table.EffectType or "Sphere")
  597. local SIZE = (Table.Size or VT(1,1,1))
  598. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  599. local TRANSPARENCY = (Table.Transparency or 0)
  600. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  601. local CFRAME = (Table.CFrame or Torso.CFrame)
  602. local MOVEDIRECTION = (Table.MoveToPos or nil)
  603. local ROTATION1 = (Table.RotationX or 0)
  604. local ROTATION2 = (Table.RotationY or 0)
  605. local ROTATION3 = (Table.RotationZ or 0)
  606. local MATERIAL = (Table.Material or "Neon")
  607. local COLOR = (Table.Color or C3(1,1,1))
  608. local TIME = (Table.Time or 45)
  609. local SOUNDID = (Table.SoundID or nil)
  610. local SOUNDPITCH = (Table.SoundPitch or nil)
  611. local SOUNDVOLUME = (Table.SoundVolume or nil)
  612. coroutine.resume(coroutine.create(function()
  613. local PLAYSSOUND = false
  614. local SOUND = nil
  615. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  616. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  617. PLAYSSOUND = true
  618. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  619. end
  620. EFFECT.Color = COLOR
  621. local MSH = nil
  622. if TYPE == "Sphere" then
  623. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  624. elseif TYPE == "Block" then
  625. MSH = IT("BlockMesh",EFFECT)
  626. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  627. elseif TYPE == "Wave" then
  628. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  629. elseif TYPE == "Ring" then
  630. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  631. elseif TYPE == "Slash" then
  632. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  633. elseif TYPE == "Round Slash" then
  634. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  635. elseif TYPE == "Swirl" then
  636. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  637. elseif TYPE == "Skull" then
  638. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  639. elseif TYPE == "Crystal" then
  640. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  641. end
  642. if MSH ~= nil then
  643. local MOVESPEED = nil
  644. if MOVEDIRECTION ~= nil then
  645. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  646. end
  647. local GROWTH = SIZE - ENDSIZE
  648. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  649. if TYPE == "Block" then
  650. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  651. else
  652. EFFECT.CFrame = CFRAME
  653. end
  654. for LOOP = 1, TIME+1 do
  655. Swait()
  656. MSH.Scale = MSH.Scale - GROWTH/TIME
  657. if TYPE == "Wave" then
  658. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  659. end
  660. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  661. if TYPE == "Block" then
  662. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  663. else
  664. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  665. end
  666. if MOVEDIRECTION ~= nil then
  667. local ORI = EFFECT.Orientation
  668. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  669. EFFECT.Orientation = ORI
  670. end
  671. end
  672. if PLAYSSOUND == false then
  673. EFFECT:remove()
  674. else
  675. SOUND.Stopped:Connect(function()
  676. EFFECT:remove()
  677. end)
  678. end
  679. else
  680. if PLAYSSOUND == false then
  681. EFFECT:remove()
  682. else
  683. repeat Swait() until SOUND.Playing == false
  684. EFFECT:remove()
  685. end
  686. end
  687. end))
  688. end
  689.  
  690. function MakeForm(PART,TYPE)
  691. if TYPE == "Cyl" then
  692. local MSH = IT("CylinderMesh",PART)
  693. elseif TYPE == "Ball" then
  694. local MSH = IT("SpecialMesh",PART)
  695. MSH.MeshType = "Sphere"
  696. elseif TYPE == "Wedge" then
  697. local MSH = IT("SpecialMesh",PART)
  698. MSH.MeshType = "Wedge"
  699. end
  700. end
  701.  
  702. Debris = game:GetService("Debris")
  703.  
  704. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  705. local DIRECTION = CF(StartPos,EndPos).lookVector
  706. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  707. end
  708.  
  709. function turnto(position)
  710. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  711. end
  712.  
  713. function SpawnTrail(FROM,TO,BIG)
  714. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Dark Indigo", "Trail", VT(0,0,0))
  715. MakeForm(TRAIL,"Cyl")
  716. local DIST = (FROM - TO).Magnitude
  717. if BIG == true then
  718. TRAIL.Size = VT(0.5,DIST,0.5)
  719. else
  720. TRAIL.Size = VT(0.25,DIST,0.25)
  721. end
  722. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  723. coroutine.resume(coroutine.create(function()
  724. for i = 1, 5 do
  725. Swait()
  726. TRAIL.Transparency = TRAIL.Transparency + 0.1
  727. end
  728. TRAIL:remove()
  729. end))
  730. end
  731.  
  732. local Particle = IT("ParticleEmitter",nil)
  733. Particle.Enabled = false
  734. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  735. Particle.LightEmission = 0.5
  736. Particle.Rate = 150
  737. Particle.ZOffset = 1
  738. Particle.Rotation = NumberRange.new(-180, 180)
  739. Particle.RotSpeed = NumberRange.new(-180, 180)
  740. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  741. Particle.Color = ColorSequence.new(C3(1,0,1),C3(.4,0,.3))
  742.  
  743. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  744. function ParticleEmitter(Table)
  745. local PRTCL = Particle:Clone()
  746. local Speed = Table.Speed or 5
  747. local Drag = Table.Drag or 0
  748. local Size1 = Table.Size1 or 1
  749. local Size2 = Table.Size2 or 5
  750. local Lifetime1 = Table.Lifetime1 or 1
  751. local Lifetime2 = Table.Lifetime2 or 1.5
  752. local Parent = Table.Parent or Torso
  753. local Emit = Table.Emit or 100
  754. local Offset = Table.Offset or 360
  755. local Acel = Table.Acel or VT(0,0,0)
  756. local Enabled = Table.Enabled or false
  757. PRTCL.Parent = Parent
  758. PRTCL.Size = NumberSequence.new(Size1,Size2)
  759. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  760. PRTCL.Speed = NumberRange.new(Speed)
  761. PRTCL.VelocitySpread = Offset
  762. PRTCL.Drag = Drag
  763. PRTCL.Acceleration = Acel
  764. if Enabled == false then
  765. PRTCL:Emit(Emit)
  766. Debris:AddItem(PRTCL,Lifetime2)
  767. else
  768. PRTCL.Enabled = true
  769. end
  770. return PRTCL
  771. end
  772.  
  773. --><Misc And Some Stuff
  774.  
  775. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0))
  776. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "93180631", "93180676", VT(1, 1, 1), VT(0, 3.1 * Player_Size, 0))
  777. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Torso, HandlePart, CF(2 * Player_Size, 2 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  778.  
  779. local HitboxPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Hitbox", VT(0, 0, 0))
  780. local HitboxWeld = CreateWeldOrSnapOrMotor("Weld", HitboxPart, HandlePart, HitboxPart, CF(0 * Player_Size, 4 * Player_Size, 0 * Player_Size), CF(0, 0, 0))
  781.  
  782.  
  783. local BODY = {}
  784.  
  785.  
  786. function swait(num)
  787. if num == 0 or num == nil then
  788. ArtificialHB.Event:wait()
  789. else
  790. for i = 0, num do
  791. ArtificialHB.Event:wait()
  792. end
  793. end return true
  794. end
  795.  
  796. spawn(function()
  797. local bb=Instance.new("BillboardGui", Head )bb.AlwaysOnTop=true bb.Size=UDim2.new(1,0,1,0)bb.StudsOffset=Vector3.new(0,4.5,0)
  798. local t=Instance.new("TextLabel",bb)t.Size=UDim2.new(1,0,1,0)t.Text="Void Spawn"t.TextColor3=Color3.new(1,0,1)t.TextStrokeTransparency=0
  799. t.BackgroundTransparency=1 t.TextSize=40 t.Font="Bodoni"
  800. while swait()do
  801. bb.StudsOffset=Vector3.new(math.random(-30,30)/30,4.5+ math.random(-40,40)/30,math.random(-100,100)/30)
  802. end
  803. end)
  804.  
  805. local BODY = {}
  806. for _, c in pairs(Character:GetDescendants()) do
  807. if c:IsA("BasePart") and c.Name ~= "Handle" then
  808. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  809. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  810. end
  811. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  812. elseif c:IsA("JointInstance") then
  813. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  814. end
  815. end
  816. function refit()
  817. Character.Parent = workspace
  818. for e = 1, #BODY do
  819. if BODY[e] ~= nil then
  820. local STUFF = BODY[e]
  821. local PART = STUFF[1]
  822. local PARENT = STUFF[2]
  823. local MATERIAL = STUFF[3]
  824. local COLOR = STUFF[4]
  825. local TRANSPARENCY = STUFF[5]
  826. --local SIZE = STUFF[6]
  827. local NAME = STUFF[7]
  828. if PART.ClassName == "Part" and PART ~= RootPart then
  829. PART.Material = MATERIAL
  830. PART.Transparency = TRANSPARENCY
  831. PART.Name = NAME
  832. end
  833. if PART.Parent ~= PARENT then
  834. Humanoid:remove()
  835. PART.Parent = PARENT
  836. Humanoid = IT("Humanoid",Character)
  837. end
  838. end
  839. end
  840. end
  841.  
  842. local Gun = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0),false)
  843. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "1757389224", "1757405356", VT(0.07,0.07,0.07), VT(0,0, 0))
  844. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, LeftArm, Gun, CF(0.2, -1, 0.2) * ANGLES(RAD(330), RAD(0), RAD(20)), CF(0, 0, 0))
  845.  
  846.  
  847. local SKILLTEXTCOLOR = C3(.4,0,.4)
  848. local SKILLFONT = "Code"
  849. local SKILLTEXTSIZE = 6
  850.  
  851. local Voids = Instance.new("Part")
  852. Voids.Parent = Weapon
  853. Voids.Transparency = 1
  854. Voids.Size = Vector3.new(4, 4.9, 2.5)
  855. Voids.CFrame = char.Torso.CFrame
  856. Voids.CanCollide = false
  857. Voids.Color = Color3.new(1,0,.5)
  858. Voids.TopSurface = "Smooth"
  859. Voids.BottomSurface = "Smooth"
  860.  
  861. VoidWeld = Instance.new("Weld")
  862. VoidWeld.Name = "Voidspawn_Weld_Particle"
  863. VoidWeld.Part0 = char.Torso
  864. VoidWeld.Part1 = Voids
  865. VoidWeld.Parent = char.Torso
  866. VoidWeld.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  867.  
  868. local FZcharge3 = Instance.new("ParticleEmitter",Voids)
  869. FZcharge3.Texture = "rbxassetid://153700391"
  870. FZcharge3.Color = ColorSequence.new(Color3.new(255, 0, 255))
  871. coroutine.resume(coroutine.create(function()
  872. while true do
  873. Swait()
  874. FZcharge3.Color = ColorSequence.new(Color3.new(1,0,1))
  875. end
  876. end))
  877. FZcharge3.EmissionDirection = "Top"
  878. FZcharge3.Speed = NumberRange.new(0)
  879. FZcharge3.Size = NumberSequence.new(0.6,0)
  880. FZcharge3.Enabled = true
  881. FZcharge3.Drag = 1.2
  882. FZcharge3.LockedToPart = true
  883. FZcharge3.Lifetime = NumberRange.new(0.2)
  884. FZcharge3.Rate = 55
  885. FZcharge3.LightEmission = 0.3
  886. FZcharge3.Rotation = NumberRange.new(-360,360)
  887. FZcharge3.VelocitySpread = 0.2
  888. FZcharge3.ZOffset = 2.5
  889.  
  890. Humanoid.Died:connect(function()
  891. refit()
  892. end)
  893.  
  894. cors = {}
  895. mas = Instance.new("Model",game:GetService("Lighting"))
  896. ParticleEmitter1 = Instance.new("ParticleEmitter")
  897. ParticleEmitter1.Name = "Death"
  898. ParticleEmitter1.Texture = "rbxassetid://249481494"
  899. ParticleEmitter1.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
  900. ParticleEmitter1.EmissionDirection = "Top"
  901. ParticleEmitter1.Parent = mas
  902. ParticleEmitter1.Enabled = false
  903. ParticleEmitter1.Speed = NumberRange.new(8)
  904. ParticleEmitter1.Size = NumberSequence.new(8,0)
  905. ParticleEmitter1.Transparency = NumberSequence.new(0,1)
  906. ParticleEmitter1.Drag = 1.2
  907. ParticleEmitter1.LockedToPart = true
  908. ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
  909. ParticleEmitter1.Rate = 195
  910. ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
  911. ParticleEmitter1.LightEmission = 0
  912. ParticleEmitter1.Rotation = NumberRange.new(-360,360)
  913. ParticleEmitter1.VelocitySpread = 100.2
  914. ParticleEmitter1.ZOffset = 2.5
  915.  
  916. for i,v in pairs(mas:GetChildren()) do
  917. v.Parent = script
  918. pcall(function() v:MakeJoints() end)
  919. end
  920. mas:Destroy()
  921. for i,v in pairs(cors) do
  922. spawn(function()
  923. pcall(v)
  924. end)
  925. end
  926.  
  927.  
  928. local DParticles = script.Death
  929. DParticles:remove()
  930. DParticles.Name = "ArchangelDeathParticles"
  931.  
  932. --><ALL SKILL TEXTS
  933.  
  934. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  935. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  936. 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")
  937. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  938. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  939. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  940. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  941. local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
  942. local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.50, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
  943.  
  944. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] SEAR", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  945. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] VoidRise", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  946. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] VoidErase", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  947. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] VoidBurn", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  948. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[F] ENDIT", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  949. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] OHGOD", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  950. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[E] TP", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  951. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[R] SNAP", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
  952. local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[M] TheRift", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 9")
  953.  
  954. --><Attack Stuffs B
  955.  
  956. function Voided(Char)
  957. local NewCharacter = IT("Model",Effects)
  958. NewCharacter.Name = "Ow im ded ;-;"
  959. for _, c in pairs(Char:GetDescendants()) do
  960. if c:IsA("BasePart") and c.Transparency == 0 then
  961. if c.Parent == Char then
  962.  
  963. end
  964. c:BreakJoints()
  965. c.Material = "Neon"
  966. c.Color = C3(1,0,1)
  967. c.CanCollide = true
  968. c.Transparency = 0.3
  969. if c:FindFirstChildOfClass("SpecialMesh") then
  970. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  971. end
  972. if c.Name == "Head" then
  973. c:ClearAllChildren()
  974. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  975. end
  976. if c.ClassName == "MeshPart" then
  977. c.TextureID = ""
  978. end
  979. if c:FindFirstChildOfClass("BodyPosition") then
  980. c:FindFirstChildOfClass("BodyPosition"):remove()
  981. end
  982. if c:FindFirstChildOfClass("ParticleEmitter") then
  983. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  984. end
  985. c.Parent = NewCharacter
  986. c.Name = "DeadPart"
  987. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  988. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  989. end
  990. end
  991. Char:remove()
  992. Debris:AddItem(NewCharacter,5)
  993. end
  994. INSTAKILL = true
  995. function VoidAgony(v)
  996. v:BreakJoints()
  997. for _, c in pairs(v:GetChildren()) do
  998. if c:IsA("BasePart") then
  999. if c.Transparency < 1 then
  1000. if c:FindFirstChildOfClass("Decal") then
  1001. c:FindFirstChildOfClass("Decal"):remove()
  1002. end
  1003. particles(c)
  1004. c.PE.Enabled = true
  1005. c.Parent = Effects
  1006. c.CanCollide = false
  1007. c.Material = "Neon"
  1008. c.Color = C3(1,0,1)
  1009. c.Transparency = 1
  1010. local grav = Instance.new("BodyPosition",c)
  1011. grav.P = 20000
  1012. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1013. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1014. grav.Name = "GravityForce"
  1015. coroutine.resume(coroutine.create(function()
  1016. for i = 1, 20 do
  1017. Swait()
  1018. c.Transparency = c.Transparency + 1/20
  1019. end
  1020. c.PE.Enabled = false
  1021. Debris:AddItem(c,2)
  1022. end))
  1023. end
  1024. end
  1025. end
  1026. end
  1027. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1028. local CHILDREN = workspace:GetDescendants()
  1029. for index, CHILD in pairs(CHILDREN) do
  1030. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1031. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1032. if HUM then
  1033. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1034. if TORSO then
  1035. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1036. if BRUTAL == true then
  1037. Voided(CHILD)
  1038. else
  1039. CHILD:BreakJoints()
  1040. end
  1041. end
  1042. end
  1043. end
  1044. end
  1045. end
  1046. end
  1047. function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, ow)
  1048. local CHILDREN = workspace:GetDescendants()
  1049. for index, CHILD in pairs(CHILDREN) do
  1050. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1051. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1052. if HUM then
  1053. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1054. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1055. if ow == true then
  1056. Voided(CHILD)
  1057. else
  1058. print("that doesnt hurt haha")
  1059. end
  1060. if FLING > 0 then
  1061. for _, c in pairs(CHILD:GetChildren()) do
  1062. if c:IsA("BasePart") then
  1063. local bv = Instance.new("BodyVelocity")
  1064. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1065. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1066. bv.Parent = c
  1067. Debris:AddItem(bv, 0.05)
  1068. end
  1069. end
  1070. end
  1071. end
  1072. end
  1073. end
  1074. end
  1075. end
  1076. function ApplyAoE3(POSITION,RANGE)
  1077. local CHILDREN = workspace:GetDescendants()
  1078. for index, CHILD in pairs(CHILDREN) do
  1079. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1080. local LISTED = false
  1081. for LIST = 1, #WHITELIST do
  1082. if WHITELIST[LIST] ~= nil then
  1083. if CHILD.Name == WHITELIST[LIST] then
  1084. LISTED = true
  1085. end
  1086. end
  1087. end
  1088. if LISTED == false then
  1089. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1090. if HUM then
  1091. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1092. if TORSO then
  1093. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1094. VoidAgony(CHILD)
  1095. end
  1096. end
  1097. end
  1098. end
  1099. end
  1100. end
  1101. end
  1102. function ApplyAoE4(POSITION,RANGE,MINDMG,MAXDMG,FLING,VOIDED)
  1103. local CHILDREN = workspace:GetDescendants()
  1104. for index, CHILD in pairs(CHILDREN) do
  1105. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1106. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1107. if HUM then
  1108. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1109. if TORSO then
  1110. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1111. if CHILD.Parent == Effects and CHILD:FindFirstChild("RealBody") then
  1112. local BODY = CHILD.RealBody.Value
  1113. if BODY then
  1114. local HUM = BODY:FindFirstChildOfClass("Humanoid")
  1115. if HUM then
  1116. if INSTAKILL == true or (HUM.MaxHealth == math.huge and MAXDMG > 0) then
  1117. BODY:BreakJoints()
  1118. else
  1119. local TORSO = BODY:FindFirstChild("Torso") or BODY:FindFirstChild("UpperTorso")
  1120. if TORSO then
  1121. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  1122. local DMG = MRANDOM(MINDMG,MAXDMG)/2
  1123. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,85,1), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0.3,0,0), SoundID = HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1124. print("yo ur gay")
  1125. end
  1126. end
  1127. end
  1128. end
  1129. else
  1130. if VOIDED == true or (HUM.MaxHealth == math.huge and MAXDMG > 0) then
  1131. VoidAgony(CHILD)
  1132. else
  1133. local DMG = MRANDOM(MINDMG,MAXDMG)
  1134. print("yo ur gay")
  1135. end
  1136. if FLING > 0 then
  1137. for _, c in pairs(CHILD:GetChildren()) do
  1138. if c:IsA("BasePart") then
  1139. local bv = Instance.new("BodyVelocity")
  1140. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1141. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1142. bv.Parent = c
  1143. Debris:AddItem(bv,0.05)
  1144. end
  1145. end
  1146. end
  1147. end
  1148. end
  1149. end
  1150. end
  1151. end
  1152. end
  1153. end
  1154. function ApplyAoE5(POSITION, RANGE)
  1155. local PARTS = {}
  1156. for index, CHILD in pairs(workspace:GetDescendants()) do
  1157. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1158. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1159. if HUM then
  1160. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1161. if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1162. CHILD:BreakJoints()
  1163. for index, PART in pairs(CHILD:GetChildren()) do
  1164. if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
  1165. local P = DParticles:Clone()
  1166. P.Parent = PART
  1167. P.Enabled = true
  1168. P.Color = ColorSequence.new(PART.Color, C3(1, 1, 1))
  1169. PART.Anchored = true
  1170. table.insert(PARTS, {PART, P})
  1171. end
  1172. end
  1173. end
  1174. end
  1175. elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then
  1176. local FOLDER = IT("Folder", CHILD)
  1177. FOLDER.Name = "ewdfrfgrwefd"
  1178. local P = DParticles:Clone()
  1179. P.Parent = CHILD
  1180. P.Enabled = true
  1181. CHILD:BreakJoints()
  1182. CHILD.CanCollide = false
  1183. CHILD.Anchored = true
  1184. P.Rate = math.ceil(CHILD.Size.Magnitude / 2)
  1185. P.Color = ColorSequence.new(CHILD.Color, C3(1, 1, 1))
  1186. table.insert(PARTS, {CHILD, P})
  1187. end
  1188. end
  1189. coroutine.resume(coroutine.create(function()
  1190. if #PARTS > 0 then
  1191. for i = 1, 85 do
  1192. Swait()
  1193. for E = 1, #PARTS do
  1194. local F = PARTS[E]
  1195. local A = F[1]
  1196. local B = F[2]
  1197. A.Transparency = A.Transparency + 0.011764705882352941
  1198. B.Rate = math.ceil(B.Rate * 1.2)
  1199. for index, E in pairs(A:GetChildren()) do
  1200. if E:IsA("Decal") or E:IsA("Texture") then
  1201. E.Transparency = E.Transparency + 0.011764705882352941
  1202. elseif E:IsA("JointInstance") then
  1203. E:remove()
  1204. elseif E:IsA("Light") or E:IsA("ParticleEmitter") and E ~= B and E.Name ~= "ArchangelDeathParticles" or E:IsA("Fire") or E:IsA("Sparkles") or E:IsA("Smoke") then
  1205. E.Enabled = false
  1206. end
  1207. end
  1208. end
  1209. end
  1210. for E = 1, #PARTS do
  1211. local F = PARTS[E]
  1212. local A = F[1]
  1213. local B = F[2]
  1214. B.Enabled = false
  1215. Debris:AddItem(A, 3)
  1216. end
  1217. end
  1218. end))
  1219. end
  1220. function CreateWave3(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  1221. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1222. local mesh = IT("SpecialMesh",wave)
  1223. mesh.MeshType = "FileMesh"
  1224. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1225. mesh.Scale = VT(size,size,size)
  1226. mesh.Offset = VT(0,0,-size/8)
  1227. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1228. coroutine.resume(coroutine.create(function(PART)
  1229. for i = 1, waitt do
  1230. Swait()
  1231. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1232. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1233. if doesrotate == true then
  1234. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1235. end
  1236. wave.Transparency = wave.Transparency + (0.5/waitt)
  1237. if wave.Transparency > 0.99 then
  1238. wave:remove()
  1239. end
  1240. end
  1241. end))
  1242. end
  1243.  
  1244. local PE3=Instance.new("ParticleEmitter",nil)
  1245. PE3.LightEmission=.8
  1246. PE3.Color = ColorSequence.new(BRICKC("Bright Green").Color)
  1247. coroutine.resume(coroutine.create(function()
  1248. while true do
  1249. Swait()
  1250. PE.Color = ColorSequence.new(Color3.new(1,0,0))
  1251. end
  1252. end))
  1253. PE3.Size=NumberSequence.new(EyeSizes)
  1254. PE3.Transparency=NumberSequence.new(EyeTrans)
  1255. PE3.Lifetime=NumberRange.new(0.35,1.5)
  1256. PE3.Rotation=NumberRange.new(0,360)
  1257. PE3.Rate=999
  1258. PE3.VelocitySpread = 10000
  1259. PE3.Acceleration = Vector3.new(0,0,0)
  1260. PE3.Drag = 5
  1261. PE3.Speed = NumberRange.new(0,0,0)
  1262. PE3.Texture="http://www.roblox.com/asset/?id=1509406387"
  1263. PE3.ZOffset = -0
  1264. PE3.Name = "PE"
  1265. PE3.Enabled = false
  1266.  
  1267. function particles2(art)
  1268. local PARTICLES = PE3:Clone()
  1269. PARTICLES.Parent = art
  1270. end
  1271.  
  1272. function Dustify(v)
  1273. v:BreakJoints()
  1274. for _, c in pairs(v:GetChildren()) do
  1275. if c:IsA("BasePart") then
  1276. if c.Transparency < 1 then
  1277. if c:FindFirstChildOfClass("Decal") then
  1278. c:FindFirstChildOfClass("Decal"):remove()
  1279. end
  1280. particles2(c)
  1281. c.PE.Enabled = true
  1282. c.Parent = Effects
  1283. c.CanCollide = false
  1284. c.Material = "Neon"
  1285. c.Color = C3(0,1,0)
  1286. c.Transparency = 1
  1287. local grav = Instance.new("BodyPosition",c)
  1288. grav.P = 20000
  1289. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1290. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1291. grav.Name = "GravityForce"
  1292. coroutine.resume(coroutine.create(function()
  1293. for i = 1, 20 do
  1294. Swait()
  1295. c.Transparency = c.Transparency + 1/20
  1296. end
  1297. c.PE.Enabled = false
  1298. Debris:AddItem(c,3)
  1299. end))
  1300. end
  1301. end
  1302. end
  1303. end
  1304.  
  1305.  
  1306. --Credits TO IgnorantRojo For THE_END()
  1307.  
  1308. function FindNearestHead(Position, Distance, SinglePlayer)
  1309. if SinglePlayer then
  1310. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1311. end
  1312. local List = {}
  1313. for i, v in pairs(workspace:GetChildren()) do
  1314. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1315. table.insert(List, v)
  1316. end
  1317. end
  1318. return List
  1319. end
  1320.  
  1321. function FindNearestTorso(Position, Distance, SinglePlayer)
  1322. if SinglePlayer then
  1323. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1324. end
  1325. local List = {}
  1326. for i, v in pairs(workspace:GetChildren()) do
  1327. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1328. table.insert(List, v)
  1329. end
  1330. end
  1331. return List
  1332. end
  1333.  
  1334. local lightning = Instance.new("ParticleEmitter",Torso)
  1335. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  1336. lightning.LightEmission = 0
  1337. lightning.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  1338. lightning.LockedToPart = true
  1339. lightning.Rate = 20
  1340. lightning.Lifetime = NumberRange.new(0.1,0.10)
  1341. lightning.Rotation = NumberRange.new(0,360)
  1342. lightning.Size = NumberSequence.new(3,3,3)
  1343. lightning.Transparency = NumberSequence.new(0,0)
  1344. lightning.Speed = NumberRange.new(0,0)
  1345. lightning.RotSpeed = NumberRange.new(0,0)
  1346. lightning.ZOffset = 5.5
  1347. lightning.Parent = Character.Torso
  1348. lightning.Enabled = false
  1349.  
  1350. local eeeffecto = Instance.new("ParticleEmitter",Torso)
  1351. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  1352. eeeffecto.LightEmission = 0
  1353. eeeffecto.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  1354. eeeffecto.LockedToPart = true
  1355. eeeffecto.Rate = 10.5
  1356. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  1357. eeeffecto.Rotation = NumberRange.new(0,0)
  1358. eeeffecto.Size = NumberSequence.new(9,9,9)
  1359. eeeffecto.Transparency = NumberSequence.new(0,0)
  1360. eeeffecto.Speed = NumberRange.new(0,0)
  1361. eeeffecto.RotSpeed = NumberRange.new(0,0)
  1362. eeeffecto.Parent = Character.Torso
  1363. eeeffecto.Enabled = false
  1364.  
  1365. RW = Torso["Right Shoulder"]
  1366. LW = Torso["Left Shoulder"]
  1367. LH=Torso["Left Hip"]
  1368. RH=Torso["Right Hip"]
  1369. Euler = CFrame.fromEulerAnglesXYZ
  1370. Rad = math.rad
  1371. IT = Instance.new
  1372. BrickC = BrickColor.new
  1373. Cos = math.cos
  1374. Acos = math.acos
  1375. Sin = math.sin
  1376. Asin = math.asin
  1377. Abs = math.abs
  1378. Mrandom = math.random
  1379. Floor = math.floor
  1380. radian = math.rad
  1381. Rad = math.rad
  1382. Sin = math.sin
  1383. cos = math.cos
  1384. random = math.random
  1385. Vec3 = Vector3.new
  1386. Inst = Instance.new
  1387. cFrame = CFrame.new
  1388. vt = Vector3.new
  1389. bc = BrickColor.new
  1390. br = BrickColor.random
  1391. it = Instance.new
  1392. cf = CFrame.new
  1393. local cn = CFrame.new
  1394. local plr = game:service'Players'.LocalPlayer
  1395. local char = plr.Character
  1396. local hum = char.Humanoid
  1397. local hed = char.Head
  1398. local root = char.HumanoidRootPart
  1399. local rootj = root.RootJoint
  1400. local tors = char.Torso
  1401. local ra = char["Right Arm"]
  1402. local la = char["Left Arm"]
  1403. local rl = char["Right Leg"]
  1404. local ll = char["Left Leg"]
  1405. local neck = tors["Neck"]
  1406.  
  1407. RootCF=Euler(-1.57,0,3.14)
  1408.  
  1409. function FindNearestHead(Position, Distance, SinglePlayer)
  1410. if SinglePlayer then
  1411. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1412. end
  1413. local List = {}
  1414. for i, v in pairs(workspace:GetChildren()) do
  1415. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1416. table.insert(List, v)
  1417. end
  1418. end
  1419. return List
  1420. end
  1421.  
  1422. function FindNearestTorso(Position, Distance, SinglePlayer)
  1423. if SinglePlayer then
  1424. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1425. end
  1426. local List = {}
  1427. for i, v in pairs(workspace:GetChildren()) do
  1428. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1429. table.insert(List, v)
  1430. end
  1431. end
  1432. return List
  1433. end
  1434.  
  1435. local lightning = Instance.new("ParticleEmitter",Torso)
  1436. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  1437. lightning.LightEmission = 0
  1438. lightning.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  1439. lightning.LockedToPart = true
  1440. lightning.Rate = 20
  1441. lightning.Lifetime = NumberRange.new(0.1,0.10)
  1442. lightning.Rotation = NumberRange.new(0,360)
  1443. lightning.Size = NumberSequence.new(3,3,3)
  1444. lightning.Transparency = NumberSequence.new(0,0)
  1445. lightning.Speed = NumberRange.new(0,0)
  1446. lightning.RotSpeed = NumberRange.new(0,0)
  1447. lightning.ZOffset = 5.5
  1448. lightning.Parent = Character.Torso
  1449. lightning.Enabled = false
  1450.  
  1451. local eeeffecto = Instance.new("ParticleEmitter",Torso)
  1452. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  1453. eeeffecto.LightEmission = 0
  1454. eeeffecto.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  1455. eeeffecto.LockedToPart = true
  1456. eeeffecto.Rate = 10.5
  1457. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  1458. eeeffecto.Rotation = NumberRange.new(0,0)
  1459. eeeffecto.Size = NumberSequence.new(9,9,9)
  1460. eeeffecto.Transparency = NumberSequence.new(0,0)
  1461. eeeffecto.Speed = NumberRange.new(0,0)
  1462. eeeffecto.RotSpeed = NumberRange.new(0,0)
  1463. eeeffecto.Parent = Character.Torso
  1464. eeeffecto.Enabled = false
  1465.  
  1466. function clerp(a,b,t)
  1467. local qa = {QuaternionFromCFrame(a)}
  1468. local qb = {QuaternionFromCFrame(b)}
  1469. local ax, ay, az = a.x, a.y, a.z
  1470. local bx, by, bz = b.x, b.y, b.z
  1471. local _t = 1-t
  1472. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1473. end
  1474.  
  1475. local sine = 0
  1476.  
  1477.  
  1478. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1479. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, Color3.new(1,0,1), "Effect", VT(0,0,0))
  1480. local mesh = IT("SpecialMesh",wave)
  1481. mesh.MeshType = "FileMesh"
  1482. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1483. mesh.Scale = SIZE
  1484. mesh.Offset = VT(0,0,-SIZE.X/8)
  1485. wave.CFrame = CFRAME
  1486. coroutine.resume(coroutine.create(function(PART)
  1487. for i = 1, WAIT do
  1488. Swait()
  1489. mesh.Scale = mesh.Scale + GROW
  1490. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1491. if DOESROT == true then
  1492. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1493. end
  1494. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1495. if wave.Transparency > 0.99 then
  1496. wave:remove()
  1497. end
  1498. end
  1499. end))
  1500. end
  1501.  
  1502. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  1503. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1504. local mesh = IT("SpecialMesh",wave)
  1505. mesh.MeshType = "FileMesh"
  1506. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1507. mesh.Scale = SIZE
  1508. mesh.Offset = VT(0,0,0)
  1509. wave.CFrame = CFRAME
  1510. coroutine.resume(coroutine.create(function(PART)
  1511. for i = 1, WAIT do
  1512. Swait()
  1513. mesh.Scale = mesh.Scale + GROW
  1514. if DOESROT == true then
  1515. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1516. end
  1517. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1518. if wave.Transparency > 0.99 then
  1519. wave:remove()
  1520. end
  1521. end
  1522. end))
  1523. end
  1524.  
  1525.  
  1526.  
  1527. function VoidsSsnap()
  1528. ATTACK = true
  1529. Rooted = true
  1530. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1531. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1532. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1533. if TORSO then
  1534. local GYRO = IT("BodyGyro", RootPart)
  1535. GYRO.D = 750
  1536. GYRO.P = 2000
  1537. GYRO.MaxTorque = VT(0, 40000, 0)
  1538. for i = 0, 0.3, 0.1 / Animation_Speed do
  1539. Swait()
  1540. WACKYEFFECT({
  1541. Time = 5,
  1542. EffectType = "Round Slash",
  1543. Size = VT(0, 0, 0),
  1544. Size2 = VT(0.01, 0, 0.01),
  1545. Transparency = 0.5,
  1546. Transparency2 = 1,
  1547. CFrame = CF(TT.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1548. MoveToPos = nil,
  1549. RotationX = MRANDOM(-50, 50) / 10,
  1550. RotationY = MRANDOM(-50, 50) / 10,
  1551. RotationZ = MRANDOM(-50, 50) / 10,
  1552. Material = "Neon",
  1553. Color = C3(1, 0, 0),
  1554. SoundID = nil,
  1555. SoundPitch = nil,
  1556. SoundVolume = nil
  1557. })
  1558. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  1559. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1560. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1561. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1562. 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(0)), 0.15 / Animation_Speed)
  1563. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1564. 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)
  1565. if ANIM == "Idle" then
  1566. 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(0)), 0.5 / Animation_Speed)
  1567. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1568. elseif ANIM == "Walk" then
  1569. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1570. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1571. elseif ANIM == "Jump" or ANIM == "Fall" then
  1572. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1573. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1574. end
  1575. end
  1576. GYRO:remove()
  1577. for i = 0.4, 15 do
  1578. WACKYEFFECT({
  1579. Time = MRANDOM(15, 85),
  1580. EffectType = "Sphere",
  1581. Size = VT(0, 0, 0),
  1582. Size2 = VT(0.3, 0, 0.3),
  1583. Transparency = 0.5,
  1584. Transparency2 = 1,
  1585. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1586. MoveToPos = nil,
  1587. RotationX = MRANDOM(-50, 50) / 10,
  1588. RotationY = MRANDOM(-50, 50) / 10,
  1589. RotationZ = MRANDOM(-50, 50) / 10,
  1590. Material = "Neon",
  1591. Color = C3(255, 0, 255),
  1592. SoundID = nil,
  1593. SoundPitch = nil,
  1594. SoundVolume = nil
  1595. })
  1596. end
  1597. local bv = Instance.new("BodyVelocity")
  1598. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1599. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  1600. bv.Parent = TORSO
  1601. Debris:AddItem(bv, 0.05)
  1602. CreateSound("539792706", TORSO, 10, 1)
  1603. Dustify(HUM.Parent)
  1604. CreateSound("2231214507", Torso, 10, 1)
  1605. for i = 0, 0.25, 0.1 / Animation_Speed do
  1606. Swait()
  1607. WACKYEFFECT({
  1608. Time = 5,
  1609. EffectType = "Sphere",
  1610. Size = VT(0, 0, 0),
  1611. Size2 = VT(0.01, 0, 0.01),
  1612. Transparency = 0.5,
  1613. Transparency2 = 1,
  1614. CFrame = CF(TT.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1615. MoveToPos = nil,
  1616. RotationX = MRANDOM(-50, 50) / 10,
  1617. RotationY = MRANDOM(-50, 50) / 10,
  1618. RotationZ = MRANDOM(-50, 50) / 10,
  1619. Material = "Neon",
  1620. Color = C3(255, 0, 255),
  1621. SoundID = nil,
  1622. SoundPitch = nil,
  1623. SoundVolume = nil
  1624. })
  1625. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  1626. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1627. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1628. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1629. 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(0)), 0.15 / Animation_Speed)
  1630. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1631. 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)
  1632. if ANIM == "Idle" then
  1633. 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(0)), 0.5 / Animation_Speed)
  1634. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1635. elseif ANIM == "Walk" then
  1636. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1637. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1638. elseif ANIM == "Jump" or ANIM == "Fall" then
  1639. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1640. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1641. end
  1642. end
  1643. end
  1644. end
  1645. ATTACK = false
  1646. Rooted = false
  1647. end
  1648.  
  1649. function MagicBlock(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1650. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1651. EFFECTPART.Anchored = true
  1652. EFFECTPART.CFrame = CFRAME
  1653. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1654. game:GetService("Debris"):AddItem(EFFECTPART, 50)
  1655. coroutine.resume(coroutine.create(function(PART, MESH)
  1656. for i = 0, 1, delay do
  1657. Swait()
  1658. PART.CFrame = PART.CFrame * ROTATION
  1659. PART.Transparency = i
  1660. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1661. end
  1662. PART.Parent = nil
  1663. end), EFFECTPART, EFFECTMESH)
  1664. end
  1665.  
  1666. function NewEffect(cframe,name,colour,meshid,texture,scale)
  1667. local part = Instance.new("Part")
  1668. part.Size = Vector3.new(1,1,1)
  1669. part.CFrame = cframe
  1670. part.Name = "Part"
  1671. part.BrickColor = colour
  1672. part.Parent = Effects
  1673. part.Anchored = true
  1674. part.CanCollide = false
  1675. local emesh = Instance.new("SpecialMesh")
  1676. emesh.MeshId = meshid
  1677. emesh.TextureId = texture
  1678. emesh.Parent = part
  1679. emesh.Scale = scale
  1680. end
  1681.  
  1682. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1683. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1684. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1685. local BODYGYRO = IT("BodyGyro", STATPART)
  1686. local BODYPOSITION = IT("BodyPosition", STATPART)
  1687. BODYPOSITION.P = 2000
  1688. BODYPOSITION.D = 100
  1689. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1690. if LABELTYPE == "Normal" then
  1691. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1692. elseif LABELTYPE == "Debuff" then
  1693. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1694. elseif LABELTYPE == "Interruption" then
  1695. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1696. end
  1697. game:GetService("Debris"):AddItem(STATPART ,5)
  1698. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1699. BILLBOARDGUI.Adornee = STATPART
  1700. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1701. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1702. BILLBOARDGUI.AlwaysOnTop = false
  1703. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1704. TEXTLABEL.BackgroundTransparency = 1
  1705. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1706. TEXTLABEL.Text = TEXT
  1707. TEXTLABEL.Font = "SourceSans"
  1708. TEXTLABEL.FontSize="Size42"
  1709. TEXTLABEL.TextColor3 = COLOR
  1710. TEXTLABEL.TextStrokeTransparency = 0
  1711. TEXTLABEL.TextScaled = true
  1712. TEXTLABEL.TextWrapped = true
  1713. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1714. wait(0.2)
  1715. for i=1, 5 do
  1716. wait()
  1717. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1718. end
  1719. wait(1.2)
  1720. for i=1, 5 do
  1721. wait()
  1722. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1723. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1724. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1725. end
  1726. THEPART.Parent = nil
  1727. end),STATPART, BODYPOSITION, TEXTLABEL)
  1728. end
  1729.  
  1730. function IncreaseOrDecreaseStat(LOCATION, STAT, AMOUNT, DURATION, SHOWTHESTAT)
  1731. if LOCATION:FindFirstChild("Stats") ~= nil then
  1732. if LOCATION.Stats:FindFirstChild("Block") ~= nil then
  1733. if LOCATION.Stats:FindFirstChild("Block").Value == true then
  1734. return
  1735. end
  1736. end
  1737. if LOCATION.Stats:FindFirstChild("ChangeStat") ~= nil and LOCATION.Stats:FindFirstChild("Block").Value == false then
  1738. local NewStatChange = IT("NumberValue")
  1739. NewStatChange.Value = AMOUNT
  1740. if STAT == "Defense" then
  1741. NewStatChange.Name = "ChangeDefense"
  1742. elseif STAT == "Damage" then
  1743. NewStatChange.Name = "ChangeDamage"
  1744. elseif STAT == "Movement" then
  1745. NewStatChange.Name = "ChangeMovement"
  1746. end
  1747. if SHOWTHESTAT == true then
  1748. if AMOUNT < 0 then
  1749. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "-"..STAT, C3(1, 1, 1))
  1750. elseif AMOUNT > 0 then
  1751. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "+"..STAT, C3(1, 1, 1))
  1752. end
  1753. end
  1754. if DURATION ~= nil and DURATION ~= 0 then
  1755. local StatDuration = IT("NumberValue")
  1756. StatDuration.Name = "Duration"
  1757. StatDuration.Value = DURATION
  1758. StatDuration.Parent = NewStatChange
  1759. end
  1760. NewStatChange.Parent = LOCATION.Stats:FindFirstChild("ChangeStat")
  1761. end
  1762. end
  1763. end
  1764.  
  1765. vt=Vector3.new
  1766. cf=CFrame.new
  1767. euler=CFrame.fromEulerAnglesXYZ
  1768. angles=CFrame.Angles
  1769.  
  1770. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1771. local fp=Instance.new("Part")
  1772. fp.formFactor=formfactor
  1773. fp.Parent=parent
  1774. fp.Reflectance=reflectance
  1775. fp.Transparency=transparency
  1776. fp.CanCollide=false
  1777. fp.Locked=true
  1778. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1779. fp.Name=name
  1780. fp.Size=size
  1781. fp.Position=Character.Torso.Position
  1782. fp.Material=material
  1783. fp:BreakJoints()
  1784. return fp
  1785. end
  1786.  
  1787. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1788. local mesh=Instance.new(Mesh)
  1789. mesh.Parent=part
  1790. if Mesh=="SpecialMesh" then
  1791. mesh.MeshType=meshtype
  1792. mesh.MeshId=meshid
  1793. end
  1794. mesh.Offset=offset
  1795. mesh.Scale=scale
  1796. return mesh
  1797. end
  1798.  
  1799. function BreakEffect(brickcolor,cframe,x1,y1,z1,Color)
  1800. local prt=part("Custom",workspace,"Neon",0,0,Color,"Effect",vt(0.5,0.5,0.5))
  1801. prt.Anchored=true
  1802. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1803. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1804. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1805. CF=Part.CFrame
  1806. Numbb=0
  1807. randnumb=math.random()-math.random()
  1808. for i=0,1,0.05 do
  1809. wait()
  1810. CF=CF*cf(0,1,0)
  1811. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1812. Part.CFrame=CF*euler(Numbb,0,0)
  1813. Part.Transparency=i
  1814. Numbb=Numbb+randnumb
  1815. end
  1816. Part.Parent=nil
  1817. end),prt)
  1818. end
  1819.  
  1820. --Usage: DamageFunction(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, hit, false, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  1821. function DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HIT, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1822. if HIT.Parent == nil then
  1823. return
  1824. end
  1825. local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  1826. for _, v in pairs(HIT.Parent:GetChildren()) do
  1827. if v:IsA("Humanoid") then
  1828. HITHUMANOID = v
  1829. end
  1830. end
  1831. if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  1832. StaggerHit.Value = true
  1833. if Play_Hitbox_Hit_Sound == true then
  1834. if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  1835. CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  1836. end
  1837. end
  1838. return
  1839. end
  1840. if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  1841. HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  1842. end
  1843. if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  1844. HIT = HIT.Parent.Parent:FindFirstChild("Head")
  1845. end
  1846. if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  1847. if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  1848. if HIT.Parent.DebounceHit.Value == true then
  1849. return
  1850. end
  1851. end
  1852. if AntiTeamKill.Value == true then
  1853. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  1854. if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  1855. return
  1856. end
  1857. end
  1858. end
  1859. if HITEVENWHENDEAD == false then
  1860. if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  1861. if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  1862. return
  1863. end
  1864. end
  1865. end
  1866. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1867. if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  1868. HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  1869. end
  1870. end
  1871. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1872. if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  1873. if STAGGER == true and Enable_Stagger == true then
  1874. HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  1875. end
  1876. end
  1877. end
  1878. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1879. if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  1880. if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  1881. HASBEENBLOCKED = true
  1882. if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  1883. StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  1884. if RANGED ~= true then
  1885. if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  1886. CreateSound(HITBLOCKSOUND, HIT, 1, HITBLOCKSOUNDPITCH)
  1887. end
  1888. end
  1889. local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  1890. BlockDebounce.Name = "BlockDebounce"
  1891. BlockDebounce.Value = true
  1892. if RANGED ~= true then
  1893. game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  1894. else
  1895. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  1896. end
  1897. end
  1898. if RANGED ~= true and Enable_Stagger == true then
  1899. HIT.Parent.Stats:FindFirstChild("Block").Value = false
  1900. Stagger.Value = true
  1901. end
  1902. return
  1903. end
  1904. end
  1905. end
  1906. if DECREASETHESTAT ~= nil then
  1907. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1908. IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1909. end
  1910. end
  1911. local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  1912. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1913. if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  1914. if CanPenetrateArmor.Value == true then
  1915. DAMAGE = DAMAGE
  1916. else
  1917. DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  1918. end
  1919. elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  1920. DAMAGE = DAMAGE
  1921. end
  1922. end
  1923. if CanCrit.Value == true then
  1924. CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  1925. if CRITCHANCENUMBER == 1 then
  1926. DAMAGE = DAMAGE * 2
  1927. end
  1928. end
  1929. DAMAGE = math.floor(DAMAGE)
  1930. if DAMAGE <= 3 and HASBEENBLOCKED == false then
  1931. if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  1932. StaggerHit.Value = true
  1933. end
  1934. if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  1935. end
  1936. elseif DAMAGE > 3 and DAMAGE < 100 and HASBEENBLOCKED == false then
  1937. if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  1938. end
  1939. end
  1940. if DAMAGE > 3 and DAMAGE < 20 and HASBEENBLOCKED == false then
  1941. HITHUMANOID.MaxHealth = 100
  1942. HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  1943. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1944. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1945. else
  1946. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 220/255, 0))
  1947. end
  1948. elseif DAMAGE >= 20 and DAMAGE < 100 and HASBEENBLOCKED == false then
  1949. HITHUMANOID.MaxHealth = 100
  1950. HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  1951. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1952. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1953. else
  1954. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 0, 0))
  1955. end
  1956. elseif DAMAGE == 100 then
  1957. local part = Instance.new("Part")
  1958. part.Anchored = true
  1959. part.CanCollide = false
  1960. part.Transparency = 1
  1961. part.CFrame = HIT.CFrame
  1962. part.Parent = Effects
  1963. game:GetService("Debris"):AddItem(part, 5)
  1964. for i = 1, 15 do
  1965. BreakEffect(BrickColor.new("Black"),part.CFrame,0.5,math.random(5,20),0.5,BrickColor.new("Really red"))
  1966. end
  1967. CreateSound("215395073", part, 1, 1)
  1968. StatLabel("Normal", part.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Erased", C3(225/255, 0/255, 0/255))
  1969. HIT.Parent:remove()
  1970. elseif DAMAGE == 0 then
  1971. CreateSound("260433557", HIT, 1, 1)
  1972. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Jammed", C3(0/255, 0/255, 0/255))
  1973. h = HIT.Parent:GetChildren()
  1974. for i = 1, #h do
  1975. if h[i].ClassName == "Part" then
  1976. h[i].Anchored = true
  1977. elseif h[i].ClassName == "Script" then
  1978. h[i]:Destroy()
  1979. end
  1980. end
  1981. elseif DAMAGE == 1 then
  1982. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Vitalized", C3(0/255, 255/255, 0/255))
  1983. HITHUMANOID.MaxHealth = "inf"
  1984. HITHUMANOID.Health = "inf"
  1985. for i = 1, 5 do
  1986. BreakEffect(BrickColor.new("Black"),HIT.CFrame,0.5,math.random(5,20),0.5,BrickColor.new("Lime green"))
  1987. end
  1988. elseif DAMAGE == 2 then
  1989. if game.Players:FindFirstChild(HIT.Parent.Name) then
  1990. local granted = script:Clone()
  1991. HITHUMANOID.MaxHealth = "inf"
  1992. HITHUMANOID.Health = "inf"
  1993. g = Instance.new("Folder")
  1994. g.Parent = HIT.Parent
  1995. g.Name = "Granted"
  1996. granted.Parent = HIT.Parent.Torso
  1997. granted.Disabled = false
  1998. CreateSound("3264923", HIT, 1, 1)
  1999. CreateSound("814168787", HIT, 1, 1)
  2000. end
  2001. end
  2002. if TYPE == "Normal" then
  2003. local vp = IT("BodyVelocity")
  2004. vp.P=500
  2005. vp.maxForce = VT(math.huge, 0, math.huge)
  2006. if KNOCKBACKTYPE == 1 then
  2007. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  2008. elseif KNOCKBACKTYPE == 2 then
  2009. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  2010. end
  2011. if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  2012. vp.Parent = HIT--.Parent.Torso
  2013. end
  2014. game:GetService("Debris"):AddItem(vp, 0.5)
  2015. end
  2016. HASBEENBLOCKED = false
  2017. RecentEnemy.Value = HIT.Parent
  2018. local DebounceHit = IT("BoolValue", HIT.Parent)
  2019. DebounceHit.Name = "DebounceHit"
  2020. DebounceHit.Value = true
  2021. game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  2022. end
  2023. end
  2024.  
  2025. --Usage: MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Part, 5, true, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2026. function MagnitudeDamage(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, PART, MAGNITUDE, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2027. for _, c in pairs(workspace:GetChildren()) do
  2028. local HUMANOID = c:FindFirstChild("Humanoid")
  2029. local HEAD = nil
  2030. if HUMANOID ~= nil then
  2031. for _, d in pairs(c:GetChildren()) do
  2032. if d.ClassName == "Model" and RANGED ~= true then
  2033. HEAD = d:FindFirstChild("Hitbox")
  2034. if HEAD ~= nil then
  2035. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2036. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2037. if Play_Hitbox_Hit_Sound == true then
  2038. local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2039. HitRefpart.Anchored = true
  2040. HitRefpart.CFrame = CF(HEAD.Position)
  2041. CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  2042. end
  2043. if Enable_Stagger_Hit == true then
  2044. StaggerHit.Value = true
  2045. end
  2046. end
  2047. end
  2048. elseif d:IsA"BasePart" then
  2049. HEAD = d
  2050. if HEAD ~= nil then
  2051. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2052. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2053. DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HEAD, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2054. end
  2055. end
  2056. end
  2057. end
  2058. end
  2059. end
  2060. end
  2061.  
  2062. function VoidErase()
  2063. ATTACK = true
  2064. for i=0, 1, 0.1 / Animation_Speed do
  2065. Swait()
  2066. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0.05 * Player_Size, 0 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2067. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(40)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2068. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(-55), RAD(-100)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2069. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2070. RightHip.C0 = Clerp(RightHip.C0, CF(0.95 * Player_Size, -1 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(130), RAD(0)) * ANGLES(RAD(-1.25 - 2.5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2071. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.25 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-2.5 + 2.5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2072. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.15 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2073. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2074. break
  2075. end
  2076. end
  2077. CreateSound("971126018",Head, 1.2, MRANDOM(7, 9) / 10)
  2078. for i=0, 1, 0.1 / Animation_Speed*5 do
  2079. Swait()
  2080. local Pos = HitboxPart
  2081. local Offset = HitboxPart.CFrame * CF(0, 0.1 * Player_Size, 0)
  2082. local Color = "Really black"
  2083. local Material = "Neon"
  2084. local TheDelay = 0.01
  2085. local Height = 6.2 * Player_Size
  2086. BLCF = Offset
  2087. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0.05 * Player_Size, 0 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2088. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(40)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(-100)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2090. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2091. RightHip.C0 = Clerp(RightHip.C0, CF(0.95 * Player_Size, -1 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(130), RAD(0)) * ANGLES(RAD(-1.25 - 2.5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2092. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.25 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-2.5 + 2.5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2093. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.15 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2094. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2095. break
  2096. end
  2097. local FIREEFFECTCOLORS = {"Royal purple", "Really black"}
  2098. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Head, 30, false, 100, 100,-5, "Normal", RootPart, 0.5, 1, MRANDOM(50, 70), nil, true, false, nil, 0, 0, false)
  2099. MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 50000, 50000, 50000, -1, -1, -1, 0.065)
  2100. MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 50000, 50000, 50000, -1, -1, -1, 0.065)
  2101. --MagicBlock("White", "Neon", Head.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), 1500, 1500, 1500, 30, 30, 30, 0.1)
  2102. end
  2103. BLCF = nil
  2104. SCFR = nil
  2105. ATTACK = false
  2106. end
  2107.  
  2108. function yeetus()
  2109. print("This aint done yet boi")
  2110. end
  2111.  
  2112. local okiy = math.random(1,1)
  2113. if okiy == 1 then
  2114. chatfunc("Edit By InfiniteOneWithdank")
  2115. end
  2116.  
  2117. --><Assign Things To Keys
  2118.  
  2119. function MouseDown(Mouse)
  2120. if ATTACK == false then
  2121. end
  2122. end
  2123.  
  2124. function MouseUp(Mouse)
  2125. HOLD = false
  2126. end
  2127.  
  2128. function KeyDown(Key)
  2129. KEYHOLD = true
  2130. if Key == "z" and ATTACK == false then
  2131. VoidJump()
  2132. end
  2133. if Key == "x" and ATTACK == false then
  2134. VoidGround()
  2135. end
  2136. if Key == "c" and ATTACK == false then
  2137. VoidErase()
  2138. end
  2139. if Key == "e" and ATTACK == false then
  2140. TP()
  2141. end
  2142. if Key == "r" and ATTACK == false then
  2143. VoidsSsnap()
  2144. end
  2145. if Key == "v" and ATTACK == false then
  2146. VoidBurn()
  2147. end
  2148. if Key == "m" and ATTACK == false then
  2149. TheRift()
  2150. end
  2151. if Key == "f" and ATTACK == false then
  2152. THE_END()
  2153. end
  2154. if Key == "q" and ATTACK == false then
  2155. kaboom()
  2156. end
  2157. end
  2158. function KeyUp(Key)
  2159. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  2160. KEYHOLD = false
  2161. end
  2162. end
  2163.  
  2164. Mouse.Button1Down:connect(function(NEWKEY)
  2165. MouseDown(NEWKEY)
  2166. end)
  2167. Mouse.Button1Up:connect(function(NEWKEY)
  2168. MouseUp(NEWKEY)
  2169. end)
  2170. Mouse.KeyDown:connect(function(NEWKEY)
  2171. KeyDown(NEWKEY)
  2172. end)
  2173. Mouse.KeyUp:connect(function(NEWKEY)
  2174. KeyUp(NEWKEY)
  2175. end)
  2176.  
  2177. --><:Thonkering:
  2178. function unanchor()
  2179. if UNANCHOR == true then
  2180. g = Character:GetChildren()
  2181. for i = 1, #g do
  2182. if g[i].ClassName == "Part" then
  2183. g[i].Anchored = false
  2184. end
  2185. end
  2186. end
  2187. end
  2188.  
  2189.  
  2190. --><Wrap The Script
  2191. Humanoid.Changed:connect(function(Jump)
  2192. if Jump == "Jump" and (Disable_Jump == true) then
  2193. Humanoid.Jump = false
  2194. end
  2195. end)
  2196.  
  2197. while true do
  2198. Swait()
  2199. script.Parent = WEAPONGUI
  2200. ANIMATE.Parent = nil
  2201. if Humanoid then
  2202. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2203. IDLEANIMATION:Play()
  2204. end
  2205. SINE = SINE + CHANGE
  2206. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2207. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2208. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2209. EyeWeld2.C1 = Clerp(EyeWeld2.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed)
  2210. EyeWeld.C1 = Clerp(EyeWeld.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(SINE*2)), 1 / Animation_Speed)
  2211. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 24)
  2212. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2213. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2214. 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)
  2215. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * 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(45 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  2216. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * 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(45 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  2217. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2218. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2219. 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)
  2220. 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)
  2221. 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)
  2222. end
  2223. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2224. ANIM = "Jump"
  2225. if ATTACK == false then
  2226. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2227. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2228. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2229. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2230. 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)
  2231. 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)
  2232. end
  2233. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2234. ANIM = "Fall"
  2235. if ATTACK == false then
  2236. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2237. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2238. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2239. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2240. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2241. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2242. end
  2243. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2244. ANIM = "Idle"
  2245. if ATTACK == false then
  2246. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2247. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2248. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2249. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2250. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2251. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2252. end
  2253. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2254. ANIM = "Walk"
  2255. if ATTACK == false then
  2256. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  2257. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  2258. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.15 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  2259. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
  2260. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2261. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2262. end
  2263. end
  2264. SKILL1TEXT.Rotation = math.random(-3,3)
  2265. SKILL2TEXT.Rotation = math.random(-3,3)
  2266. SKILL3TEXT.Rotation = math.random(-3,3)
  2267. SKILL4TEXT.Rotation = math.random(-3,3)
  2268. SKILL5TEXT.Rotation = math.random(-3,3)
  2269. SKILL6TEXT.Rotation = math.random(-3,3)
  2270. SKILL7TEXT.Rotation = math.random(-3,3)
  2271. SKILL8TEXT.Rotation = math.random(-3,3)
  2272. SKILL9TEXT.Rotation = math.random(-3,3)
  2273. SKILL1TEXT.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  2274. SKILL2TEXT.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  2275. SKILL3TEXT.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  2276. SKILL4TEXT.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  2277. SKILL5TEXT.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  2278. SKILL6TEXT.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  2279. SKILL7TEXT.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  2280. SKILL8TEXT.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  2281. SKILL9TEXT.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  2282. unanchor()
  2283. Humanoid.MaxHealth = "inf"
  2284. Humanoid.Health = "inf"
  2285. if Rooted == false then
  2286. Disable_Jump = false
  2287. Humanoid.WalkSpeed = Speed
  2288. elseif Rooted == true then
  2289. Disable_Jump = true
  2290. Humanoid.WalkSpeed = 0
  2291. end
  2292. if ATTACK == false and Player.Name == "InfiniteOneWithdank" then
  2293. local thanoschin = Slice("Thin",1,15,CF(Torso.Position) * CF(MRANDOM(-1,1),MRANDOM(-6,6),MRANDOM(-1,1)) * ANGLES(RAD(-10,10),RAD(MRANDOM(-180,180)),RAD(-10,10)),SKILLTEXTCOLOR,VT(-0.2,0,-0.2))
  2294. end
  2295. MagicSphere1(VT(1,1,1)/5,35,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),Color3.new(1,0,1),VT(0,0,0))
  2296. refit()
  2297. sick.SoundId = "rbxassetid://1464474710"
  2298. sick.Looped = true
  2299. sick.Pitch = 1
  2300. sick.Volume = 3
  2301. sick.Playing = true
  2302. if sick.Parent ~= RootPart then
  2303. sick = IT("Sound",RootPart)
  2304. end
  2305. local d = Character:FindFirstChild("FZcharge3")
  2306. if d then
  2307. d.Color = ColorSequence.new(Color3.new(1,0,1))
  2308. end
  2309. end
  2310.  
  2311. -----------------------------------
  2312.  
  2313. -------------------||
  2314. --------------------\\
  2315. --||||||||||]]]]]]]]]\\
  2316. ---------------------\\\\\\\\\\\\\\\\\\\\
  2317. --END OF EDIT BY InfiniteOneWithdank|]]>>
  2318. ---------------------////////////////////
  2319. --||||||||||]]]]]]]]]//
  2320. --------------------//
  2321. -------------------||
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement