Advertisement
Guest_84210423435

;/

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