Advertisement
Wweroblox12121212

Untitled

Sep 28th, 2018
3,841
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 124.34 KB | None | 0 0
  1. script.Name = "Banisher Gun V3 / 1"
  2. --//====================================================\\--
  3. --|| CREATED BY SHACKLUSTER Edit By NameClan
  4. --\\====================================================//--
  5.  
  6. script:ClearAllChildren()
  7. wait(0.2)
  8.  
  9. local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
  10. local FireSound = "904051531"
  11. local LAUGHS = {834001699,834001752,834001797,834001828}
  12. Player = game:GetService("Players").LocalPlayer
  13. PlayerGui = Player.PlayerGui
  14. Cam = workspace.CurrentCamera
  15. Backpack = Player.Backpack
  16. Character = Player.Character
  17. Humanoid = Character.Humanoid
  18. Mouse = Player:GetMouse()
  19. RootPart = Character["HumanoidRootPart"]
  20. Torso = Character["Torso"]
  21. Head = Character["Head"]
  22. RightArm = Character["Right Arm"]
  23. LeftArm = Character["Left Arm"]
  24. RightLeg = Character["Right Leg"]
  25. LeftLeg = Character["Left Leg"]
  26. local sick = Instance.new("Sound",Character)
  27. q = Character:GetChildren()
  28. for u = 1, #q do
  29. if q[u].ClassName == "Accessory" then
  30. q[u]:Destroy()
  31. elseif q[u].ClassName == "CharacterMesh" then
  32. q[u]:Destroy()
  33. end
  34. end
  35. Head.face:Destroy()
  36. Head.Mesh:Destroy()
  37. newmesh = Instance.new("SpecialMesh")
  38. newmesh.Scale = Vector3.new(1.1,1.1,1.1)
  39. newmesh.MeshId = "http://www.roblox.com/asset/?id=0"
  40. newmesh.TextureId = "http://www.roblox.com/asset/?id=0"
  41. newmesh.Parent = Head
  42.  
  43. local function weldBetween(a, b)
  44. local weldd = Instance.new("ManualWeld")
  45. weldd.Part0 = a
  46. weldd.Part1 = b
  47. weldd.C0 = CFrame.new()
  48. weldd.C1 = b.CFrame:inverse() * a.CFrame
  49. weldd.Parent = a
  50. return weldd
  51. end
  52. RootJoint = RootPart["RootJoint"]
  53. Neck = Torso["Neck"]
  54. RightShoulder = Torso["Right Shoulder"]
  55. LeftShoulder = Torso["Left Shoulder"]
  56. RightHip = Torso["Right Hip"]
  57. LeftHip = Torso["Left Hip"]
  58. local TIME = 0
  59. local sick = Instance.new("Sound",Torso)
  60.  
  61. IT = Instance.new
  62. CF = CFrame.new
  63. VT = Vector3.new
  64. RAD = math.rad
  65. C3 = Color3.new
  66. UD2 = UDim2.new
  67. BRICKC = BrickColor.new
  68. ANGLES = CFrame.Angles
  69. EULER = CFrame.fromEulerAnglesXYZ
  70. COS = math.cos
  71. ACOS = math.acos
  72. SIN = math.sin
  73. ASIN = math.asin
  74. ABS = math.abs
  75. MRANDOM = math.random
  76. FLOOR = math.floor
  77.  
  78.  
  79. it = Instance.new
  80.  
  81. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  82. local fp=it("Part")
  83. fp.formFactor=formfactor
  84. fp.Parent=parent
  85. fp.Reflectance=reflectance
  86. fp.Transparency=transparency
  87. fp.CanCollide=false
  88. fp.Locked=true
  89. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  90. fp.Name=name
  91. fp.Size=size
  92. fp.Position=Character.Torso.Position
  93. fp.Material=material
  94. fp:BreakJoints()
  95. return fp
  96. end
  97.  
  98. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  99. local mesh=it(Mesh)
  100. mesh.Parent=part
  101. if Mesh=="SpecialMesh" then
  102. mesh.MeshType=meshtype
  103. mesh.MeshId=meshid
  104. end
  105. mesh.Offset=offset
  106. mesh.Scale=scale
  107. return mesh
  108. end
  109.  
  110. function weld(parent,part0,part1,c0,c1)
  111. local weld=it("Weld")
  112. weld.Parent=parent
  113. weld.Part0=part0
  114. weld.Part1=part1
  115. weld.C0=c0
  116. weld.C1=c1
  117. return weld
  118. end
  119.  
  120. q = "Really black"
  121. Claw1=part(Enum.FormFactor.Custom,Character,Enum.Material.SmoothPlastic,0,0,q,"Claw",Vector3.new(0.400000006, 0.400000036, 0.400000006))
  122. Claw1weld=weld(Character,RightArm,Claw1,CFrame.new(0.25, -2.3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00980377197, -0.0303750038, 0.719708443, -5, 3.10001451e-005, 3.09999632e-005, 3.10008145e-005, 0, 0, 0, -4, -1))
  123. mesh("SpecialMesh",Claw1,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=10681506",Vector3.new(0, 0, 0),Vector3.new(-1,-1.8,-1))
  124. Claw2=part(Enum.FormFactor.Custom,Character,Enum.Material.SmoothPlastic,0,0,q,"Claw",Vector3.new(0.400000006, 0.400000036, 0.400000006))
  125. Claw2weld=weld(Character,LeftArm,Claw2,CFrame.new(-0.25, -2.3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00980377197, -0.0303750038, 0.719708443, 5, 3.10001451e-005, 3.09999632e-005, 3.10008145e-005, 0, 0, 0, -4, -1))
  126. mesh("SpecialMesh",Claw2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=10681506",Vector3.new(0, 0, 0),Vector3.new(-1,-1.8,-1))
  127.  
  128. --//=================================\\
  129. --|| USEFUL VALUES
  130. --\\=================================//
  131.  
  132. Animation_Speed = 3
  133. local FORCERESET = false
  134. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  135. local Speed = 16
  136. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  137. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  138. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  139. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  140. local DAMAGEMULTIPLIER = 1
  141. local ANIM = "Idle"
  142. local ATTACK = false
  143. local EQUIPPED = false
  144. local HOLD = false
  145. local COMBO = 1
  146. local COMBO2 = 1
  147. local Rooted = false
  148. local SINE = 0
  149. local STAGGERHITANIM = false
  150. local STAGGERANIM = false
  151. local KEYHOLD = false
  152. local CHANGE = 2 / Animation_Speed
  153. local WALKINGANIM = false
  154. local VALUE1 = false
  155. local NOWALK = false
  156. local VALUE2 = false
  157. local INTRO = false
  158. local TRANSFORMED = false
  159. local ROBLOXIDLEANIMATION = IT("Animation")
  160. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  161. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  162. --ROBLOXIDLEANIMATION.Parent = Humanoid
  163. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  164. WEAPONGUI.Name = "BanishV3Gui"
  165. local Weapon = IT("Model")
  166. Weapon.Name = "Adds"
  167. local Effects = IT("Folder", Weapon)
  168. Effects.Name = "Effects"
  169. local ANIMATOR = Humanoid.Animator
  170. local ANIMATE = Character:FindFirstChild("Animate")
  171. local UNANCHOR = true
  172. local TOBANISH = {}
  173. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  174. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  175. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  176. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  177. script.Parent = PlayerGui
  178.  
  179. --//=================================\\
  180. --\\=================================//
  181.  
  182.  
  183. --//=================================\\
  184. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  185. --\\=================================//
  186.  
  187.  
  188. Class_Name = "Beserker"
  189. Weapon_Name = "Claws"
  190.  
  191. Custom_Colors = {
  192. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  193. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  194.  
  195. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  196. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  197. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  198. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  199. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  200.  
  201. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  202. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  203. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  204. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  205. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  206. }
  207.  
  208. Mana_Bar_Background_Transparency = 0 --Transparency for the background of the mana bar.
  209. Secondary_Mana_Bar_Background_Transparency = 0 --Transparency for the background of the secondary mana bar.
  210. Health_Bar_Background_Transparency = 0 --Transparency for the background of the health bar.
  211. Stun_Bar_Background_Transparency = 0 --Transparency for the background of the stun bar.
  212. Ability_Background_Transparency = 0 --Transparency for the background of the abilities.
  213. Stat_Background_Transparency = 0 --Transparency for the background of the stats.
  214.  
  215. Player_Size = 1 --Size of the player.
  216. Animation_Speed = 2
  217. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  218.  
  219. Enable_Gui = false --Enables or disables the Weapon Gui. Also functions as hiding or showing the Gui.
  220. Enable_Stats = false --Enables or disables stats.
  221. Put_Stats_In_Character = false --Places stats in Character.
  222. Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
  223. Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
  224. Enable_Stagger = false --Enables or disables staggering.
  225. Enable_Stun = false --Enables or disables the stun mechanic.
  226. Enable_Abilities = false --Enables abilites with cooldowns and mana costs.
  227. Enable_Secondary_Bar = false --Enables the secondary mana bar, if true.
  228.  
  229. Start_Equipped = false --Starts the player equipped with their weapon.
  230. Start_Equipped_With_Equipped_Animation = false --Used in conjunction with the above option. Starts your equip animation.
  231. Can_Equip_Or_Unequip = true --Enables or disables the ability to unequip or equip your weapon.
  232. Disable_Animator = true --Disables the Animator in the humanoid.
  233. Disable_Animate = true --Disables the Animate script in the character.
  234. Disable_Moving_Arms = false --Keeps the arms from moving around.
  235. Use_Motors_Instead_Of_Welds = false --Uses motors instead of welds to disable moving arms.
  236. Walkspeed_Depends_On_Movement_Value = false --Walkspeed depends on movement value. Self-explanatory.
  237. Disable_Jump = false --Disables jumping.
  238. Use_HopperBin = true --Uses a hopperbin to do things.
  239.  
  240. Player_Size = 1 --Size of the player.
  241. Animation_Speed = 2
  242. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  243.  
  244. Cooldown_1 = 0 --Cooldowns for abilites.
  245. Cooldown_2 = 0
  246. Cooldown_3 = 0
  247. Cooldown_4 = 0
  248. Skill_1_Mana_Cost = 0 --How much mana is required to use the skill.
  249. Skill_2_Mana_Cost = 0
  250. Skill_3_Mana_Cost = 0
  251. Skill_4_Mana_Cost = 0
  252. Max_Mana = 0 --Maximum amount of mana you can have.
  253. Max_Secondary_Mana = 0 --Maximum amount of secondary mana you can have.
  254. Mana_Name = "Mana" --Name for the mana bar.
  255. Secondary_Mana_Name = "Block" --Name for the secondary mana bar.
  256. Max_Stun = 1 --Maximum amount of stun you can have.
  257. Recover_Mana = 0 --How much mana you gain.
  258. Mana_Regen_Mode = "1" --Basically switches from one mana regen system to another.
  259. Secondary_Mana_Regen_Mode = "1" --Basically switches from one secondary mana regen system to another.
  260. Stun_Lose_Mode = "1" --Basically switches from one secondary stun loss system to another.
  261. Recover_Secondary_Mana = 0 --How much secondary mana you gain.
  262. Lose_Stun = 0 --How much stun you lose.
  263. Stun_Wait = 0 --Delay between losing stun.
  264. Mana_Wait = 0 --Delay between gaining mana.
  265. Secondary_Mana_Wait = 0 --Delay between gaining secondary mana.
  266. Menu_Update_Speed = 0 --How fast the Weapon Gui will update.
  267. Constant_Update = false --Removes the delay between updating the Weapon GUI.
  268. Show_Stats = false --Hides or shows stats.
  269. Stat_Offset = 0.74 --For cosmetic purposes. {0.74, 0.78}
  270.  
  271. ArtificialHB = Instance.new("BindableEvent", script)
  272. ArtificialHB.Name = "ArtificialHB"
  273.  
  274. script:WaitForChild("ArtificialHB")
  275.  
  276. frame = Frame_Speed
  277. tf = 0
  278. allowframeloss = false
  279. tossremainder = false
  280. lastframe = tick()
  281. script.ArtificialHB:Fire()
  282.  
  283. game:GetService("RunService").Heartbeat:connect(function(s, p)
  284. tf = tf + s
  285. if tf >= frame then
  286. if allowframeloss then
  287. script.ArtificialHB:Fire()
  288. lastframe = tick()
  289. else
  290. for i = 1, math.floor(tf / frame) do
  291. script.ArtificialHB:Fire()
  292. end
  293. lastframe = tick()
  294. end
  295. if tossremainder then
  296. tf = 0
  297. else
  298. tf = tf - frame * math.floor(tf / frame)
  299. end
  300. end
  301. end)
  302.  
  303. --//=================================\\
  304. --\\=================================//
  305.  
  306. --//=================================\\
  307. --|| SOME FUNCTIONS
  308. --\\=================================//
  309.  
  310. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  311. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  312. end
  313.  
  314. function PositiveAngle(NUMBER)
  315. if NUMBER >= 0 then
  316. NUMBER = 0
  317. end
  318. return NUMBER
  319. end
  320.  
  321. function NegativeAngle(NUMBER)
  322. if NUMBER <= 0 then
  323. NUMBER = 0
  324. end
  325. return NUMBER
  326. end
  327.  
  328. function Swait(NUMBER)
  329. if NUMBER == 0 or NUMBER == nil then
  330. ArtificialHB.Event:wait()
  331. else
  332. for i = 1, NUMBER do
  333. ArtificialHB.Event:wait()
  334. end
  335. end
  336. end
  337.  
  338. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  339. local NEWMESH = IT(MESH)
  340. if MESH == "SpecialMesh" then
  341. NEWMESH.MeshType = MESHTYPE
  342. if MESHID ~= "nil" and MESHID ~= "" then
  343. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  344. end
  345. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  346. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  347. end
  348. end
  349. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  350. NEWMESH.Scale = SCALE
  351. NEWMESH.Parent = PARENT
  352. return NEWMESH
  353. end
  354.  
  355. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  356. local NEWPART = IT("Part")
  357. NEWPART.formFactor = FORMFACTOR
  358. NEWPART.Reflectance = REFLECTANCE
  359. NEWPART.Transparency = TRANSPARENCY
  360. NEWPART.CanCollide = false
  361. NEWPART.Locked = true
  362. NEWPART.Anchored = true
  363. if ANCHOR == false then
  364. NEWPART.Anchored = false
  365. end
  366. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  367. NEWPART.Name = NAME
  368. NEWPART.Size = SIZE
  369. NEWPART.Position = Torso.Position
  370. NEWPART.Material = MATERIAL
  371. NEWPART:BreakJoints()
  372. NEWPART.Parent = PARENT
  373. return NEWPART
  374. end
  375.  
  376. local function weldBetween(a, b)
  377. local weldd = Instance.new("ManualWeld")
  378. weldd.Part0 = a
  379. weldd.Part1 = b
  380. weldd.C0 = CFrame.new()
  381. weldd.C1 = b.CFrame:inverse() * a.CFrame
  382. weldd.Parent = a
  383. return weldd
  384. end
  385.  
  386.  
  387. function QuaternionFromCFrame(cf)
  388. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  389. local trace = m00 + m11 + m22
  390. if trace > 0 then
  391. local s = math.sqrt(1 + trace)
  392. local recip = 0.5 / s
  393. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  394. else
  395. local i = 0
  396. if m11 > m00 then
  397. i = 1
  398. end
  399. if m22 > (i == 0 and m00 or m11) then
  400. i = 2
  401. end
  402. if i == 0 then
  403. local s = math.sqrt(m00 - m11 - m22 + 1)
  404. local recip = 0.5 / s
  405. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  406. elseif i == 1 then
  407. local s = math.sqrt(m11 - m22 - m00 + 1)
  408. local recip = 0.5 / s
  409. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  410. elseif i == 2 then
  411. local s = math.sqrt(m22 - m00 - m11 + 1)
  412. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  413. end
  414. end
  415. end
  416.  
  417. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  418. local xs, ys, zs = x + x, y + y, z + z
  419. local wx, wy, wz = w * xs, w * ys, w * zs
  420. local xx = x * xs
  421. local xy = x * ys
  422. local xz = x * zs
  423. local yy = y * ys
  424. local yz = y * zs
  425. local zz = z * zs
  426. 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))
  427. end
  428.  
  429. function QuaternionSlerp(a, b, t)
  430. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  431. local startInterp, finishInterp;
  432. if cosTheta >= 0.0001 then
  433. if (1 - cosTheta) > 0.0001 then
  434. local theta = ACOS(cosTheta)
  435. local invSinTheta = 1 / SIN(theta)
  436. startInterp = SIN((1 - t) * theta) * invSinTheta
  437. finishInterp = SIN(t * theta) * invSinTheta
  438. else
  439. startInterp = 1 - t
  440. finishInterp = t
  441. end
  442. else
  443. if (1 + cosTheta) > 0.0001 then
  444. local theta = ACOS(-cosTheta)
  445. local invSinTheta = 1 / SIN(theta)
  446. startInterp = SIN((t - 1) * theta) * invSinTheta
  447. finishInterp = SIN(t * theta) * invSinTheta
  448. else
  449. startInterp = t - 1
  450. finishInterp = t
  451. end
  452. end
  453. 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
  454. end
  455.  
  456. function Clerp(a, b, t)
  457. local qa = {QuaternionFromCFrame(a)}
  458. local qb = {QuaternionFromCFrame(b)}
  459. local ax, ay, az = a.x, a.y, a.z
  460. local bx, by, bz = b.x, b.y, b.z
  461. local _t = 1 - t
  462. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  463. end
  464.  
  465. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  466. local frame = IT("Frame")
  467. frame.BackgroundTransparency = TRANSPARENCY
  468. frame.BorderSizePixel = BORDERSIZEPIXEL
  469. frame.Position = POSITION
  470. frame.Size = SIZE
  471. frame.BackgroundColor3 = COLOR
  472. frame.BorderColor3 = BORDERCOLOR
  473. frame.Name = NAME
  474. frame.Parent = PARENT
  475. return frame
  476. end
  477.  
  478.  
  479. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  480. local label = IT("TextLabel")
  481. label.BackgroundTransparency = 1
  482. label.Size = UD2(1, 0, 1, 0)
  483. label.Position = UD2(0, 0, 0, 0)
  484. label.TextColor3 = TEXTCOLOR
  485. label.TextStrokeTransparency = STROKETRANSPARENCY
  486. label.TextTransparency = TRANSPARENCY
  487. label.FontSize = TEXTFONTSIZE
  488. label.Font = TEXTFONT
  489. label.BorderSizePixel = BORDERSIZEPIXEL
  490. label.TextScaled = false
  491. label.Text = TEXT
  492. label.Name = NAME
  493. label.Parent = PARENT
  494. return label
  495. end
  496.  
  497. function NoOutlines(PART)
  498. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  499. end
  500.  
  501. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  502. local NEWWELD = IT(TYPE)
  503. NEWWELD.Part0 = PART0
  504. NEWWELD.Part1 = PART1
  505. NEWWELD.C0 = C0
  506. NEWWELD.C1 = C1
  507. NEWWELD.Parent = PARENT
  508. return NEWWELD
  509. end
  510.  
  511. local S = IT("Sound")
  512. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  513. local NEWSOUND = nil
  514. coroutine.resume(coroutine.create(function()
  515. NEWSOUND = S:Clone()
  516. NEWSOUND.Parent = PARENT
  517. NEWSOUND.Volume = VOLUME
  518. NEWSOUND.Pitch = PITCH
  519. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  520. NEWSOUND:play()
  521. if DOESLOOP == true then
  522. NEWSOUND.Looped = true
  523. else
  524. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  525. NEWSOUND:remove()
  526. end
  527. end))
  528. return NEWSOUND
  529. end
  530.  
  531. function CFrameFromTopBack(at, top, back)
  532. local right = top:Cross(back)
  533. 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)
  534. end
  535.  
  536. --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})
  537. function WACKYEFFECT(Table)
  538. local TYPE = (Table.EffectType or "Sphere")
  539. local SIZE = (Table.Size or VT(1,1,1))
  540. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  541. local TRANSPARENCY = (Table.Transparency or 0)
  542. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  543. local CFRAME = (Table.CFrame or Torso.CFrame)
  544. local MOVEDIRECTION = (Table.MoveToPos or nil)
  545. local ROTATION1 = (Table.RotationX or 0)
  546. local ROTATION2 = (Table.RotationY or 0)
  547. local ROTATION3 = (Table.RotationZ or 0)
  548. local MATERIAL = (Table.Material or "Neon")
  549. local COLOR = (Table.Color or C3(1,1,1))
  550. local TIME = (Table.Time or 45)
  551. local SOUNDID = (Table.SoundID or nil)
  552. local SOUNDPITCH = (Table.SoundPitch or nil)
  553. local SOUNDVOLUME = (Table.SoundVolume or nil)
  554. coroutine.resume(coroutine.create(function()
  555. local PLAYSSOUND = false
  556. local SOUND = nil
  557. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  558. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  559. PLAYSSOUND = true
  560. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  561. end
  562. EFFECT.Color = COLOR
  563. local MSH = nil
  564. if TYPE == "Sphere" then
  565. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  566. elseif TYPE == "Block" then
  567. MSH = IT("BlockMesh",EFFECT)
  568. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  569. elseif TYPE == "Wave" then
  570. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  571. elseif TYPE == "Ring" then
  572. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  573. elseif TYPE == "Slash" then
  574. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  575. elseif TYPE == "Round Slash" then
  576. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  577. elseif TYPE == "Swirl" then
  578. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  579. elseif TYPE == "Skull" then
  580. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  581. elseif TYPE == "Crystal" then
  582. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  583. end
  584. if MSH ~= nil then
  585. local MOVESPEED = nil
  586. if MOVEDIRECTION ~= nil then
  587. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  588. end
  589. local GROWTH = SIZE - ENDSIZE
  590. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  591. if TYPE == "Block" then
  592. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  593. else
  594. EFFECT.CFrame = CFRAME
  595. end
  596. for LOOP = 1, TIME+1 do
  597. Swait()
  598. MSH.Scale = MSH.Scale - GROWTH/TIME
  599. if TYPE == "Wave" then
  600. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  601. end
  602. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  603. if TYPE == "Block" then
  604. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  605. else
  606. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  607. end
  608. if MOVEDIRECTION ~= nil then
  609. local ORI = EFFECT.Orientation
  610. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  611. EFFECT.Orientation = ORI
  612. end
  613. end
  614. if PLAYSSOUND == false then
  615. EFFECT:remove()
  616. else
  617. SOUND.Stopped:Connect(function()
  618. EFFECT:remove()
  619. end)
  620. end
  621. else
  622. if PLAYSSOUND == false then
  623. EFFECT:remove()
  624. else
  625. repeat Swait() until SOUND.Playing == false
  626. EFFECT:remove()
  627. end
  628. end
  629. end))
  630. end
  631.  
  632. function MakeForm(PART,TYPE)
  633. if TYPE == "Cyl" then
  634. local MSH = IT("CylinderMesh",PART)
  635. elseif TYPE == "Ball" then
  636. local MSH = IT("SpecialMesh",PART)
  637. MSH.MeshType = "Sphere"
  638. elseif TYPE == "Wedge" then
  639. local MSH = IT("SpecialMesh",PART)
  640. MSH.MeshType = "Wedge"
  641. end
  642. end
  643.  
  644. local asd = Instance.new("ParticleEmitter")
  645. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  646. asd.LightEmission = .1
  647. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  648. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  649. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  650. asd.Transparency = bbb
  651. asd.Size = aaa
  652. asd.ZOffset = .9
  653. asd.Acceleration = Vector3.new(0, -15, 0)
  654. asd.LockedToPart = false
  655. asd.EmissionDirection = "Back"
  656. asd.Lifetime = NumberRange.new(1, 2)
  657. asd.Rotation = NumberRange.new(-100, 100)
  658. asd.RotSpeed = NumberRange.new(-100, 100)
  659. asd.Speed = NumberRange.new(10)
  660. asd.Enabled = false
  661. asd.VelocitySpread = 999
  662.  
  663. function getbloody(victim,amount)
  664. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  665. PART.CFrame = victim.CFrame
  666. local HITPLAYERSOUNDS = {"356551938","264486467"}
  667. Debris:AddItem(PART,5)
  668. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  669. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  670. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  671. local prtcl = asd:Clone()
  672. prtcl.Parent = PART
  673. prtcl:Emit(amount*10)
  674. end
  675.  
  676. local Particle = IT("ParticleEmitter",nil)
  677. Particle.Enabled = false
  678. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  679. Particle.LightEmission = 0.5
  680. Particle.Rate = 150
  681. Particle.ZOffset = 1
  682. Particle.Rotation = NumberRange.new(-180, 180)
  683. Particle.RotSpeed = NumberRange.new(-180, 180)
  684. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  685. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  686.  
  687. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  688. function ParticleEmitter(Table)
  689. local PRTCL = Particle:Clone()
  690. local Speed = Table.Speed or 5
  691. local Drag = Table.Drag or 0
  692. local Size1 = Table.Size1 or 1
  693. local Size2 = Table.Size2 or 5
  694. local Lifetime1 = Table.Lifetime1 or 1
  695. local Lifetime2 = Table.Lifetime2 or 1.5
  696. local Parent = Table.Parent or Torso
  697. local Emit = Table.Emit or 100
  698. local Offset = Table.Offset or 360
  699. local Acel = Table.Acel or VT(0,0,0)
  700. local Enabled = Table.Enabled or false
  701. PRTCL.Parent = Parent
  702. PRTCL.Size = NumberSequence.new(Size1,Size2)
  703. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  704. PRTCL.Speed = NumberRange.new(Speed)
  705. PRTCL.VelocitySpread = Offset
  706. PRTCL.Drag = Drag
  707. PRTCL.Acceleration = Acel
  708. if Enabled == false then
  709. PRTCL:Emit(Emit)
  710. Debris:AddItem(PRTCL,Lifetime2)
  711. else
  712. PRTCL.Enabled = true
  713. end
  714. return PRTCL
  715. end
  716.  
  717. function SpawnTrail(FROM,TO,BIG)
  718. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  719. MakeForm(TRAIL,"Cyl")
  720. local DIST = (FROM - TO).Magnitude
  721. if BIG == true then
  722. TRAIL.Size = VT(0.5,DIST,0.5)
  723. else
  724. TRAIL.Size = VT(0.25,DIST,0.25)
  725. end
  726. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  727. coroutine.resume(coroutine.create(function()
  728. for i = 1, 5 do
  729. Swait()
  730. TRAIL.Transparency = TRAIL.Transparency + 0.1
  731. end
  732. TRAIL:remove()
  733. end))
  734. end
  735.  
  736. Debris = game:GetService("Debris")
  737.  
  738. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  739. local DIRECTION = CF(StartPos,EndPos).lookVector
  740. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  741. end
  742.  
  743. function turnto(position)
  744. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  745. end
  746.  
  747. --//=================================\\
  748. --|| RESIZE PLAYER
  749. --\\=================================//
  750.  
  751. if Player_Size ~= 1 then
  752. RootPart.Size = RootPart.Size * Player_Size
  753. Torso.Size = Torso.Size * Player_Size
  754. Head.Size = Head.Size * Player_Size
  755. RightArm.Size = RightArm.Size * Player_Size
  756. LeftArm.Size = LeftArm.Size * Player_Size
  757. RightLeg.Size = RightLeg.Size * Player_Size
  758. LeftLeg.Size = LeftLeg.Size * Player_Size
  759. RootJoint.Parent = RootPart
  760. Neck.Parent = Torso
  761. RightShoulder.Parent = Torso
  762. LeftShoulder.Parent = Torso
  763. RightHip.Parent = Torso
  764. LeftHip.Parent = Torso
  765.  
  766. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  767. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  768. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  769. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  770. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  771. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  772. if Disable_Moving_Arms == false then
  773. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  774. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  775. else
  776. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  777. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  778. end
  779. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  780. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  781. RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  782. LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  783. end
  784.  
  785.  
  786. --//=================================\\
  787. --\\=================================//
  788.  
  789. --//=================================\\
  790. --|| WEAPON CREATION
  791. --\\=================================//
  792.  
  793. local PRT = CreatePart(3, char, "Fabric", 0, 0, "", "The Mask", VT(1,1,1),false)
  794. PRT.Color = C3(0,0,0)
  795. local MaskWeld = CreateWeldOrSnapOrMotor("Weld", hed, hed, PRT, CF(0,0.2,0), CF(0, 0.15, 0))
  796. CreateMesh("SpecialMesh", PRT, "FileMesh", "62146989", "145633085", VT(1.1,1.1,1.1)*1.05, VT(0,0,0))
  797.  
  798. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  799. local TORSO = Torso
  800. local HUM = Humanoid
  801. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  802. coroutine.wrap(function()
  803. VT = Vector3.new
  804. MRANDOM = math.random
  805. local A = TIME
  806. local B = INTENSITY
  807. local C = true
  808. local HUMANOID = Humanoid
  809. local TIMER = A or 35
  810. local SHAKE = B or 5
  811. local FADE = C or true
  812. if HUMANOID then
  813. local FADER = SHAKE / TIMER
  814. for i = 1, TIMER do
  815. wait()
  816. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  817. end
  818. HUMANOID.CameraOffset = VT(0, 0, 0)
  819. end
  820.  
  821. end)()
  822. end
  823. end
  824.  
  825.  
  826. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  827. PRT.Color = C3(0,0,0)
  828. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  829. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  830. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  831. PRT.Color = C3(0,0,0)
  832.  
  833. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  834. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  835. MakeForm(Part,"Wedge")
  836.  
  837. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  838. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  839. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  840. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  841. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  842. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  843. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  844. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  845. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  846. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  847.  
  848. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  849. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  850. MakeForm(Part,"Wedge")
  851.  
  852. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  853. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  854. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  855. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  856. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  857. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  858. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  859. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  860. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  861. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  862.  
  863. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  864. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  865. MakeForm(Part,"Wedge")
  866.  
  867. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  868. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  869. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  870. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  871. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  872. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  873. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  874. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  875. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  876. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  877.  
  878. --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})
  879. function WACKYEFFECT(Table)
  880. local TYPE = (Table.EffectType or "Sphere")
  881. local SIZE = (Table.Size or VT(1,1,1))
  882. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  883. local TRANSPARENCY = (Table.Transparency or 0)
  884. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  885. local CFRAME = (Table.CFrame or Torso.CFrame)
  886. local MOVEDIRECTION = (Table.MoveToPos or nil)
  887. local ROTATION1 = (Table.RotationX or 0)
  888. local ROTATION2 = (Table.RotationY or 0)
  889. local ROTATION3 = (Table.RotationZ or 0)
  890. local MATERIAL = (Table.Material or "Neon")
  891. local COLOR = (Table.Color or C3(1,1,1))
  892. local TIME = (Table.Time or 45)
  893. local SOUNDID = (Table.SoundID or nil)
  894. local SOUNDPITCH = (Table.SoundPitch or nil)
  895. local SOUNDVOLUME = (Table.SoundVolume or nil)
  896. coroutine.resume(coroutine.create(function()
  897. local PLAYSSOUND = false
  898. local SOUND = nil
  899. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
  900. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  901. PLAYSSOUND = true
  902. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  903. end
  904. EFFECT.Color = COLOR
  905. local MSH = nil
  906. if TYPE == "Sphere" then
  907. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  908. elseif TYPE == "Block" then
  909. MSH = IT("BlockMesh",EFFECT)
  910. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  911. elseif TYPE == "Wave" then
  912. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  913. elseif TYPE == "Ring" then
  914. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  915. elseif TYPE == "Slash" then
  916. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  917. elseif TYPE == "Round Slash" then
  918. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  919. elseif TYPE == "Swirl" then
  920. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  921. elseif TYPE == "Skull" then
  922. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  923. elseif TYPE == "Crystal" then
  924. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  925. end
  926. if MSH ~= nil then
  927. local MOVESPEED = nil
  928. if MOVEDIRECTION ~= nil then
  929. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  930. end
  931. local GROWTH = SIZE - ENDSIZE
  932. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  933. if TYPE == "Block" then
  934. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  935. else
  936. EFFECT.CFrame = CFRAME
  937. end
  938. for LOOP = 1, TIME+1 do
  939. Swait()
  940. MSH.Scale = MSH.Scale - GROWTH/TIME
  941. if TYPE == "Wave" then
  942. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  943. end
  944. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  945. if TYPE == "Block" then
  946. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  947. else
  948. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  949. end
  950. if MOVEDIRECTION ~= nil then
  951. local ORI = EFFECT.Orientation
  952. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  953. EFFECT.Orientation = ORI
  954. end
  955. end
  956. if PLAYSSOUND == false then
  957. EFFECT:remove()
  958. else
  959. SOUND.Stopped:Connect(function()
  960. EFFECT:remove()
  961. end)
  962. end
  963. else
  964. if PLAYSSOUND == false then
  965. EFFECT:remove()
  966. else
  967. repeat Swait() until SOUND.Playing == false
  968. EFFECT:remove()
  969. end
  970. end
  971. end))
  972. end
  973.  
  974.  
  975. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  976. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  977. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  978. wave.CFrame = CFRAME
  979. coroutine.resume(coroutine.create(function(PART)
  980. for i = 1, WAIT do
  981. Swait()
  982. mesh.Scale = mesh.Scale + GROW
  983. if DOESROT == true then
  984. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  985. end
  986. wave.Transparency = wave.Transparency + 0.5 / WAIT
  987. if wave.Transparency > 0.99 then
  988. wave:remove()
  989. end
  990. end
  991. end))
  992. end
  993.  
  994. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  995. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  996. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  997. wave.CFrame = CFRAME
  998. coroutine.resume(coroutine.create(function(PART)
  999. for i = 1, WAIT do
  1000. Swait()
  1001. mesh.Scale = mesh.Scale + GROW
  1002. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1003. if DOESROT == true then
  1004. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1005. end
  1006. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1007. if wave.Transparency > 0.99 then
  1008. wave:remove()
  1009. end
  1010. end
  1011. end))
  1012. end
  1013.  
  1014. --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})
  1015. function WACKYEFFECT(Table)
  1016. local TYPE = (Table.EffectType or "Sphere")
  1017. local SIZE = (Table.Size or VT(1,1,1))
  1018. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1019. local TRANSPARENCY = (Table.Transparency or 0)
  1020. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1021. local CFRAME = (Table.CFrame or Torso.CFrame)
  1022. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1023. local ROTATION1 = (Table.RotationX or 0)
  1024. local ROTATION2 = (Table.RotationY or 0)
  1025. local ROTATION3 = (Table.RotationZ or 0)
  1026. local MATERIAL = (Table.Material or "Neon")
  1027. local COLOR = (Table.Color or C3(1,1,1))
  1028. local TIME = (Table.Time or 45)
  1029. local SOUNDID = (Table.SoundID or nil)
  1030. local SOUNDPITCH = (Table.SoundPitch or nil)
  1031. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1032. coroutine.resume(coroutine.create(function()
  1033. local PLAYSSOUND = false
  1034. local SOUND = nil
  1035. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1036. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1037. PLAYSSOUND = true
  1038. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1039. end
  1040. EFFECT.Color = COLOR
  1041. local MSH = nil
  1042. if TYPE == "Sphere" then
  1043. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1044. elseif TYPE == "Block" then
  1045. MSH = IT("BlockMesh",EFFECT)
  1046. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1047. elseif TYPE == "Wave" then
  1048. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1049. elseif TYPE == "Ring" then
  1050. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1051. elseif TYPE == "Slash" then
  1052. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1053. elseif TYPE == "Round Slash" then
  1054. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1055. elseif TYPE == "Swirl" then
  1056. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1057. elseif TYPE == "Skull" then
  1058. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1059. elseif TYPE == "Crystal" then
  1060. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1061. end
  1062. if MSH ~= nil then
  1063. local MOVESPEED = nil
  1064. if MOVEDIRECTION ~= nil then
  1065. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1066. end
  1067. local GROWTH = SIZE - ENDSIZE
  1068. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1069. if TYPE == "Block" then
  1070. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1071. else
  1072. EFFECT.CFrame = CFRAME
  1073. end
  1074. for LOOP = 1, TIME+1 do
  1075. Swait()
  1076. MSH.Scale = MSH.Scale - GROWTH/TIME
  1077. if TYPE == "Wave" then
  1078. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1079. end
  1080. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1081. if TYPE == "Block" then
  1082. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1083. else
  1084. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1085. end
  1086. if MOVEDIRECTION ~= nil then
  1087. local ORI = EFFECT.Orientation
  1088. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1089. EFFECT.Orientation = ORI
  1090. end
  1091. end
  1092. if PLAYSSOUND == false then
  1093. EFFECT:remove()
  1094. else
  1095. SOUND.Stopped:Connect(function()
  1096. EFFECT:remove()
  1097. end)
  1098. end
  1099. else
  1100. if PLAYSSOUND == false then
  1101. EFFECT:remove()
  1102. else
  1103. repeat Swait() until SOUND.Playing == false
  1104. EFFECT:remove()
  1105. end
  1106. end
  1107. end))
  1108. end
  1109.  
  1110. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  1111. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1112. local mesh
  1113. if KIND == "Base" then
  1114. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  1115. elseif KIND == "Thin" then
  1116. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1117. elseif KIND == "Round" then
  1118. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1119. end
  1120. wave.CFrame = CFRAME
  1121. coroutine.resume(coroutine.create(function(PART)
  1122. for i = 1, WAIT do
  1123. Swait()
  1124. mesh.Scale = mesh.Scale + GROW / 10
  1125. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1126. if wave.Transparency > 0.99 then
  1127. wave:remove()
  1128. end
  1129. end
  1130. end))
  1131. end
  1132.  
  1133. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1134. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1135. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  1136. wave.CFrame = CFRAME
  1137. coroutine.resume(coroutine.create(function(PART)
  1138. for i = 1, WAIT do
  1139. Swait()
  1140. mesh.Scale = mesh.Scale + GROW
  1141. if DOESROT == true then
  1142. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1143. end
  1144. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1145. if wave.Transparency > 0.99 then
  1146. wave:remove()
  1147. end
  1148. end
  1149. end))
  1150. end
  1151. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1152. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1153. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1154. wave.CFrame = CFRAME
  1155. coroutine.resume(coroutine.create(function(PART)
  1156. for i = 1, WAIT do
  1157. Swait()
  1158. mesh.Scale = mesh.Scale + GROW
  1159. wave.Transparency = wave.Transparency + 1 / WAIT
  1160. if wave.Transparency > 0.99 then
  1161. wave:remove()
  1162. end
  1163. end
  1164. end))
  1165. end
  1166.  
  1167. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1168. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1169. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1170. wave.CFrame = CFRAME
  1171. coroutine.resume(coroutine.create(function(PART)
  1172. for i = 1, WAIT do
  1173. Swait()
  1174. mesh.Scale = mesh.Scale + GROW
  1175. wave.Transparency = wave.Transparency + 1 / WAIT
  1176. if wave.Transparency > 0.99 then
  1177. wave:remove()
  1178. end
  1179. end
  1180. end))
  1181. end
  1182.  
  1183.  
  1184. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1185. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1186. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1187. MakeForm(Part,"Wedge")
  1188. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1189. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1190. MakeForm(Part,"Wedge")
  1191. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1192. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1193. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1194. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1195. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1196. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1197. MakeForm(Part,"Cyl")
  1198. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1199. for i = 1, 8 do
  1200. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1201. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1202. end
  1203. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1204. MakeForm(Part,"Cyl")
  1205. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1206. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1207. MakeForm(Part,"Ball")
  1208. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1209. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1210. MakeForm(Part,"Wedge")
  1211. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1212. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1213. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1214. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1215. MakeForm(Part,"Cyl")
  1216. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1217. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1218. MakeForm(Part,"Cyl")
  1219. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1220. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1221. MakeForm(Part,"Cyl")
  1222. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1223. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1224. MakeForm(Part,"Wedge")
  1225. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1226. local LASTPART = Handle
  1227. for i = 1, 10 do
  1228. if LASTPART == Handle then
  1229. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1230. LASTPART = Part
  1231. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1232. else
  1233. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1234. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1235. LASTPART = Part
  1236. end
  1237. end
  1238.  
  1239. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1240. MakeForm(Barrel,"Cyl")
  1241. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1242. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1243. MakeForm(Part,"Cyl")
  1244. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1245. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1246. MakeForm(Part,"Wedge")
  1247. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1248. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1249. MakeForm(Hole2,"Cyl")
  1250. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1251. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1252. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1253. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1254. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1255. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1256. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1257. coroutine.resume(coroutine.create(function()
  1258. while wait() do
  1259. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1260. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1261. end
  1262. end))
  1263.  
  1264. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1265. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1266.  
  1267. for _, c in pairs(Weapon:GetDescendants()) do
  1268. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1269. c.Material = "Glass"
  1270. c.Color = C3(0,0,0)
  1271. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1272. c.Color = C3(1,0,0)
  1273. c.Material = "Neon"
  1274. end
  1275. end
  1276.  
  1277. Weapon.Parent = Character
  1278. for _, c in pairs(Weapon:GetChildren()) do
  1279. if c.ClassName == "Part" then
  1280. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1281. end
  1282. end
  1283.  
  1284. function ParticleEmitter(Table)
  1285. local PRTCL = Particle:Clone()
  1286. local Speed = Table.Speed or 5
  1287. local Drag = Table.Drag or 0
  1288. local Size1 = Table.Size1 or 1
  1289. local Size2 = Table.Size2 or 5
  1290. local Lifetime1 = Table.Lifetime1 or 1
  1291. local Lifetime2 = Table.Lifetime2 or 1.5
  1292. local Parent = Table.Parent or Torso
  1293. local Emit = Table.Emit or 100
  1294. local Offset = Table.Offset or 360
  1295. local Acel = Table.Acel or VT(0,0,0)
  1296. local Enabled = Table.Enabled or false
  1297. PRTCL.Parent = Parent
  1298. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1299. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1300. PRTCL.Speed = NumberRange.new(Speed)
  1301. PRTCL.VelocitySpread = Offset
  1302. PRTCL.Drag = Drag
  1303. PRTCL.Acceleration = Acel
  1304. if Enabled == false then
  1305. PRTCL:Emit(Emit)
  1306. Debris:AddItem(PRTCL,Lifetime2)
  1307. else
  1308. PRTCL.Enabled = true
  1309. end
  1310. return PRTCL
  1311. end
  1312.  
  1313. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1314. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1315. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1316. MakeForm(Part,"Wedge")
  1317. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1318. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1319. MakeForm(Part,"Wedge")
  1320. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1321. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1322. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1323. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1324. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1325. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1326. MakeForm(Part,"Cyl")
  1327. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1328. for i = 1, 8 do
  1329. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1330. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1331. end
  1332. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1333. MakeForm(Part,"Cyl")
  1334. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1335. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1336. MakeForm(Part,"Ball")
  1337. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1338. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1339. MakeForm(Part,"Wedge")
  1340. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1341. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1342. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1343. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1344. MakeForm(Part,"Cyl")
  1345. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1346. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1347. MakeForm(Part,"Cyl")
  1348. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1349. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1350. MakeForm(Part,"Cyl")
  1351. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1352. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1353. MakeForm(Part,"Wedge")
  1354. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1355. local LASTPART = Handle
  1356. for i = 1, 10 do
  1357. if LASTPART == Handle then
  1358. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1359. LASTPART = Part
  1360. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1361. else
  1362. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1363. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1364. LASTPART = Part
  1365. end
  1366. end
  1367.  
  1368. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1369. MakeForm(Barrel,"Cyl")
  1370. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1371. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1372. MakeForm(Part,"Cyl")
  1373. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1374. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1375. MakeForm(Part,"Wedge")
  1376. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1377. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1378. MakeForm(Hole,"Cyl")
  1379. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1380. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1381. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1382. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1383. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1384. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1385. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1386. coroutine.resume(coroutine.create(function()
  1387. while wait() do
  1388. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1389. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1390. end
  1391. end))
  1392.  
  1393. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1394. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1395.  
  1396. for _, c in pairs(Weapon:GetDescendants()) do
  1397. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1398. c.Material = "Glass"
  1399. c.Color = C3(0,0,0)
  1400. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1401. c.Color = C3(1,0,0)
  1402. c.Material = "Neon"
  1403. end
  1404. end
  1405.  
  1406. Weapon.Parent = Character
  1407. for _, c in pairs(Weapon:GetChildren()) do
  1408. if c.ClassName == "Part" then
  1409. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1410. end
  1411. end
  1412.  
  1413. local SKILLTEXTCOLOR = C3(1,0,0)
  1414. local SKILLFONT = "Antique"
  1415. local SKILLTEXTSIZE = 7
  1416.  
  1417. Humanoid.Died:connect(function()
  1418. ATTACK = true
  1419. end)
  1420.  
  1421. 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")
  1422. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1423. local SKILL3FRAME = 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 3 Frame")
  1424. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1425. local SKILL5FRAME = 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 5 Frame")
  1426. ]]
  1427. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1428. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1429. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1430. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1431. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1432. ]]
  1433. function printbye(Name)
  1434. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1435. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1436. end
  1437.  
  1438. workspace.ChildAdded:connect(function(instance)
  1439. for BANISH = 1, #TOBANISH do
  1440. if TOBANISH[BANISH] ~= nil then
  1441. if instance.Name == TOBANISH[BANISH] then
  1442. coroutine.resume(coroutine.create(function()
  1443. printbye(instance.Name)
  1444. instance:ClearAllChildren()
  1445. Debris:AddItem(instance,0.0005)
  1446. end))
  1447. end
  1448. end
  1449. end
  1450. end)
  1451.  
  1452. --//=================================\\
  1453. --|| DAMAGING
  1454. --\\=================================//
  1455.  
  1456. function Banish(Foe)
  1457. if Foe then
  1458. coroutine.resume(coroutine.create(function()
  1459. --if game.Players:FindFirstChild(Foe.Name) then
  1460. table.insert(TOBANISH,Foe.Name)
  1461. printbye(Foe.Name)
  1462. --end
  1463. Foe.Archivable = true
  1464. local CLONE = Foe:Clone()
  1465. Foe:Destroy()
  1466. CLONE.Parent = Effects
  1467. CLONE:BreakJoints()
  1468. local MATERIALS = {"Glass","Neon"}
  1469. for _, c in pairs(CLONE:GetDescendants()) do
  1470. if c:IsA("BasePart") then
  1471. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1472. CreateSound(340722848, c, 10, 1, false)
  1473. end
  1474. c.Anchored = true
  1475. c.Transparency = c.Transparency + 0.2
  1476. c.Material = MATERIALS[MRANDOM(1,2)]
  1477. c.Color = C3(1,0,0)
  1478. if c.ClassName == "MeshPart" then
  1479. c.TextureID = ""
  1480. end
  1481. if c:FindFirstChildOfClass("SpecialMesh") then
  1482. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1483. end
  1484. if c:FindFirstChildOfClass("Decal") then
  1485. c:FindFirstChildOfClass("Decal"):remove()
  1486. end
  1487. c.Name = "Banished"
  1488. c.CanCollide = false
  1489. else
  1490. c:remove()
  1491. end
  1492. end
  1493. local A = false
  1494. for i = 1, 35 do
  1495. if A == false then
  1496. A = true
  1497. elseif A == true then
  1498. A = false
  1499. end
  1500. for _, c in pairs(CLONE:GetDescendants()) do
  1501. if c:IsA("BasePart") then
  1502. c.Anchored = true
  1503. c.Material = MATERIALS[MRANDOM(1,2)]
  1504. c.Transparency = c.Transparency + 0.8/35
  1505. if A == false then
  1506. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1507. elseif A == true then
  1508. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1509. end
  1510. end
  1511. end
  1512. Swait()
  1513. end
  1514. CLONE:remove()
  1515. end))
  1516. end
  1517. end
  1518.  
  1519. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1520. local CHILDREN = workspace:GetDescendants()
  1521. for index, CHILD in pairs(CHILDREN) do
  1522. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1523. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1524. if HUM then
  1525. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1526. if TORSO then
  1527. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1528. if ISBANISH == true then
  1529. Banish(CHILD)
  1530. else
  1531. if ISBANISH == "Gravity" then
  1532. HUM.PlatformStand = true
  1533. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1534. local grav = Instance.new("BodyPosition",TORSO)
  1535. grav.D = 15
  1536. grav.P = 20000
  1537. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1538. grav.position = TORSO.Position
  1539. grav.Name = "V3BanishForce"..Player.Name
  1540. else
  1541. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1542. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1543. end
  1544. else
  1545. HUM.PlatformStand = false
  1546. end
  1547. end
  1548. elseif ISBANISH == "Gravity" then
  1549. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1550. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1551. HUM.PlatformStand = false
  1552. end
  1553. end
  1554. end
  1555. end
  1556. end
  1557. end
  1558. end
  1559.  
  1560. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1561. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1562. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1563. local BODYGYRO = IT("BodyGyro", STATPART)
  1564. local BODYPOSITION = IT("BodyPosition", STATPART)
  1565. BODYPOSITION.P = 2000
  1566. BODYPOSITION.D = 100
  1567. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1568. if LABELTYPE == "Normal" then
  1569. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1570. elseif LABELTYPE == "Debuff" then
  1571. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1572. elseif LABELTYPE == "Interruption" then
  1573. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1574. end
  1575. game:GetService("Debris"):AddItem(STATPART ,5)
  1576. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1577. BILLBOARDGUI.Adornee = STATPART
  1578. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1579. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1580. BILLBOARDGUI.AlwaysOnTop = false
  1581. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1582. TEXTLABEL.BackgroundTransparency = 1
  1583. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1584. TEXTLABEL.Text = TEXT
  1585. TEXTLABEL.Font = "SourceSans"
  1586. TEXTLABEL.FontSize="Size42"
  1587. TEXTLABEL.TextColor3 = COLOR
  1588. TEXTLABEL.TextStrokeTransparency = 0
  1589. TEXTLABEL.TextScaled = true
  1590. TEXTLABEL.TextWrapped = true
  1591. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1592. wait(0.2)
  1593. for i=1, 5 do
  1594. wait()
  1595. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1596. end
  1597. wait(1.2)
  1598. for i=1, 5 do
  1599. wait()
  1600. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1601. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1602. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1603. end
  1604. THEPART.Parent = nil
  1605. end),STATPART, BODYPOSITION, TEXTLABEL)
  1606. end
  1607.  
  1608. function IncreaseOrDecreaseStat(LOCATION, STAT, AMOUNT, DURATION, SHOWTHESTAT)
  1609. if LOCATION:FindFirstChild("Stats") ~= nil then
  1610. if LOCATION.Stats:FindFirstChild("Block") ~= nil then
  1611. if LOCATION.Stats:FindFirstChild("Block").Value == true then
  1612. return
  1613. end
  1614. end
  1615. if LOCATION.Stats:FindFirstChild("ChangeStat") ~= nil and LOCATION.Stats:FindFirstChild("Block").Value == false then
  1616. local NewStatChange = IT("NumberValue")
  1617. NewStatChange.Value = AMOUNT
  1618. if STAT == "Defense" then
  1619. NewStatChange.Name = "ChangeDefense"
  1620. elseif STAT == "Damage" then
  1621. NewStatChange.Name = "ChangeDamage"
  1622. elseif STAT == "Movement" then
  1623. NewStatChange.Name = "ChangeMovement"
  1624. end
  1625. if SHOWTHESTAT == true then
  1626. if AMOUNT < 0 then
  1627. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "-"..STAT, C3(1, 1, 1))
  1628. elseif AMOUNT > 0 then
  1629. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "+"..STAT, C3(1, 1, 1))
  1630. end
  1631. end
  1632. if DURATION ~= nil and DURATION ~= 0 then
  1633. local StatDuration = IT("NumberValue")
  1634. StatDuration.Name = "Duration"
  1635. StatDuration.Value = DURATION
  1636. StatDuration.Parent = NewStatChange
  1637. end
  1638. NewStatChange.Parent = LOCATION.Stats:FindFirstChild("ChangeStat")
  1639. end
  1640. end
  1641. end
  1642.  
  1643. --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)
  1644. 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)
  1645. if HIT.Parent == nil then
  1646. return
  1647. end
  1648. local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  1649. for _, v in pairs(HIT.Parent:GetChildren()) do
  1650. if v:IsA("Humanoid") then
  1651. HITHUMANOID = v
  1652. end
  1653. end
  1654. if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  1655. StaggerHit.Value = true
  1656. if Play_Hitbox_Hit_Sound == true then
  1657. if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  1658. CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  1659. end
  1660. end
  1661. return
  1662. end
  1663. if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  1664. HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  1665. end
  1666. if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  1667. HIT = HIT.Parent.Parent:FindFirstChild("Head")
  1668. end
  1669. if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  1670. if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  1671. if HIT.Parent.DebounceHit.Value == true then
  1672. return
  1673. end
  1674. end
  1675. if AntiTeamKill.Value == true then
  1676. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  1677. if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  1678. return
  1679. end
  1680. end
  1681. end
  1682. if HITEVENWHENDEAD == false then
  1683. if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  1684. if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  1685. return
  1686. end
  1687. end
  1688. end
  1689. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1690. if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  1691. HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  1692. end
  1693. end
  1694. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1695. if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  1696. if STAGGER == true and Enable_Stagger == true then
  1697. HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  1698. end
  1699. end
  1700. end
  1701. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1702. if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  1703. if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  1704. HASBEENBLOCKED = true
  1705. if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  1706. StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  1707. if RANGED ~= true then
  1708. if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  1709. CreateSound(HITBLOCKSOUND, HIT, 1, HITBLOCKSOUNDPITCH)
  1710. end
  1711. end
  1712. local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  1713. BlockDebounce.Name = "BlockDebounce"
  1714. BlockDebounce.Value = true
  1715. if RANGED ~= true then
  1716. game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  1717. else
  1718. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  1719. end
  1720. end
  1721. if RANGED ~= true and Enable_Stagger == true then
  1722. HIT.Parent.Stats:FindFirstChild("Block").Value = false
  1723. Stagger.Value = true
  1724. end
  1725. return
  1726. end
  1727. end
  1728. end
  1729. if DECREASETHESTAT ~= nil then
  1730. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1731. IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1732. end
  1733. end
  1734. local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  1735. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1736. if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  1737. if CanPenetrateArmor.Value == true then
  1738. DAMAGE = DAMAGE
  1739. else
  1740. DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  1741. end
  1742. elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  1743. DAMAGE = DAMAGE
  1744. end
  1745. end
  1746. if CanCrit.Value == true then
  1747. CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  1748. if CRITCHANCENUMBER == 1 then
  1749. DAMAGE = DAMAGE * 2
  1750. end
  1751. end
  1752. DAMAGE = math.floor(DAMAGE)
  1753. if HASBEENBLOCKED == false then
  1754. HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  1755. end
  1756. if DAMAGE <= 3 and HASBEENBLOCKED == false then
  1757. if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  1758. StaggerHit.Value = true
  1759. end
  1760. if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  1761. CreateSound(HITARMORSOUND, HIT, 1, HITARMORSOUNDPITCH)
  1762. end
  1763. elseif DAMAGE > 3 and HASBEENBLOCKED == false then
  1764. if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  1765. CreateSound(HITPLAYERSOUND, HIT, 1, HITPLAYERSOUNDPITCH)
  1766. end
  1767. end
  1768. if DAMAGE > 3 and DAMAGE < 20 and HASBEENBLOCKED == false then
  1769. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1770. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1771. CreateSound("296102734", HIT, 1, 1)
  1772. else
  1773. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 220/255, 0))
  1774. end
  1775. elseif DAMAGE >= 20 and HASBEENBLOCKED == false then
  1776. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1777. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1778. CreateSound("296102734", HIT, 1, 1)
  1779. else
  1780. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 0, 0))
  1781. end
  1782. elseif DAMAGE <= 3 and HASBEENBLOCKED == false then
  1783. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1784. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1785. CreateSound("296102734", HIT, 1, 1)
  1786. else
  1787. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(225/255, 225/255, 225/255))
  1788. end
  1789. end
  1790. if TYPE == "Normal" then
  1791. local vp = IT("BodyVelocity")
  1792. vp.P=500
  1793. vp.maxForce = VT(math.huge, 0, math.huge)
  1794. if KNOCKBACKTYPE == 1 then
  1795. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  1796. elseif KNOCKBACKTYPE == 2 then
  1797. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  1798. end
  1799. if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  1800. vp.Parent = HIT--.Parent.Torso
  1801. end
  1802. game:GetService("Debris"):AddItem(vp, 0.5)
  1803. end
  1804. HASBEENBLOCKED = false
  1805. RecentEnemy.Value = HIT.Parent
  1806. local DebounceHit = IT("BoolValue", HIT.Parent)
  1807. DebounceHit.Name = "DebounceHit"
  1808. DebounceHit.Value = true
  1809. game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  1810. end
  1811. end
  1812.  
  1813. --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)
  1814. 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)
  1815. for _, c in pairs(workspace:GetChildren()) do
  1816. local HUMANOID = c:FindFirstChild("Humanoid")
  1817. local HEAD = nil
  1818. if HUMANOID ~= nil then
  1819. for _, d in pairs(c:GetChildren()) do
  1820. if d.ClassName == "Model" and RANGED ~= true then
  1821. HEAD = d:FindFirstChild("Hitbox")
  1822. if HEAD ~= nil then
  1823. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  1824. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1825. if Play_Hitbox_Hit_Sound == true then
  1826. local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1827. HitRefpart.Anchored = true
  1828. HitRefpart.CFrame = CF(HEAD.Position)
  1829. CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  1830. end
  1831. if Enable_Stagger_Hit == true then
  1832. StaggerHit.Value = true
  1833. end
  1834. end
  1835. end
  1836. elseif d:IsA"BasePart" then
  1837. HEAD = d
  1838. if HEAD ~= nil then
  1839. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  1840. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1841. 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)
  1842. end
  1843. end
  1844. end
  1845. end
  1846. end
  1847. end
  1848. end
  1849.  
  1850. --Usage: MagnitudeBuffOrDebuff(Part, 5, "Defense", -0.1, 3, true, true)
  1851. function MagnitudeBuffOrDebuff(PART, MAGNITUDE, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF, APPLYTOOTHERSINSTEAD)
  1852. if Player.Neutral == true then
  1853. IncreaseOrDecreaseStat(Character, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1854. end
  1855. for _, c in pairs(workspace:GetChildren()) do
  1856. local HUMANOID = c:FindFirstChild("Humanoid")
  1857. local THEHEAD = nil
  1858. if HUMANOID ~= nil then
  1859. if c:FindFirstChild("Torso") ~= nil then
  1860. THEHEAD = c:FindFirstChild("Torso")
  1861. elseif c:FindFirstChild("UpperTorso") ~= nil then
  1862. THEHEAD = c:FindFirstChild("UpperTorso")
  1863. end
  1864. if THEHEAD ~= nil then
  1865. local THEMAGNITUDE = (THEHEAD.Position - PART.Position).magnitude
  1866. print("yes 1")
  1867. if APPLYTOOTHERSINSTEAD == true then
  1868. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1869. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  1870. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  1871. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1872. end
  1873. end
  1874. end
  1875. elseif APPLYTOOTHERSINSTEAD == false then
  1876. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) then
  1877. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  1878. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  1879. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1880. end
  1881. end
  1882. end
  1883. end
  1884. end
  1885. end
  1886. end
  1887. end
  1888.  
  1889.  
  1890.  
  1891. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1892. local dmg = math.random(min,max)
  1893. for i,v in ipairs(workspace:GetChildren()) do
  1894. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1895. local body = v:GetChildren()
  1896. for part = 1, #body do
  1897. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1898. if(body[part].Position - position).Magnitude < radius then
  1899. if v.ClassName == "Model" then
  1900. if v:FindFirstChildOfClass("Humanoid") then
  1901. if CanBeDodgedByJumping == true then
  1902. if body[part].Position.Y < position.Y+5 then
  1903. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1904. end
  1905. else
  1906. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1907. end
  1908. local bv = Instance.new("BodyVelocity")
  1909. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1910. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1911. bv.Parent = body[part]
  1912. Debris:AddItem(bv,0.2)
  1913. end
  1914. end
  1915. end
  1916. end
  1917. end
  1918. end
  1919. if v:FindFirstChild("HitBy"..Player.Name) then
  1920. v:FindFirstChild("HitBy"..Player.Name):remove()
  1921. end
  1922. end
  1923. end
  1924.  
  1925. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  1926. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1927. defence.Name = ("HitBy"..Player.Name)
  1928. game:GetService("Debris"):AddItem(defence, 0.5)
  1929. Humanoid.Health = Humanoid.Health - Damage
  1930. if Humanoid.Parent:FindFirstChild("Head") then
  1931. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1932. end
  1933. end
  1934.  
  1935.  
  1936. --//=================================\\
  1937. --|| ATTACK FUNCTIONS AND STUFF
  1938. --\\=================================//
  1939.  
  1940. function Oblivion()
  1941. ATTACK = true
  1942. Rooted = true
  1943. for i=0, 2, 0.1 / Animation_Speed do
  1944. Swait()
  1945. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1946. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1947. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1948. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1949. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1950. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1951. end
  1952. for i=0, 0.5, 0.1 / Animation_Speed do
  1953. Swait()
  1954. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1955. 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.5 / Animation_Speed)
  1956. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1957. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1958. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1959. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1960. end
  1961. for i = 1, 75 do
  1962. Swait()
  1963. MagicSphere(VT(0.5,0.5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Really red",VT(-0.005,-0.005,0.03),0)
  1964. end
  1965. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  1966. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  1967. AoEDamage(Torso.Position,45,45,58,0,false,2,2,false,true)
  1968. MagicSphere(VT(0,0,0),25,Torso.CFrame,"Really red",VT(5,5,5))
  1969. MagicSphere(VT(0,0,0),50,Torso.CFrame,"Lime green",VT(2.5,2.5,2.5))
  1970. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Really black",VT(6,0,6))
  1971. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  1972. ATTACK = false
  1973. Rooted = false
  1974. end
  1975.  
  1976. function kiss()
  1977. ATTACK = true
  1978. Rooted = false
  1979. local HASGRABBED = false
  1980. local GRABTARGET = nil
  1981. local TORS = nil
  1982. local WELD = nil
  1983. for i=0, 1, 0.1 / Animation_Speed do
  1984. Swait()
  1985. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1986. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1987. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1988. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1989. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1990. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1991. end
  1992. local GRAB1 = RightArm.Touched:Connect(function(hit)
  1993. if hit.Parent:FindFirstChild("Humanoid") then
  1994. if hit.Parent.Humanoid.Health ~= 0 then
  1995. UNANCHOR = false
  1996. RootPart.Anchored = true
  1997. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1998. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  1999. WELD = weldBetween(RootPart,TORS)
  2000. HASGRABBED = true
  2001. Rooted = true
  2002. end
  2003. end
  2004. end)
  2005. local GRAB2 = LeftArm.Touched:Connect(function(hit)
  2006. if hit.Parent:FindFirstChild("Humanoid") then
  2007. if hit.Parent.Humanoid.Health ~= 0 then
  2008. UNANCHOR = false
  2009. RootPart.Anchored = true
  2010. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2011. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  2012. WELD = weldBetween(RootPart,TORS)
  2013. HASGRABBED = true
  2014. Rooted = true
  2015. end
  2016. end
  2017. end)
  2018. for i=0, 1, 0.1 / Animation_Speed do
  2019. Swait()
  2020. if HASGRABBED == true then
  2021. break
  2022. end
  2023. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2024. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2025. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2026. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2027. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2028. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2029. end
  2030. GRAB1:disconnect()
  2031. GRAB2:disconnect()
  2032. if HASGRABBED == true then
  2033. TORS.Anchored = false
  2034. GRABTARGET = TORS.Parent
  2035. HED = GRABTARGET:FindFirstChild("Head")
  2036. for i=0, 2, 0.1 / Animation_Speed do
  2037. Swait()
  2038. 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)
  2039. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2040. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2041. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2042. 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)
  2043. 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)
  2044. end
  2045. local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Really red", "Heart", VT(1,1,1), false)
  2046. local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
  2047. CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2048. local ECH = 0
  2049.  
  2050. for i=0, 8, 0.1 / Animation_Speed do
  2051. Swait()
  2052. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2053. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(25 * SIN(SINE / 3)), RAD(0)), 0.5 / Animation_Speed)
  2054. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2055. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2056. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2057. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2058. end
  2059. WELD:remove()
  2060. end
  2061. UNANCHOR = true
  2062. ATTACK = false
  2063. Rooted = false
  2064. end
  2065.  
  2066. function Kick()
  2067. ATTACK = true
  2068. Rooted = false
  2069. VALUE1 = true
  2070. NOWALK = true
  2071. if COMBO2 == 1 then
  2072. COMBO2 = 2
  2073. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2074. for i=0, 0.5, 0.1 / Animation_Speed do
  2075. Swait()
  2076. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
  2077. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 2 / Animation_Speed)
  2078. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2079. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2080. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  2081. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2082. end
  2083. elseif COMBO2 == 2 then
  2084. COMBO2 = 1
  2085. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2086. for i=0, 0.5, 0.1 / Animation_Speed do
  2087. Swait()
  2088. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-45)), 2 / Animation_Speed)
  2089. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
  2090. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2091. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2092. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2093. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  2094. end
  2095. end
  2096. NOWALK = false
  2097. VALUE1 = false
  2098. ATTACK = false
  2099. Rooted = false
  2100. end
  2101.  
  2102. function StaggerHitAnimation()
  2103. ATTACK = true
  2104. if Weapon:FindFirstChild("Hitbox") ~= nil then
  2105. for i = 1, MRANDOM(2, 4) do
  2106. ClangEffect("Bright yellow", "Neon", CF(Weapon:FindFirstChild("Hitbox").Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 20, 5, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2107. end
  2108. end
  2109. for i = 0, 1, 0.1 / Animation_Speed do
  2110. Swait()
  2111. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2112. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(30)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2113. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-30), RAD(0), RAD(60)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2114. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-20)) * ANGLES(RAD(0), RAD(20), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2115. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.9 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2116. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.3 / Animation_Speed)
  2117. if Stagger.Value == true or Stun.Value == true then
  2118. break
  2119. end
  2120. end
  2121. ATTACK = false
  2122. end
  2123.  
  2124. function Shot()
  2125. ATTACK = true
  2126. Rooted = false
  2127. for i=0, 0.5, 0.1 / Animation_Speed do
  2128. Swait()
  2129. turnto(Mouse.Hit.p)
  2130. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2131. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  2132. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2133. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2134. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2135. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2136. end
  2137. repeat
  2138. for i=0, 0.5, 0.1 / Animation_Speed do
  2139. Swait()
  2140. turnto(Mouse.Hit.p)
  2141. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2142. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  2143. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2144. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2145. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2146. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2147. end
  2148. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  2149. SpawnTrail(Hole2.Position,POS)
  2150. if HIT ~= nil then
  2151. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2152. Banish(HIT.Parent)
  2153. end
  2154. end
  2155. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2156. SpawnTrail(Hole.Position,POS)
  2157. if HIT ~= nil then
  2158. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2159. Banish(HIT.Parent)
  2160. end
  2161. end
  2162. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2163. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2164. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2165. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2166. CreateSound("159882477", Head, 6, 1)
  2167. for i=0, 0.5, 0.1 / Animation_Speed do
  2168. Swait()
  2169. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2170. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  2171. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2172. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2173. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2174. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2175. end
  2176. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2177. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2178. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2179. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2180. until KEYHOLD == false
  2181. ATTACK = false
  2182. Rooted = false
  2183. end
  2184.  
  2185. function Punch()
  2186. ATTACK = true
  2187. Rooted = false
  2188. for i=0, 0.2, 0.1 / Animation_Speed do
  2189. Swait()
  2190. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2191. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2192. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2193. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2194. 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)), 1 / Animation_Speed)
  2195. 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)), 1 / Animation_Speed)
  2196. end
  2197. VALUE1 = true
  2198. if COMBO == 1 then
  2199. COMBO = 2
  2200. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2201. for i=0, 0.3, 0.1 / Animation_Speed do
  2202. Swait()
  2203. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  2204. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 2 / Animation_Speed)
  2205. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(65)), 2 / Animation_Speed)
  2206. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2207. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2208. 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)), 2 / Animation_Speed)
  2209. 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)), 2 / Animation_Speed)
  2210. end
  2211. elseif COMBO == 2 then
  2212. COMBO = 1
  2213. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2214. for i=0, 0.3, 0.1 / Animation_Speed do
  2215. Swait()
  2216. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  2217. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 2 / Animation_Speed)
  2218. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-80)), 2 / Animation_Speed)
  2219. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2220. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2221. 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)), 2 / Animation_Speed)
  2222. 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)), 2 / Animation_Speed)
  2223. end
  2224. end
  2225. VALUE1 = false
  2226. ATTACK = false
  2227. Rooted = false
  2228. end
  2229.  
  2230. function AttackTemplate()
  2231. ATTACK = true
  2232. Rooted = false
  2233. for i=0, 1, 0.1 / Animation_Speed do
  2234. Swait()
  2235. 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)
  2236. 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)
  2237. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2238. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2239. 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)
  2240. 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)
  2241. end
  2242. ATTACK = false
  2243. Rooted = false
  2244. end
  2245.  
  2246. function Nuke()
  2247. ATTACK = true
  2248. Rooted = true
  2249. local CHARGE = false
  2250. local BLASTS = {468991944, 468991990}
  2251. coroutine.resume(coroutine.create(function()
  2252. repeat
  2253. Swait()
  2254. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-45)), 2 / Animation_Speed)
  2255. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
  2256. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2257. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2258. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2259. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  2260. until CHARGE == true
  2261. for i = 0, 0.4, 0.1 / Animation_Speed do
  2262. Swait()
  2263. WACKYEFFECT({
  2264. Time = 15,
  2265. EffectType = "Sphere",
  2266. Size = VT(60, 60, 60),
  2267. Size2 = VT(0, 0, 0),
  2268. Transparency = 1,
  2269. Transparency2 = 0.7,
  2270. CFrame = CF(RootPart.Position),
  2271. MoveToPos = nil,
  2272. RotationX = 0,
  2273. RotationY = 0,
  2274. RotationZ = 0,
  2275. Material = "Neon",
  2276. Color = C3(0, 0, 0),
  2277. SoundID = nil,
  2278. SoundPitch = nil,
  2279. SoundVolume = nil
  2280. })
  2281. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
  2282. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 2 / Animation_Speed)
  2283. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2284. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2285. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  2286. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2287. end
  2288. coroutine.resume(coroutine.create(function()
  2289. local POS = RootPart.Position
  2290. wait(0.2)
  2291. for i = 1, 5 do
  2292. WACKYEFFECT({
  2293. Time = 65,
  2294. EffectType = "Sphere",
  2295. Size = VT(2, 2, 2),
  2296. Size2 = VT(0, 0, 500),
  2297. Transparency = 1,
  2298. Transparency2 = 0,
  2299. CFrame = CF(POS),
  2300. MoveToPos = nil,
  2301. RotationX = MRANDOM(-2, 2),
  2302. RotationY = MRANDOM(-12, 12),
  2303. RotationZ = MRANDOM(-2, 2),
  2304. Material = "Neon",
  2305. Color = C3(1, 0, 0),
  2306. SoundID = nil,
  2307. SoundPitch = nil,
  2308. SoundVolume = nil
  2309. })
  2310. end
  2311. wait(1)
  2312. SHAKECAM(POS, 9999999999, 25, 25)
  2313. ApplyAoE(POS, 450, true)
  2314. WACKYEFFECT({
  2315. Time = 85,
  2316. EffectType = "Sphere",
  2317. Size = VT(120, 120, 120),
  2318. Size2 = VT(350, 350, 350),
  2319. Transparency = 0,
  2320. Transparency2 = 1,
  2321. CFrame = CF(POS),
  2322. MoveToPos = nil,
  2323. RotationX = 0,
  2324. RotationY = 0,
  2325. RotationZ = 0,
  2326. Material = "Neon",
  2327. Color = C3(1, 1, 1),
  2328. SoundID = nil,
  2329. SoundPitch = 1,
  2330. SoundVolume = 10
  2331. })
  2332. for i = 1, 20 do
  2333. WACKYEFFECT({
  2334. Time = 85,
  2335. EffectType = "Sphere",
  2336. Size = VT(120, 120, 120),
  2337. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  2338. Transparency = 0.8,
  2339. Transparency2 = 1,
  2340. CFrame = CF(POS),
  2341. MoveToPos = nil,
  2342. RotationX = 0,
  2343. RotationY = 0,
  2344. RotationZ = 0,
  2345. Material = "Neon",
  2346. Color = C3(0, 1, 0),
  2347. SoundID = nil,
  2348. SoundPitch = 1,
  2349. SoundVolume = 10
  2350. })
  2351. WACKYEFFECT({
  2352. Time = 100,
  2353. EffectType = "Wave",
  2354. Size = VT(25, 2, 25),
  2355. Size2 = VT(400, 0, 400) * 1.2,
  2356. Transparency = 0,
  2357. Transparency2 = 1,
  2358. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2359. MoveToPos = nil,
  2360. RotationX = 0,
  2361. RotationY = 0,
  2362. RotationZ = 0,
  2363. Material = "Neon",
  2364. Color = C3(0, 0, 0),
  2365. SoundID = nil,
  2366. SoundPitch = nil,
  2367. SoundVolume = nil
  2368. })
  2369. end
  2370. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2371. for i = 1, 5 do
  2372. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2373. WACKYEFFECT({
  2374. Time = 120,
  2375. EffectType = "Wave",
  2376. Size = VT(150, 2, 150),
  2377. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  2378. Transparency = 0,
  2379. Transparency2 = 1,
  2380. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2381. MoveToPos = nil,
  2382. RotationX = 0,
  2383. RotationY = 0,
  2384. RotationZ = 0,
  2385. Material = "Neon",
  2386. Color = C3(1, 0, 0),
  2387. SoundID = nil,
  2388. SoundPitch = nil,
  2389. SoundVolume = nil
  2390. })
  2391. end
  2392. end))
  2393. for i = 0, 1, 0.1 / Animation_Speed do
  2394. Swait()
  2395. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2396. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2397. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2398. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2399. 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)), 1 / Animation_Speed)
  2400. 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)), 1 / Animation_Speed)
  2401. end
  2402. ATTACK = false
  2403. Rooted = false
  2404. end))
  2405. for i = 1, 30 do
  2406. wait(0.01)
  2407. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  2408. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2409. if HITFLOOR then
  2410. ApplyAoE(HITPOS, 65, true)
  2411. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2412. WACKYEFFECT({
  2413. Time = 25,
  2414. EffectType = "Sphere",
  2415. Size = VT(22, 22, 22),
  2416. Size2 = VT(85, 85, 85),
  2417. Transparency = 0,
  2418. Transparency2 = 1,
  2419. CFrame = CF(HITPOS),
  2420. MoveToPos = nil,
  2421. RotationX = 0,
  2422. RotationY = 0,
  2423. RotationZ = 0,
  2424. Material = "Neon",
  2425. Color = C3(0, 0, 0),
  2426. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2427. SoundPitch = MRANDOM(9, 12) / 10,
  2428. SoundVolume = 10
  2429. })
  2430. for e = 1, 3 do
  2431. WACKYEFFECT({
  2432. EffectType = "Wave",
  2433. Size = VT(25, 0, 25),
  2434. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2435. Transparency = 0,
  2436. Transparency2 = 1,
  2437. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2438. MoveToPos = nil,
  2439. RotationX = 0,
  2440. RotationY = 3,
  2441. RotationZ = 0,
  2442. Material = "Neon",
  2443. Color = C3(0, 1, 0),
  2444. SoundID = nil,
  2445. SoundPitch = nil,
  2446. SoundVolume = nil
  2447. })
  2448. WACKYEFFECT({
  2449. Time = 35,
  2450. EffectType = "Sphere",
  2451. Size = VT(22, 45, 22),
  2452. Size2 = VT(25, 45 + e * 75, 25),
  2453. Transparency = 0,
  2454. Transparency2 = 1,
  2455. CFrame = CF(HITPOS) * TURN,
  2456. MoveToPos = nil,
  2457. RotationX = 0,
  2458. RotationY = 0,
  2459. RotationZ = 0,
  2460. Material = "Neon",
  2461. Color = C3(1, 1, 1),
  2462. SoundID = nil,
  2463. SoundPitch = MRANDOM(9, 12) / 10,
  2464. SoundVolume = 10
  2465. })
  2466. end
  2467. end
  2468. end
  2469. CHARGE = true
  2470. end
  2471.  
  2472. function Taunt()
  2473. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  2474. ATTACK = true
  2475. Rooted = true
  2476. for i=0, 0.3, 0.1 / Animation_Speed do
  2477. Swait()
  2478. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2479. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2480. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2481. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-180)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2482. if HITFLOOR then
  2483. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2484. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2485. elseif HITFLOOR == nil then
  2486. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  2487. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  2488. end
  2489. end
  2490. for i = 1, 8 do
  2491. for i=0, 0.2, 0.1 / Animation_Speed do
  2492. Swait()
  2493. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2494. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2495. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.15, 0) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2496. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-180)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 0.7 / Animation_Speed)
  2497. if HITFLOOR then
  2498. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2499. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2500. elseif HITFLOOR == nil then
  2501. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  2502. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  2503. end
  2504. end
  2505. CreateSound(FireSound, Gun1, 5, 1, false)
  2506. for i=0, 0.2, 0.1 / Animation_Speed do
  2507. Swait()
  2508. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2509. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2510. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.7 / Animation_Speed)
  2511. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, 0) * ANGLES(RAD(0), RAD(0), RAD(-180)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2512. if HITFLOOR then
  2513. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2514. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  2515. elseif HITFLOOR == nil then
  2516. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  2517. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  2518. end
  2519. end
  2520. CreateSound(FireSound, Gun2, 5, 1, false)
  2521. end
  2522. ATTACK = false
  2523. Rooted = false
  2524. end
  2525. --//=================================\\
  2526. --|| ASSIGN THINGS TO KEYS
  2527. --\\=================================//
  2528.  
  2529. function MouseDown(Mouse)
  2530. if ATTACK == false then
  2531. end
  2532. end
  2533.  
  2534. function MouseUp(Mouse)
  2535. HOLD = falseW
  2536. end
  2537.  
  2538. function KeyDown(Key)
  2539. KEYHOLD = true
  2540. if Key == "z" and ATTACK == false then
  2541. Shot()
  2542. end
  2543.  
  2544. if Key == "b" and ATTACK == false then
  2545. Kick()
  2546. end
  2547.  
  2548. if Key == "n" and ATTACK == false then
  2549. Punch()
  2550. end
  2551.  
  2552. if Key == "t" and ATTACK == false then
  2553. Taunt()
  2554. end
  2555.  
  2556. if Key == "c" and ATTACK == false then
  2557. kiss()
  2558. end
  2559.  
  2560. if Key == "v" and ATTACK == false then
  2561. Oblivion()
  2562. end
  2563.  
  2564. if Key == "x" and ATTACK == false then
  2565. Nuke()
  2566. end
  2567. end
  2568.  
  2569. function KeyUp(Key)
  2570. KEYHOLD = false
  2571. end
  2572.  
  2573. Mouse.Button1Down:connect(function(NEWKEY)
  2574. MouseDown(NEWKEY)
  2575. end)
  2576. Mouse.Button1Up:connect(function(NEWKEY)
  2577. MouseUp(NEWKEY)
  2578. end)
  2579. Mouse.KeyDown:connect(function(NEWKEY)
  2580. KeyDown(NEWKEY)
  2581. end)
  2582. Mouse.KeyUp:connect(function(NEWKEY)
  2583. KeyUp(NEWKEY)
  2584. end)
  2585.  
  2586. --//=================================\\
  2587. --\\=================================//
  2588.  
  2589.  
  2590. function unanchor()
  2591. if UNANCHOR == true then
  2592. g = Character:GetChildren()
  2593. for i = 1, #g do
  2594. if g[i].ClassName == "Part" then
  2595. g[i].Anchored = false
  2596. end
  2597. end
  2598. end
  2599. end
  2600.  
  2601.  
  2602. --//=================================\\
  2603. --|| WRAP THE WHOLE SCRIPT UP
  2604. --\\=================================//
  2605.  
  2606. Humanoid.Changed:connect(function(Jump)
  2607. if Jump == "Jump" and (Disable_Jump == true) then
  2608. Humanoid.Jump = false
  2609. end
  2610. end)
  2611.  
  2612. local CONNECT = nil
  2613.  
  2614. while true do
  2615. Swait()
  2616. ANIMATE.Parent = nil
  2617. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2618. Humanoid = IT("Humanoid",Character)
  2619. end
  2620. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2621. v:Stop();
  2622. end
  2623. SINE = SINE + CHANGE
  2624. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2625. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2626. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2627. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2628. if ANIM == "Walk" and TORSOVELOCITY > 1 and NOWALK == false then
  2629. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2630. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  2631. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2632. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2633. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or NOWALK == true then
  2634. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2635. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2636. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2637. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2638. end
  2639. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2640. ANIM = "Jump"
  2641. if ATTACK == false then
  2642. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2643. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2644. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2645. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2646. 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)
  2647. 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)
  2648. end
  2649. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2650. ANIM = "Fall"
  2651. if ATTACK == false then
  2652. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2653. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2654. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2655. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2656. 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)
  2657. 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)
  2658. end
  2659. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2660. ANIM = "Idle"
  2661. if ATTACK == false then
  2662. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2663. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2664. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2665. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2666. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2667. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-76), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2668. end
  2669. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2670. ANIM = "Walk"
  2671. if ATTACK == false then
  2672. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  2673. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  2674. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2675. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2676. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2677. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-115), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2678. end
  2679. end
  2680. unanchor()
  2681. Humanoid.MaxHealth = "inf"
  2682. Humanoid.Health = "inf"
  2683. if Rooted == false then
  2684. Disable_Jump = false
  2685. Humanoid.WalkSpeed = Speed
  2686. elseif Rooted == true then
  2687. Disable_Jump = true
  2688. Humanoid.WalkSpeed = 0
  2689. end
  2690.  
  2691. sick.Parent = Torso
  2692. sick:resume()
  2693. sick.Volume = 1
  2694. sick.Pitch = 1
  2695. sick.SoundId = "rbxassetid://733456981"
  2696. sick.Name = "Un sen"
  2697. end
  2698. --//=================================\\
  2699. --\\=================================//
  2700.  
  2701.  
  2702. --//====================================================\\--
  2703. --|| END OF SCRIPT
  2704. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement