XxmadmaxgamexX

Untitled

Mar 2nd, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 266.79 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. script.Name = "Banisher Gun V3 / 1"
  88. --//====================================================\\--
  89. --|| CREATED BY SHACKLUSTER Edit By NameClan
  90. --\\====================================================//--
  91.  
  92. script:ClearAllChildren()
  93. wait(0.2)
  94.  
  95. local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
  96. local FireSound = "904051531"
  97. local LAUGHS = {834001699,834001752,834001797,834001828}
  98. Player = onwer
  99. PlayerGui = Player.PlayerGui
  100. Cam = workspace.CurrentCamera
  101. Backpack = Player.Backpack
  102. Character = Player.Character
  103. Humanoid = Character.Humanoid
  104. Mouse = Player:GetMouse()
  105. RootPart = Character["HumanoidRootPart"]
  106. Torso = Character["Torso"]
  107. Head = Character["Head"]
  108. RightArm = Character["Right Arm"]
  109. LeftArm = Character["Left Arm"]
  110. RightLeg = Character["Right Leg"]
  111. LeftLeg = Character["Left Leg"]
  112. local sick = Instance.new("Sound",Character)
  113. q = Character:GetChildren()
  114. for u = 1, #q do
  115. if q[u].ClassName == "Accessory" then
  116. q[u]:Destroy()
  117. elseif q[u].ClassName == "CharacterMesh" then
  118. q[u]:Destroy()
  119. end
  120. end
  121. Head.face:Destroy()
  122. Head.Mesh:Destroy()
  123. newmesh = Instance.new("SpecialMesh")
  124. newmesh.Scale = Vector3.new(1.1,1.1,1.1)
  125. newmesh.MeshId = "http://www.roblox.com/asset/?id=0"
  126. newmesh.TextureId = "http://www.roblox.com/asset/?id=0"
  127. newmesh.Parent = Head
  128.  
  129. local function weldBetween(a, b)
  130. local weldd = Instance.new("ManualWeld")
  131. weldd.Part0 = a
  132. weldd.Part1 = b
  133. weldd.C0 = CFrame.new()
  134. weldd.C1 = b.CFrame:inverse() * a.CFrame
  135. weldd.Parent = a
  136. return weldd
  137. end
  138. RootJoint = RootPart["RootJoint"]
  139. Neck = Torso["Neck"]
  140. RightShoulder = Torso["Right Shoulder"]
  141. LeftShoulder = Torso["Left Shoulder"]
  142. RightHip = Torso["Right Hip"]
  143. LeftHip = Torso["Left Hip"]
  144. local TIME = 0
  145. local sick = Instance.new("Sound",Torso)
  146.  
  147. IT = Instance.new
  148. CF = CFrame.new
  149. VT = Vector3.new
  150. RAD = math.rad
  151. C3 = Color3.new
  152. UD2 = UDim2.new
  153. BRICKC = BrickColor.new
  154. ANGLES = CFrame.Angles
  155. EULER = CFrame.fromEulerAnglesXYZ
  156. COS = math.cos
  157. ACOS = math.acos
  158. SIN = math.sin
  159. ASIN = math.asin
  160. ABS = math.abs
  161. MRANDOM = math.random
  162. FLOOR = math.floor
  163.  
  164.  
  165. it = Instance.new
  166.  
  167. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  168. local fp=it("Part")
  169. fp.formFactor=formfactor
  170. fp.Parent=parent
  171. fp.Reflectance=reflectance
  172. fp.Transparency=transparency
  173. fp.CanCollide=false
  174. fp.Locked=true
  175. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  176. fp.Name=name
  177. fp.Size=size
  178. fp.Position=Character.Torso.Position
  179. fp.Material=material
  180. fp:BreakJoints()
  181. return fp
  182. end
  183.  
  184. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  185. local mesh=it(Mesh)
  186. mesh.Parent=part
  187. if Mesh=="SpecialMesh" then
  188. mesh.MeshType=meshtype
  189. mesh.MeshId=meshid
  190. end
  191. mesh.Offset=offset
  192. mesh.Scale=scale
  193. return mesh
  194. end
  195.  
  196. function weld(parent,part0,part1,c0,c1)
  197. local weld=it("Weld")
  198. weld.Parent=parent
  199. weld.Part0=part0
  200. weld.Part1=part1
  201. weld.C0=c0
  202. weld.C1=c1
  203. return weld
  204. end
  205.  
  206. q = "Really black"
  207. Claw1=part(Enum.FormFactor.Custom,Character,Enum.Material.SmoothPlastic,0,0,q,"Claw",Vector3.new(0.400000006, 0.400000036, 0.400000006))
  208. 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))
  209. mesh("SpecialMesh",Claw1,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=10681506",Vector3.new(0, 0, 0),Vector3.new(-1,-1.8,-1))
  210. Claw2=part(Enum.FormFactor.Custom,Character,Enum.Material.SmoothPlastic,0,0,q,"Claw",Vector3.new(0.400000006, 0.400000036, 0.400000006))
  211. 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))
  212. mesh("SpecialMesh",Claw2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=10681506",Vector3.new(0, 0, 0),Vector3.new(-1,-1.8,-1))
  213.  
  214. --//=================================\\
  215. --|| USEFUL VALUES
  216. --\\=================================//
  217.  
  218. Animation_Speed = 3
  219. local FORCERESET = false
  220. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  221. local Speed = 16
  222. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  223. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  224. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  225. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  226. local DAMAGEMULTIPLIER = 1
  227. local ANIM = "Idle"
  228. local ATTACK = false
  229. local EQUIPPED = false
  230. local HOLD = false
  231. local COMBO = 1
  232. local COMBO2 = 1
  233. local Rooted = false
  234. local SINE = 0
  235. local STAGGERHITANIM = false
  236. local STAGGERANIM = false
  237. local KEYHOLD = false
  238. local CHANGE = 2 / Animation_Speed
  239. local WALKINGANIM = false
  240. local VALUE1 = false
  241. local NOWALK = false
  242. local VALUE2 = false
  243. local INTRO = false
  244. local TRANSFORMED = false
  245. local ROBLOXIDLEANIMATION = IT("Animation")
  246. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  247. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  248. --ROBLOXIDLEANIMATION.Parent = Humanoid
  249. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  250. WEAPONGUI.Name = "BanishV3Gui"
  251. local Weapon = IT("Model")
  252. Weapon.Name = "Adds"
  253. local Effects = IT("Folder", Weapon)
  254. Effects.Name = "Effects"
  255. local ANIMATOR = Humanoid.Animator
  256. local ANIMATE = Character:FindFirstChild("Animate")
  257. local UNANCHOR = true
  258. local TOBANISH = {}
  259. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  260. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  261. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  262. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  263. script.Parent = PlayerGui
  264.  
  265. --//=================================\\
  266. --\\=================================//
  267.  
  268.  
  269. --//=================================\\
  270. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  271. --\\=================================//
  272.  
  273.  
  274. Class_Name = "Beserker"
  275. Weapon_Name = "Claws"
  276.  
  277. Custom_Colors = {
  278. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  279. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  280.  
  281. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  282. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  283. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  284. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  285. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  286.  
  287. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  288. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  289. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  290. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  291. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  292. }
  293.  
  294. Mana_Bar_Background_Transparency = 0 --Transparency for the background of the mana bar.
  295. Secondary_Mana_Bar_Background_Transparency = 0 --Transparency for the background of the secondary mana bar.
  296. Health_Bar_Background_Transparency = 0 --Transparency for the background of the health bar.
  297. Stun_Bar_Background_Transparency = 0 --Transparency for the background of the stun bar.
  298. Ability_Background_Transparency = 0 --Transparency for the background of the abilities.
  299. Stat_Background_Transparency = 0 --Transparency for the background of the stats.
  300.  
  301. Player_Size = 1 --Size of the player.
  302. Animation_Speed = 2
  303. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  304.  
  305. Enable_Gui = false --Enables or disables the Weapon Gui. Also functions as hiding or showing the Gui.
  306. Enable_Stats = false --Enables or disables stats.
  307. Put_Stats_In_Character = false --Places stats in Character.
  308. Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
  309. Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
  310. Enable_Stagger = false --Enables or disables staggering.
  311. Enable_Stun = false --Enables or disables the stun mechanic.
  312. Enable_Abilities = false --Enables abilites with cooldowns and mana costs.
  313. Enable_Secondary_Bar = false --Enables the secondary mana bar, if true.
  314.  
  315. Start_Equipped = false --Starts the player equipped with their weapon.
  316. Start_Equipped_With_Equipped_Animation = false --Used in conjunction with the above option. Starts your equip animation.
  317. Can_Equip_Or_Unequip = true --Enables or disables the ability to unequip or equip your weapon.
  318. Disable_Animator = true --Disables the Animator in the humanoid.
  319. Disable_Animate = true --Disables the Animate script in the character.
  320. Disable_Moving_Arms = false --Keeps the arms from moving around.
  321. Use_Motors_Instead_Of_Welds = false --Uses motors instead of welds to disable moving arms.
  322. Walkspeed_Depends_On_Movement_Value = false --Walkspeed depends on movement value. Self-explanatory.
  323. Disable_Jump = false --Disables jumping.
  324. Use_HopperBin = true --Uses a hopperbin to do things.
  325.  
  326. Player_Size = 1 --Size of the player.
  327. Animation_Speed = 2
  328. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  329.  
  330. Cooldown_1 = 0 --Cooldowns for abilites.
  331. Cooldown_2 = 0
  332. Cooldown_3 = 0
  333. Cooldown_4 = 0
  334. Skill_1_Mana_Cost = 0 --How much mana is required to use the skill.
  335. Skill_2_Mana_Cost = 0
  336. Skill_3_Mana_Cost = 0
  337. Skill_4_Mana_Cost = 0
  338. Max_Mana = 0 --Maximum amount of mana you can have.
  339. Max_Secondary_Mana = 0 --Maximum amount of secondary mana you can have.
  340. Mana_Name = "Mana" --Name for the mana bar.
  341. Secondary_Mana_Name = "Block" --Name for the secondary mana bar.
  342. Max_Stun = 1 --Maximum amount of stun you can have.
  343. Recover_Mana = 0 --How much mana you gain.
  344. Mana_Regen_Mode = "1" --Basically switches from one mana regen system to another.
  345. Secondary_Mana_Regen_Mode = "1" --Basically switches from one secondary mana regen system to another.
  346. Stun_Lose_Mode = "1" --Basically switches from one secondary stun loss system to another.
  347. Recover_Secondary_Mana = 0 --How much secondary mana you gain.
  348. Lose_Stun = 0 --How much stun you lose.
  349. Stun_Wait = 0 --Delay between losing stun.
  350. Mana_Wait = 0 --Delay between gaining mana.
  351. Secondary_Mana_Wait = 0 --Delay between gaining secondary mana.
  352. Menu_Update_Speed = 0 --How fast the Weapon Gui will update.
  353. Constant_Update = false --Removes the delay between updating the Weapon GUI.
  354. Show_Stats = false --Hides or shows stats.
  355. Stat_Offset = 0.74 --For cosmetic purposes. {0.74, 0.78}
  356.  
  357. ArtificialHB = Instance.new("BindableEvent", script)
  358. ArtificialHB.Name = "ArtificialHB"
  359.  
  360. script:WaitForChild("ArtificialHB")
  361.  
  362. frame = Frame_Speed
  363. tf = 0
  364. allowframeloss = false
  365. tossremainder = false
  366. lastframe = tick()
  367. script.ArtificialHB:Fire()
  368.  
  369. game:GetService("RunService").Heartbeat:connect(function(s, p)
  370. tf = tf + s
  371. if tf >= frame then
  372. if allowframeloss then
  373. script.ArtificialHB:Fire()
  374. lastframe = tick()
  375. else
  376. for i = 1, math.floor(tf / frame) do
  377. script.ArtificialHB:Fire()
  378. end
  379. lastframe = tick()
  380. end
  381. if tossremainder then
  382. tf = 0
  383. else
  384. tf = tf - frame * math.floor(tf / frame)
  385. end
  386. end
  387. end)
  388.  
  389. --//=================================\\
  390. --\\=================================//
  391.  
  392. --//=================================\\
  393. --|| SOME FUNCTIONS
  394. --\\=================================//
  395.  
  396. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  397. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  398. end
  399.  
  400. function PositiveAngle(NUMBER)
  401. if NUMBER >= 0 then
  402. NUMBER = 0
  403. end
  404. return NUMBER
  405. end
  406.  
  407. function NegativeAngle(NUMBER)
  408. if NUMBER <= 0 then
  409. NUMBER = 0
  410. end
  411. return NUMBER
  412. end
  413.  
  414. function Swait(NUMBER)
  415. if NUMBER == 0 or NUMBER == nil then
  416. ArtificialHB.Event:wait()
  417. else
  418. for i = 1, NUMBER do
  419. ArtificialHB.Event:wait()
  420. end
  421. end
  422. end
  423.  
  424. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  425. local NEWMESH = IT(MESH)
  426. if MESH == "SpecialMesh" then
  427. NEWMESH.MeshType = MESHTYPE
  428. if MESHID ~= "nil" and MESHID ~= "" then
  429. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  430. end
  431. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  432. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  433. end
  434. end
  435. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  436. NEWMESH.Scale = SCALE
  437. NEWMESH.Parent = PARENT
  438. return NEWMESH
  439. end
  440.  
  441. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  442. local NEWPART = IT("Part")
  443. NEWPART.formFactor = FORMFACTOR
  444. NEWPART.Reflectance = REFLECTANCE
  445. NEWPART.Transparency = TRANSPARENCY
  446. NEWPART.CanCollide = false
  447. NEWPART.Locked = true
  448. NEWPART.Anchored = true
  449. if ANCHOR == false then
  450. NEWPART.Anchored = false
  451. end
  452. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  453. NEWPART.Name = NAME
  454. NEWPART.Size = SIZE
  455. NEWPART.Position = Torso.Position
  456. NEWPART.Material = MATERIAL
  457. NEWPART:BreakJoints()
  458. NEWPART.Parent = PARENT
  459. return NEWPART
  460. end
  461.  
  462. local function weldBetween(a, b)
  463. local weldd = Instance.new("ManualWeld")
  464. weldd.Part0 = a
  465. weldd.Part1 = b
  466. weldd.C0 = CFrame.new()
  467. weldd.C1 = b.CFrame:inverse() * a.CFrame
  468. weldd.Parent = a
  469. return weldd
  470. end
  471.  
  472.  
  473. function QuaternionFromCFrame(cf)
  474. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  475. local trace = m00 + m11 + m22
  476. if trace > 0 then
  477. local s = math.sqrt(1 + trace)
  478. local recip = 0.5 / s
  479. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  480. else
  481. local i = 0
  482. if m11 > m00 then
  483. i = 1
  484. end
  485. if m22 > (i == 0 and m00 or m11) then
  486. i = 2
  487. end
  488. if i == 0 then
  489. local s = math.sqrt(m00 - m11 - m22 + 1)
  490. local recip = 0.5 / s
  491. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  492. elseif i == 1 then
  493. local s = math.sqrt(m11 - m22 - m00 + 1)
  494. local recip = 0.5 / s
  495. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  496. elseif i == 2 then
  497. local s = math.sqrt(m22 - m00 - m11 + 1)
  498. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  499. end
  500. end
  501. end
  502.  
  503. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  504. local xs, ys, zs = x + x, y + y, z + z
  505. local wx, wy, wz = w * xs, w * ys, w * zs
  506. local xx = x * xs
  507. local xy = x * ys
  508. local xz = x * zs
  509. local yy = y * ys
  510. local yz = y * zs
  511. local zz = z * zs
  512. 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))
  513. end
  514.  
  515. function QuaternionSlerp(a, b, t)
  516. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  517. local startInterp, finishInterp;
  518. if cosTheta >= 0.0001 then
  519. if (1 - cosTheta) > 0.0001 then
  520. local theta = ACOS(cosTheta)
  521. local invSinTheta = 1 / SIN(theta)
  522. startInterp = SIN((1 - t) * theta) * invSinTheta
  523. finishInterp = SIN(t * theta) * invSinTheta
  524. else
  525. startInterp = 1 - t
  526. finishInterp = t
  527. end
  528. else
  529. if (1 + cosTheta) > 0.0001 then
  530. local theta = ACOS(-cosTheta)
  531. local invSinTheta = 1 / SIN(theta)
  532. startInterp = SIN((t - 1) * theta) * invSinTheta
  533. finishInterp = SIN(t * theta) * invSinTheta
  534. else
  535. startInterp = t - 1
  536. finishInterp = t
  537. end
  538. end
  539. 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
  540. end
  541.  
  542. function Clerp(a, b, t)
  543. local qa = {QuaternionFromCFrame(a)}
  544. local qb = {QuaternionFromCFrame(b)}
  545. local ax, ay, az = a.x, a.y, a.z
  546. local bx, by, bz = b.x, b.y, b.z
  547. local _t = 1 - t
  548. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  549. end
  550.  
  551. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  552. local frame = IT("Frame")
  553. frame.BackgroundTransparency = TRANSPARENCY
  554. frame.BorderSizePixel = BORDERSIZEPIXEL
  555. frame.Position = POSITION
  556. frame.Size = SIZE
  557. frame.BackgroundColor3 = COLOR
  558. frame.BorderColor3 = BORDERCOLOR
  559. frame.Name = NAME
  560. frame.Parent = PARENT
  561. return frame
  562. end
  563.  
  564.  
  565. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  566. local label = IT("TextLabel")
  567. label.BackgroundTransparency = 1
  568. label.Size = UD2(1, 0, 1, 0)
  569. label.Position = UD2(0, 0, 0, 0)
  570. label.TextColor3 = TEXTCOLOR
  571. label.TextStrokeTransparency = STROKETRANSPARENCY
  572. label.TextTransparency = TRANSPARENCY
  573. label.FontSize = TEXTFONTSIZE
  574. label.Font = TEXTFONT
  575. label.BorderSizePixel = BORDERSIZEPIXEL
  576. label.TextScaled = false
  577. label.Text = TEXT
  578. label.Name = NAME
  579. label.Parent = PARENT
  580. return label
  581. end
  582.  
  583. function NoOutlines(PART)
  584. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  585. end
  586.  
  587. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  588. local NEWWELD = IT(TYPE)
  589. NEWWELD.Part0 = PART0
  590. NEWWELD.Part1 = PART1
  591. NEWWELD.C0 = C0
  592. NEWWELD.C1 = C1
  593. NEWWELD.Parent = PARENT
  594. return NEWWELD
  595. end
  596.  
  597. local S = IT("Sound")
  598. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  599. local NEWSOUND = nil
  600. coroutine.resume(coroutine.create(function()
  601. NEWSOUND = S:Clone()
  602. NEWSOUND.Parent = PARENT
  603. NEWSOUND.Volume = VOLUME
  604. NEWSOUND.Pitch = PITCH
  605. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  606. NEWSOUND:play()
  607. if DOESLOOP == true then
  608. NEWSOUND.Looped = true
  609. else
  610. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  611. NEWSOUND:remove()
  612. end
  613. end))
  614. return NEWSOUND
  615. end
  616.  
  617. function CFrameFromTopBack(at, top, back)
  618. local right = top:Cross(back)
  619. 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)
  620. end
  621.  
  622. --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})
  623. function WACKYEFFECT(Table)
  624. local TYPE = (Table.EffectType or "Sphere")
  625. local SIZE = (Table.Size or VT(1,1,1))
  626. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  627. local TRANSPARENCY = (Table.Transparency or 0)
  628. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  629. local CFRAME = (Table.CFrame or Torso.CFrame)
  630. local MOVEDIRECTION = (Table.MoveToPos or nil)
  631. local ROTATION1 = (Table.RotationX or 0)
  632. local ROTATION2 = (Table.RotationY or 0)
  633. local ROTATION3 = (Table.RotationZ or 0)
  634. local MATERIAL = (Table.Material or "Neon")
  635. local COLOR = (Table.Color or C3(1,1,1))
  636. local TIME = (Table.Time or 45)
  637. local SOUNDID = (Table.SoundID or nil)
  638. local SOUNDPITCH = (Table.SoundPitch or nil)
  639. local SOUNDVOLUME = (Table.SoundVolume or nil)
  640. coroutine.resume(coroutine.create(function()
  641. local PLAYSSOUND = false
  642. local SOUND = nil
  643. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  644. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  645. PLAYSSOUND = true
  646. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  647. end
  648. EFFECT.Color = COLOR
  649. local MSH = nil
  650. if TYPE == "Sphere" then
  651. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  652. elseif TYPE == "Block" then
  653. MSH = IT("BlockMesh",EFFECT)
  654. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  655. elseif TYPE == "Wave" then
  656. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  657. elseif TYPE == "Ring" then
  658. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  659. elseif TYPE == "Slash" then
  660. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  661. elseif TYPE == "Round Slash" then
  662. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  663. elseif TYPE == "Swirl" then
  664. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  665. elseif TYPE == "Skull" then
  666. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  667. elseif TYPE == "Crystal" then
  668. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  669. end
  670. if MSH ~= nil then
  671. local MOVESPEED = nil
  672. if MOVEDIRECTION ~= nil then
  673. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  674. end
  675. local GROWTH = SIZE - ENDSIZE
  676. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  677. if TYPE == "Block" then
  678. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  679. else
  680. EFFECT.CFrame = CFRAME
  681. end
  682. for LOOP = 1, TIME+1 do
  683. Swait()
  684. MSH.Scale = MSH.Scale - GROWTH/TIME
  685. if TYPE == "Wave" then
  686. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  687. end
  688. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  689. if TYPE == "Block" then
  690. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  691. else
  692. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  693. end
  694. if MOVEDIRECTION ~= nil then
  695. local ORI = EFFECT.Orientation
  696. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  697. EFFECT.Orientation = ORI
  698. end
  699. end
  700. if PLAYSSOUND == false then
  701. EFFECT:remove()
  702. else
  703. SOUND.Stopped:Connect(function()
  704. EFFECT:remove()
  705. end)
  706. end
  707. else
  708. if PLAYSSOUND == false then
  709. EFFECT:remove()
  710. else
  711. repeat Swait() until SOUND.Playing == false
  712. EFFECT:remove()
  713. end
  714. end
  715. end))
  716. end
  717.  
  718. function MakeForm(PART,TYPE)
  719. if TYPE == "Cyl" then
  720. local MSH = IT("CylinderMesh",PART)
  721. elseif TYPE == "Ball" then
  722. local MSH = IT("SpecialMesh",PART)
  723. MSH.MeshType = "Sphere"
  724. elseif TYPE == "Wedge" then
  725. local MSH = IT("SpecialMesh",PART)
  726. MSH.MeshType = "Wedge"
  727. end
  728. end
  729.  
  730. local asd = Instance.new("ParticleEmitter")
  731. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  732. asd.LightEmission = .1
  733. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  734. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  735. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  736. asd.Transparency = bbb
  737. asd.Size = aaa
  738. asd.ZOffset = .9
  739. asd.Acceleration = Vector3.new(0, -15, 0)
  740. asd.LockedToPart = false
  741. asd.EmissionDirection = "Back"
  742. asd.Lifetime = NumberRange.new(1, 2)
  743. asd.Rotation = NumberRange.new(-100, 100)
  744. asd.RotSpeed = NumberRange.new(-100, 100)
  745. asd.Speed = NumberRange.new(10)
  746. asd.Enabled = false
  747. asd.VelocitySpread = 999
  748.  
  749. function getbloody(victim,amount)
  750. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  751. PART.CFrame = victim.CFrame
  752. local HITPLAYERSOUNDS = {"356551938","264486467"}
  753. Debris:AddItem(PART,5)
  754. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  755. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  756. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  757. local prtcl = asd:Clone()
  758. prtcl.Parent = PART
  759. prtcl:Emit(amount*10)
  760. end
  761.  
  762. local Particle = IT("ParticleEmitter",nil)
  763. Particle.Enabled = false
  764. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  765. Particle.LightEmission = 0.5
  766. Particle.Rate = 150
  767. Particle.ZOffset = 1
  768. Particle.Rotation = NumberRange.new(-180, 180)
  769. Particle.RotSpeed = NumberRange.new(-180, 180)
  770. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  771. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  772.  
  773. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  774. function ParticleEmitter(Table)
  775. local PRTCL = Particle:Clone()
  776. local Speed = Table.Speed or 5
  777. local Drag = Table.Drag or 0
  778. local Size1 = Table.Size1 or 1
  779. local Size2 = Table.Size2 or 5
  780. local Lifetime1 = Table.Lifetime1 or 1
  781. local Lifetime2 = Table.Lifetime2 or 1.5
  782. local Parent = Table.Parent or Torso
  783. local Emit = Table.Emit or 100
  784. local Offset = Table.Offset or 360
  785. local Acel = Table.Acel or VT(0,0,0)
  786. local Enabled = Table.Enabled or false
  787. PRTCL.Parent = Parent
  788. PRTCL.Size = NumberSequence.new(Size1,Size2)
  789. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  790. PRTCL.Speed = NumberRange.new(Speed)
  791. PRTCL.VelocitySpread = Offset
  792. PRTCL.Drag = Drag
  793. PRTCL.Acceleration = Acel
  794. if Enabled == false then
  795. PRTCL:Emit(Emit)
  796. Debris:AddItem(PRTCL,Lifetime2)
  797. else
  798. PRTCL.Enabled = true
  799. end
  800. return PRTCL
  801. end
  802.  
  803. function SpawnTrail(FROM,TO,BIG)
  804. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  805. MakeForm(TRAIL,"Cyl")
  806. local DIST = (FROM - TO).Magnitude
  807. if BIG == true then
  808. TRAIL.Size = VT(0.5,DIST,0.5)
  809. else
  810. TRAIL.Size = VT(0.25,DIST,0.25)
  811. end
  812. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  813. coroutine.resume(coroutine.create(function()
  814. for i = 1, 5 do
  815. Swait()
  816. TRAIL.Transparency = TRAIL.Transparency + 0.1
  817. end
  818. TRAIL:remove()
  819. end))
  820. end
  821.  
  822. Debris = game:GetService("Debris")
  823.  
  824. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  825. local DIRECTION = CF(StartPos,EndPos).lookVector
  826. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  827. end
  828.  
  829. function turnto(position)
  830. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  831. end
  832.  
  833. --//=================================\\
  834. --|| RESIZE PLAYER
  835. --\\=================================//
  836.  
  837. if Player_Size ~= 1 then
  838. RootPart.Size = RootPart.Size * Player_Size
  839. Torso.Size = Torso.Size * Player_Size
  840. Head.Size = Head.Size * Player_Size
  841. RightArm.Size = RightArm.Size * Player_Size
  842. LeftArm.Size = LeftArm.Size * Player_Size
  843. RightLeg.Size = RightLeg.Size * Player_Size
  844. LeftLeg.Size = LeftLeg.Size * Player_Size
  845. RootJoint.Parent = RootPart
  846. Neck.Parent = Torso
  847. RightShoulder.Parent = Torso
  848. LeftShoulder.Parent = Torso
  849. RightHip.Parent = Torso
  850. LeftHip.Parent = Torso
  851.  
  852. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  853. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  854. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  855. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  856. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  857. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  858. if Disable_Moving_Arms == false then
  859. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  860. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  861. else
  862. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  863. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  864. end
  865. 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))
  866. 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))
  867. 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))
  868. 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))
  869. end
  870.  
  871.  
  872. --//=================================\\
  873. --\\=================================//
  874.  
  875. --//=================================\\
  876. --|| WEAPON CREATION
  877. --\\=================================//
  878.  
  879. local PRT = CreatePart(3, char, "Fabric", 0, 0, "", "The Mask", VT(1,1,1),false)
  880. PRT.Color = C3(0,0,0)
  881. local MaskWeld = CreateWeldOrSnapOrMotor("Weld", hed, hed, PRT, CF(0,0.2,0), CF(0, 0.15, 0))
  882. CreateMesh("SpecialMesh", PRT, "FileMesh", "62146989", "145633085", VT(1.1,1.1,1.1)*1.05, VT(0,0,0))
  883.  
  884. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  885. local TORSO = Torso
  886. local HUM = Humanoid
  887. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  888. coroutine.wrap(function()
  889. VT = Vector3.new
  890. MRANDOM = math.random
  891. local A = TIME
  892. local B = INTENSITY
  893. local C = true
  894. local HUMANOID = Humanoid
  895. local TIMER = A or 35
  896. local SHAKE = B or 5
  897. local FADE = C or true
  898. if HUMANOID then
  899. local FADER = SHAKE / TIMER
  900. for i = 1, TIMER do
  901. wait()
  902. 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)
  903. end
  904. HUMANOID.CameraOffset = VT(0, 0, 0)
  905. end
  906.  
  907. end)()
  908. end
  909. end
  910.  
  911.  
  912. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  913. PRT.Color = C3(0,0,0)
  914. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  915. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  916. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  917. PRT.Color = C3(0,0,0)
  918.  
  919. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  920. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  921. MakeForm(Part,"Wedge")
  922.  
  923. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  924. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  925. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  926. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  927. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  928. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  929. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  930. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  931. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  932. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  933.  
  934. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  935. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  936. MakeForm(Part,"Wedge")
  937.  
  938. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  939. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  940. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  941. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  942. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  943. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  944. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  945. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  946. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  947. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  948.  
  949. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  950. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  951. MakeForm(Part,"Wedge")
  952.  
  953. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  954. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  955. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  956. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  957. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  958. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  959. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  960. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  961. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  962. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  963.  
  964. --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})
  965. function WACKYEFFECT(Table)
  966. local TYPE = (Table.EffectType or "Sphere")
  967. local SIZE = (Table.Size or VT(1,1,1))
  968. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  969. local TRANSPARENCY = (Table.Transparency or 0)
  970. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  971. local CFRAME = (Table.CFrame or Torso.CFrame)
  972. local MOVEDIRECTION = (Table.MoveToPos or nil)
  973. local ROTATION1 = (Table.RotationX or 0)
  974. local ROTATION2 = (Table.RotationY or 0)
  975. local ROTATION3 = (Table.RotationZ or 0)
  976. local MATERIAL = (Table.Material or "Neon")
  977. local COLOR = (Table.Color or C3(1,1,1))
  978. local TIME = (Table.Time or 45)
  979. local SOUNDID = (Table.SoundID or nil)
  980. local SOUNDPITCH = (Table.SoundPitch or nil)
  981. local SOUNDVOLUME = (Table.SoundVolume or nil)
  982. coroutine.resume(coroutine.create(function()
  983. local PLAYSSOUND = false
  984. local SOUND = nil
  985. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
  986. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  987. PLAYSSOUND = true
  988. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  989. end
  990. EFFECT.Color = COLOR
  991. local MSH = nil
  992. if TYPE == "Sphere" then
  993. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  994. elseif TYPE == "Block" then
  995. MSH = IT("BlockMesh",EFFECT)
  996. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  997. elseif TYPE == "Wave" then
  998. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  999. elseif TYPE == "Ring" then
  1000. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1001. elseif TYPE == "Slash" then
  1002. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1003. elseif TYPE == "Round Slash" then
  1004. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1005. elseif TYPE == "Swirl" then
  1006. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1007. elseif TYPE == "Skull" then
  1008. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1009. elseif TYPE == "Crystal" then
  1010. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1011. end
  1012. if MSH ~= nil then
  1013. local MOVESPEED = nil
  1014. if MOVEDIRECTION ~= nil then
  1015. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1016. end
  1017. local GROWTH = SIZE - ENDSIZE
  1018. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1019. if TYPE == "Block" then
  1020. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1021. else
  1022. EFFECT.CFrame = CFRAME
  1023. end
  1024. for LOOP = 1, TIME+1 do
  1025. Swait()
  1026. MSH.Scale = MSH.Scale - GROWTH/TIME
  1027. if TYPE == "Wave" then
  1028. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1029. end
  1030. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1031. if TYPE == "Block" then
  1032. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1033. else
  1034. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1035. end
  1036. if MOVEDIRECTION ~= nil then
  1037. local ORI = EFFECT.Orientation
  1038. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1039. EFFECT.Orientation = ORI
  1040. end
  1041. end
  1042. if PLAYSSOUND == false then
  1043. EFFECT:remove()
  1044. else
  1045. SOUND.Stopped:Connect(function()
  1046. EFFECT:remove()
  1047. end)
  1048. end
  1049. else
  1050. if PLAYSSOUND == false then
  1051. EFFECT:remove()
  1052. else
  1053. repeat Swait() until SOUND.Playing == false
  1054. EFFECT:remove()
  1055. end
  1056. end
  1057. end))
  1058. end
  1059.  
  1060.  
  1061. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1062. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1063. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  1064. wave.CFrame = CFRAME
  1065. coroutine.resume(coroutine.create(function(PART)
  1066. for i = 1, WAIT do
  1067. Swait()
  1068. mesh.Scale = mesh.Scale + GROW
  1069. if DOESROT == true then
  1070. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1071. end
  1072. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1073. if wave.Transparency > 0.99 then
  1074. wave:remove()
  1075. end
  1076. end
  1077. end))
  1078. end
  1079.  
  1080. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  1081. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1082. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1083. wave.CFrame = CFRAME
  1084. coroutine.resume(coroutine.create(function(PART)
  1085. for i = 1, WAIT do
  1086. Swait()
  1087. mesh.Scale = mesh.Scale + GROW
  1088. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1089. if DOESROT == true then
  1090. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1091. end
  1092. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1093. if wave.Transparency > 0.99 then
  1094. wave:remove()
  1095. end
  1096. end
  1097. end))
  1098. end
  1099.  
  1100. --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})
  1101. function WACKYEFFECT(Table)
  1102. local TYPE = (Table.EffectType or "Sphere")
  1103. local SIZE = (Table.Size or VT(1,1,1))
  1104. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1105. local TRANSPARENCY = (Table.Transparency or 0)
  1106. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1107. local CFRAME = (Table.CFrame or Torso.CFrame)
  1108. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1109. local ROTATION1 = (Table.RotationX or 0)
  1110. local ROTATION2 = (Table.RotationY or 0)
  1111. local ROTATION3 = (Table.RotationZ or 0)
  1112. local MATERIAL = (Table.Material or "Neon")
  1113. local COLOR = (Table.Color or C3(1,1,1))
  1114. local TIME = (Table.Time or 45)
  1115. local SOUNDID = (Table.SoundID or nil)
  1116. local SOUNDPITCH = (Table.SoundPitch or nil)
  1117. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1118. coroutine.resume(coroutine.create(function()
  1119. local PLAYSSOUND = false
  1120. local SOUND = nil
  1121. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1122. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1123. PLAYSSOUND = true
  1124. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1125. end
  1126. EFFECT.Color = COLOR
  1127. local MSH = nil
  1128. if TYPE == "Sphere" then
  1129. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1130. elseif TYPE == "Block" then
  1131. MSH = IT("BlockMesh",EFFECT)
  1132. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1133. elseif TYPE == "Wave" then
  1134. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1135. elseif TYPE == "Ring" then
  1136. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1137. elseif TYPE == "Slash" then
  1138. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1139. elseif TYPE == "Round Slash" then
  1140. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1141. elseif TYPE == "Swirl" then
  1142. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1143. elseif TYPE == "Skull" then
  1144. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1145. elseif TYPE == "Crystal" then
  1146. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1147. end
  1148. if MSH ~= nil then
  1149. local MOVESPEED = nil
  1150. if MOVEDIRECTION ~= nil then
  1151. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1152. end
  1153. local GROWTH = SIZE - ENDSIZE
  1154. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1155. if TYPE == "Block" then
  1156. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1157. else
  1158. EFFECT.CFrame = CFRAME
  1159. end
  1160. for LOOP = 1, TIME+1 do
  1161. Swait()
  1162. MSH.Scale = MSH.Scale - GROWTH/TIME
  1163. if TYPE == "Wave" then
  1164. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1165. end
  1166. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1167. if TYPE == "Block" then
  1168. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1169. else
  1170. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1171. end
  1172. if MOVEDIRECTION ~= nil then
  1173. local ORI = EFFECT.Orientation
  1174. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1175. EFFECT.Orientation = ORI
  1176. end
  1177. end
  1178. if PLAYSSOUND == false then
  1179. EFFECT:remove()
  1180. else
  1181. SOUND.Stopped:Connect(function()
  1182. EFFECT:remove()
  1183. end)
  1184. end
  1185. else
  1186. if PLAYSSOUND == false then
  1187. EFFECT:remove()
  1188. else
  1189. repeat Swait() until SOUND.Playing == false
  1190. EFFECT:remove()
  1191. end
  1192. end
  1193. end))
  1194. end
  1195.  
  1196. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  1197. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1198. local mesh
  1199. if KIND == "Base" then
  1200. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  1201. elseif KIND == "Thin" then
  1202. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1203. elseif KIND == "Round" then
  1204. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1205. end
  1206. wave.CFrame = CFRAME
  1207. coroutine.resume(coroutine.create(function(PART)
  1208. for i = 1, WAIT do
  1209. Swait()
  1210. mesh.Scale = mesh.Scale + GROW / 10
  1211. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1212. if wave.Transparency > 0.99 then
  1213. wave:remove()
  1214. end
  1215. end
  1216. end))
  1217. end
  1218.  
  1219. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1220. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1221. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  1222. wave.CFrame = CFRAME
  1223. coroutine.resume(coroutine.create(function(PART)
  1224. for i = 1, WAIT do
  1225. Swait()
  1226. mesh.Scale = mesh.Scale + GROW
  1227. if DOESROT == true then
  1228. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1229. end
  1230. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1231. if wave.Transparency > 0.99 then
  1232. wave:remove()
  1233. end
  1234. end
  1235. end))
  1236. end
  1237. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1238. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1239. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1240. wave.CFrame = CFRAME
  1241. coroutine.resume(coroutine.create(function(PART)
  1242. for i = 1, WAIT do
  1243. Swait()
  1244. mesh.Scale = mesh.Scale + GROW
  1245. wave.Transparency = wave.Transparency + 1 / WAIT
  1246. if wave.Transparency > 0.99 then
  1247. wave:remove()
  1248. end
  1249. end
  1250. end))
  1251. end
  1252.  
  1253. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1254. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1255. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1256. wave.CFrame = CFRAME
  1257. coroutine.resume(coroutine.create(function(PART)
  1258. for i = 1, WAIT do
  1259. Swait()
  1260. mesh.Scale = mesh.Scale + GROW
  1261. wave.Transparency = wave.Transparency + 1 / WAIT
  1262. if wave.Transparency > 0.99 then
  1263. wave:remove()
  1264. end
  1265. end
  1266. end))
  1267. end
  1268.  
  1269.  
  1270. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1271. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1272. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1273. MakeForm(Part,"Wedge")
  1274. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1275. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1276. MakeForm(Part,"Wedge")
  1277. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1278. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1279. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1280. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1281. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1282. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1283. MakeForm(Part,"Cyl")
  1284. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1285. for i = 1, 8 do
  1286. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1287. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1288. end
  1289. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1290. MakeForm(Part,"Cyl")
  1291. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1292. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1293. MakeForm(Part,"Ball")
  1294. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1295. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1296. MakeForm(Part,"Wedge")
  1297. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1298. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1299. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1300. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1301. MakeForm(Part,"Cyl")
  1302. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1303. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1304. MakeForm(Part,"Cyl")
  1305. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1306. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1307. MakeForm(Part,"Cyl")
  1308. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1309. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1310. MakeForm(Part,"Wedge")
  1311. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1312. local LASTPART = Handle
  1313. for i = 1, 10 do
  1314. if LASTPART == Handle then
  1315. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1316. LASTPART = Part
  1317. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1318. else
  1319. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1320. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1321. LASTPART = Part
  1322. end
  1323. end
  1324.  
  1325. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1326. MakeForm(Barrel,"Cyl")
  1327. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1328. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1329. MakeForm(Part,"Cyl")
  1330. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1331. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1332. MakeForm(Part,"Wedge")
  1333. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1334. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1335. MakeForm(Hole2,"Cyl")
  1336. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1337. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1338. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1339. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1340. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1341. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1342. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1343. coroutine.resume(coroutine.create(function()
  1344. while wait() do
  1345. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1346. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1347. end
  1348. end))
  1349.  
  1350. 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)})
  1351. --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)})
  1352.  
  1353. for _, c in pairs(Weapon:GetDescendants()) do
  1354. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1355. c.Material = "Glass"
  1356. c.Color = C3(0,0,0)
  1357. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1358. c.Color = C3(1,0,0)
  1359. c.Material = "Neon"
  1360. end
  1361. end
  1362.  
  1363. Weapon.Parent = Character
  1364. for _, c in pairs(Weapon:GetChildren()) do
  1365. if c.ClassName == "Part" then
  1366. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1367. end
  1368. end
  1369.  
  1370. function ParticleEmitter(Table)
  1371. local PRTCL = Particle:Clone()
  1372. local Speed = Table.Speed or 5
  1373. local Drag = Table.Drag or 0
  1374. local Size1 = Table.Size1 or 1
  1375. local Size2 = Table.Size2 or 5
  1376. local Lifetime1 = Table.Lifetime1 or 1
  1377. local Lifetime2 = Table.Lifetime2 or 1.5
  1378. local Parent = Table.Parent or Torso
  1379. local Emit = Table.Emit or 100
  1380. local Offset = Table.Offset or 360
  1381. local Acel = Table.Acel or VT(0,0,0)
  1382. local Enabled = Table.Enabled or false
  1383. PRTCL.Parent = Parent
  1384. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1385. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1386. PRTCL.Speed = NumberRange.new(Speed)
  1387. PRTCL.VelocitySpread = Offset
  1388. PRTCL.Drag = Drag
  1389. PRTCL.Acceleration = Acel
  1390. if Enabled == false then
  1391. PRTCL:Emit(Emit)
  1392. Debris:AddItem(PRTCL,Lifetime2)
  1393. else
  1394. PRTCL.Enabled = true
  1395. end
  1396. return PRTCL
  1397. end
  1398.  
  1399. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1400. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1401. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1402. MakeForm(Part,"Wedge")
  1403. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1404. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1405. MakeForm(Part,"Wedge")
  1406. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1407. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1408. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1409. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1410. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1411. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1412. MakeForm(Part,"Cyl")
  1413. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1414. for i = 1, 8 do
  1415. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1416. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1417. end
  1418. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1419. MakeForm(Part,"Cyl")
  1420. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1421. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1422. MakeForm(Part,"Ball")
  1423. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1424. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1425. MakeForm(Part,"Wedge")
  1426. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1427. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1428. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1429. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1430. MakeForm(Part,"Cyl")
  1431. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1432. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1433. MakeForm(Part,"Cyl")
  1434. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1435. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1436. MakeForm(Part,"Cyl")
  1437. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1438. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1439. MakeForm(Part,"Wedge")
  1440. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1441. local LASTPART = Handle
  1442. for i = 1, 10 do
  1443. if LASTPART == Handle then
  1444. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1445. LASTPART = Part
  1446. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1447. else
  1448. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1449. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1450. LASTPART = Part
  1451. end
  1452. end
  1453.  
  1454. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1455. MakeForm(Barrel,"Cyl")
  1456. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1457. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1458. MakeForm(Part,"Cyl")
  1459. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1460. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1461. MakeForm(Part,"Wedge")
  1462. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1463. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1464. MakeForm(Hole,"Cyl")
  1465. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1466. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1467. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1468. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1469. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1470. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1471. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1472. coroutine.resume(coroutine.create(function()
  1473. while wait() do
  1474. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1475. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1476. end
  1477. end))
  1478.  
  1479. 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)})
  1480. --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)})
  1481.  
  1482. for _, c in pairs(Weapon:GetDescendants()) do
  1483. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1484. c.Material = "Glass"
  1485. c.Color = C3(0,0,0)
  1486. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1487. c.Color = C3(1,0,0)
  1488. c.Material = "Neon"
  1489. end
  1490. end
  1491.  
  1492. Weapon.Parent = Character
  1493. for _, c in pairs(Weapon:GetChildren()) do
  1494. if c.ClassName == "Part" then
  1495. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1496. end
  1497. end
  1498.  
  1499. local SKILLTEXTCOLOR = C3(1,0,0)
  1500. local SKILLFONT = "Antique"
  1501. local SKILLTEXTSIZE = 7
  1502.  
  1503. Humanoid.Died:connect(function()
  1504. ATTACK = true
  1505. end)
  1506.  
  1507. 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")
  1508. --[[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")
  1509. 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")
  1510. 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")
  1511. 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")
  1512. ]]
  1513. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1514. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1515. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1516. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1517. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1518. ]]
  1519. function printbye(Name)
  1520. 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, "}
  1521. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1522. end
  1523.  
  1524. workspace.ChildAdded:connect(function(instance)
  1525. for BANISH = 1, #TOBANISH do
  1526. if TOBANISH[BANISH] ~= nil then
  1527. if instance.Name == TOBANISH[BANISH] then
  1528. coroutine.resume(coroutine.create(function()
  1529. printbye(instance.Name)
  1530. instance:ClearAllChildren()
  1531. Debris:AddItem(instance,0.0005)
  1532. end))
  1533. end
  1534. end
  1535. end
  1536. end)
  1537.  
  1538. --//=================================\\
  1539. --|| DAMAGING
  1540. --\\=================================//
  1541.  
  1542. function Banish(Foe)
  1543. if Foe then
  1544. coroutine.resume(coroutine.create(function()
  1545. --if game.Players:FindFirstChild(Foe.Name) then
  1546. table.insert(TOBANISH,Foe.Name)
  1547. printbye(Foe.Name)
  1548. --end
  1549. Foe.Archivable = true
  1550. local CLONE = Foe:Clone()
  1551. Foe:Destroy()
  1552. CLONE.Parent = Effects
  1553. CLONE:BreakJoints()
  1554. local MATERIALS = {"Glass","Neon"}
  1555. for _, c in pairs(CLONE:GetDescendants()) do
  1556. if c:IsA("BasePart") then
  1557. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1558. CreateSound(340722848, c, 10, 1, false)
  1559. end
  1560. c.Anchored = true
  1561. c.Transparency = c.Transparency + 0.2
  1562. c.Material = MATERIALS[MRANDOM(1,2)]
  1563. c.Color = C3(1,0,0)
  1564. if c.ClassName == "MeshPart" then
  1565. c.TextureID = ""
  1566. end
  1567. if c:FindFirstChildOfClass("SpecialMesh") then
  1568. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1569. end
  1570. if c:FindFirstChildOfClass("Decal") then
  1571. c:FindFirstChildOfClass("Decal"):remove()
  1572. end
  1573. c.Name = "Banished"
  1574. c.CanCollide = false
  1575. else
  1576. c:remove()
  1577. end
  1578. end
  1579. local A = false
  1580. for i = 1, 35 do
  1581. if A == false then
  1582. A = true
  1583. elseif A == true then
  1584. A = false
  1585. end
  1586. for _, c in pairs(CLONE:GetDescendants()) do
  1587. if c:IsA("BasePart") then
  1588. c.Anchored = true
  1589. c.Material = MATERIALS[MRANDOM(1,2)]
  1590. c.Transparency = c.Transparency + 0.8/35
  1591. if A == false then
  1592. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1593. elseif A == true then
  1594. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1595. end
  1596. end
  1597. end
  1598. Swait()
  1599. end
  1600. CLONE:remove()
  1601. end))
  1602. end
  1603. end
  1604.  
  1605. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1606. local CHILDREN = workspace:GetDescendants()
  1607. for index, CHILD in pairs(CHILDREN) do
  1608. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1609. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1610. if HUM then
  1611. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1612. if TORSO then
  1613. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1614. if ISBANISH == true then
  1615. Banish(CHILD)
  1616. else
  1617. if ISBANISH == "Gravity" then
  1618. HUM.PlatformStand = true
  1619. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1620. local grav = Instance.new("BodyPosition",TORSO)
  1621. grav.D = 15
  1622. grav.P = 20000
  1623. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1624. grav.position = TORSO.Position
  1625. grav.Name = "V3BanishForce"..Player.Name
  1626. else
  1627. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1628. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1629. end
  1630. else
  1631. HUM.PlatformStand = false
  1632. end
  1633. end
  1634. elseif ISBANISH == "Gravity" then
  1635. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1636. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1637. HUM.PlatformStand = false
  1638. end
  1639. end
  1640. end
  1641. end
  1642. end
  1643. end
  1644. end
  1645.  
  1646. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1647. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1648. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1649. local BODYGYRO = IT("BodyGyro", STATPART)
  1650. local BODYPOSITION = IT("BodyPosition", STATPART)
  1651. BODYPOSITION.P = 2000
  1652. BODYPOSITION.D = 100
  1653. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1654. if LABELTYPE == "Normal" then
  1655. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1656. elseif LABELTYPE == "Debuff" then
  1657. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1658. elseif LABELTYPE == "Interruption" then
  1659. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1660. end
  1661. game:GetService("Debris"):AddItem(STATPART ,5)
  1662. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1663. BILLBOARDGUI.Adornee = STATPART
  1664. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1665. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1666. BILLBOARDGUI.AlwaysOnTop = false
  1667. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1668. TEXTLABEL.BackgroundTransparency = 1
  1669. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1670. TEXTLABEL.Text = TEXT
  1671. TEXTLABEL.Font = "SourceSans"
  1672. TEXTLABEL.FontSize="Size42"
  1673. TEXTLABEL.TextColor3 = COLOR
  1674. TEXTLABEL.TextStrokeTransparency = 0
  1675. TEXTLABEL.TextScaled = true
  1676. TEXTLABEL.TextWrapped = true
  1677. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1678. wait(0.2)
  1679. for i=1, 5 do
  1680. wait()
  1681. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1682. end
  1683. wait(1.2)
  1684. for i=1, 5 do
  1685. wait()
  1686. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1687. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1688. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1689. end
  1690. THEPART.Parent = nil
  1691. end),STATPART, BODYPOSITION, TEXTLABEL)
  1692. end
  1693.  
  1694. function IncreaseOrDecreaseStat(LOCATION, STAT, AMOUNT, DURATION, SHOWTHESTAT)
  1695. if LOCATION:FindFirstChild("Stats") ~= nil then
  1696. if LOCATION.Stats:FindFirstChild("Block") ~= nil then
  1697. if LOCATION.Stats:FindFirstChild("Block").Value == true then
  1698. return
  1699. end
  1700. end
  1701. if LOCATION.Stats:FindFirstChild("ChangeStat") ~= nil and LOCATION.Stats:FindFirstChild("Block").Value == false then
  1702. local NewStatChange = IT("NumberValue")
  1703. NewStatChange.Value = AMOUNT
  1704. if STAT == "Defense" then
  1705. NewStatChange.Name = "ChangeDefense"
  1706. elseif STAT == "Damage" then
  1707. NewStatChange.Name = "ChangeDamage"
  1708. elseif STAT == "Movement" then
  1709. NewStatChange.Name = "ChangeMovement"
  1710. end
  1711. if SHOWTHESTAT == true then
  1712. if AMOUNT < 0 then
  1713. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "-"..STAT, C3(1, 1, 1))
  1714. elseif AMOUNT > 0 then
  1715. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "+"..STAT, C3(1, 1, 1))
  1716. end
  1717. end
  1718. if DURATION ~= nil and DURATION ~= 0 then
  1719. local StatDuration = IT("NumberValue")
  1720. StatDuration.Name = "Duration"
  1721. StatDuration.Value = DURATION
  1722. StatDuration.Parent = NewStatChange
  1723. end
  1724. NewStatChange.Parent = LOCATION.Stats:FindFirstChild("ChangeStat")
  1725. end
  1726. end
  1727. end
  1728.  
  1729. --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)
  1730. 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)
  1731. if HIT.Parent == nil then
  1732. return
  1733. end
  1734. local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  1735. for _, v in pairs(HIT.Parent:GetChildren()) do
  1736. if v:IsA("Humanoid") then
  1737. HITHUMANOID = v
  1738. end
  1739. end
  1740. if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  1741. StaggerHit.Value = true
  1742. if Play_Hitbox_Hit_Sound == true then
  1743. if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  1744. CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  1745. end
  1746. end
  1747. return
  1748. end
  1749. if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  1750. HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  1751. end
  1752. if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  1753. HIT = HIT.Parent.Parent:FindFirstChild("Head")
  1754. end
  1755. if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  1756. if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  1757. if HIT.Parent.DebounceHit.Value == true then
  1758. return
  1759. end
  1760. end
  1761. if AntiTeamKill.Value == true then
  1762. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  1763. if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  1764. return
  1765. end
  1766. end
  1767. end
  1768. if HITEVENWHENDEAD == false then
  1769. if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  1770. if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  1771. return
  1772. end
  1773. end
  1774. end
  1775. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1776. if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  1777. HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  1778. end
  1779. end
  1780. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1781. if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  1782. if STAGGER == true and Enable_Stagger == true then
  1783. HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  1784. end
  1785. end
  1786. end
  1787. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1788. if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  1789. if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  1790. HASBEENBLOCKED = true
  1791. if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  1792. StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  1793. if RANGED ~= true then
  1794. if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  1795. CreateSound(HITBLOCKSOUND, HIT, 1, HITBLOCKSOUNDPITCH)
  1796. end
  1797. end
  1798. local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  1799. BlockDebounce.Name = "BlockDebounce"
  1800. BlockDebounce.Value = true
  1801. if RANGED ~= true then
  1802. game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  1803. else
  1804. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  1805. end
  1806. end
  1807. if RANGED ~= true and Enable_Stagger == true then
  1808. HIT.Parent.Stats:FindFirstChild("Block").Value = false
  1809. Stagger.Value = true
  1810. end
  1811. return
  1812. end
  1813. end
  1814. end
  1815. if DECREASETHESTAT ~= nil then
  1816. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1817. IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1818. end
  1819. end
  1820. local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  1821. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1822. if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  1823. if CanPenetrateArmor.Value == true then
  1824. DAMAGE = DAMAGE
  1825. else
  1826. DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  1827. end
  1828. elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  1829. DAMAGE = DAMAGE
  1830. end
  1831. end
  1832. if CanCrit.Value == true then
  1833. CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  1834. if CRITCHANCENUMBER == 1 then
  1835. DAMAGE = DAMAGE * 2
  1836. end
  1837. end
  1838. DAMAGE = math.floor(DAMAGE)
  1839. if HASBEENBLOCKED == false then
  1840. HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  1841. end
  1842. if DAMAGE <= 3 and HASBEENBLOCKED == false then
  1843. if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  1844. StaggerHit.Value = true
  1845. end
  1846. if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  1847. CreateSound(HITARMORSOUND, HIT, 1, HITARMORSOUNDPITCH)
  1848. end
  1849. elseif DAMAGE > 3 and HASBEENBLOCKED == false then
  1850. if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  1851. CreateSound(HITPLAYERSOUND, HIT, 1, HITPLAYERSOUNDPITCH)
  1852. end
  1853. end
  1854. if DAMAGE > 3 and DAMAGE < 20 and HASBEENBLOCKED == false then
  1855. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1856. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1857. CreateSound("296102734", HIT, 1, 1)
  1858. else
  1859. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 220/255, 0))
  1860. end
  1861. elseif DAMAGE >= 20 and HASBEENBLOCKED == false then
  1862. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1863. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1864. CreateSound("296102734", HIT, 1, 1)
  1865. else
  1866. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 0, 0))
  1867. end
  1868. elseif DAMAGE <= 3 and HASBEENBLOCKED == false then
  1869. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  1870. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  1871. CreateSound("296102734", HIT, 1, 1)
  1872. else
  1873. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(225/255, 225/255, 225/255))
  1874. end
  1875. end
  1876. if TYPE == "Normal" then
  1877. local vp = IT("BodyVelocity")
  1878. vp.P=500
  1879. vp.maxForce = VT(math.huge, 0, math.huge)
  1880. if KNOCKBACKTYPE == 1 then
  1881. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  1882. elseif KNOCKBACKTYPE == 2 then
  1883. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  1884. end
  1885. if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  1886. vp.Parent = HIT--.Parent.Torso
  1887. end
  1888. game:GetService("Debris"):AddItem(vp, 0.5)
  1889. end
  1890. HASBEENBLOCKED = false
  1891. RecentEnemy.Value = HIT.Parent
  1892. local DebounceHit = IT("BoolValue", HIT.Parent)
  1893. DebounceHit.Name = "DebounceHit"
  1894. DebounceHit.Value = true
  1895. game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  1896. end
  1897. end
  1898.  
  1899. --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)
  1900. 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)
  1901. for _, c in pairs(workspace:GetChildren()) do
  1902. local HUMANOID = c:FindFirstChild("Humanoid")
  1903. local HEAD = nil
  1904. if HUMANOID ~= nil then
  1905. for _, d in pairs(c:GetChildren()) do
  1906. if d.ClassName == "Model" and RANGED ~= true then
  1907. HEAD = d:FindFirstChild("Hitbox")
  1908. if HEAD ~= nil then
  1909. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  1910. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1911. if Play_Hitbox_Hit_Sound == true then
  1912. local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1913. HitRefpart.Anchored = true
  1914. HitRefpart.CFrame = CF(HEAD.Position)
  1915. CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  1916. end
  1917. if Enable_Stagger_Hit == true then
  1918. StaggerHit.Value = true
  1919. end
  1920. end
  1921. end
  1922. elseif d:IsA"BasePart" then
  1923. HEAD = d
  1924. if HEAD ~= nil then
  1925. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  1926. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1927. 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)
  1928. end
  1929. end
  1930. end
  1931. end
  1932. end
  1933. end
  1934. end
  1935.  
  1936. --Usage: MagnitudeBuffOrDebuff(Part, 5, "Defense", -0.1, 3, true, true)
  1937. function MagnitudeBuffOrDebuff(PART, MAGNITUDE, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF, APPLYTOOTHERSINSTEAD)
  1938. if Player.Neutral == true then
  1939. IncreaseOrDecreaseStat(Character, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1940. end
  1941. for _, c in pairs(workspace:GetChildren()) do
  1942. local HUMANOID = c:FindFirstChild("Humanoid")
  1943. local THEHEAD = nil
  1944. if HUMANOID ~= nil then
  1945. if c:FindFirstChild("Torso") ~= nil then
  1946. THEHEAD = c:FindFirstChild("Torso")
  1947. elseif c:FindFirstChild("UpperTorso") ~= nil then
  1948. THEHEAD = c:FindFirstChild("UpperTorso")
  1949. end
  1950. if THEHEAD ~= nil then
  1951. local THEMAGNITUDE = (THEHEAD.Position - PART.Position).magnitude
  1952. print("yes 1")
  1953. if APPLYTOOTHERSINSTEAD == true then
  1954. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  1955. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  1956. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  1957. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1958. end
  1959. end
  1960. end
  1961. elseif APPLYTOOTHERSINSTEAD == false then
  1962. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) then
  1963. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  1964. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  1965. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  1966. end
  1967. end
  1968. end
  1969. end
  1970. end
  1971. end
  1972. end
  1973. end
  1974.  
  1975.  
  1976.  
  1977. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1978. local dmg = math.random(min,max)
  1979. for i,v in ipairs(workspace:GetChildren()) do
  1980. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1981. local body = v:GetChildren()
  1982. for part = 1, #body do
  1983. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1984. if(body[part].Position - position).Magnitude < radius then
  1985. if v.ClassName == "Model" then
  1986. if v:FindFirstChildOfClass("Humanoid") then
  1987. if CanBeDodgedByJumping == true then
  1988. if body[part].Position.Y < position.Y+5 then
  1989. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1990. end
  1991. else
  1992. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1993. end
  1994. local bv = Instance.new("BodyVelocity")
  1995. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1996. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1997. bv.Parent = body[part]
  1998. Debris:AddItem(bv,0.2)
  1999. end
  2000. end
  2001. end
  2002. end
  2003. end
  2004. end
  2005. if v:FindFirstChild("HitBy"..Player.Name) then
  2006. v:FindFirstChild("HitBy"..Player.Name):remove()
  2007. end
  2008. end
  2009. end
  2010.  
  2011. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  2012. local defence = Instance.new("BoolValue",Humanoid.Parent)
  2013. defence.Name = ("HitBy"..Player.Name)
  2014. game:GetService("Debris"):AddItem(defence, 0.5)
  2015. Humanoid.Health = Humanoid.Health - Damage
  2016. if Humanoid.Parent:FindFirstChild("Head") then
  2017. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  2018. end
  2019. end
  2020.  
  2021.  
  2022. --//=================================\\
  2023. --|| ATTACK FUNCTIONS AND STUFF
  2024. --\\=================================//
  2025.  
  2026. function Oblivion()
  2027. ATTACK = true
  2028. Rooted = true
  2029. for i=0, 2, 0.1 / Animation_Speed do
  2030. Swait()
  2031. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2032. 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)
  2033. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2034. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2035. 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)
  2036. 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)
  2037. end
  2038. for i=0, 0.5, 0.1 / Animation_Speed do
  2039. Swait()
  2040. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2041. 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)
  2042. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2043. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2044. 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)
  2045. 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)
  2046. end
  2047. for i = 1, 75 do
  2048. Swait()
  2049. 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)
  2050. end
  2051. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  2052. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  2053. AoEDamage(Torso.Position,45,45,58,0,false,2,2,false,true)
  2054. MagicSphere(VT(0,0,0),25,Torso.CFrame,"Really red",VT(5,5,5))
  2055. MagicSphere(VT(0,0,0),50,Torso.CFrame,"Lime green",VT(2.5,2.5,2.5))
  2056. 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))
  2057. 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))
  2058. ATTACK = false
  2059. Rooted = false
  2060. end
  2061.  
  2062. function kiss()
  2063. ATTACK = true
  2064. Rooted = false
  2065. local HASGRABBED = false
  2066. local GRABTARGET = nil
  2067. local TORS = nil
  2068. local WELD = nil
  2069. for i=0, 1, 0.1 / Animation_Speed do
  2070. Swait()
  2071. 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)
  2072. 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)
  2073. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2074. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2075. 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)
  2076. 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)
  2077. end
  2078. local GRAB1 = RightArm.Touched:Connect(function(hit)
  2079. if hit.Parent:FindFirstChild("Humanoid") then
  2080. if hit.Parent.Humanoid.Health ~= 0 then
  2081. UNANCHOR = false
  2082. RootPart.Anchored = true
  2083. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2084. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  2085. WELD = weldBetween(RootPart,TORS)
  2086. HASGRABBED = true
  2087. Rooted = true
  2088. end
  2089. end
  2090. end)
  2091. local GRAB2 = LeftArm.Touched:Connect(function(hit)
  2092. if hit.Parent:FindFirstChild("Humanoid") then
  2093. if hit.Parent.Humanoid.Health ~= 0 then
  2094. UNANCHOR = false
  2095. RootPart.Anchored = true
  2096. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2097. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  2098. WELD = weldBetween(RootPart,TORS)
  2099. HASGRABBED = true
  2100. Rooted = true
  2101. end
  2102. end
  2103. end)
  2104. for i=0, 1, 0.1 / Animation_Speed do
  2105. Swait()
  2106. if HASGRABBED == true then
  2107. break
  2108. end
  2109. 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)
  2110. 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)
  2111. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2112. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2113. 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)
  2114. 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)
  2115. end
  2116. GRAB1:disconnect()
  2117. GRAB2:disconnect()
  2118. if HASGRABBED == true then
  2119. TORS.Anchored = false
  2120. GRABTARGET = TORS.Parent
  2121. HED = GRABTARGET:FindFirstChild("Head")
  2122. for i=0, 2, 0.1 / Animation_Speed do
  2123. Swait()
  2124. 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)
  2125. 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)
  2126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2128. 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)
  2129. 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)
  2130. end
  2131. local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Really red", "Heart", VT(1,1,1), false)
  2132. local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
  2133. CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2134. local ECH = 0
  2135.  
  2136. for i=0, 8, 0.1 / Animation_Speed do
  2137. Swait()
  2138. 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)
  2139. 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)
  2140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2141. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2142. 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)
  2143. 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)
  2144. end
  2145. WELD:remove()
  2146. end
  2147. UNANCHOR = true
  2148. ATTACK = false
  2149. Rooted = false
  2150. end
  2151.  
  2152. function Kick()
  2153. ATTACK = true
  2154. Rooted = false
  2155. VALUE1 = true
  2156. NOWALK = true
  2157. if COMBO2 == 1 then
  2158. COMBO2 = 2
  2159. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2160. for i=0, 0.5, 0.1 / Animation_Speed do
  2161. Swait()
  2162. 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)
  2163. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 2 / Animation_Speed)
  2164. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2165. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2166. 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)
  2167. 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)
  2168. end
  2169. elseif COMBO2 == 2 then
  2170. COMBO2 = 1
  2171. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2172. for i=0, 0.5, 0.1 / Animation_Speed do
  2173. Swait()
  2174. 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)
  2175. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
  2176. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2177. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2178. 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)
  2179. 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)
  2180. end
  2181. end
  2182. NOWALK = false
  2183. VALUE1 = false
  2184. ATTACK = false
  2185. Rooted = false
  2186. end
  2187.  
  2188. function StaggerHitAnimation()
  2189. ATTACK = true
  2190. if Weapon:FindFirstChild("Hitbox") ~= nil then
  2191. for i = 1, MRANDOM(2, 4) do
  2192. 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)
  2193. end
  2194. end
  2195. for i = 0, 1, 0.1 / Animation_Speed do
  2196. Swait()
  2197. 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)
  2198. 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)
  2199. 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)
  2200. 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)
  2201. 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)
  2202. 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)
  2203. if Stagger.Value == true or Stun.Value == true then
  2204. break
  2205. end
  2206. end
  2207. ATTACK = false
  2208. end
  2209.  
  2210. function Shot()
  2211. ATTACK = true
  2212. Rooted = false
  2213. for i=0, 0.5, 0.1 / Animation_Speed do
  2214. Swait()
  2215. turnto(Mouse.Hit.p)
  2216. 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)
  2217. 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)
  2218. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2219. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2220. 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)
  2221. 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)
  2222. end
  2223. repeat
  2224. for i=0, 0.5, 0.1 / Animation_Speed do
  2225. Swait()
  2226. turnto(Mouse.Hit.p)
  2227. 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)
  2228. 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)
  2229. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2230. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2231. 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)
  2232. 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)
  2233. end
  2234. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  2235. SpawnTrail(Hole2.Position,POS)
  2236. if HIT ~= nil then
  2237. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2238. Banish(HIT.Parent)
  2239. end
  2240. end
  2241. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2242. SpawnTrail(Hole.Position,POS)
  2243. if HIT ~= nil then
  2244. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2245. Banish(HIT.Parent)
  2246. end
  2247. end
  2248. 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})
  2249. 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})
  2250. 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})
  2251. 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})
  2252. CreateSound("159882477", Head, 6, 1)
  2253. for i=0, 0.5, 0.1 / Animation_Speed do
  2254. Swait()
  2255. 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)
  2256. 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)
  2257. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2258. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2259. 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)
  2260. 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)
  2261. end
  2262. 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})
  2263. 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})
  2264. 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})
  2265. 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})
  2266. until KEYHOLD == false
  2267. ATTACK = false
  2268. Rooted = false
  2269. end
  2270.  
  2271. function Punch()
  2272. ATTACK = true
  2273. Rooted = false
  2274. for i=0, 0.2, 0.1 / Animation_Speed do
  2275. Swait()
  2276. 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)
  2277. 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)
  2278. 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)
  2279. 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)
  2280. 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)
  2281. 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)
  2282. end
  2283. VALUE1 = true
  2284. if COMBO == 1 then
  2285. COMBO = 2
  2286. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2287. for i=0, 0.3, 0.1 / Animation_Speed do
  2288. Swait()
  2289. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  2290. 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)
  2291. 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)
  2292. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2293. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2294. 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)
  2295. 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)
  2296. end
  2297. elseif COMBO == 2 then
  2298. COMBO = 1
  2299. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  2300. for i=0, 0.3, 0.1 / Animation_Speed do
  2301. Swait()
  2302. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  2303. 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)
  2304. 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)
  2305. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2306. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2307. 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)
  2308. 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)
  2309. end
  2310. end
  2311. VALUE1 = false
  2312. ATTACK = false
  2313. Rooted = false
  2314. end
  2315.  
  2316. function AttackTemplate()
  2317. ATTACK = true
  2318. Rooted = false
  2319. for i=0, 1, 0.1 / Animation_Speed do
  2320. Swait()
  2321. 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)
  2322. 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)
  2323. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2324. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2325. 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)
  2326. 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)
  2327. end
  2328. ATTACK = false
  2329. Rooted = false
  2330. end
  2331.  
  2332. function Nuke()
  2333. ATTACK = true
  2334. Rooted = true
  2335. local CHARGE = false
  2336. local BLASTS = {468991944, 468991990}
  2337. coroutine.resume(coroutine.create(function()
  2338. repeat
  2339. Swait()
  2340. 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)
  2341. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
  2342. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2343. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2344. 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)
  2345. 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)
  2346. until CHARGE == true
  2347. for i = 0, 0.4, 0.1 / Animation_Speed do
  2348. Swait()
  2349. WACKYEFFECT({
  2350. Time = 15,
  2351. EffectType = "Sphere",
  2352. Size = VT(60, 60, 60),
  2353. Size2 = VT(0, 0, 0),
  2354. Transparency = 1,
  2355. Transparency2 = 0.7,
  2356. CFrame = CF(RootPart.Position),
  2357. MoveToPos = nil,
  2358. RotationX = 0,
  2359. RotationY = 0,
  2360. RotationZ = 0,
  2361. Material = "Neon",
  2362. Color = C3(0, 0, 0),
  2363. SoundID = nil,
  2364. SoundPitch = nil,
  2365. SoundVolume = nil
  2366. })
  2367. 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)
  2368. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 2 / Animation_Speed)
  2369. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2370. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2371. 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)
  2372. 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)
  2373. end
  2374. coroutine.resume(coroutine.create(function()
  2375. local POS = RootPart.Position
  2376. wait(0.2)
  2377. for i = 1, 5 do
  2378. WACKYEFFECT({
  2379. Time = 65,
  2380. EffectType = "Sphere",
  2381. Size = VT(2, 2, 2),
  2382. Size2 = VT(0, 0, 500),
  2383. Transparency = 1,
  2384. Transparency2 = 0,
  2385. CFrame = CF(POS),
  2386. MoveToPos = nil,
  2387. RotationX = MRANDOM(-2, 2),
  2388. RotationY = MRANDOM(-12, 12),
  2389. RotationZ = MRANDOM(-2, 2),
  2390. Material = "Neon",
  2391. Color = C3(1, 0, 0),
  2392. SoundID = nil,
  2393. SoundPitch = nil,
  2394. SoundVolume = nil
  2395. })
  2396. end
  2397. wait(1)
  2398. SHAKECAM(POS, 9999999999, 25, 25)
  2399. ApplyAoE(POS, 450, true)
  2400. WACKYEFFECT({
  2401. Time = 85,
  2402. EffectType = "Sphere",
  2403. Size = VT(120, 120, 120),
  2404. Size2 = VT(350, 350, 350),
  2405. Transparency = 0,
  2406. Transparency2 = 1,
  2407. CFrame = CF(POS),
  2408. MoveToPos = nil,
  2409. RotationX = 0,
  2410. RotationY = 0,
  2411. RotationZ = 0,
  2412. Material = "Neon",
  2413. Color = C3(1, 1, 1),
  2414. SoundID = nil,
  2415. SoundPitch = 1,
  2416. SoundVolume = 10
  2417. })
  2418. for i = 1, 20 do
  2419. WACKYEFFECT({
  2420. Time = 85,
  2421. EffectType = "Sphere",
  2422. Size = VT(120, 120, 120),
  2423. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  2424. Transparency = 0.8,
  2425. Transparency2 = 1,
  2426. CFrame = CF(POS),
  2427. MoveToPos = nil,
  2428. RotationX = 0,
  2429. RotationY = 0,
  2430. RotationZ = 0,
  2431. Material = "Neon",
  2432. Color = C3(0, 1, 0),
  2433. SoundID = nil,
  2434. SoundPitch = 1,
  2435. SoundVolume = 10
  2436. })
  2437. WACKYEFFECT({
  2438. Time = 100,
  2439. EffectType = "Wave",
  2440. Size = VT(25, 2, 25),
  2441. Size2 = VT(400, 0, 400) * 1.2,
  2442. Transparency = 0,
  2443. Transparency2 = 1,
  2444. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2445. MoveToPos = nil,
  2446. RotationX = 0,
  2447. RotationY = 0,
  2448. RotationZ = 0,
  2449. Material = "Neon",
  2450. Color = C3(0, 0, 0),
  2451. SoundID = nil,
  2452. SoundPitch = nil,
  2453. SoundVolume = nil
  2454. })
  2455. end
  2456. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2457. for i = 1, 5 do
  2458. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2459. WACKYEFFECT({
  2460. Time = 120,
  2461. EffectType = "Wave",
  2462. Size = VT(150, 2, 150),
  2463. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  2464. Transparency = 0,
  2465. Transparency2 = 1,
  2466. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2467. MoveToPos = nil,
  2468. RotationX = 0,
  2469. RotationY = 0,
  2470. RotationZ = 0,
  2471. Material = "Neon",
  2472. Color = C3(1, 0, 0),
  2473. SoundID = nil,
  2474. SoundPitch = nil,
  2475. SoundVolume = nil
  2476. })
  2477. end
  2478. end))
  2479. for i = 0, 1, 0.1 / Animation_Speed do
  2480. Swait()
  2481. 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)
  2482. 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)
  2483. 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)
  2484. 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)
  2485. 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)
  2486. 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)
  2487. end
  2488. ATTACK = false
  2489. Rooted = false
  2490. end))
  2491. for i = 1, 30 do
  2492. wait(0.01)
  2493. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  2494. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2495. if HITFLOOR then
  2496. ApplyAoE(HITPOS, 65, true)
  2497. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2498. WACKYEFFECT({
  2499. Time = 25,
  2500. EffectType = "Sphere",
  2501. Size = VT(22, 22, 22),
  2502. Size2 = VT(85, 85, 85),
  2503. Transparency = 0,
  2504. Transparency2 = 1,
  2505. CFrame = CF(HITPOS),
  2506. MoveToPos = nil,
  2507. RotationX = 0,
  2508. RotationY = 0,
  2509. RotationZ = 0,
  2510. Material = "Neon",
  2511. Color = C3(0, 0, 0),
  2512. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2513. SoundPitch = MRANDOM(9, 12) / 10,
  2514. SoundVolume = 10
  2515. })
  2516. for e = 1, 3 do
  2517. WACKYEFFECT({
  2518. EffectType = "Wave",
  2519. Size = VT(25, 0, 25),
  2520. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2521. Transparency = 0,
  2522. Transparency2 = 1,
  2523. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2524. MoveToPos = nil,
  2525. RotationX = 0,
  2526. RotationY = 3,
  2527. RotationZ = 0,
  2528. Material = "Neon",
  2529. Color = C3(0, 1, 0),
  2530. SoundID = nil,
  2531. SoundPitch = nil,
  2532. SoundVolume = nil
  2533. })
  2534. WACKYEFFECT({
  2535. Time = 35,
  2536. EffectType = "Sphere",
  2537. Size = VT(22, 45, 22),
  2538. Size2 = VT(25, 45 + e * 75, 25),
  2539. Transparency = 0,
  2540. Transparency2 = 1,
  2541. CFrame = CF(HITPOS) * TURN,
  2542. MoveToPos = nil,
  2543. RotationX = 0,
  2544. RotationY = 0,
  2545. RotationZ = 0,
  2546. Material = "Neon",
  2547. Color = C3(1, 1, 1),
  2548. SoundID = nil,
  2549. SoundPitch = MRANDOM(9, 12) / 10,
  2550. SoundVolume = 10
  2551. })
  2552. end
  2553. end
  2554. end
  2555. CHARGE = true
  2556. end
  2557.  
  2558. function Taunt()
  2559. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  2560. ATTACK = true
  2561. Rooted = true
  2562. for i=0, 0.3, 0.1 / Animation_Speed do
  2563. Swait()
  2564. 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)
  2565. 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)
  2566. 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)
  2567. 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)
  2568. if HITFLOOR then
  2569. 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)
  2570. 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)
  2571. elseif HITFLOOR == nil then
  2572. 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)
  2573. 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)
  2574. end
  2575. end
  2576. for i = 1, 8 do
  2577. for i=0, 0.2, 0.1 / Animation_Speed do
  2578. Swait()
  2579. 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)
  2580. 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)
  2581. 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)
  2582. 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)
  2583. if HITFLOOR then
  2584. 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)
  2585. 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)
  2586. elseif HITFLOOR == nil then
  2587. 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)
  2588. 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)
  2589. end
  2590. end
  2591. CreateSound(FireSound, Gun1, 5, 1, false)
  2592. for i=0, 0.2, 0.1 / Animation_Speed do
  2593. Swait()
  2594. 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)
  2595. 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)
  2596. 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)
  2597. 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)
  2598. if HITFLOOR then
  2599. 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)
  2600. 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)
  2601. elseif HITFLOOR == nil then
  2602. 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)
  2603. 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)
  2604. end
  2605. end
  2606. CreateSound(FireSound, Gun2, 5, 1, false)
  2607. end
  2608. ATTACK = false
  2609. Rooted = false
  2610. end
  2611. --//=================================\\
  2612. --|| ASSIGN THINGS TO KEYS
  2613. --\\=================================//
  2614.  
  2615. function MouseDown(Mouse)
  2616. if ATTACK == false then
  2617. end
  2618. end
  2619.  
  2620. function MouseUp(Mouse)
  2621. HOLD = falseW
  2622. end
  2623.  
  2624. function KeyDown(Key)
  2625. KEYHOLD = true
  2626. if Key == "z" and ATTACK == false then
  2627. Shot()
  2628. end
  2629.  
  2630. if Key == "b" and ATTACK == false then
  2631. Kick()
  2632. end
  2633.  
  2634. if Key == "n" and ATTACK == false then
  2635. Punch()
  2636. end
  2637.  
  2638. if Key == "t" and ATTACK == false then
  2639. Taunt()
  2640. end
  2641.  
  2642. if Key == "c" and ATTACK == false then
  2643. kiss()
  2644. end
  2645.  
  2646. if Key == "v" and ATTACK == false then
  2647. Oblivion()
  2648. end
  2649.  
  2650. if Key == "x" and ATTACK == false then
  2651. Nuke()
  2652. end
  2653. end
  2654.  
  2655. function KeyUp(Key)
  2656. KEYHOLD = false
  2657. end
  2658.  
  2659. Mouse.Button1Down:connect(function(NEWKEY)
  2660. MouseDown(NEWKEY)
  2661. end)
  2662. Mouse.Button1Up:connect(function(NEWKEY)
  2663. MouseUp(NEWKEY)
  2664. end)
  2665. Mouse.KeyDown:connect(function(NEWKEY)
  2666. KeyDown(NEWKEY)
  2667. end)
  2668. Mouse.KeyUp:connect(function(NEWKEY)
  2669. KeyUp(NEWKEY)
  2670. end)
  2671.  
  2672. --//=================================\\
  2673. --\\=================================//
  2674.  
  2675.  
  2676. function unanchor()
  2677. if UNANCHOR == true then
  2678. g = Character:GetChildren()
  2679. for i = 1, #g do
  2680. if g[i].ClassName == "Part" then
  2681. g[i].Anchored = false
  2682. end
  2683. end
  2684. end
  2685. end
  2686.  
  2687.  
  2688. --//=================================\\
  2689. --|| WRAP THE WHOLE SCRIPT UP
  2690. --\\=================================//
  2691.  
  2692. Humanoid.Changed:connect(function(Jump)
  2693. if Jump == "Jump" and (Disable_Jump == true) then
  2694. Humanoid.Jump = false
  2695. end
  2696. end)
  2697.  
  2698. local CONNECT = nil
  2699.  
  2700. while true do
  2701. Swait()
  2702. ANIMATE.Parent = nil
  2703. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2704. Humanoid = IT("Humanoid",Character)
  2705. end
  2706. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2707. v:Stop();
  2708. end
  2709. SINE = SINE + CHANGE
  2710. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2711. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2712. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2713. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2714. if ANIM == "Walk" and TORSOVELOCITY > 1 and NOWALK == false then
  2715. 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)
  2716. 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)
  2717. 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)
  2718. 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)
  2719. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or NOWALK == true then
  2720. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2721. 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)
  2722. 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)
  2723. 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)
  2724. end
  2725. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2726. ANIM = "Jump"
  2727. if ATTACK == false then
  2728. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2729. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2730. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2731. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2732. 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)
  2733. 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)
  2734. end
  2735. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2736. ANIM = "Fall"
  2737. if ATTACK == false then
  2738. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2739. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2740. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2741. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2742. 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)
  2743. 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)
  2744. end
  2745. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2746. ANIM = "Idle"
  2747. if ATTACK == false then
  2748. 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)
  2749. 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)
  2750. 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)
  2751. 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)
  2752. 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)
  2753. 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)
  2754. end
  2755. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2756. ANIM = "Walk"
  2757. if ATTACK == false then
  2758. 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)
  2759. 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)
  2760. 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)
  2761. 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)
  2762. 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)
  2763. 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)
  2764. end
  2765. end
  2766. unanchor()
  2767. Humanoid.MaxHealth = "inf"
  2768. Humanoid.Health = "inf"
  2769. if Rooted == false then
  2770. Disable_Jump = false
  2771. Humanoid.WalkSpeed = Speed
  2772. elseif Rooted == true then
  2773. Disable_Jump = true
  2774. Humanoid.WalkSpeed = 0
  2775. end
  2776.  
  2777. sick.Parent = Torso
  2778. sick:resume()
  2779. sick.Volume = 1
  2780. sick.Pitch = 1
  2781. sick.SoundId = "rbxassetid://733456981"
  2782. sick.Name = "Un sen"
  2783. end
  2784. --//=================================\\
  2785. --\\=================================//
  2786.  
  2787.  
  2788. --//====================================================\\--
  2789. --|| END OF SCRIPT
  2790. --\\====================================================//--
  2791. RAW Paste Data
  2792. script.Name = "Banisher Gun V3 / 1"
  2793. --//====================================================\\--
  2794. --|| CREATED BY SHACKLUSTER Edit By NameClan
  2795. --\\====================================================//--
  2796.  
  2797. script:ClearAllChildren()
  2798. wait(0.2)
  2799.  
  2800. local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
  2801. local FireSound = "904051531"
  2802. local LAUGHS = {834001699,834001752,834001797,834001828}
  2803. Player = game:GetService("Players").LocalPlayer
  2804. PlayerGui = Player.PlayerGui
  2805. Cam = workspace.CurrentCamera
  2806. Backpack = Player.Backpack
  2807. Character = Player.Character
  2808. Humanoid = Character.Humanoid
  2809. Mouse = Player:GetMouse()
  2810. RootPart = Character["HumanoidRootPart"]
  2811. Torso = Character["Torso"]
  2812. Head = Character["Head"]
  2813. RightArm = Character["Right Arm"]
  2814. LeftArm = Character["Left Arm"]
  2815. RightLeg = Character["Right Leg"]
  2816. LeftLeg = Character["Left Leg"]
  2817. local sick = Instance.new("Sound",Character)
  2818. q = Character:GetChildren()
  2819. for u = 1, #q do
  2820. if q[u].ClassName == "Accessory" then
  2821. q[u]:Destroy()
  2822. elseif q[u].ClassName == "CharacterMesh" then
  2823. q[u]:Destroy()
  2824. end
  2825. end
  2826. Head.face:Destroy()
  2827. Head.Mesh:Destroy()
  2828. newmesh = Instance.new("SpecialMesh")
  2829. newmesh.Scale = Vector3.new(1.1,1.1,1.1)
  2830. newmesh.MeshId = "http://www.roblox.com/asset/?id=0"
  2831. newmesh.TextureId = "http://www.roblox.com/asset/?id=0"
  2832. newmesh.Parent = Head
  2833.  
  2834. local function weldBetween(a, b)
  2835. local weldd = Instance.new("ManualWeld")
  2836. weldd.Part0 = a
  2837. weldd.Part1 = b
  2838. weldd.C0 = CFrame.new()
  2839. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2840. weldd.Parent = a
  2841. return weldd
  2842. end
  2843. RootJoint = RootPart["RootJoint"]
  2844. Neck = Torso["Neck"]
  2845. RightShoulder = Torso["Right Shoulder"]
  2846. LeftShoulder = Torso["Left Shoulder"]
  2847. RightHip = Torso["Right Hip"]
  2848. LeftHip = Torso["Left Hip"]
  2849. local TIME = 0
  2850. local sick = Instance.new("Sound",Torso)
  2851.  
  2852. IT = Instance.new
  2853. CF = CFrame.new
  2854. VT = Vector3.new
  2855. RAD = math.rad
  2856. C3 = Color3.new
  2857. UD2 = UDim2.new
  2858. BRICKC = BrickColor.new
  2859. ANGLES = CFrame.Angles
  2860. EULER = CFrame.fromEulerAnglesXYZ
  2861. COS = math.cos
  2862. ACOS = math.acos
  2863. SIN = math.sin
  2864. ASIN = math.asin
  2865. ABS = math.abs
  2866. MRANDOM = math.random
  2867. FLOOR = math.floor
  2868.  
  2869.  
  2870. it = Instance.new
  2871.  
  2872. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  2873. local fp=it("Part")
  2874. fp.formFactor=formfactor
  2875. fp.Parent=parent
  2876. fp.Reflectance=reflectance
  2877. fp.Transparency=transparency
  2878. fp.CanCollide=false
  2879. fp.Locked=true
  2880. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  2881. fp.Name=name
  2882. fp.Size=size
  2883. fp.Position=Character.Torso.Position
  2884. fp.Material=material
  2885. fp:BreakJoints()
  2886. return fp
  2887. end
  2888.  
  2889. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2890. local mesh=it(Mesh)
  2891. mesh.Parent=part
  2892. if Mesh=="SpecialMesh" then
  2893. mesh.MeshType=meshtype
  2894. mesh.MeshId=meshid
  2895. end
  2896. mesh.Offset=offset
  2897. mesh.Scale=scale
  2898. return mesh
  2899. end
  2900.  
  2901. function weld(parent,part0,part1,c0,c1)
  2902. local weld=it("Weld")
  2903. weld.Parent=parent
  2904. weld.Part0=part0
  2905. weld.Part1=part1
  2906. weld.C0=c0
  2907. weld.C1=c1
  2908. return weld
  2909. end
  2910.  
  2911. q = "Really black"
  2912. Claw1=part(Enum.FormFactor.Custom,Character,Enum.Material.SmoothPlastic,0,0,q,"Claw",Vector3.new(0.400000006, 0.400000036, 0.400000006))
  2913. 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))
  2914. mesh("SpecialMesh",Claw1,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=10681506",Vector3.new(0, 0, 0),Vector3.new(-1,-1.8,-1))
  2915. Claw2=part(Enum.FormFactor.Custom,Character,Enum.Material.SmoothPlastic,0,0,q,"Claw",Vector3.new(0.400000006, 0.400000036, 0.400000006))
  2916. 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))
  2917. mesh("SpecialMesh",Claw2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=10681506",Vector3.new(0, 0, 0),Vector3.new(-1,-1.8,-1))
  2918.  
  2919. --//=================================\\
  2920. --|| USEFUL VALUES
  2921. --\\=================================//
  2922.  
  2923. Animation_Speed = 3
  2924. local FORCERESET = false
  2925. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  2926. local Speed = 16
  2927. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2928. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2929. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  2930. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  2931. local DAMAGEMULTIPLIER = 1
  2932. local ANIM = "Idle"
  2933. local ATTACK = false
  2934. local EQUIPPED = false
  2935. local HOLD = false
  2936. local COMBO = 1
  2937. local COMBO2 = 1
  2938. local Rooted = false
  2939. local SINE = 0
  2940. local STAGGERHITANIM = false
  2941. local STAGGERANIM = false
  2942. local KEYHOLD = false
  2943. local CHANGE = 2 / Animation_Speed
  2944. local WALKINGANIM = false
  2945. local VALUE1 = false
  2946. local NOWALK = false
  2947. local VALUE2 = false
  2948. local INTRO = false
  2949. local TRANSFORMED = false
  2950. local ROBLOXIDLEANIMATION = IT("Animation")
  2951. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  2952. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  2953. --ROBLOXIDLEANIMATION.Parent = Humanoid
  2954. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  2955. WEAPONGUI.Name = "BanishV3Gui"
  2956. local Weapon = IT("Model")
  2957. Weapon.Name = "Adds"
  2958. local Effects = IT("Folder", Weapon)
  2959. Effects.Name = "Effects"
  2960. local ANIMATOR = Humanoid.Animator
  2961. local ANIMATE = Character:FindFirstChild("Animate")
  2962. local UNANCHOR = true
  2963. local TOBANISH = {}
  2964. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  2965. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  2966. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  2967. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  2968. script.Parent = PlayerGui
  2969.  
  2970. --//=================================\\
  2971. --\\=================================//
  2972.  
  2973.  
  2974. --//=================================\\
  2975. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  2976. --\\=================================//
  2977.  
  2978.  
  2979. Class_Name = "Beserker"
  2980. Weapon_Name = "Claws"
  2981.  
  2982. Custom_Colors = {
  2983. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  2984. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  2985.  
  2986. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  2987. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  2988. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  2989. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  2990. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  2991.  
  2992. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  2993. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  2994. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  2995. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  2996. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  2997. }
  2998.  
  2999. Mana_Bar_Background_Transparency = 0 --Transparency for the background of the mana bar.
  3000. Secondary_Mana_Bar_Background_Transparency = 0 --Transparency for the background of the secondary mana bar.
  3001. Health_Bar_Background_Transparency = 0 --Transparency for the background of the health bar.
  3002. Stun_Bar_Background_Transparency = 0 --Transparency for the background of the stun bar.
  3003. Ability_Background_Transparency = 0 --Transparency for the background of the abilities.
  3004. Stat_Background_Transparency = 0 --Transparency for the background of the stats.
  3005.  
  3006. Player_Size = 1 --Size of the player.
  3007. Animation_Speed = 2
  3008. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  3009.  
  3010. Enable_Gui = false --Enables or disables the Weapon Gui. Also functions as hiding or showing the Gui.
  3011. Enable_Stats = false --Enables or disables stats.
  3012. Put_Stats_In_Character = false --Places stats in Character.
  3013. Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
  3014. Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
  3015. Enable_Stagger = false --Enables or disables staggering.
  3016. Enable_Stun = false --Enables or disables the stun mechanic.
  3017. Enable_Abilities = false --Enables abilites with cooldowns and mana costs.
  3018. Enable_Secondary_Bar = false --Enables the secondary mana bar, if true.
  3019.  
  3020. Start_Equipped = false --Starts the player equipped with their weapon.
  3021. Start_Equipped_With_Equipped_Animation = false --Used in conjunction with the above option. Starts your equip animation.
  3022. Can_Equip_Or_Unequip = true --Enables or disables the ability to unequip or equip your weapon.
  3023. Disable_Animator = true --Disables the Animator in the humanoid.
  3024. Disable_Animate = true --Disables the Animate script in the character.
  3025. Disable_Moving_Arms = false --Keeps the arms from moving around.
  3026. Use_Motors_Instead_Of_Welds = false --Uses motors instead of welds to disable moving arms.
  3027. Walkspeed_Depends_On_Movement_Value = false --Walkspeed depends on movement value. Self-explanatory.
  3028. Disable_Jump = false --Disables jumping.
  3029. Use_HopperBin = true --Uses a hopperbin to do things.
  3030.  
  3031. Player_Size = 1 --Size of the player.
  3032. Animation_Speed = 2
  3033. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  3034.  
  3035. Cooldown_1 = 0 --Cooldowns for abilites.
  3036. Cooldown_2 = 0
  3037. Cooldown_3 = 0
  3038. Cooldown_4 = 0
  3039. Skill_1_Mana_Cost = 0 --How much mana is required to use the skill.
  3040. Skill_2_Mana_Cost = 0
  3041. Skill_3_Mana_Cost = 0
  3042. Skill_4_Mana_Cost = 0
  3043. Max_Mana = 0 --Maximum amount of mana you can have.
  3044. Max_Secondary_Mana = 0 --Maximum amount of secondary mana you can have.
  3045. Mana_Name = "Mana" --Name for the mana bar.
  3046. Secondary_Mana_Name = "Block" --Name for the secondary mana bar.
  3047. Max_Stun = 1 --Maximum amount of stun you can have.
  3048. Recover_Mana = 0 --How much mana you gain.
  3049. Mana_Regen_Mode = "1" --Basically switches from one mana regen system to another.
  3050. Secondary_Mana_Regen_Mode = "1" --Basically switches from one secondary mana regen system to another.
  3051. Stun_Lose_Mode = "1" --Basically switches from one secondary stun loss system to another.
  3052. Recover_Secondary_Mana = 0 --How much secondary mana you gain.
  3053. Lose_Stun = 0 --How much stun you lose.
  3054. Stun_Wait = 0 --Delay between losing stun.
  3055. Mana_Wait = 0 --Delay between gaining mana.
  3056. Secondary_Mana_Wait = 0 --Delay between gaining secondary mana.
  3057. Menu_Update_Speed = 0 --How fast the Weapon Gui will update.
  3058. Constant_Update = false --Removes the delay between updating the Weapon GUI.
  3059. Show_Stats = false --Hides or shows stats.
  3060. Stat_Offset = 0.74 --For cosmetic purposes. {0.74, 0.78}
  3061.  
  3062. ArtificialHB = Instance.new("BindableEvent", script)
  3063. ArtificialHB.Name = "ArtificialHB"
  3064.  
  3065. script:WaitForChild("ArtificialHB")
  3066.  
  3067. frame = Frame_Speed
  3068. tf = 0
  3069. allowframeloss = false
  3070. tossremainder = false
  3071. lastframe = tick()
  3072. script.ArtificialHB:Fire()
  3073.  
  3074. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3075. tf = tf + s
  3076. if tf >= frame then
  3077. if allowframeloss then
  3078. script.ArtificialHB:Fire()
  3079. lastframe = tick()
  3080. else
  3081. for i = 1, math.floor(tf / frame) do
  3082. script.ArtificialHB:Fire()
  3083. end
  3084. lastframe = tick()
  3085. end
  3086. if tossremainder then
  3087. tf = 0
  3088. else
  3089. tf = tf - frame * math.floor(tf / frame)
  3090. end
  3091. end
  3092. end)
  3093.  
  3094. --//=================================\\
  3095. --\\=================================//
  3096.  
  3097. --//=================================\\
  3098. --|| SOME FUNCTIONS
  3099. --\\=================================//
  3100.  
  3101. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  3102. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  3103. end
  3104.  
  3105. function PositiveAngle(NUMBER)
  3106. if NUMBER >= 0 then
  3107. NUMBER = 0
  3108. end
  3109. return NUMBER
  3110. end
  3111.  
  3112. function NegativeAngle(NUMBER)
  3113. if NUMBER <= 0 then
  3114. NUMBER = 0
  3115. end
  3116. return NUMBER
  3117. end
  3118.  
  3119. function Swait(NUMBER)
  3120. if NUMBER == 0 or NUMBER == nil then
  3121. ArtificialHB.Event:wait()
  3122. else
  3123. for i = 1, NUMBER do
  3124. ArtificialHB.Event:wait()
  3125. end
  3126. end
  3127. end
  3128.  
  3129. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  3130. local NEWMESH = IT(MESH)
  3131. if MESH == "SpecialMesh" then
  3132. NEWMESH.MeshType = MESHTYPE
  3133. if MESHID ~= "nil" and MESHID ~= "" then
  3134. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  3135. end
  3136. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  3137. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  3138. end
  3139. end
  3140. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  3141. NEWMESH.Scale = SCALE
  3142. NEWMESH.Parent = PARENT
  3143. return NEWMESH
  3144. end
  3145.  
  3146. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  3147. local NEWPART = IT("Part")
  3148. NEWPART.formFactor = FORMFACTOR
  3149. NEWPART.Reflectance = REFLECTANCE
  3150. NEWPART.Transparency = TRANSPARENCY
  3151. NEWPART.CanCollide = false
  3152. NEWPART.Locked = true
  3153. NEWPART.Anchored = true
  3154. if ANCHOR == false then
  3155. NEWPART.Anchored = false
  3156. end
  3157. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  3158. NEWPART.Name = NAME
  3159. NEWPART.Size = SIZE
  3160. NEWPART.Position = Torso.Position
  3161. NEWPART.Material = MATERIAL
  3162. NEWPART:BreakJoints()
  3163. NEWPART.Parent = PARENT
  3164. return NEWPART
  3165. end
  3166.  
  3167. local function weldBetween(a, b)
  3168. local weldd = Instance.new("ManualWeld")
  3169. weldd.Part0 = a
  3170. weldd.Part1 = b
  3171. weldd.C0 = CFrame.new()
  3172. weldd.C1 = b.CFrame:inverse() * a.CFrame
  3173. weldd.Parent = a
  3174. return weldd
  3175. end
  3176.  
  3177.  
  3178. function QuaternionFromCFrame(cf)
  3179. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3180. local trace = m00 + m11 + m22
  3181. if trace > 0 then
  3182. local s = math.sqrt(1 + trace)
  3183. local recip = 0.5 / s
  3184. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  3185. else
  3186. local i = 0
  3187. if m11 > m00 then
  3188. i = 1
  3189. end
  3190. if m22 > (i == 0 and m00 or m11) then
  3191. i = 2
  3192. end
  3193. if i == 0 then
  3194. local s = math.sqrt(m00 - m11 - m22 + 1)
  3195. local recip = 0.5 / s
  3196. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  3197. elseif i == 1 then
  3198. local s = math.sqrt(m11 - m22 - m00 + 1)
  3199. local recip = 0.5 / s
  3200. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  3201. elseif i == 2 then
  3202. local s = math.sqrt(m22 - m00 - m11 + 1)
  3203. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  3204. end
  3205. end
  3206. end
  3207.  
  3208. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3209. local xs, ys, zs = x + x, y + y, z + z
  3210. local wx, wy, wz = w * xs, w * ys, w * zs
  3211. local xx = x * xs
  3212. local xy = x * ys
  3213. local xz = x * zs
  3214. local yy = y * ys
  3215. local yz = y * zs
  3216. local zz = z * zs
  3217. 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))
  3218. end
  3219.  
  3220. function QuaternionSlerp(a, b, t)
  3221. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  3222. local startInterp, finishInterp;
  3223. if cosTheta >= 0.0001 then
  3224. if (1 - cosTheta) > 0.0001 then
  3225. local theta = ACOS(cosTheta)
  3226. local invSinTheta = 1 / SIN(theta)
  3227. startInterp = SIN((1 - t) * theta) * invSinTheta
  3228. finishInterp = SIN(t * theta) * invSinTheta
  3229. else
  3230. startInterp = 1 - t
  3231. finishInterp = t
  3232. end
  3233. else
  3234. if (1 + cosTheta) > 0.0001 then
  3235. local theta = ACOS(-cosTheta)
  3236. local invSinTheta = 1 / SIN(theta)
  3237. startInterp = SIN((t - 1) * theta) * invSinTheta
  3238. finishInterp = SIN(t * theta) * invSinTheta
  3239. else
  3240. startInterp = t - 1
  3241. finishInterp = t
  3242. end
  3243. end
  3244. 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
  3245. end
  3246.  
  3247. function Clerp(a, b, t)
  3248. local qa = {QuaternionFromCFrame(a)}
  3249. local qb = {QuaternionFromCFrame(b)}
  3250. local ax, ay, az = a.x, a.y, a.z
  3251. local bx, by, bz = b.x, b.y, b.z
  3252. local _t = 1 - t
  3253. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  3254. end
  3255.  
  3256. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  3257. local frame = IT("Frame")
  3258. frame.BackgroundTransparency = TRANSPARENCY
  3259. frame.BorderSizePixel = BORDERSIZEPIXEL
  3260. frame.Position = POSITION
  3261. frame.Size = SIZE
  3262. frame.BackgroundColor3 = COLOR
  3263. frame.BorderColor3 = BORDERCOLOR
  3264. frame.Name = NAME
  3265. frame.Parent = PARENT
  3266. return frame
  3267. end
  3268.  
  3269.  
  3270. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  3271. local label = IT("TextLabel")
  3272. label.BackgroundTransparency = 1
  3273. label.Size = UD2(1, 0, 1, 0)
  3274. label.Position = UD2(0, 0, 0, 0)
  3275. label.TextColor3 = TEXTCOLOR
  3276. label.TextStrokeTransparency = STROKETRANSPARENCY
  3277. label.TextTransparency = TRANSPARENCY
  3278. label.FontSize = TEXTFONTSIZE
  3279. label.Font = TEXTFONT
  3280. label.BorderSizePixel = BORDERSIZEPIXEL
  3281. label.TextScaled = false
  3282. label.Text = TEXT
  3283. label.Name = NAME
  3284. label.Parent = PARENT
  3285. return label
  3286. end
  3287.  
  3288. function NoOutlines(PART)
  3289. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  3290. end
  3291.  
  3292. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  3293. local NEWWELD = IT(TYPE)
  3294. NEWWELD.Part0 = PART0
  3295. NEWWELD.Part1 = PART1
  3296. NEWWELD.C0 = C0
  3297. NEWWELD.C1 = C1
  3298. NEWWELD.Parent = PARENT
  3299. return NEWWELD
  3300. end
  3301.  
  3302. local S = IT("Sound")
  3303. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  3304. local NEWSOUND = nil
  3305. coroutine.resume(coroutine.create(function()
  3306. NEWSOUND = S:Clone()
  3307. NEWSOUND.Parent = PARENT
  3308. NEWSOUND.Volume = VOLUME
  3309. NEWSOUND.Pitch = PITCH
  3310. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  3311. NEWSOUND:play()
  3312. if DOESLOOP == true then
  3313. NEWSOUND.Looped = true
  3314. else
  3315. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  3316. NEWSOUND:remove()
  3317. end
  3318. end))
  3319. return NEWSOUND
  3320. end
  3321.  
  3322. function CFrameFromTopBack(at, top, back)
  3323. local right = top:Cross(back)
  3324. 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)
  3325. end
  3326.  
  3327. --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})
  3328. function WACKYEFFECT(Table)
  3329. local TYPE = (Table.EffectType or "Sphere")
  3330. local SIZE = (Table.Size or VT(1,1,1))
  3331. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  3332. local TRANSPARENCY = (Table.Transparency or 0)
  3333. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  3334. local CFRAME = (Table.CFrame or Torso.CFrame)
  3335. local MOVEDIRECTION = (Table.MoveToPos or nil)
  3336. local ROTATION1 = (Table.RotationX or 0)
  3337. local ROTATION2 = (Table.RotationY or 0)
  3338. local ROTATION3 = (Table.RotationZ or 0)
  3339. local MATERIAL = (Table.Material or "Neon")
  3340. local COLOR = (Table.Color or C3(1,1,1))
  3341. local TIME = (Table.Time or 45)
  3342. local SOUNDID = (Table.SoundID or nil)
  3343. local SOUNDPITCH = (Table.SoundPitch or nil)
  3344. local SOUNDVOLUME = (Table.SoundVolume or nil)
  3345. coroutine.resume(coroutine.create(function()
  3346. local PLAYSSOUND = false
  3347. local SOUND = nil
  3348. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  3349. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  3350. PLAYSSOUND = true
  3351. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  3352. end
  3353. EFFECT.Color = COLOR
  3354. local MSH = nil
  3355. if TYPE == "Sphere" then
  3356. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  3357. elseif TYPE == "Block" then
  3358. MSH = IT("BlockMesh",EFFECT)
  3359. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  3360. elseif TYPE == "Wave" then
  3361. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  3362. elseif TYPE == "Ring" then
  3363. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  3364. elseif TYPE == "Slash" then
  3365. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3366. elseif TYPE == "Round Slash" then
  3367. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3368. elseif TYPE == "Swirl" then
  3369. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  3370. elseif TYPE == "Skull" then
  3371. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  3372. elseif TYPE == "Crystal" then
  3373. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  3374. end
  3375. if MSH ~= nil then
  3376. local MOVESPEED = nil
  3377. if MOVEDIRECTION ~= nil then
  3378. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  3379. end
  3380. local GROWTH = SIZE - ENDSIZE
  3381. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  3382. if TYPE == "Block" then
  3383. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3384. else
  3385. EFFECT.CFrame = CFRAME
  3386. end
  3387. for LOOP = 1, TIME+1 do
  3388. Swait()
  3389. MSH.Scale = MSH.Scale - GROWTH/TIME
  3390. if TYPE == "Wave" then
  3391. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  3392. end
  3393. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  3394. if TYPE == "Block" then
  3395. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3396. else
  3397. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  3398. end
  3399. if MOVEDIRECTION ~= nil then
  3400. local ORI = EFFECT.Orientation
  3401. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  3402. EFFECT.Orientation = ORI
  3403. end
  3404. end
  3405. if PLAYSSOUND == false then
  3406. EFFECT:remove()
  3407. else
  3408. SOUND.Stopped:Connect(function()
  3409. EFFECT:remove()
  3410. end)
  3411. end
  3412. else
  3413. if PLAYSSOUND == false then
  3414. EFFECT:remove()
  3415. else
  3416. repeat Swait() until SOUND.Playing == false
  3417. EFFECT:remove()
  3418. end
  3419. end
  3420. end))
  3421. end
  3422.  
  3423. function MakeForm(PART,TYPE)
  3424. if TYPE == "Cyl" then
  3425. local MSH = IT("CylinderMesh",PART)
  3426. elseif TYPE == "Ball" then
  3427. local MSH = IT("SpecialMesh",PART)
  3428. MSH.MeshType = "Sphere"
  3429. elseif TYPE == "Wedge" then
  3430. local MSH = IT("SpecialMesh",PART)
  3431. MSH.MeshType = "Wedge"
  3432. end
  3433. end
  3434.  
  3435. local asd = Instance.new("ParticleEmitter")
  3436. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  3437. asd.LightEmission = .1
  3438. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  3439. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  3440. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  3441. asd.Transparency = bbb
  3442. asd.Size = aaa
  3443. asd.ZOffset = .9
  3444. asd.Acceleration = Vector3.new(0, -15, 0)
  3445. asd.LockedToPart = false
  3446. asd.EmissionDirection = "Back"
  3447. asd.Lifetime = NumberRange.new(1, 2)
  3448. asd.Rotation = NumberRange.new(-100, 100)
  3449. asd.RotSpeed = NumberRange.new(-100, 100)
  3450. asd.Speed = NumberRange.new(10)
  3451. asd.Enabled = false
  3452. asd.VelocitySpread = 999
  3453.  
  3454. function getbloody(victim,amount)
  3455. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  3456. PART.CFrame = victim.CFrame
  3457. local HITPLAYERSOUNDS = {"356551938","264486467"}
  3458. Debris:AddItem(PART,5)
  3459. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3460. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3461. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3462. local prtcl = asd:Clone()
  3463. prtcl.Parent = PART
  3464. prtcl:Emit(amount*10)
  3465. end
  3466.  
  3467. local Particle = IT("ParticleEmitter",nil)
  3468. Particle.Enabled = false
  3469. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  3470. Particle.LightEmission = 0.5
  3471. Particle.Rate = 150
  3472. Particle.ZOffset = 1
  3473. Particle.Rotation = NumberRange.new(-180, 180)
  3474. Particle.RotSpeed = NumberRange.new(-180, 180)
  3475. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  3476. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  3477.  
  3478. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  3479. function ParticleEmitter(Table)
  3480. local PRTCL = Particle:Clone()
  3481. local Speed = Table.Speed or 5
  3482. local Drag = Table.Drag or 0
  3483. local Size1 = Table.Size1 or 1
  3484. local Size2 = Table.Size2 or 5
  3485. local Lifetime1 = Table.Lifetime1 or 1
  3486. local Lifetime2 = Table.Lifetime2 or 1.5
  3487. local Parent = Table.Parent or Torso
  3488. local Emit = Table.Emit or 100
  3489. local Offset = Table.Offset or 360
  3490. local Acel = Table.Acel or VT(0,0,0)
  3491. local Enabled = Table.Enabled or false
  3492. PRTCL.Parent = Parent
  3493. PRTCL.Size = NumberSequence.new(Size1,Size2)
  3494. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  3495. PRTCL.Speed = NumberRange.new(Speed)
  3496. PRTCL.VelocitySpread = Offset
  3497. PRTCL.Drag = Drag
  3498. PRTCL.Acceleration = Acel
  3499. if Enabled == false then
  3500. PRTCL:Emit(Emit)
  3501. Debris:AddItem(PRTCL,Lifetime2)
  3502. else
  3503. PRTCL.Enabled = true
  3504. end
  3505. return PRTCL
  3506. end
  3507.  
  3508. function SpawnTrail(FROM,TO,BIG)
  3509. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  3510. MakeForm(TRAIL,"Cyl")
  3511. local DIST = (FROM - TO).Magnitude
  3512. if BIG == true then
  3513. TRAIL.Size = VT(0.5,DIST,0.5)
  3514. else
  3515. TRAIL.Size = VT(0.25,DIST,0.25)
  3516. end
  3517. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  3518. coroutine.resume(coroutine.create(function()
  3519. for i = 1, 5 do
  3520. Swait()
  3521. TRAIL.Transparency = TRAIL.Transparency + 0.1
  3522. end
  3523. TRAIL:remove()
  3524. end))
  3525. end
  3526.  
  3527. Debris = game:GetService("Debris")
  3528.  
  3529. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  3530. local DIRECTION = CF(StartPos,EndPos).lookVector
  3531. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  3532. end
  3533.  
  3534. function turnto(position)
  3535. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  3536. end
  3537.  
  3538. --//=================================\\
  3539. --|| RESIZE PLAYER
  3540. --\\=================================//
  3541.  
  3542. if Player_Size ~= 1 then
  3543. RootPart.Size = RootPart.Size * Player_Size
  3544. Torso.Size = Torso.Size * Player_Size
  3545. Head.Size = Head.Size * Player_Size
  3546. RightArm.Size = RightArm.Size * Player_Size
  3547. LeftArm.Size = LeftArm.Size * Player_Size
  3548. RightLeg.Size = RightLeg.Size * Player_Size
  3549. LeftLeg.Size = LeftLeg.Size * Player_Size
  3550. RootJoint.Parent = RootPart
  3551. Neck.Parent = Torso
  3552. RightShoulder.Parent = Torso
  3553. LeftShoulder.Parent = Torso
  3554. RightHip.Parent = Torso
  3555. LeftHip.Parent = Torso
  3556.  
  3557. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  3558. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  3559. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  3560. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  3561. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  3562. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  3563. if Disable_Moving_Arms == false then
  3564. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  3565. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  3566. else
  3567. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3568. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3569. end
  3570. 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))
  3571. 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))
  3572. 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))
  3573. 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))
  3574. end
  3575.  
  3576.  
  3577. --//=================================\\
  3578. --\\=================================//
  3579.  
  3580. --//=================================\\
  3581. --|| WEAPON CREATION
  3582. --\\=================================//
  3583.  
  3584. local PRT = CreatePart(3, char, "Fabric", 0, 0, "", "The Mask", VT(1,1,1),false)
  3585. PRT.Color = C3(0,0,0)
  3586. local MaskWeld = CreateWeldOrSnapOrMotor("Weld", hed, hed, PRT, CF(0,0.2,0), CF(0, 0.15, 0))
  3587. CreateMesh("SpecialMesh", PRT, "FileMesh", "62146989", "145633085", VT(1.1,1.1,1.1)*1.05, VT(0,0,0))
  3588.  
  3589. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  3590. local TORSO = Torso
  3591. local HUM = Humanoid
  3592. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  3593. coroutine.wrap(function()
  3594. VT = Vector3.new
  3595. MRANDOM = math.random
  3596. local A = TIME
  3597. local B = INTENSITY
  3598. local C = true
  3599. local HUMANOID = Humanoid
  3600. local TIMER = A or 35
  3601. local SHAKE = B or 5
  3602. local FADE = C or true
  3603. if HUMANOID then
  3604. local FADER = SHAKE / TIMER
  3605. for i = 1, TIMER do
  3606. wait()
  3607. 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)
  3608. end
  3609. HUMANOID.CameraOffset = VT(0, 0, 0)
  3610. end
  3611.  
  3612. end)()
  3613. end
  3614. end
  3615.  
  3616.  
  3617. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  3618. PRT.Color = C3(0,0,0)
  3619. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  3620. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  3621. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  3622. PRT.Color = C3(0,0,0)
  3623.  
  3624. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  3625. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  3626. MakeForm(Part,"Wedge")
  3627.  
  3628. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  3629. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3630. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  3631. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  3632. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  3633. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  3634. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  3635. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3636. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  3637. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3638.  
  3639. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  3640. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  3641. MakeForm(Part,"Wedge")
  3642.  
  3643. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  3644. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3645. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  3646. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  3647. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  3648. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  3649. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  3650. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3651. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  3652. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3653.  
  3654. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  3655. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  3656. MakeForm(Part,"Wedge")
  3657.  
  3658. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  3659. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3660. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  3661. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  3662. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  3663. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  3664. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  3665. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3666. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  3667. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3668.  
  3669. --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})
  3670. function WACKYEFFECT(Table)
  3671. local TYPE = (Table.EffectType or "Sphere")
  3672. local SIZE = (Table.Size or VT(1,1,1))
  3673. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  3674. local TRANSPARENCY = (Table.Transparency or 0)
  3675. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  3676. local CFRAME = (Table.CFrame or Torso.CFrame)
  3677. local MOVEDIRECTION = (Table.MoveToPos or nil)
  3678. local ROTATION1 = (Table.RotationX or 0)
  3679. local ROTATION2 = (Table.RotationY or 0)
  3680. local ROTATION3 = (Table.RotationZ or 0)
  3681. local MATERIAL = (Table.Material or "Neon")
  3682. local COLOR = (Table.Color or C3(1,1,1))
  3683. local TIME = (Table.Time or 45)
  3684. local SOUNDID = (Table.SoundID or nil)
  3685. local SOUNDPITCH = (Table.SoundPitch or nil)
  3686. local SOUNDVOLUME = (Table.SoundVolume or nil)
  3687. coroutine.resume(coroutine.create(function()
  3688. local PLAYSSOUND = false
  3689. local SOUND = nil
  3690. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
  3691. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  3692. PLAYSSOUND = true
  3693. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  3694. end
  3695. EFFECT.Color = COLOR
  3696. local MSH = nil
  3697. if TYPE == "Sphere" then
  3698. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  3699. elseif TYPE == "Block" then
  3700. MSH = IT("BlockMesh",EFFECT)
  3701. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  3702. elseif TYPE == "Wave" then
  3703. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  3704. elseif TYPE == "Ring" then
  3705. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  3706. elseif TYPE == "Slash" then
  3707. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3708. elseif TYPE == "Round Slash" then
  3709. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3710. elseif TYPE == "Swirl" then
  3711. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  3712. elseif TYPE == "Skull" then
  3713. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  3714. elseif TYPE == "Crystal" then
  3715. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  3716. end
  3717. if MSH ~= nil then
  3718. local MOVESPEED = nil
  3719. if MOVEDIRECTION ~= nil then
  3720. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  3721. end
  3722. local GROWTH = SIZE - ENDSIZE
  3723. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  3724. if TYPE == "Block" then
  3725. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3726. else
  3727. EFFECT.CFrame = CFRAME
  3728. end
  3729. for LOOP = 1, TIME+1 do
  3730. Swait()
  3731. MSH.Scale = MSH.Scale - GROWTH/TIME
  3732. if TYPE == "Wave" then
  3733. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  3734. end
  3735. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  3736. if TYPE == "Block" then
  3737. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3738. else
  3739. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  3740. end
  3741. if MOVEDIRECTION ~= nil then
  3742. local ORI = EFFECT.Orientation
  3743. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  3744. EFFECT.Orientation = ORI
  3745. end
  3746. end
  3747. if PLAYSSOUND == false then
  3748. EFFECT:remove()
  3749. else
  3750. SOUND.Stopped:Connect(function()
  3751. EFFECT:remove()
  3752. end)
  3753. end
  3754. else
  3755. if PLAYSSOUND == false then
  3756. EFFECT:remove()
  3757. else
  3758. repeat Swait() until SOUND.Playing == false
  3759. EFFECT:remove()
  3760. end
  3761. end
  3762. end))
  3763. end
  3764.  
  3765.  
  3766. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  3767. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  3768. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  3769. wave.CFrame = CFRAME
  3770. coroutine.resume(coroutine.create(function(PART)
  3771. for i = 1, WAIT do
  3772. Swait()
  3773. mesh.Scale = mesh.Scale + GROW
  3774. if DOESROT == true then
  3775. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  3776. end
  3777. wave.Transparency = wave.Transparency + 0.5 / WAIT
  3778. if wave.Transparency > 0.99 then
  3779. wave:remove()
  3780. end
  3781. end
  3782. end))
  3783. end
  3784.  
  3785. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  3786. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  3787. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  3788. wave.CFrame = CFRAME
  3789. coroutine.resume(coroutine.create(function(PART)
  3790. for i = 1, WAIT do
  3791. Swait()
  3792. mesh.Scale = mesh.Scale + GROW
  3793. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  3794. if DOESROT == true then
  3795. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  3796. end
  3797. wave.Transparency = wave.Transparency + 0.5 / WAIT
  3798. if wave.Transparency > 0.99 then
  3799. wave:remove()
  3800. end
  3801. end
  3802. end))
  3803. end
  3804.  
  3805. --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})
  3806. function WACKYEFFECT(Table)
  3807. local TYPE = (Table.EffectType or "Sphere")
  3808. local SIZE = (Table.Size or VT(1,1,1))
  3809. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  3810. local TRANSPARENCY = (Table.Transparency or 0)
  3811. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  3812. local CFRAME = (Table.CFrame or Torso.CFrame)
  3813. local MOVEDIRECTION = (Table.MoveToPos or nil)
  3814. local ROTATION1 = (Table.RotationX or 0)
  3815. local ROTATION2 = (Table.RotationY or 0)
  3816. local ROTATION3 = (Table.RotationZ or 0)
  3817. local MATERIAL = (Table.Material or "Neon")
  3818. local COLOR = (Table.Color or C3(1,1,1))
  3819. local TIME = (Table.Time or 45)
  3820. local SOUNDID = (Table.SoundID or nil)
  3821. local SOUNDPITCH = (Table.SoundPitch or nil)
  3822. local SOUNDVOLUME = (Table.SoundVolume or nil)
  3823. coroutine.resume(coroutine.create(function()
  3824. local PLAYSSOUND = false
  3825. local SOUND = nil
  3826. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  3827. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  3828. PLAYSSOUND = true
  3829. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  3830. end
  3831. EFFECT.Color = COLOR
  3832. local MSH = nil
  3833. if TYPE == "Sphere" then
  3834. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  3835. elseif TYPE == "Block" then
  3836. MSH = IT("BlockMesh",EFFECT)
  3837. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  3838. elseif TYPE == "Wave" then
  3839. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  3840. elseif TYPE == "Ring" then
  3841. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  3842. elseif TYPE == "Slash" then
  3843. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3844. elseif TYPE == "Round Slash" then
  3845. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3846. elseif TYPE == "Swirl" then
  3847. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  3848. elseif TYPE == "Skull" then
  3849. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  3850. elseif TYPE == "Crystal" then
  3851. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  3852. end
  3853. if MSH ~= nil then
  3854. local MOVESPEED = nil
  3855. if MOVEDIRECTION ~= nil then
  3856. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  3857. end
  3858. local GROWTH = SIZE - ENDSIZE
  3859. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  3860. if TYPE == "Block" then
  3861. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3862. else
  3863. EFFECT.CFrame = CFRAME
  3864. end
  3865. for LOOP = 1, TIME+1 do
  3866. Swait()
  3867. MSH.Scale = MSH.Scale - GROWTH/TIME
  3868. if TYPE == "Wave" then
  3869. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  3870. end
  3871. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  3872. if TYPE == "Block" then
  3873. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3874. else
  3875. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  3876. end
  3877. if MOVEDIRECTION ~= nil then
  3878. local ORI = EFFECT.Orientation
  3879. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  3880. EFFECT.Orientation = ORI
  3881. end
  3882. end
  3883. if PLAYSSOUND == false then
  3884. EFFECT:remove()
  3885. else
  3886. SOUND.Stopped:Connect(function()
  3887. EFFECT:remove()
  3888. end)
  3889. end
  3890. else
  3891. if PLAYSSOUND == false then
  3892. EFFECT:remove()
  3893. else
  3894. repeat Swait() until SOUND.Playing == false
  3895. EFFECT:remove()
  3896. end
  3897. end
  3898. end))
  3899. end
  3900.  
  3901. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  3902. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  3903. local mesh
  3904. if KIND == "Base" then
  3905. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  3906. elseif KIND == "Thin" then
  3907. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  3908. elseif KIND == "Round" then
  3909. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  3910. end
  3911. wave.CFrame = CFRAME
  3912. coroutine.resume(coroutine.create(function(PART)
  3913. for i = 1, WAIT do
  3914. Swait()
  3915. mesh.Scale = mesh.Scale + GROW / 10
  3916. wave.Transparency = wave.Transparency + 0.5 / WAIT
  3917. if wave.Transparency > 0.99 then
  3918. wave:remove()
  3919. end
  3920. end
  3921. end))
  3922. end
  3923.  
  3924. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  3925. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  3926. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  3927. wave.CFrame = CFRAME
  3928. coroutine.resume(coroutine.create(function(PART)
  3929. for i = 1, WAIT do
  3930. Swait()
  3931. mesh.Scale = mesh.Scale + GROW
  3932. if DOESROT == true then
  3933. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  3934. end
  3935. wave.Transparency = wave.Transparency + 0.5 / WAIT
  3936. if wave.Transparency > 0.99 then
  3937. wave:remove()
  3938. end
  3939. end
  3940. end))
  3941. end
  3942. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  3943. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  3944. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  3945. wave.CFrame = CFRAME
  3946. coroutine.resume(coroutine.create(function(PART)
  3947. for i = 1, WAIT do
  3948. Swait()
  3949. mesh.Scale = mesh.Scale + GROW
  3950. wave.Transparency = wave.Transparency + 1 / WAIT
  3951. if wave.Transparency > 0.99 then
  3952. wave:remove()
  3953. end
  3954. end
  3955. end))
  3956. end
  3957.  
  3958. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  3959. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  3960. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  3961. wave.CFrame = CFRAME
  3962. coroutine.resume(coroutine.create(function(PART)
  3963. for i = 1, WAIT do
  3964. Swait()
  3965. mesh.Scale = mesh.Scale + GROW
  3966. wave.Transparency = wave.Transparency + 1 / WAIT
  3967. if wave.Transparency > 0.99 then
  3968. wave:remove()
  3969. end
  3970. end
  3971. end))
  3972. end
  3973.  
  3974.  
  3975. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  3976. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  3977. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  3978. MakeForm(Part,"Wedge")
  3979. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  3980. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  3981. MakeForm(Part,"Wedge")
  3982. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  3983. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  3984. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3985. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  3986. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3987. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  3988. MakeForm(Part,"Cyl")
  3989. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3990. for i = 1, 8 do
  3991. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  3992. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  3993. end
  3994. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  3995. MakeForm(Part,"Cyl")
  3996. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3997. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  3998. MakeForm(Part,"Ball")
  3999. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4000. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  4001. MakeForm(Part,"Wedge")
  4002. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  4003. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  4004. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  4005. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  4006. MakeForm(Part,"Cyl")
  4007. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4008. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  4009. MakeForm(Part,"Cyl")
  4010. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4011. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  4012. MakeForm(Part,"Cyl")
  4013. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4014. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  4015. MakeForm(Part,"Wedge")
  4016. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  4017. local LASTPART = Handle
  4018. for i = 1, 10 do
  4019. if LASTPART == Handle then
  4020. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  4021. LASTPART = Part
  4022. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4023. else
  4024. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  4025. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  4026. LASTPART = Part
  4027. end
  4028. end
  4029.  
  4030. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  4031. MakeForm(Barrel,"Cyl")
  4032. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4033. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  4034. MakeForm(Part,"Cyl")
  4035. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  4036. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  4037. MakeForm(Part,"Wedge")
  4038. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  4039. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  4040. MakeForm(Hole2,"Cyl")
  4041. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  4042. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  4043. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  4044. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  4045. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  4046. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  4047. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  4048. coroutine.resume(coroutine.create(function()
  4049. while wait() do
  4050. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  4051. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  4052. end
  4053. end))
  4054.  
  4055. 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)})
  4056. --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)})
  4057.  
  4058. for _, c in pairs(Weapon:GetDescendants()) do
  4059. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  4060. c.Material = "Glass"
  4061. c.Color = C3(0,0,0)
  4062. elseif c.ClassName == "Part" and c.Name == "Eye" then
  4063. c.Color = C3(1,0,0)
  4064. c.Material = "Neon"
  4065. end
  4066. end
  4067.  
  4068. Weapon.Parent = Character
  4069. for _, c in pairs(Weapon:GetChildren()) do
  4070. if c.ClassName == "Part" then
  4071. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  4072. end
  4073. end
  4074.  
  4075. function ParticleEmitter(Table)
  4076. local PRTCL = Particle:Clone()
  4077. local Speed = Table.Speed or 5
  4078. local Drag = Table.Drag or 0
  4079. local Size1 = Table.Size1 or 1
  4080. local Size2 = Table.Size2 or 5
  4081. local Lifetime1 = Table.Lifetime1 or 1
  4082. local Lifetime2 = Table.Lifetime2 or 1.5
  4083. local Parent = Table.Parent or Torso
  4084. local Emit = Table.Emit or 100
  4085. local Offset = Table.Offset or 360
  4086. local Acel = Table.Acel or VT(0,0,0)
  4087. local Enabled = Table.Enabled or false
  4088. PRTCL.Parent = Parent
  4089. PRTCL.Size = NumberSequence.new(Size1,Size2)
  4090. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  4091. PRTCL.Speed = NumberRange.new(Speed)
  4092. PRTCL.VelocitySpread = Offset
  4093. PRTCL.Drag = Drag
  4094. PRTCL.Acceleration = Acel
  4095. if Enabled == false then
  4096. PRTCL:Emit(Emit)
  4097. Debris:AddItem(PRTCL,Lifetime2)
  4098. else
  4099. PRTCL.Enabled = true
  4100. end
  4101. return PRTCL
  4102. end
  4103.  
  4104. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  4105. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  4106. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  4107. MakeForm(Part,"Wedge")
  4108. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  4109. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  4110. MakeForm(Part,"Wedge")
  4111. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  4112. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  4113. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  4114. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  4115. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  4116. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  4117. MakeForm(Part,"Cyl")
  4118. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4119. for i = 1, 8 do
  4120. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  4121. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  4122. end
  4123. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  4124. MakeForm(Part,"Cyl")
  4125. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4126. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  4127. MakeForm(Part,"Ball")
  4128. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4129. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  4130. MakeForm(Part,"Wedge")
  4131. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  4132. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  4133. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  4134. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  4135. MakeForm(Part,"Cyl")
  4136. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4137. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  4138. MakeForm(Part,"Cyl")
  4139. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4140. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  4141. MakeForm(Part,"Cyl")
  4142. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4143. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  4144. MakeForm(Part,"Wedge")
  4145. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  4146. local LASTPART = Handle
  4147. for i = 1, 10 do
  4148. if LASTPART == Handle then
  4149. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  4150. LASTPART = Part
  4151. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4152. else
  4153. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  4154. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  4155. LASTPART = Part
  4156. end
  4157. end
  4158.  
  4159. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  4160. MakeForm(Barrel,"Cyl")
  4161. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  4162. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  4163. MakeForm(Part,"Cyl")
  4164. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  4165. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  4166. MakeForm(Part,"Wedge")
  4167. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  4168. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  4169. MakeForm(Hole,"Cyl")
  4170. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  4171. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  4172. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  4173. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  4174. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  4175. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  4176. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  4177. coroutine.resume(coroutine.create(function()
  4178. while wait() do
  4179. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  4180. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  4181. end
  4182. end))
  4183.  
  4184. 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)})
  4185. --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)})
  4186.  
  4187. for _, c in pairs(Weapon:GetDescendants()) do
  4188. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  4189. c.Material = "Glass"
  4190. c.Color = C3(0,0,0)
  4191. elseif c.ClassName == "Part" and c.Name == "Eye" then
  4192. c.Color = C3(1,0,0)
  4193. c.Material = "Neon"
  4194. end
  4195. end
  4196.  
  4197. Weapon.Parent = Character
  4198. for _, c in pairs(Weapon:GetChildren()) do
  4199. if c.ClassName == "Part" then
  4200. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  4201. end
  4202. end
  4203.  
  4204. local SKILLTEXTCOLOR = C3(1,0,0)
  4205. local SKILLFONT = "Antique"
  4206. local SKILLTEXTSIZE = 7
  4207.  
  4208. Humanoid.Died:connect(function()
  4209. ATTACK = true
  4210. end)
  4211.  
  4212. 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")
  4213. --[[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")
  4214. 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")
  4215. 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")
  4216. 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")
  4217. ]]
  4218. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  4219. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  4220. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  4221. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  4222. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  4223. ]]
  4224. function printbye(Name)
  4225. 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, "}
  4226. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  4227. end
  4228.  
  4229. workspace.ChildAdded:connect(function(instance)
  4230. for BANISH = 1, #TOBANISH do
  4231. if TOBANISH[BANISH] ~= nil then
  4232. if instance.Name == TOBANISH[BANISH] then
  4233. coroutine.resume(coroutine.create(function()
  4234. printbye(instance.Name)
  4235. instance:ClearAllChildren()
  4236. Debris:AddItem(instance,0.0005)
  4237. end))
  4238. end
  4239. end
  4240. end
  4241. end)
  4242.  
  4243. --//=================================\\
  4244. --|| DAMAGING
  4245. --\\=================================//
  4246.  
  4247. function Banish(Foe)
  4248. if Foe then
  4249. coroutine.resume(coroutine.create(function()
  4250. --if game.Players:FindFirstChild(Foe.Name) then
  4251. table.insert(TOBANISH,Foe.Name)
  4252. printbye(Foe.Name)
  4253. --end
  4254. Foe.Archivable = true
  4255. local CLONE = Foe:Clone()
  4256. Foe:Destroy()
  4257. CLONE.Parent = Effects
  4258. CLONE:BreakJoints()
  4259. local MATERIALS = {"Glass","Neon"}
  4260. for _, c in pairs(CLONE:GetDescendants()) do
  4261. if c:IsA("BasePart") then
  4262. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  4263. CreateSound(340722848, c, 10, 1, false)
  4264. end
  4265. c.Anchored = true
  4266. c.Transparency = c.Transparency + 0.2
  4267. c.Material = MATERIALS[MRANDOM(1,2)]
  4268. c.Color = C3(1,0,0)
  4269. if c.ClassName == "MeshPart" then
  4270. c.TextureID = ""
  4271. end
  4272. if c:FindFirstChildOfClass("SpecialMesh") then
  4273. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  4274. end
  4275. if c:FindFirstChildOfClass("Decal") then
  4276. c:FindFirstChildOfClass("Decal"):remove()
  4277. end
  4278. c.Name = "Banished"
  4279. c.CanCollide = false
  4280. else
  4281. c:remove()
  4282. end
  4283. end
  4284. local A = false
  4285. for i = 1, 35 do
  4286. if A == false then
  4287. A = true
  4288. elseif A == true then
  4289. A = false
  4290. end
  4291. for _, c in pairs(CLONE:GetDescendants()) do
  4292. if c:IsA("BasePart") then
  4293. c.Anchored = true
  4294. c.Material = MATERIALS[MRANDOM(1,2)]
  4295. c.Transparency = c.Transparency + 0.8/35
  4296. if A == false then
  4297. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  4298. elseif A == true then
  4299. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  4300. end
  4301. end
  4302. end
  4303. Swait()
  4304. end
  4305. CLONE:remove()
  4306. end))
  4307. end
  4308. end
  4309.  
  4310. function ApplyAoE(POSITION,RANGE,ISBANISH)
  4311. local CHILDREN = workspace:GetDescendants()
  4312. for index, CHILD in pairs(CHILDREN) do
  4313. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4314. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4315. if HUM then
  4316. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4317. if TORSO then
  4318. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  4319. if ISBANISH == true then
  4320. Banish(CHILD)
  4321. else
  4322. if ISBANISH == "Gravity" then
  4323. HUM.PlatformStand = true
  4324. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  4325. local grav = Instance.new("BodyPosition",TORSO)
  4326. grav.D = 15
  4327. grav.P = 20000
  4328. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4329. grav.position = TORSO.Position
  4330. grav.Name = "V3BanishForce"..Player.Name
  4331. else
  4332. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  4333. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  4334. end
  4335. else
  4336. HUM.PlatformStand = false
  4337. end
  4338. end
  4339. elseif ISBANISH == "Gravity" then
  4340. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  4341. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  4342. HUM.PlatformStand = false
  4343. end
  4344. end
  4345. end
  4346. end
  4347. end
  4348. end
  4349. end
  4350.  
  4351. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  4352. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4353. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  4354. local BODYGYRO = IT("BodyGyro", STATPART)
  4355. local BODYPOSITION = IT("BodyPosition", STATPART)
  4356. BODYPOSITION.P = 2000
  4357. BODYPOSITION.D = 100
  4358. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  4359. if LABELTYPE == "Normal" then
  4360. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  4361. elseif LABELTYPE == "Debuff" then
  4362. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  4363. elseif LABELTYPE == "Interruption" then
  4364. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  4365. end
  4366. game:GetService("Debris"):AddItem(STATPART ,5)
  4367. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  4368. BILLBOARDGUI.Adornee = STATPART
  4369. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  4370. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  4371. BILLBOARDGUI.AlwaysOnTop = false
  4372. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  4373. TEXTLABEL.BackgroundTransparency = 1
  4374. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  4375. TEXTLABEL.Text = TEXT
  4376. TEXTLABEL.Font = "SourceSans"
  4377. TEXTLABEL.FontSize="Size42"
  4378. TEXTLABEL.TextColor3 = COLOR
  4379. TEXTLABEL.TextStrokeTransparency = 0
  4380. TEXTLABEL.TextScaled = true
  4381. TEXTLABEL.TextWrapped = true
  4382. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  4383. wait(0.2)
  4384. for i=1, 5 do
  4385. wait()
  4386. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  4387. end
  4388. wait(1.2)
  4389. for i=1, 5 do
  4390. wait()
  4391. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  4392. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  4393. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  4394. end
  4395. THEPART.Parent = nil
  4396. end),STATPART, BODYPOSITION, TEXTLABEL)
  4397. end
  4398.  
  4399. function IncreaseOrDecreaseStat(LOCATION, STAT, AMOUNT, DURATION, SHOWTHESTAT)
  4400. if LOCATION:FindFirstChild("Stats") ~= nil then
  4401. if LOCATION.Stats:FindFirstChild("Block") ~= nil then
  4402. if LOCATION.Stats:FindFirstChild("Block").Value == true then
  4403. return
  4404. end
  4405. end
  4406. if LOCATION.Stats:FindFirstChild("ChangeStat") ~= nil and LOCATION.Stats:FindFirstChild("Block").Value == false then
  4407. local NewStatChange = IT("NumberValue")
  4408. NewStatChange.Value = AMOUNT
  4409. if STAT == "Defense" then
  4410. NewStatChange.Name = "ChangeDefense"
  4411. elseif STAT == "Damage" then
  4412. NewStatChange.Name = "ChangeDamage"
  4413. elseif STAT == "Movement" then
  4414. NewStatChange.Name = "ChangeMovement"
  4415. end
  4416. if SHOWTHESTAT == true then
  4417. if AMOUNT < 0 then
  4418. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "-"..STAT, C3(1, 1, 1))
  4419. elseif AMOUNT > 0 then
  4420. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "+"..STAT, C3(1, 1, 1))
  4421. end
  4422. end
  4423. if DURATION ~= nil and DURATION ~= 0 then
  4424. local StatDuration = IT("NumberValue")
  4425. StatDuration.Name = "Duration"
  4426. StatDuration.Value = DURATION
  4427. StatDuration.Parent = NewStatChange
  4428. end
  4429. NewStatChange.Parent = LOCATION.Stats:FindFirstChild("ChangeStat")
  4430. end
  4431. end
  4432. end
  4433.  
  4434. --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)
  4435. 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)
  4436. if HIT.Parent == nil then
  4437. return
  4438. end
  4439. local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  4440. for _, v in pairs(HIT.Parent:GetChildren()) do
  4441. if v:IsA("Humanoid") then
  4442. HITHUMANOID = v
  4443. end
  4444. end
  4445. if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  4446. StaggerHit.Value = true
  4447. if Play_Hitbox_Hit_Sound == true then
  4448. if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  4449. CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  4450. end
  4451. end
  4452. return
  4453. end
  4454. if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  4455. HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  4456. end
  4457. if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  4458. HIT = HIT.Parent.Parent:FindFirstChild("Head")
  4459. end
  4460. if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  4461. if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  4462. if HIT.Parent.DebounceHit.Value == true then
  4463. return
  4464. end
  4465. end
  4466. if AntiTeamKill.Value == true then
  4467. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  4468. if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  4469. return
  4470. end
  4471. end
  4472. end
  4473. if HITEVENWHENDEAD == false then
  4474. if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  4475. if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  4476. return
  4477. end
  4478. end
  4479. end
  4480. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  4481. if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  4482. HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  4483. end
  4484. end
  4485. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  4486. if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  4487. if STAGGER == true and Enable_Stagger == true then
  4488. HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  4489. end
  4490. end
  4491. end
  4492. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  4493. if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  4494. if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  4495. HASBEENBLOCKED = true
  4496. if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  4497. StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  4498. if RANGED ~= true then
  4499. if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  4500. CreateSound(HITBLOCKSOUND, HIT, 1, HITBLOCKSOUNDPITCH)
  4501. end
  4502. end
  4503. local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  4504. BlockDebounce.Name = "BlockDebounce"
  4505. BlockDebounce.Value = true
  4506. if RANGED ~= true then
  4507. game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  4508. else
  4509. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  4510. end
  4511. end
  4512. if RANGED ~= true and Enable_Stagger == true then
  4513. HIT.Parent.Stats:FindFirstChild("Block").Value = false
  4514. Stagger.Value = true
  4515. end
  4516. return
  4517. end
  4518. end
  4519. end
  4520. if DECREASETHESTAT ~= nil then
  4521. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  4522. IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  4523. end
  4524. end
  4525. local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  4526. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  4527. if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  4528. if CanPenetrateArmor.Value == true then
  4529. DAMAGE = DAMAGE
  4530. else
  4531. DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  4532. end
  4533. elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  4534. DAMAGE = DAMAGE
  4535. end
  4536. end
  4537. if CanCrit.Value == true then
  4538. CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  4539. if CRITCHANCENUMBER == 1 then
  4540. DAMAGE = DAMAGE * 2
  4541. end
  4542. end
  4543. DAMAGE = math.floor(DAMAGE)
  4544. if HASBEENBLOCKED == false then
  4545. HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  4546. end
  4547. if DAMAGE <= 3 and HASBEENBLOCKED == false then
  4548. if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  4549. StaggerHit.Value = true
  4550. end
  4551. if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  4552. CreateSound(HITARMORSOUND, HIT, 1, HITARMORSOUNDPITCH)
  4553. end
  4554. elseif DAMAGE > 3 and HASBEENBLOCKED == false then
  4555. if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  4556. CreateSound(HITPLAYERSOUND, HIT, 1, HITPLAYERSOUNDPITCH)
  4557. end
  4558. end
  4559. if DAMAGE > 3 and DAMAGE < 20 and HASBEENBLOCKED == false then
  4560. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  4561. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  4562. CreateSound("296102734", HIT, 1, 1)
  4563. else
  4564. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 220/255, 0))
  4565. end
  4566. elseif DAMAGE >= 20 and HASBEENBLOCKED == false then
  4567. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  4568. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  4569. CreateSound("296102734", HIT, 1, 1)
  4570. else
  4571. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 0, 0))
  4572. end
  4573. elseif DAMAGE <= 3 and HASBEENBLOCKED == false then
  4574. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  4575. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  4576. CreateSound("296102734", HIT, 1, 1)
  4577. else
  4578. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(225/255, 225/255, 225/255))
  4579. end
  4580. end
  4581. if TYPE == "Normal" then
  4582. local vp = IT("BodyVelocity")
  4583. vp.P=500
  4584. vp.maxForce = VT(math.huge, 0, math.huge)
  4585. if KNOCKBACKTYPE == 1 then
  4586. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  4587. elseif KNOCKBACKTYPE == 2 then
  4588. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  4589. end
  4590. if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  4591. vp.Parent = HIT--.Parent.Torso
  4592. end
  4593. game:GetService("Debris"):AddItem(vp, 0.5)
  4594. end
  4595. HASBEENBLOCKED = false
  4596. RecentEnemy.Value = HIT.Parent
  4597. local DebounceHit = IT("BoolValue", HIT.Parent)
  4598. DebounceHit.Name = "DebounceHit"
  4599. DebounceHit.Value = true
  4600. game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  4601. end
  4602. end
  4603.  
  4604. --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)
  4605. 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)
  4606. for _, c in pairs(workspace:GetChildren()) do
  4607. local HUMANOID = c:FindFirstChild("Humanoid")
  4608. local HEAD = nil
  4609. if HUMANOID ~= nil then
  4610. for _, d in pairs(c:GetChildren()) do
  4611. if d.ClassName == "Model" and RANGED ~= true then
  4612. HEAD = d:FindFirstChild("Hitbox")
  4613. if HEAD ~= nil then
  4614. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  4615. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  4616. if Play_Hitbox_Hit_Sound == true then
  4617. local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4618. HitRefpart.Anchored = true
  4619. HitRefpart.CFrame = CF(HEAD.Position)
  4620. CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  4621. end
  4622. if Enable_Stagger_Hit == true then
  4623. StaggerHit.Value = true
  4624. end
  4625. end
  4626. end
  4627. elseif d:IsA"BasePart" then
  4628. HEAD = d
  4629. if HEAD ~= nil then
  4630. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  4631. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  4632. 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)
  4633. end
  4634. end
  4635. end
  4636. end
  4637. end
  4638. end
  4639. end
  4640.  
  4641. --Usage: MagnitudeBuffOrDebuff(Part, 5, "Defense", -0.1, 3, true, true)
  4642. function MagnitudeBuffOrDebuff(PART, MAGNITUDE, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF, APPLYTOOTHERSINSTEAD)
  4643. if Player.Neutral == true then
  4644. IncreaseOrDecreaseStat(Character, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  4645. end
  4646. for _, c in pairs(workspace:GetChildren()) do
  4647. local HUMANOID = c:FindFirstChild("Humanoid")
  4648. local THEHEAD = nil
  4649. if HUMANOID ~= nil then
  4650. if c:FindFirstChild("Torso") ~= nil then
  4651. THEHEAD = c:FindFirstChild("Torso")
  4652. elseif c:FindFirstChild("UpperTorso") ~= nil then
  4653. THEHEAD = c:FindFirstChild("UpperTorso")
  4654. end
  4655. if THEHEAD ~= nil then
  4656. local THEMAGNITUDE = (THEHEAD.Position - PART.Position).magnitude
  4657. print("yes 1")
  4658. if APPLYTOOTHERSINSTEAD == true then
  4659. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  4660. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  4661. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  4662. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  4663. end
  4664. end
  4665. end
  4666. elseif APPLYTOOTHERSINSTEAD == false then
  4667. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) then
  4668. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  4669. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  4670. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  4671. end
  4672. end
  4673. end
  4674. end
  4675. end
  4676. end
  4677. end
  4678. end
  4679.  
  4680.  
  4681.  
  4682. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  4683. local dmg = math.random(min,max)
  4684. for i,v in ipairs(workspace:GetChildren()) do
  4685. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  4686. local body = v:GetChildren()
  4687. for part = 1, #body do
  4688. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4689. if(body[part].Position - position).Magnitude < radius then
  4690. if v.ClassName == "Model" then
  4691. if v:FindFirstChildOfClass("Humanoid") then
  4692. if CanBeDodgedByJumping == true then
  4693. if body[part].Position.Y < position.Y+5 then
  4694. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  4695. end
  4696. else
  4697. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  4698. end
  4699. local bv = Instance.new("BodyVelocity")
  4700. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4701. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  4702. bv.Parent = body[part]
  4703. Debris:AddItem(bv,0.2)
  4704. end
  4705. end
  4706. end
  4707. end
  4708. end
  4709. end
  4710. if v:FindFirstChild("HitBy"..Player.Name) then
  4711. v:FindFirstChild("HitBy"..Player.Name):remove()
  4712. end
  4713. end
  4714. end
  4715.  
  4716. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  4717. local defence = Instance.new("BoolValue",Humanoid.Parent)
  4718. defence.Name = ("HitBy"..Player.Name)
  4719. game:GetService("Debris"):AddItem(defence, 0.5)
  4720. Humanoid.Health = Humanoid.Health - Damage
  4721. if Humanoid.Parent:FindFirstChild("Head") then
  4722. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  4723. end
  4724. end
  4725.  
  4726.  
  4727. --//=================================\\
  4728. --|| ATTACK FUNCTIONS AND STUFF
  4729. --\\=================================//
  4730.  
  4731. function Oblivion()
  4732. ATTACK = true
  4733. Rooted = true
  4734. for i=0, 2, 0.1 / Animation_Speed do
  4735. Swait()
  4736. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4737. 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)
  4738. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4739. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4740. 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)
  4741. 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)
  4742. end
  4743. for i=0, 0.5, 0.1 / Animation_Speed do
  4744. Swait()
  4745. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4746. 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)
  4747. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4748. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4749. 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)
  4750. 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)
  4751. end
  4752. for i = 1, 75 do
  4753. Swait()
  4754. 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)
  4755. end
  4756. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  4757. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  4758. AoEDamage(Torso.Position,45,45,58,0,false,2,2,false,true)
  4759. MagicSphere(VT(0,0,0),25,Torso.CFrame,"Really red",VT(5,5,5))
  4760. MagicSphere(VT(0,0,0),50,Torso.CFrame,"Lime green",VT(2.5,2.5,2.5))
  4761. 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))
  4762. 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))
  4763. ATTACK = false
  4764. Rooted = false
  4765. end
  4766.  
  4767. function kiss()
  4768. ATTACK = true
  4769. Rooted = false
  4770. local HASGRABBED = false
  4771. local GRABTARGET = nil
  4772. local TORS = nil
  4773. local WELD = nil
  4774. for i=0, 1, 0.1 / Animation_Speed do
  4775. Swait()
  4776. 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)
  4777. 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)
  4778. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4779. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4780. 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)
  4781. 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)
  4782. end
  4783. local GRAB1 = RightArm.Touched:Connect(function(hit)
  4784. if hit.Parent:FindFirstChild("Humanoid") then
  4785. if hit.Parent.Humanoid.Health ~= 0 then
  4786. UNANCHOR = false
  4787. RootPart.Anchored = true
  4788. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  4789. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  4790. WELD = weldBetween(RootPart,TORS)
  4791. HASGRABBED = true
  4792. Rooted = true
  4793. end
  4794. end
  4795. end)
  4796. local GRAB2 = LeftArm.Touched:Connect(function(hit)
  4797. if hit.Parent:FindFirstChild("Humanoid") then
  4798. if hit.Parent.Humanoid.Health ~= 0 then
  4799. UNANCHOR = false
  4800. RootPart.Anchored = true
  4801. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  4802. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  4803. WELD = weldBetween(RootPart,TORS)
  4804. HASGRABBED = true
  4805. Rooted = true
  4806. end
  4807. end
  4808. end)
  4809. for i=0, 1, 0.1 / Animation_Speed do
  4810. Swait()
  4811. if HASGRABBED == true then
  4812. break
  4813. end
  4814. 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)
  4815. 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)
  4816. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4817. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4818. 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)
  4819. 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)
  4820. end
  4821. GRAB1:disconnect()
  4822. GRAB2:disconnect()
  4823. if HASGRABBED == true then
  4824. TORS.Anchored = false
  4825. GRABTARGET = TORS.Parent
  4826. HED = GRABTARGET:FindFirstChild("Head")
  4827. for i=0, 2, 0.1 / Animation_Speed do
  4828. Swait()
  4829. 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)
  4830. 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)
  4831. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4832. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4833. 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)
  4834. 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)
  4835. end
  4836. local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Really red", "Heart", VT(1,1,1), false)
  4837. local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
  4838. CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  4839. local ECH = 0
  4840.  
  4841. for i=0, 8, 0.1 / Animation_Speed do
  4842. Swait()
  4843. 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)
  4844. 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)
  4845. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4846. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4847. 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)
  4848. 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)
  4849. end
  4850. WELD:remove()
  4851. end
  4852. UNANCHOR = true
  4853. ATTACK = false
  4854. Rooted = false
  4855. end
  4856.  
  4857. function Kick()
  4858. ATTACK = true
  4859. Rooted = false
  4860. VALUE1 = true
  4861. NOWALK = true
  4862. if COMBO2 == 1 then
  4863. COMBO2 = 2
  4864. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  4865. for i=0, 0.5, 0.1 / Animation_Speed do
  4866. Swait()
  4867. 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)
  4868. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 2 / Animation_Speed)
  4869. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4870. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4871. 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)
  4872. 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)
  4873. end
  4874. elseif COMBO2 == 2 then
  4875. COMBO2 = 1
  4876. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  4877. for i=0, 0.5, 0.1 / Animation_Speed do
  4878. Swait()
  4879. 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)
  4880. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
  4881. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4882. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4883. 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)
  4884. 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)
  4885. end
  4886. end
  4887. NOWALK = false
  4888. VALUE1 = false
  4889. ATTACK = false
  4890. Rooted = false
  4891. end
  4892.  
  4893. function StaggerHitAnimation()
  4894. ATTACK = true
  4895. if Weapon:FindFirstChild("Hitbox") ~= nil then
  4896. for i = 1, MRANDOM(2, 4) do
  4897. 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)
  4898. end
  4899. end
  4900. for i = 0, 1, 0.1 / Animation_Speed do
  4901. Swait()
  4902. 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)
  4903. 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)
  4904. 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)
  4905. 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)
  4906. 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)
  4907. 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)
  4908. if Stagger.Value == true or Stun.Value == true then
  4909. break
  4910. end
  4911. end
  4912. ATTACK = false
  4913. end
  4914.  
  4915. function Shot()
  4916. ATTACK = true
  4917. Rooted = false
  4918. for i=0, 0.5, 0.1 / Animation_Speed do
  4919. Swait()
  4920. turnto(Mouse.Hit.p)
  4921. 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)
  4922. 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)
  4923. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4924. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4925. 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)
  4926. 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)
  4927. end
  4928. repeat
  4929. for i=0, 0.5, 0.1 / Animation_Speed do
  4930. Swait()
  4931. turnto(Mouse.Hit.p)
  4932. 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)
  4933. 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)
  4934. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4935. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4936. 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)
  4937. 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)
  4938. end
  4939. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  4940. SpawnTrail(Hole2.Position,POS)
  4941. if HIT ~= nil then
  4942. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  4943. Banish(HIT.Parent)
  4944. end
  4945. end
  4946. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  4947. SpawnTrail(Hole.Position,POS)
  4948. if HIT ~= nil then
  4949. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  4950. Banish(HIT.Parent)
  4951. end
  4952. end
  4953. 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})
  4954. 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})
  4955. 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})
  4956. 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})
  4957. CreateSound("159882477", Head, 6, 1)
  4958. for i=0, 0.5, 0.1 / Animation_Speed do
  4959. Swait()
  4960. 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)
  4961. 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)
  4962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4963. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4964. 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)
  4965. 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)
  4966. end
  4967. 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})
  4968. 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})
  4969. 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})
  4970. 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})
  4971. until KEYHOLD == false
  4972. ATTACK = false
  4973. Rooted = false
  4974. end
  4975.  
  4976. function Punch()
  4977. ATTACK = true
  4978. Rooted = false
  4979. for i=0, 0.2, 0.1 / Animation_Speed do
  4980. Swait()
  4981. 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)
  4982. 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)
  4983. 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)
  4984. 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)
  4985. 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)
  4986. 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)
  4987. end
  4988. VALUE1 = true
  4989. if COMBO == 1 then
  4990. COMBO = 2
  4991. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  4992. for i=0, 0.3, 0.1 / Animation_Speed do
  4993. Swait()
  4994. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  4995. 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)
  4996. 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)
  4997. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4998. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4999. 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)
  5000. 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)
  5001. end
  5002. elseif COMBO == 2 then
  5003. COMBO = 1
  5004. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  5005. for i=0, 0.3, 0.1 / Animation_Speed do
  5006. Swait()
  5007. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  5008. 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)
  5009. 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)
  5010. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5011. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5012. 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)
  5013. 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)
  5014. end
  5015. end
  5016. VALUE1 = false
  5017. ATTACK = false
  5018. Rooted = false
  5019. end
  5020.  
  5021. function AttackTemplate()
  5022. ATTACK = true
  5023. Rooted = false
  5024. for i=0, 1, 0.1 / Animation_Speed do
  5025. Swait()
  5026. 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)
  5027. 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)
  5028. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5029. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5030. 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)
  5031. 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)
  5032. end
  5033. ATTACK = false
  5034. Rooted = false
  5035. end
  5036.  
  5037. function Nuke()
  5038. ATTACK = true
  5039. Rooted = true
  5040. local CHARGE = false
  5041. local BLASTS = {468991944, 468991990}
  5042. coroutine.resume(coroutine.create(function()
  5043. repeat
  5044. Swait()
  5045. 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)
  5046. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
  5047. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5048. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5049. 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)
  5050. 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)
  5051. until CHARGE == true
  5052. for i = 0, 0.4, 0.1 / Animation_Speed do
  5053. Swait()
  5054. WACKYEFFECT({
  5055. Time = 15,
  5056. EffectType = "Sphere",
  5057. Size = VT(60, 60, 60),
  5058. Size2 = VT(0, 0, 0),
  5059. Transparency = 1,
  5060. Transparency2 = 0.7,
  5061. CFrame = CF(RootPart.Position),
  5062. MoveToPos = nil,
  5063. RotationX = 0,
  5064. RotationY = 0,
  5065. RotationZ = 0,
  5066. Material = "Neon",
  5067. Color = C3(0, 0, 0),
  5068. SoundID = nil,
  5069. SoundPitch = nil,
  5070. SoundVolume = nil
  5071. })
  5072. 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)
  5073. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 2 / Animation_Speed)
  5074. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5075. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5076. 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)
  5077. 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)
  5078. end
  5079. coroutine.resume(coroutine.create(function()
  5080. local POS = RootPart.Position
  5081. wait(0.2)
  5082. for i = 1, 5 do
  5083. WACKYEFFECT({
  5084. Time = 65,
  5085. EffectType = "Sphere",
  5086. Size = VT(2, 2, 2),
  5087. Size2 = VT(0, 0, 500),
  5088. Transparency = 1,
  5089. Transparency2 = 0,
  5090. CFrame = CF(POS),
  5091. MoveToPos = nil,
  5092. RotationX = MRANDOM(-2, 2),
  5093. RotationY = MRANDOM(-12, 12),
  5094. RotationZ = MRANDOM(-2, 2),
  5095. Material = "Neon",
  5096. Color = C3(1, 0, 0),
  5097. SoundID = nil,
  5098. SoundPitch = nil,
  5099. SoundVolume = nil
  5100. })
  5101. end
  5102. wait(1)
  5103. SHAKECAM(POS, 9999999999, 25, 25)
  5104. ApplyAoE(POS, 450, true)
  5105. WACKYEFFECT({
  5106. Time = 85,
  5107. EffectType = "Sphere",
  5108. Size = VT(120, 120, 120),
  5109. Size2 = VT(350, 350, 350),
  5110. Transparency = 0,
  5111. Transparency2 = 1,
  5112. CFrame = CF(POS),
  5113. MoveToPos = nil,
  5114. RotationX = 0,
  5115. RotationY = 0,
  5116. RotationZ = 0,
  5117. Material = "Neon",
  5118. Color = C3(1, 1, 1),
  5119. SoundID = nil,
  5120. SoundPitch = 1,
  5121. SoundVolume = 10
  5122. })
  5123. for i = 1, 20 do
  5124. WACKYEFFECT({
  5125. Time = 85,
  5126. EffectType = "Sphere",
  5127. Size = VT(120, 120, 120),
  5128. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  5129. Transparency = 0.8,
  5130. Transparency2 = 1,
  5131. CFrame = CF(POS),
  5132. MoveToPos = nil,
  5133. RotationX = 0,
  5134. RotationY = 0,
  5135. RotationZ = 0,
  5136. Material = "Neon",
  5137. Color = C3(0, 1, 0),
  5138. SoundID = nil,
  5139. SoundPitch = 1,
  5140. SoundVolume = 10
  5141. })
  5142. WACKYEFFECT({
  5143. Time = 100,
  5144. EffectType = "Wave",
  5145. Size = VT(25, 2, 25),
  5146. Size2 = VT(400, 0, 400) * 1.2,
  5147. Transparency = 0,
  5148. Transparency2 = 1,
  5149. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5150. MoveToPos = nil,
  5151. RotationX = 0,
  5152. RotationY = 0,
  5153. RotationZ = 0,
  5154. Material = "Neon",
  5155. Color = C3(0, 0, 0),
  5156. SoundID = nil,
  5157. SoundPitch = nil,
  5158. SoundVolume = nil
  5159. })
  5160. end
  5161. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5162. for i = 1, 5 do
  5163. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  5164. WACKYEFFECT({
  5165. Time = 120,
  5166. EffectType = "Wave",
  5167. Size = VT(150, 2, 150),
  5168. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  5169. Transparency = 0,
  5170. Transparency2 = 1,
  5171. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  5172. MoveToPos = nil,
  5173. RotationX = 0,
  5174. RotationY = 0,
  5175. RotationZ = 0,
  5176. Material = "Neon",
  5177. Color = C3(1, 0, 0),
  5178. SoundID = nil,
  5179. SoundPitch = nil,
  5180. SoundVolume = nil
  5181. })
  5182. end
  5183. end))
  5184. for i = 0, 1, 0.1 / Animation_Speed do
  5185. Swait()
  5186. 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)
  5187. 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)
  5188. 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)
  5189. 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)
  5190. 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)
  5191. 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)
  5192. end
  5193. ATTACK = false
  5194. Rooted = false
  5195. end))
  5196. for i = 1, 30 do
  5197. wait(0.01)
  5198. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  5199. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5200. if HITFLOOR then
  5201. ApplyAoE(HITPOS, 65, true)
  5202. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  5203. WACKYEFFECT({
  5204. Time = 25,
  5205. EffectType = "Sphere",
  5206. Size = VT(22, 22, 22),
  5207. Size2 = VT(85, 85, 85),
  5208. Transparency = 0,
  5209. Transparency2 = 1,
  5210. CFrame = CF(HITPOS),
  5211. MoveToPos = nil,
  5212. RotationX = 0,
  5213. RotationY = 0,
  5214. RotationZ = 0,
  5215. Material = "Neon",
  5216. Color = C3(0, 0, 0),
  5217. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  5218. SoundPitch = MRANDOM(9, 12) / 10,
  5219. SoundVolume = 10
  5220. })
  5221. for e = 1, 3 do
  5222. WACKYEFFECT({
  5223. EffectType = "Wave",
  5224. Size = VT(25, 0, 25),
  5225. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  5226. Transparency = 0,
  5227. Transparency2 = 1,
  5228. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  5229. MoveToPos = nil,
  5230. RotationX = 0,
  5231. RotationY = 3,
  5232. RotationZ = 0,
  5233. Material = "Neon",
  5234. Color = C3(0, 1, 0),
  5235. SoundID = nil,
  5236. SoundPitch = nil,
  5237. SoundVolume = nil
  5238. })
  5239. WACKYEFFECT({
  5240. Time = 35,
  5241. EffectType = "Sphere",
  5242. Size = VT(22, 45, 22),
  5243. Size2 = VT(25, 45 + e * 75, 25),
  5244. Transparency = 0,
  5245. Transparency2 = 1,
  5246. CFrame = CF(HITPOS) * TURN,
  5247. MoveToPos = nil,
  5248. RotationX = 0,
  5249. RotationY = 0,
  5250. RotationZ = 0,
  5251. Material = "Neon",
  5252. Color = C3(1, 1, 1),
  5253. SoundID = nil,
  5254. SoundPitch = MRANDOM(9, 12) / 10,
  5255. SoundVolume = 10
  5256. })
  5257. end
  5258. end
  5259. end
  5260. CHARGE = true
  5261. end
  5262.  
  5263. function Taunt()
  5264. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  5265. ATTACK = true
  5266. Rooted = true
  5267. for i=0, 0.3, 0.1 / Animation_Speed do
  5268. Swait()
  5269. 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)
  5270. 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)
  5271. 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)
  5272. 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)
  5273. if HITFLOOR then
  5274. 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)
  5275. 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)
  5276. elseif HITFLOOR == nil then
  5277. 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)
  5278. 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)
  5279. end
  5280. end
  5281. for i = 1, 8 do
  5282. for i=0, 0.2, 0.1 / Animation_Speed do
  5283. Swait()
  5284. 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)
  5285. 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)
  5286. 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)
  5287. 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)
  5288. if HITFLOOR then
  5289. 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)
  5290. 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)
  5291. elseif HITFLOOR == nil then
  5292. 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)
  5293. 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)
  5294. end
  5295. end
  5296. CreateSound(FireSound, Gun1, 5, 1, false)
  5297. for i=0, 0.2, 0.1 / Animation_Speed do
  5298. Swait()
  5299. 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)
  5300. 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)
  5301. 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)
  5302. 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)
  5303. if HITFLOOR then
  5304. 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)
  5305. 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)
  5306. elseif HITFLOOR == nil then
  5307. 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)
  5308. 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)
  5309. end
  5310. end
  5311. CreateSound(FireSound, Gun2, 5, 1, false)
  5312. end
  5313. ATTACK = false
  5314. Rooted = false
  5315. end
  5316. --//=================================\\
  5317. --|| ASSIGN THINGS TO KEYS
  5318. --\\=================================//
  5319.  
  5320. function MouseDown(Mouse)
  5321. if ATTACK == false then
  5322. end
  5323. end
  5324.  
  5325. function MouseUp(Mouse)
  5326. HOLD = falseW
  5327. end
  5328.  
  5329. function KeyDown(Key)
  5330. KEYHOLD = true
  5331. if Key == "z" and ATTACK == false then
  5332. Shot()
  5333. end
  5334.  
  5335. if Key == "b" and ATTACK == false then
  5336. Kick()
  5337. end
  5338.  
  5339. if Key == "n" and ATTACK == false then
  5340. Punch()
  5341. end
  5342.  
  5343. if Key == "t" and ATTACK == false then
  5344. Taunt()
  5345. end
  5346.  
  5347. if Key == "c" and ATTACK == false then
  5348. kiss()
  5349. end
  5350.  
  5351. if Key == "v" and ATTACK == false then
  5352. Oblivion()
  5353. end
  5354.  
  5355. if Key == "x" and ATTACK == false then
  5356. Nuke()
  5357. end
  5358. end
  5359.  
  5360. function KeyUp(Key)
  5361. KEYHOLD = false
  5362. end
  5363.  
  5364. Mouse.Button1Down:connect(function(NEWKEY)
  5365. MouseDown(NEWKEY)
  5366. end)
  5367. Mouse.Button1Up:connect(function(NEWKEY)
  5368. MouseUp(NEWKEY)
  5369. end)
  5370. Mouse.KeyDown:connect(function(NEWKEY)
  5371. KeyDown(NEWKEY)
  5372. end)
  5373. Mouse.KeyUp:connect(function(NEWKEY)
  5374. KeyUp(NEWKEY)
  5375. end)
  5376.  
  5377. --//=================================\\
  5378. --\\=================================//
  5379.  
  5380.  
  5381. function unanchor()
  5382. if UNANCHOR == true then
  5383. g = Character:GetChildren()
  5384. for i = 1, #g do
  5385. if g[i].ClassName == "Part" then
  5386. g[i].Anchored = false
  5387. end
  5388. end
  5389. end
  5390. end
  5391.  
  5392.  
  5393. --//=================================\\
  5394. --|| WRAP THE WHOLE SCRIPT UP
  5395. --\\=================================//
  5396.  
  5397. Humanoid.Changed:connect(function(Jump)
  5398. if Jump == "Jump" and (Disable_Jump == true) then
  5399. Humanoid.Jump = false
  5400. end
  5401. end)
  5402.  
  5403. local CONNECT = nil
  5404.  
  5405. while true do
  5406. Swait()
  5407. ANIMATE.Parent = nil
  5408. if Character:FindFirstChildOfClass("Humanoid") == nil then
  5409. Humanoid = IT("Humanoid",Character)
  5410. end
  5411. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  5412. v:Stop();
  5413. end
  5414. SINE = SINE + CHANGE
  5415. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  5416. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  5417. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  5418. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  5419. if ANIM == "Walk" and TORSOVELOCITY > 1 and NOWALK == false then
  5420. 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)
  5421. 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)
  5422. 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)
  5423. 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)
  5424. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or NOWALK == true then
  5425. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5426. 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)
  5427. 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)
  5428. 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)
  5429. end
  5430. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  5431. ANIM = "Jump"
  5432. if ATTACK == false then
  5433. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  5437. 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)
  5438. 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)
  5439. end
  5440. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  5441. ANIM = "Fall"
  5442. if ATTACK == false then
  5443. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5444. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5445. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5446. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  5447. 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)
  5448. 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)
  5449. end
  5450. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  5451. ANIM = "Idle"
  5452. if ATTACK == false then
  5453. 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)
  5454. 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)
  5455. 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)
  5456. 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)
  5457. 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)
  5458. 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)
  5459. end
  5460. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  5461. ANIM = "Walk"
  5462. if ATTACK == false then
  5463. 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)
  5464. 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)
  5465. 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)
  5466. 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)
  5467. 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)
  5468. 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)
  5469. end
  5470. end
  5471. unanchor()
  5472. Humanoid.MaxHealth = "inf"
  5473. Humanoid.Health = "inf"
  5474. if Rooted == false then
  5475. Disable_Jump = false
  5476. Humanoid.WalkSpeed = Speed
  5477. elseif Rooted == true then
  5478. Disable_Jump = true
  5479. Humanoid.WalkSpeed = 0
  5480. end
  5481.  
  5482. sick.Parent = Torso
  5483. sick:resume()
  5484. sick.Volume = 1
  5485. sick.Pitch = 1
  5486. sick.SoundId = "rbxassetid://733456981"
  5487. sick.Name = "Un sen"
  5488. end
  5489. --//=================================\\
  5490. --\\=================================//
  5491.  
  5492.  
  5493. --//====================================================\\--
  5494. --|| END OF SCRIPT
  5495. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment