Advertisement
SirMemz

Untitled

May 1st, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 80.19 KB | None | 0 0
  1. wait(0.2)
  2.  
  3. Player = game:GetService("Players").LocalPlayer
  4. PlayerGui = Player.PlayerGui
  5. Cam = workspace.CurrentCamera
  6. Backpack = Player.Backpack
  7. Character = Player.Character
  8. Humanoid = Character.Humanoid
  9. Mouse = Player:GetMouse()
  10. RootPart = Character["HumanoidRootPart"]
  11. Torso = Character["Torso"]
  12. Head = Character["Head"]
  13. RightArm = Character["Right Arm"]
  14. LeftArm = Character["Left Arm"]
  15. RightLeg = Character["Right Leg"]
  16. LeftLeg = Character["Left Leg"]
  17. RootJoint = RootPart["RootJoint"]
  18. Neck = Torso["Neck"]
  19. RightShoulder = Torso["Right Shoulder"]
  20. LeftShoulder = Torso["Left Shoulder"]
  21. RightHip = Torso["Right Hip"]
  22. LeftHip = Torso["Left Hip"]
  23. local sick = Instance.new("Sound",Torso)
  24. sick.SoundId = "rbxassetid://854790215"
  25. sick.Looped = true
  26. sick.Pitch = 1
  27. sick.Volume = 3
  28. sick:Play()
  29.  
  30. IT = Instance.new
  31. CF = CFrame.new
  32. VT = Vector3.new
  33. RAD = math.rad
  34. C3 = Color3.new
  35. UD2 = UDim2.new
  36. BRICKC = BrickColor.new
  37. ANGLES = CFrame.Angles
  38. EULER = CFrame.fromEulerAnglesXYZ
  39. COS = math.cos
  40. ACOS = math.acos
  41. SIN = math.sin
  42. ASIN = math.asin
  43. ABS = math.abs
  44. MRANDOM = math.random
  45. FLOOR = math.floor
  46.  
  47. --//=================================\\
  48. --|| USEFUL VALUES
  49. --\\=================================//
  50.  
  51. Animation_Speed = 3
  52. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  53. local Speed = 35
  54. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  55. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  56. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  57. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  58. local DAMAGEMULTIPLIER = 1
  59. local ANIM = "Idle"
  60. local ATTACK = false
  61. local EQUIPPED = false
  62. local HOLD = false
  63. local COMBO = 1
  64. local Rooted = false
  65. local SINE = 0
  66. local KEYHOLD = false
  67. local CHANGE = 2 / Animation_Speed
  68. local WALKINGANIM = false
  69. local VALUE1 = false
  70. local VALUE2 = false
  71. local ROBLOXIDLEANIMATION = IT("Animation")
  72. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  73. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  74. --ROBLOXIDLEANIMATION.Parent = Humanoid
  75. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  76. WEAPONGUI.Name = "Weapon GUI"
  77. local Effects = IT("Folder", Character)
  78. Effects.Name = "Effects"
  79. local ANIMATOR = Humanoid.Animator
  80. local ANIMATE = Character.Animate
  81. local UNANCHOR = true
  82. local LAUGHS = {834001699,834001752,834001797,834001828}
  83. local SONGS = {854790215,854790215,854790215,0}
  84. local CHOICE = MRANDOM(1,4)
  85.  
  86. --//=================================\\
  87. --\\=================================//
  88.  
  89.  
  90. --//=================================\\
  91. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  92. --\\=================================//
  93.  
  94. ArtificialHB = Instance.new("BindableEvent", script)
  95. ArtificialHB.Name = "ArtificialHB"
  96.  
  97. script:WaitForChild("ArtificialHB")
  98.  
  99. frame = Frame_Speed
  100. tf = 0
  101. allowframeloss = false
  102. tossremainder = false
  103. lastframe = tick()
  104. script.ArtificialHB:Fire()
  105.  
  106. game:GetService("RunService").Heartbeat:connect(function(s, p)
  107. tf = tf + s
  108. if tf >= frame then
  109. if allowframeloss then
  110. script.ArtificialHB:Fire()
  111. lastframe = tick()
  112. else
  113. for i = 1, math.floor(tf / frame) do
  114. script.ArtificialHB:Fire()
  115. end
  116. lastframe = tick()
  117. end
  118. if tossremainder then
  119. tf = 0
  120. else
  121. tf = tf - frame * math.floor(tf / frame)
  122. end
  123. end
  124. end)
  125.  
  126. --//=================================\\
  127. --\\=================================//
  128.  
  129. --//=================================\\
  130. --|| SOME FUNCTIONS
  131. --\\=================================//
  132.  
  133. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  134. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  135. end
  136.  
  137. function PositiveAngle(NUMBER)
  138. if NUMBER >= 0 then
  139. NUMBER = 0
  140. end
  141. return NUMBER
  142. end
  143.  
  144. function NegativeAngle(NUMBER)
  145. if NUMBER <= 0 then
  146. NUMBER = 0
  147. end
  148. return NUMBER
  149. end
  150.  
  151. function Swait(NUMBER)
  152. if NUMBER == 0 or NUMBER == nil then
  153. ArtificialHB.Event:wait()
  154. else
  155. for i = 1, NUMBER do
  156. ArtificialHB.Event:wait()
  157. end
  158. end
  159. end
  160.  
  161. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  162. local NEWMESH = IT(MESH)
  163. if MESH == "SpecialMesh" then
  164. NEWMESH.MeshType = MESHTYPE
  165. if MESHID ~= "nil" and MESHID ~= "" then
  166. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  167. end
  168. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  169. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  170. end
  171. end
  172. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  173. NEWMESH.Scale = SCALE
  174. NEWMESH.Parent = PARENT
  175. return NEWMESH
  176. end
  177.  
  178. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  179. local NEWPART = IT("Part")
  180. NEWPART.formFactor = FORMFACTOR
  181. NEWPART.Reflectance = REFLECTANCE
  182. NEWPART.Transparency = TRANSPARENCY
  183. NEWPART.CanCollide = false
  184. NEWPART.Locked = true
  185. NEWPART.Anchored = true
  186. if ANCHOR == false then
  187. NEWPART.Anchored = false
  188. end
  189. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  190. NEWPART.Name = NAME
  191. NEWPART.Size = SIZE
  192. NEWPART.Position = Torso.Position
  193. NEWPART.Material = MATERIAL
  194. NEWPART:BreakJoints()
  195. NEWPART.Parent = PARENT
  196. return NEWPART
  197. end
  198.  
  199. local function weldBetween(a, b)
  200. local weldd = IT("Weld")
  201. weldd.Part0 = a
  202. weldd.Part1 = b
  203. weldd.C0 = CF()
  204. weldd.C1 = b.CFrame:inverse() * a.CFrame
  205. weldd.Parent = a
  206. return weldd
  207. end
  208.  
  209.  
  210. function QuaternionFromCFrame(cf)
  211. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  212. local trace = m00 + m11 + m22
  213. if trace > 0 then
  214. local s = math.sqrt(1 + trace)
  215. local recip = 0.5 / s
  216. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  217. else
  218. local i = 0
  219. if m11 > m00 then
  220. i = 1
  221. end
  222. if m22 > (i == 0 and m00 or m11) then
  223. i = 2
  224. end
  225. if i == 0 then
  226. local s = math.sqrt(m00 - m11 - m22 + 1)
  227. local recip = 0.5 / s
  228. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  229. elseif i == 1 then
  230. local s = math.sqrt(m11 - m22 - m00 + 1)
  231. local recip = 0.5 / s
  232. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  233. elseif i == 2 then
  234. local s = math.sqrt(m22 - m00 - m11 + 1)
  235. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  236. end
  237. end
  238. end
  239.  
  240. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  241. local xs, ys, zs = x + x, y + y, z + z
  242. local wx, wy, wz = w * xs, w * ys, w * zs
  243. local xx = x * xs
  244. local xy = x * ys
  245. local xz = x * zs
  246. local yy = y * ys
  247. local yz = y * zs
  248. local zz = z * zs
  249. 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))
  250. end
  251.  
  252. function QuaternionSlerp(a, b, t)
  253. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  254. local startInterp, finishInterp;
  255. if cosTheta >= 0.0001 then
  256. if (1 - cosTheta) > 0.0001 then
  257. local theta = ACOS(cosTheta)
  258. local invSinTheta = 1 / SIN(theta)
  259. startInterp = SIN((1 - t) * theta) * invSinTheta
  260. finishInterp = SIN(t * theta) * invSinTheta
  261. else
  262. startInterp = 1 - t
  263. finishInterp = t
  264. end
  265. else
  266. if (1 + cosTheta) > 0.0001 then
  267. local theta = ACOS(-cosTheta)
  268. local invSinTheta = 1 / SIN(theta)
  269. startInterp = SIN((t - 1) * theta) * invSinTheta
  270. finishInterp = SIN(t * theta) * invSinTheta
  271. else
  272. startInterp = t - 1
  273. finishInterp = t
  274. end
  275. end
  276. 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
  277. end
  278.  
  279. function Clerp(a, b, t)
  280. local qa = {QuaternionFromCFrame(a)}
  281. local qb = {QuaternionFromCFrame(b)}
  282. local ax, ay, az = a.x, a.y, a.z
  283. local bx, by, bz = b.x, b.y, b.z
  284. local _t = 1 - t
  285. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  286. end
  287.  
  288. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  289. local frame = IT("Frame")
  290. frame.BackgroundTransparency = TRANSPARENCY
  291. frame.BorderSizePixel = BORDERSIZEPIXEL
  292. frame.Position = POSITION
  293. frame.Size = SIZE
  294. frame.BackgroundColor3 = COLOR
  295. frame.BorderColor3 = BORDERCOLOR
  296. frame.Name = NAME
  297. frame.Parent = PARENT
  298. return frame
  299. end
  300.  
  301. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  302. local label = IT("TextLabel")
  303. label.BackgroundTransparency = 1
  304. label.Size = UD2(1, 0, 1, 0)
  305. label.Position = UD2(0, 0, 0, 0)
  306. label.TextColor3 = TEXTCOLOR
  307. label.TextStrokeTransparency = STROKETRANSPARENCY
  308. label.TextTransparency = TRANSPARENCY
  309. label.FontSize = TEXTFONTSIZE
  310. label.Font = TEXTFONT
  311. label.BorderSizePixel = BORDERSIZEPIXEL
  312. label.TextScaled = false
  313. label.Text = TEXT
  314. label.Name = NAME
  315. label.Parent = PARENT
  316. return label
  317. end
  318.  
  319. function NoOutlines(PART)
  320. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  321. end
  322.  
  323. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  324. local NEWWELD = IT(TYPE)
  325. NEWWELD.Part0 = PART0
  326. NEWWELD.Part1 = PART1
  327. NEWWELD.C0 = C0
  328. NEWWELD.C1 = C1
  329. NEWWELD.Parent = PARENT
  330. return NEWWELD
  331. end
  332.  
  333. local S = IT("Sound")
  334. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  335. local NEWSOUND = nil
  336. coroutine.resume(coroutine.create(function()
  337. NEWSOUND = S:Clone()
  338. NEWSOUND.Parent = PARENT
  339. NEWSOUND.Volume = VOLUME
  340. NEWSOUND.Pitch = PITCH
  341. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  342. NEWSOUND:play()
  343. if DOESLOOP == true then
  344. NEWSOUND.Looped = true
  345. else
  346. repeat wait(1) until NEWSOUND.Playing == false
  347. NEWSOUND:remove()
  348. end
  349. end))
  350. return NEWSOUND
  351. end
  352.  
  353. function CFrameFromTopBack(at, top, back)
  354. local right = top:Cross(back)
  355. 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)
  356. end
  357.  
  358. --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})
  359. function WACKYEFFECT(Table)
  360. local TYPE = (Table.EffectType or "Sphere")
  361. local SIZE = (Table.Size or VT(1,1,1))
  362. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  363. local TRANSPARENCY = (Table.Transparency or 0)
  364. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  365. local CFRAME = (Table.CFrame or Torso.CFrame)
  366. local MOVEDIRECTION = (Table.MoveToPos or nil)
  367. local ROTATION1 = (Table.RotationX or 0)
  368. local ROTATION2 = (Table.RotationY or 0)
  369. local ROTATION3 = (Table.RotationZ or 0)
  370. local MATERIAL = (Table.Material or "Neon")
  371. local COLOR = (Table.Color or C3(1,1,1))
  372. local TIME = (Table.Time or 45)
  373. local SOUNDID = (Table.SoundID or nil)
  374. local SOUNDPITCH = (Table.SoundPitch or nil)
  375. local SOUNDVOLUME = (Table.SoundVolume or nil)
  376. coroutine.resume(coroutine.create(function()
  377. local PLAYSSOUND = false
  378. local SOUND = nil
  379. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  380. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  381. PLAYSSOUND = true
  382. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  383. end
  384. EFFECT.Color = COLOR
  385. local MSH = nil
  386. if TYPE == "Sphere" then
  387. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  388. elseif TYPE == "Block" then
  389. MSH = IT("BlockMesh",EFFECT)
  390. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  391. elseif TYPE == "Wave" then
  392. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  393. elseif TYPE == "Ring" then
  394. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  395. elseif TYPE == "Slash" then
  396. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  397. elseif TYPE == "Round Slash" then
  398. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  399. elseif TYPE == "Swirl" then
  400. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  401. elseif TYPE == "Skull" then
  402. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  403. elseif TYPE == "Crystal" then
  404. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  405. end
  406. if MSH ~= nil then
  407. local MOVESPEED = nil
  408. if MOVEDIRECTION ~= nil then
  409. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  410. end
  411. local GROWTH = SIZE - ENDSIZE
  412. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  413. if TYPE == "Block" then
  414. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  415. else
  416. EFFECT.CFrame = CFRAME
  417. end
  418. for LOOP = 1, TIME+1 do
  419. Swait()
  420. MSH.Scale = MSH.Scale - GROWTH/TIME
  421. if TYPE == "Wave" then
  422. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  423. end
  424. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  425. if TYPE == "Block" then
  426. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  427. else
  428. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  429. end
  430. if MOVEDIRECTION ~= nil then
  431. local ORI = EFFECT.Orientation
  432. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  433. EFFECT.Orientation = ORI
  434. end
  435. end
  436. if PLAYSSOUND == false then
  437. EFFECT:remove()
  438. else
  439. SOUND.Stopped:Connect(function()
  440. EFFECT:remove()
  441. end)
  442. end
  443. else
  444. if PLAYSSOUND == false then
  445. EFFECT:remove()
  446. else
  447. repeat Swait() until SOUND.Playing == false
  448. EFFECT:remove()
  449. end
  450. end
  451. end))
  452. end
  453.  
  454. function MakeForm(PART,TYPE)
  455. if TYPE == "Cyl" then
  456. local MSH = IT("CylinderMesh",PART)
  457. elseif TYPE == "Ball" then
  458. local MSH = IT("SpecialMesh",PART)
  459. MSH.MeshType = "Sphere"
  460. elseif TYPE == "Wedge" then
  461. local MSH = IT("SpecialMesh",PART)
  462. MSH.MeshType = "Wedge"
  463. end
  464. end
  465.  
  466. Debris = game:GetService("Debris")
  467.  
  468. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  469. local DIRECTION = CF(StartPos,EndPos).lookVector
  470. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  471. end
  472.  
  473. function turnto(position)
  474. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  475. end
  476.  
  477. function SpawnTrail(FROM,TO,BIG)
  478. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep blue", "Trail", VT(0,0,0))
  479. MakeForm(TRAIL,"Cyl")
  480. local DIST = (FROM - TO).Magnitude
  481. if BIG == true then
  482. TRAIL.Size = VT(0.5,DIST,0.5)
  483. else
  484. TRAIL.Size = VT(0.25,DIST,0.25)
  485. end
  486. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  487. coroutine.resume(coroutine.create(function()
  488. for i = 1, 5 do
  489. Swait()
  490. TRAIL.Transparency = TRAIL.Transparency + 0.1
  491. end
  492. TRAIL:remove()
  493. end))
  494. end
  495.  
  496. local asd = Instance.new("ParticleEmitter")
  497. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  498. asd.LightEmission = .1
  499. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  500. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  501. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  502. asd.Transparency = bbb
  503. asd.Size = aaa
  504. asd.ZOffset = .9
  505. asd.Acceleration = Vector3.new(0, -15, 0)
  506. asd.LockedToPart = false
  507. asd.EmissionDirection = "Back"
  508. asd.Lifetime = NumberRange.new(1, 2)
  509. asd.Rotation = NumberRange.new(-100, 100)
  510. asd.RotSpeed = NumberRange.new(-100, 100)
  511. asd.Speed = NumberRange.new(10)
  512. asd.Enabled = false
  513. asd.VelocitySpread = 999
  514.  
  515. function getbloody(victim,amount)
  516. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  517. PART.CFrame = victim.CFrame
  518. local HITPLAYERSOUNDS = {"356551938","264486467"}
  519. Debris:AddItem(PART,5)
  520. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  521. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  522. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  523. local prtcl = asd:Clone()
  524. prtcl.Parent = PART
  525. prtcl:Emit(amount*10)
  526. end
  527.  
  528. local Particle = IT("ParticleEmitter",nil)
  529. Particle.Enabled = false
  530. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  531. Particle.LightEmission = 0.5
  532. Particle.Rate = 150
  533. Particle.ZOffset = 1
  534. Particle.Rotation = NumberRange.new(-180, 180)
  535. Particle.RotSpeed = NumberRange.new(-180, 180)
  536. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  537. Particle.Color = ColorSequence.new(C3(1,0,1,2),C3(1,0,1,2))
  538.  
  539. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  540. function ParticleEmitter(Table)
  541. local PRTCL = Particle:Clone()
  542. local Speed = Table.Speed or 5
  543. local Drag = Table.Drag or 0
  544. local Size1 = Table.Size1 or 1
  545. local Size2 = Table.Size2 or 5
  546. local Lifetime1 = Table.Lifetime1 or 1
  547. local Lifetime2 = Table.Lifetime2 or 1.5
  548. local Parent = Table.Parent or Torso
  549. local Emit = Table.Emit or 100
  550. local Offset = Table.Offset or 360
  551. local Acel = Table.Acel or VT(0,0,0)
  552. local Enabled = Table.Enabled or false
  553. PRTCL.Parent = Parent
  554. PRTCL.Size = NumberSequence.new(Size1,Size2)
  555. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  556. PRTCL.Speed = NumberRange.new(Speed)
  557. PRTCL.VelocitySpread = Offset
  558. PRTCL.Drag = Drag
  559. PRTCL.Acceleration = Acel
  560. if Enabled == false then
  561. PRTCL:Emit(Emit)
  562. Debris:AddItem(PRTCL,Lifetime2)
  563. else
  564. PRTCL.Enabled = true
  565. end
  566. return PRTCL
  567. end
  568.  
  569. --//=================================\\
  570. --|| WEAPON CREATION
  571. --\\=================================//
  572.  
  573. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.2,1.2,0.2),false)
  574. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  575. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.2,0.8,0.2),false)
  576. MakeForm(Part,"Wedge")
  577. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  578. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.3,0.5,0.6),false)
  579. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  580. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.4,0.4,0.4),false)
  581. MakeForm(Part,"Cyl")
  582. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  583. for i = 1, 8 do
  584. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Eye", VT(0,0.35,0.41),false)
  585. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  586. end
  587. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.2,0.5,0.2),false)
  588. MakeForm(Part,"Wedge")
  589. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  590. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Eye", VT(0.39,0.41,0.39),false)
  591. MakeForm(Part,"Cyl")
  592. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  593. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.3,0.5,0.5),false)
  594. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  595. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.3,0.4,0.5),false)
  596. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  597. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.2,0,0.6),false)
  598. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  599. local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
  600. MakeForm(RightBarrel,"Cyl")
  601. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  602. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0,0.2,0.2),false)
  603. MakeForm(Part,"Wedge")
  604. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  605. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Eye", VT(0.2,0,0.2),false)
  606. MakeForm(RightHole,"Cyl")
  607. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  608. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.2,1.2,0.2),false)
  609. local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  610. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.2,0.8,0.2),false)
  611. MakeForm(Part,"Wedge")
  612. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  613. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.3,0.5,0.6),false)
  614. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  615. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.4,0.4,0.4),false)
  616. MakeForm(Part,"Cyl")
  617. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  618. for i = 1, 8 do
  619. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Eye", VT(0,0.35,0.41),false)
  620. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  621. end
  622. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.2,0.5,0.2),false)
  623. MakeForm(Part,"Wedge")
  624. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  625. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Eye", VT(0.39,0.41,0.39),false)
  626. MakeForm(Part,"Cyl")
  627. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  628. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.3,0.5,0.5),false)
  629. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  630. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.3,0.4,0.5),false)
  631. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  632. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.2,0,0.6),false)
  633. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  634. local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0.28,5,0.28),false)
  635. MakeForm(LeftBarrel,"Cyl")
  636. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  637. local Part = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Part", VT(0,0.2,0.2),false)
  638. MakeForm(Part,"Wedge")
  639. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  640. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Deep blue", "Eye", VT(0.2,0,0.2),false)
  641. MakeForm(LeftHole,"Cyl")
  642. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  643. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Deep blue", "Eye", VT(0.6,0.1,1)/2,false)
  644. MakeForm(Eye,"Ball")
  645. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  646. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Deep blue", "Eye", VT(0.6,0.1,1)/2,false)
  647. MakeForm(Eye,"Ball")
  648. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  649. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Deep blue", "Eye", VT(0.1,1,1)/2,false)
  650. MakeForm(Eye,"Ball")
  651. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  652. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Deep blue", "Eye", VT(0.1,1,1)/2,false)
  653. MakeForm(Eye,"Ball")
  654. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  655. local A = IT("Attachment",Torso)
  656. A.Position = VT(1,1.3,0)
  657. A.Orientation = VT(-0.098, -89.999, 0.227)
  658. local B = IT("Attachment",Torso)
  659. B.Position = VT(-1.3,-0.6,0)
  660. B.Orientation = VT(-88.911, -68.808, 158.782)
  661. local ChainLink = IT("Beam",Torso)
  662. ChainLink.Texture = "rbxassetid://73042633"
  663. ChainLink.Color = ColorSequence.new(C3(1,0,1,2))
  664. ChainLink.TextureSpeed = 1
  665. ChainLink.FaceCamera = true
  666. ChainLink.Width0 = 1
  667. ChainLink.Width1 = 1
  668. ChainLink.TextureLength = 3
  669. ChainLink.Attachment0 = A
  670. ChainLink.Attachment1 = B
  671. ChainLink.CurveSize0 = 1.6
  672. ChainLink.CurveSize1 = 1.6
  673. ChainLink.FaceCamera = true
  674. ChainLink.Transparency = NumberSequence.new(0)
  675. local ChainLink = IT("Beam",Torso)
  676. ChainLink.Texture = "rbxassetid://73042633"
  677. ChainLink.Color = ColorSequence.new(C3(1,0,1,2))
  678. ChainLink.TextureSpeed = 1
  679. ChainLink.FaceCamera = true
  680. ChainLink.Width0 = 1
  681. ChainLink.Width1 = 1
  682. ChainLink.TextureLength = 3
  683. ChainLink.Attachment0 = B
  684. ChainLink.Attachment1 = A
  685. ChainLink.CurveSize0 = 1.6
  686. ChainLink.CurveSize1 = 1.6
  687. ChainLink.FaceCamera = true
  688. ChainLink.Transparency = NumberSequence.new(0)
  689. local A = IT("Attachment",Torso)
  690. A.Position = VT(1.3,-0.85,0)
  691. A.Orientation = VT(-0.098, -89.999, 0.227)
  692. local B = IT("Attachment",Torso)
  693. B.Position = VT(-1,2,0)
  694. B.Orientation = VT(-88.911, -68.808, 158.782)
  695. local ChainLink = IT("Beam",Torso)
  696. ChainLink.Texture = "rbxassetid://73042633"
  697. ChainLink.Color = ColorSequence.new(C3(1,0,1,2))
  698. ChainLink.TextureSpeed = 1
  699. ChainLink.FaceCamera = true
  700. ChainLink.Width0 = 1
  701. ChainLink.Width1 = 1
  702. ChainLink.TextureLength = 3
  703. ChainLink.Attachment0 = A
  704. ChainLink.Attachment1 = B
  705. ChainLink.CurveSize0 = 1.3
  706. ChainLink.CurveSize1 = 1.3
  707. ChainLink.FaceCamera = true
  708. ChainLink.Transparency = NumberSequence.new(0)
  709. local ChainLink = IT("Beam",Torso)
  710. ChainLink.Texture = "rbxassetid://73042633"
  711. ChainLink.Color = ColorSequence.new(C3(1,0,1,2))
  712. ChainLink.TextureSpeed = 1
  713. ChainLink.FaceCamera = true
  714. ChainLink.Width0 = 1
  715. ChainLink.Width1 = 1
  716. ChainLink.TextureLength = 3
  717. ChainLink.Attachment0 = B
  718. ChainLink.Attachment1 = A
  719. ChainLink.CurveSize0 = 1.3
  720. ChainLink.CurveSize1 = 1.3
  721. ChainLink.FaceCamera = true
  722. ChainLink.Transparency = NumberSequence.new(0)
  723.  
  724. local A = IT("Attachment",RightBarrel)
  725. A.Position = VT(0,-2.5,0)
  726. local B = IT("Attachment",RightBarrel)
  727. B.Position = VT(0,2.5,0)
  728. local Trail = IT("Trail",RightBarrel)
  729. Trail.Attachment0 = A
  730. Trail.Attachment1 = B
  731. Trail.Lifetime = 0.2
  732. Trail.Color = ColorSequence.new(BRICKC"Deep blue".Color)
  733. Trail.Transparency = NumberSequence.new(0, 1)
  734. Trail.Enabled = false
  735.  
  736. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  737. PRT.LockedToPart = true
  738. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  739. PRT.LockedToPart = true
  740. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  741. PRT.LockedToPart = true
  742. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  743. PRT.LockedToPart = true
  744. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  745. PRT.LockedToPart = true
  746. for _, c in pairs(Character:GetDescendants()) do
  747. if c and c.Parent then
  748. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  749. local ACCESSORY = c.Parent
  750. c.Parent = Character
  751. if c then
  752. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  753. weldBetween(Head,c)
  754. else
  755. weldBetween(Torso,c)
  756. end
  757. end
  758. ACCESSORY:remove()
  759. elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  760. c.Material = "Neon"
  761. c.Color = C3(0,0,0)
  762. if c:FindFirstChildOfClass("SpecialMesh") then
  763. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  764. end
  765. if c == Head then
  766. if c:FindFirstChild("face") then
  767. c.face:remove()
  768. end
  769. end
  770. elseif c.ClassName == "Part" and c.Name == "Eye" then
  771. c.Color = C3(1,0,1,2)
  772. c.Material = "Neon"
  773. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  774. c:remove()
  775. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  776. c:remove()
  777. end
  778. end
  779. end
  780. local BODY = {}
  781. for _, c in pairs(Character:GetDescendants()) do
  782. if c:IsA("BasePart") and c.Name ~= "Handle" then
  783. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  784. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  785. end
  786. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  787. elseif c:IsA("JointInstance") then
  788. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  789. end
  790. end
  791. function refit()
  792. Character.Parent = workspace
  793. for e = 1, #BODY do
  794. if BODY[e] ~= nil then
  795. local STUFF = BODY[e]
  796. local PART = STUFF[1]
  797. local PARENT = STUFF[2]
  798. local MATERIAL = STUFF[3]
  799. local COLOR = STUFF[4]
  800. local TRANSPARENCY = STUFF[5]
  801. --local SIZE = STUFF[6]
  802. local NAME = STUFF[7]
  803. if PART.ClassName == "Part" and PART ~= RootPart then
  804. PART.Material = MATERIAL
  805. PART.Transparency = TRANSPARENCY
  806. PART.Name = NAME
  807. end
  808. if PART.Parent ~= PARENT then
  809. Humanoid:remove()
  810. PART.Parent = PARENT
  811. Humanoid = IT("Humanoid",Character)
  812. end
  813. end
  814. end
  815. end
  816.  
  817. local SKILLTEXTCOLOR = C3(1,0,1,2)
  818. local SKILLFONT = "Fantasy"
  819. local SKILLTEXTSIZE = 6
  820.  
  821. Humanoid.Died:connect(function()
  822. refit()
  823. end)
  824.  
  825. 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")
  826. 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")
  827. 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")
  828. 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")
  829. 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")
  830. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  831. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  832.  
  833. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
  834. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Lift", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
  835. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Cleave", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  836. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Lock n' load", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  837. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Morning Star", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
  838. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Deathbound", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  839. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[CLICK] Execute", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  840.  
  841. --//=================================\\
  842. --|| DAMAGE FUNCTIONS
  843. --\\=================================//
  844.  
  845. function StatLabel(CFRAME, TEXT, COLOR)
  846. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  847. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  848. local BODYGYRO = IT("BodyGyro", STATPART)
  849. game:GetService("Debris"):AddItem(STATPART ,5)
  850. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  851. BILLBOARDGUI.Adornee = STATPART
  852. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  853. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  854. BILLBOARDGUI.AlwaysOnTop = false
  855. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  856. TEXTLABEL.BackgroundTransparency = 1
  857. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  858. TEXTLABEL.Text = TEXT
  859. TEXTLABEL.Font = SKILLFONT
  860. TEXTLABEL.FontSize="Size42"
  861. TEXTLABEL.TextColor3 = COLOR
  862. TEXTLABEL.TextStrokeTransparency = 0
  863. TEXTLABEL.TextScaled = true
  864. TEXTLABEL.TextWrapped = true
  865. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  866. for i = 1, 50 do
  867. Swait()
  868. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  869. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  870. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  871. end
  872. THEPART.Parent = nil
  873. end),STATPART, TEXTLABEL)
  874. end
  875.  
  876. --//=================================\\
  877. --|| DAMAGING
  878. --\\=================================//
  879.  
  880. function Kill(Char)
  881. local NewCharacter = IT("Model",Effects)
  882. NewCharacter.Name = "Ow im ded ;-;"
  883. for _, c in pairs(Char:GetDescendants()) do
  884. if c:IsA("BasePart") and c.Transparency == 0 then
  885. if c.Parent == Char then
  886. getbloody(c,5)
  887. end
  888. c:BreakJoints()
  889. c.Material = "Glass"
  890. c.Color = C3(0.5,0,0)
  891. c.CanCollide = true
  892. c.Transparency = 0.3
  893. if c:FindFirstChildOfClass("SpecialMesh") then
  894. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  895. end
  896. if c.Name == "Head" then
  897. c:ClearAllChildren()
  898. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  899. end
  900. if c.ClassName == "MeshPart" then
  901. c.TextureID = ""
  902. end
  903. if c:FindFirstChildOfClass("BodyPosition") then
  904. c:FindFirstChildOfClass("BodyPosition"):remove()
  905. end
  906. if c:FindFirstChildOfClass("ParticleEmitter") then
  907. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  908. end
  909. c.Parent = NewCharacter
  910. c.Name = "DeadPart"
  911. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  912. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  913. end
  914. end
  915. Char:remove()
  916. Debris:AddItem(NewCharacter,5)
  917. end
  918.  
  919. function ApplyAoE(POSITION,RANGE,BRUTAL)
  920. local CHILDREN = workspace:GetDescendants()
  921. for index, CHILD in pairs(CHILDREN) do
  922. if CHILD.ClassName == "Model" and CHILD ~= Character then
  923. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  924. if HUM then
  925. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  926. if TORSO then
  927. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  928. if BRUTAL == true then
  929. Kill(CHILD)
  930. else
  931. CHILD:BreakJoints()
  932. end
  933. end
  934. end
  935. end
  936. end
  937. end
  938. end
  939.  
  940. function BulletDetection(FROM,TO,BRUTAL)
  941. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  942. coroutine.resume(coroutine.create(function()
  943. if AIMHIT ~= nil then
  944. if AIMHIT.Parent ~= Character then
  945. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  946. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  947. if BRUTAL == true then
  948. Kill(AIMHIT.Parent)
  949. else
  950. getbloody(AIMHIT,15)
  951. AIMHIT.Parent:BreakJoints()
  952. if AIMHIT.Name == "Head" then
  953. AIMHIT.Name = "HEADSHOT"
  954. AIMHIT:remove()
  955. end
  956. end
  957. else
  958. if BRUTAL == true then
  959. Kill(AIMHIT.Parent.Parent)
  960. else
  961. AIMHIT.Parent.Parent:BreakJoints()
  962. end
  963. end
  964. end
  965. end
  966. end
  967. end))
  968. SpawnTrail(FROM,AIMPOS)
  969. return AIMHIT,AIMPOS,NORMAL
  970. end
  971.  
  972. --//=================================\\
  973. --|| ATTACK FUNCTIONS AND STUFF
  974. --\\=================================//
  975.  
  976. function Unload()
  977. ATTACK = true
  978. Rooted = false
  979. repeat
  980. local GYRO = IT("BodyGyro",RootPart)
  981. GYRO.D = 175
  982. GYRO.P = 20000
  983. GYRO.MaxTorque = VT(0,40000,0)
  984. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  985. if COMBO == 1 then
  986. COMBO = 2
  987. for i=0, 0.6, 0.1 / Animation_Speed do
  988. Swait()
  989. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  990. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  991. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  992. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  993. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  994. 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)
  995. 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)
  996. end
  997. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.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})
  998. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  999. CreateSound(145080998, LeftHole, 7, 1, false)
  1000. BulletDetection(LeftHole.Position,Mouse.Hit.p,false)
  1001. for i=0, 0.2, 0.1 / Animation_Speed do
  1002. Swait()
  1003. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1004. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1005. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1006. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1007. 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)
  1008. 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)
  1009. end
  1010. elseif COMBO == 2 then
  1011. COMBO = 1
  1012. for i=0, 0.6, 0.1 / Animation_Speed do
  1013. Swait()
  1014. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1015. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1016. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1017. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1018. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1019. 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)
  1020. 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)
  1021. end
  1022. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.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})
  1023. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1024. CreateSound(145080998, RightHole, 7, 1, false)
  1025. BulletDetection(RightHole.Position,Mouse.Hit.p,false)
  1026. for i=0, 0.2, 0.1 / Animation_Speed do
  1027. Swait()
  1028. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1029. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1030. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1031. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1032. 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)
  1033. 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)
  1034. end
  1035. end
  1036. GYRO:remove()
  1037. until KEYHOLD == false
  1038. ATTACK = false
  1039. Rooted = false
  1040. end
  1041. function Psyo()
  1042. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1043. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1044. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1045. if TORSO and HUM.Health > 0 then
  1046. ATTACK = true
  1047. Rooted = false
  1048. local GYRO = IT("BodyGyro",RootPart)
  1049. GYRO.D = 275
  1050. GYRO.P = 20000
  1051. GYRO.MaxTorque = VT(0,40000,0)
  1052. for i=0, 0.8, 0.1 / Animation_Speed do
  1053. Swait()
  1054. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1055. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1056. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1057. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1058. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1059. 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)
  1060. 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)
  1061. end
  1062. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  1063. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1064. local grav = Instance.new("BodyPosition",TORSO)
  1065. grav.D = 1500
  1066. grav.P = 20000
  1067. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1068. grav.position = TORSO.Position+VT(0,15,0)
  1069. Debris:AddItem(grav,10)
  1070. Debris:AddItem(MAGIC,10)
  1071. CreateSound(429459101, Torso, 7, 1, false)
  1072. CreateSound(429459101, TORSO, 7, 1, false)
  1073. for i=0, 1, 0.1 / Animation_Speed do
  1074. Swait()
  1075. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1076. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1077. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1078. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1079. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1080. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1081. end
  1082. GYRO:remove()
  1083. ATTACK = false
  1084. Rooted = false
  1085. end
  1086. end
  1087. end
  1088. function Cleave()
  1089. ATTACK = true
  1090. Rooted = false
  1091. local TARGET = nil
  1092. local TORS = nil
  1093. local GYRO = IT("BodyGyro",RootPart)
  1094. GYRO.D = 175
  1095. GYRO.P = 20000
  1096. GYRO.MaxTorque = VT(0,40000,0)
  1097. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1098. local RANGE = 5
  1099. CreateSound(541909867, Torso, 7, 1, false)
  1100. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1101. for i=0, 1, 0.1 / Animation_Speed do
  1102. Swait()
  1103. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
  1104. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1105. local CHILDREN = workspace:GetDescendants()
  1106. for index, CHILD in pairs(CHILDREN) do
  1107. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1108. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1109. if HUM then
  1110. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1111. if TORSO then
  1112. if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
  1113. RANGE = (TORSO.Position - LeftHole.Position).Magnitude
  1114. TARGET = HUM
  1115. TORS = TORSO
  1116. end
  1117. end
  1118. end
  1119. end
  1120. end
  1121. if TARGET then
  1122. break
  1123. end
  1124. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  1125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(80)), 1 / Animation_Speed)
  1126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1128. 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)
  1129. 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)
  1130. end
  1131. GYRO:remove()
  1132. if TORS and TARGET then
  1133. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1134. Rooted = true
  1135. local BODYPOSITION = IT("BodyPosition", TORS)
  1136. BODYPOSITION.P = 2000
  1137. BODYPOSITION.D = 100
  1138. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1139. for i=0, 1, 0.1 / Animation_Speed do
  1140. Swait()
  1141. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1142. BODYPOSITION.Position = TORS.Position
  1143. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1144. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1145. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1146. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1147. 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)
  1148. 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)
  1149. end
  1150. for i=0, 0.4, 0.1 / Animation_Speed do
  1151. Swait()
  1152. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1153. BODYPOSITION.Position = TORS.Position
  1154. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1155. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1156. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1157. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1158. 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)
  1159. 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)
  1160. end
  1161. local LOOP = 0
  1162. local LOOP2 = 0
  1163. for i=0, 5, 0.1 / Animation_Speed do
  1164. Swait()
  1165. LOOP = LOOP + 1
  1166. TORS.Anchored = true
  1167. LOOP2 = LOOP2 + 1
  1168. if LOOP2 >= 5 then
  1169. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.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})
  1170. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1171. CreateSound(145080998, RightHole, 7, 1, false)
  1172. SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
  1173. LOOP2 = 0
  1174. getbloody(TORS,1)
  1175. end
  1176. TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  1177. BODYPOSITION.Position = TORS.Position
  1178. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1179. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1180. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145 + 2 * SIN(LOOP / 12)), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1181. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1182. 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)
  1183. 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)
  1184. end
  1185. BODYPOSITION:remove()
  1186. if TORS then
  1187. TORS.Anchored = false
  1188. Kill(TORS.Parent)
  1189. end
  1190. end
  1191. ATTACK = false
  1192. Rooted = false
  1193. end
  1194. function Lock_n_Load()
  1195. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1196. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1197. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1198. if TORSO and HUM.Health > 0 then
  1199. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1200. ATTACK = true
  1201. Rooted = true
  1202. local GYRO = IT("BodyGyro",RootPart)
  1203. GYRO.D = 175
  1204. GYRO.P = 20000
  1205. GYRO.MaxTorque = VT(0,40000,0)
  1206. if COMBO == 1 then
  1207. COMBO = 2
  1208. for i=0, 1, 0.1 / Animation_Speed do
  1209. Swait()
  1210. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1211. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1212. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1213. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1214. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1215. 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)
  1216. 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)
  1217. end
  1218. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.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})
  1219. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1220. CreateSound(145080998, LeftHole, 7, 1, false)
  1221. BulletDetection(LeftHole.Position,TORSO.Position,false)
  1222. for i=0, 0.4, 0.1 / Animation_Speed do
  1223. Swait()
  1224. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1225. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1226. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1227. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1228. 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)
  1229. 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)
  1230. end
  1231. elseif COMBO == 2 then
  1232. COMBO = 1
  1233. for i=0, 1, 0.1 / Animation_Speed do
  1234. Swait()
  1235. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1236. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1237. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1238. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1239. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1240. 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)
  1241. 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)
  1242. end
  1243. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.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})
  1244. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1245. CreateSound(145080998, RightHole, 7, 1, false)
  1246. BulletDetection(RightHole.Position,TORSO.Position,false)
  1247. for i=0, 0.4, 0.1 / Animation_Speed do
  1248. Swait()
  1249. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1250. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1251. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1252. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1253. 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)
  1254. 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)
  1255. end
  1256. end
  1257. GYRO:remove()
  1258. ATTACK = false
  1259. Rooted = false
  1260. end
  1261. end
  1262. end
  1263. function Morning_Star()
  1264. ATTACK = true
  1265. Rooted = true
  1266. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1267. for i=0, 1, 0.1 / Animation_Speed do
  1268. Swait()
  1269. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1270. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1271. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1272. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1273. 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)
  1274. 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)
  1275. end
  1276. coroutine.resume(coroutine.create(function()
  1277. local POS = Mouse.Hit.p
  1278. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Deep blue", "Strike", VT(0,2000,0))
  1279. MakeForm(RAY,"Cyl")
  1280. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Deep blue", "Strike", VT(0,0,0))
  1281. MakeForm(SPHERE,"Ball")
  1282. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep blue", "Strike", VT(0,0,0))
  1283. MakeForm(SHIELD,"Ball")
  1284. SHIELD.CFrame = CF(POS)
  1285. RAY.CFrame = CF(POS)
  1286. SPHERE.CFrame = CF(POS)
  1287. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1288. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1289. for i = 1, 200 do
  1290. Swait()
  1291. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1292. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1293. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1294. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1295. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1296. end
  1297. for i = 1, 45 do
  1298. Swait()
  1299. RAY.Transparency = RAY.Transparency + 1/45
  1300. SPHERE.Transparency = RAY.Transparency
  1301. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1302. end
  1303. RAY:remove()
  1304. SHIELD:remove()
  1305. SPHERE:remove()
  1306. end))
  1307. for i=0, 1, 0.1 / Animation_Speed do
  1308. Swait()
  1309. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1310. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1311. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1312. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1313. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1314. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1315. end
  1316. ATTACK = false
  1317. Rooted = false
  1318. end
  1319. function Deathbound()
  1320. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1321. ATTACK = true
  1322. Rooted = true
  1323. for i=0, 1, 0.1 / Animation_Speed do
  1324. Swait()
  1325. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1326. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1327. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1328. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1329. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1330. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1331. end
  1332. local DONE = false
  1333. local GATE = nil
  1334. local GATESPIN = true
  1335. coroutine.resume(coroutine.create(function()
  1336. repeat
  1337. Swait()
  1338. if GATE ~= nil then
  1339. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1340. end
  1341. until GATESPIN == false
  1342. end))
  1343. coroutine.resume(coroutine.create(function()
  1344. repeat
  1345. Swait()
  1346. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1347. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1348. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1349. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1350. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1351. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1352. until DONE == true
  1353. Swait(50)
  1354. for i = 1, 35 do
  1355. Swait(4)
  1356. local FIRED = false
  1357. local CHILDREN = workspace:GetDescendants()
  1358. for index, CHILD in pairs(CHILDREN) do
  1359. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1360. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1361. if HUM then
  1362. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1363. if TORSO then
  1364. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1365. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1366. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1367. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1368. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1369. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1370. Kill(CHILD)
  1371. FIRED = true
  1372. break
  1373. end
  1374. end
  1375. end
  1376. end
  1377. end
  1378. if FIRED == false then
  1379. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1380. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1381. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1382. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1383. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1384. if HITBOD ~= nil then
  1385. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1386. Kill(HITBOD.Parent)
  1387. end
  1388. end
  1389. end
  1390. end
  1391. for i = 1, 45 do
  1392. Swait()
  1393. GATE.Size = GATE.Size - VT(3,0,3)
  1394. end
  1395. GATESPIN = false
  1396. GATE:remove()
  1397. end))
  1398. Swait(15)
  1399. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1400. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Deep blue", "Gate", VT(0,0,0))
  1401. local DECAL = IT("Decal",GATE)
  1402. DECAL.Texture = "http://www.roblox.com/asset/?id=1699842441"
  1403. DECAL.Face = "Top"
  1404. GATE.CFrame = CF(HITPOS)
  1405. CreateSound(160772554, GATE, 7, 1.3, false)
  1406. for i = 1, 45 do
  1407. Swait()
  1408. GATE.Size = GATE.Size + VT(3,0,3)
  1409. end
  1410. CreateSound(145080998, RightHole, 7, 1, false)
  1411. CreateSound(145080998, LeftHole, 7, 1, false)
  1412. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1413. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1414. ATTACK = false
  1415. Rooted = false
  1416. DONE = true
  1417. end
  1418. function Execute()
  1419. ATTACK = true
  1420. Rooted = false
  1421. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  1422. Part.Color = C3(0,0,0)
  1423. MakeForm(Part,"Wedge")
  1424. Part.CanCollide = true
  1425. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  1426. for i=0, 1, 0.1 / Animation_Speed do
  1427. Swait()
  1428. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1429. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1430. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1431. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1432. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1433. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1434. end
  1435. Trail.Enabled = true
  1436. CreateSound(541909867, RightBarrel, 7, 1, false)
  1437. local TOCH = Part.Touched:Connect(function(hit)
  1438. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1439. Kill(hit.Parent)
  1440. end
  1441. end)
  1442. for i=0, 0.35, 0.1 / Animation_Speed do
  1443. Swait()
  1444. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1446. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1447. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1448. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1449. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1450. end
  1451. TOCH:disconnect()
  1452. Trail.Enabled = false
  1453. for i=0, 0.35, 0.1 / Animation_Speed do
  1454. Swait()
  1455. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1456. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
  1457. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1458. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1459. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1460. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1461. end
  1462. Part:remove()
  1463. ATTACK = false
  1464. Rooted = false
  1465. end
  1466.  
  1467. --//=================================\\
  1468. --|| ASSIGN THINGS TO KEYS
  1469. --\\=================================//
  1470.  
  1471. function MouseDown(Mouse)
  1472. if ATTACK == false then
  1473. Execute()
  1474. end
  1475. end
  1476.  
  1477. function MouseUp(Mouse)
  1478. HOLD = false
  1479. end
  1480.  
  1481. function KeyDown(Key)
  1482. KEYHOLD = true
  1483. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1484. if Key == "z" and ATTACK == false then
  1485. Unload()
  1486.  
  1487. elseif Key == "b" and ATTACK == false then
  1488. Psyo()
  1489.  
  1490. elseif Key == "c" and ATTACK == false then
  1491. Cleave()
  1492.  
  1493. elseif Key == "v" and ATTACK == false then
  1494. Lock_n_Load()
  1495.  
  1496. elseif Key == "g" and ATTACK == false then
  1497. Deathbound()
  1498.  
  1499. elseif Key == "x" and ATTACK == false then
  1500. Morning_Star()
  1501.  
  1502. elseif Key == "t" then
  1503. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1504. elseif Key == "1" and ATTACK == false then
  1505. if CHOICE ~= 1 then
  1506. CHOICE = 1
  1507. sick:Play()
  1508. end
  1509. elseif Key == "2" and ATTACK == false then
  1510. if CHOICE ~= 2 then
  1511. CHOICE = 2
  1512. sick:Play()
  1513. end
  1514. elseif Key == "3" and ATTACK == false then
  1515. if CHOICE ~= 3 then
  1516. CHOICE = 3
  1517. sick:Play()
  1518. end
  1519. elseif Key == "4" and ATTACK == false then
  1520. if CHOICE ~= 4 then
  1521. CHOICE = 4
  1522. sick:Play()
  1523. end
  1524. end
  1525. end
  1526. end
  1527.  
  1528. function KeyUp(Key)
  1529. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1530. KEYHOLD = false
  1531. end
  1532. end
  1533.  
  1534. Mouse.Button1Down:connect(function(NEWKEY)
  1535. MouseDown(NEWKEY)
  1536. end)
  1537. Mouse.Button1Up:connect(function(NEWKEY)
  1538. MouseUp(NEWKEY)
  1539. end)
  1540. Mouse.KeyDown:connect(function(NEWKEY)
  1541. KeyDown(NEWKEY)
  1542. end)
  1543. Mouse.KeyUp:connect(function(NEWKEY)
  1544. KeyUp(NEWKEY)
  1545. end)
  1546.  
  1547. --//=================================\\
  1548. --\\=================================//
  1549.  
  1550.  
  1551. function unanchor()
  1552. if UNANCHOR == true then
  1553. g = Character:GetChildren()
  1554. for i = 1, #g do
  1555. if g[i].ClassName == "Part" then
  1556. g[i].Anchored = false
  1557. end
  1558. end
  1559. end
  1560. end
  1561.  
  1562.  
  1563. --//=================================\\
  1564. --|| WRAP THE WHOLE SCRIPT UP
  1565. --\\=================================//
  1566.  
  1567. Humanoid.Changed:connect(function(Jump)
  1568. if Jump == "Jump" and (Disable_Jump == true) then
  1569. Humanoid.Jump = false
  1570. end
  1571. end)
  1572.  
  1573. while true do
  1574. Swait()
  1575. Humanoid.HipHeight = 1.5
  1576. script.Parent = WEAPONGUI
  1577. ANIMATE.Parent = nil
  1578. if Humanoid then
  1579. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1580. IDLEANIMATION:Play()
  1581. end
  1582. SINE = SINE + CHANGE
  1583. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1584. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1585. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1586. if ATTACK == false then
  1587. if TORSOVELOCITY < 1 then
  1588. 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)), 1 / Animation_Speed)
  1589. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1590. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1591. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1592. 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)
  1593. 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)
  1594. elseif TORSOVELOCITY > 1 then
  1595. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1596. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1597. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1598. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1599. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1600. 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)
  1601. end
  1602. end
  1603. RightArmGrasp.C0 = Clerp(RightArmGrasp.C0, CF(0, -0.815+0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(90-4.5 * SIN(SINE / 12)), RAD(-1.5 * SIN(SINE / 12)), RAD(0)), 1 / Animation_Speed)
  1604. LeftArmGraps.C0 = Clerp(LeftArmGraps.C0, CF(0, -0.815+0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(90-4.5 * SIN(SINE / 12)), RAD(1.5 * SIN(SINE / 12)), RAD(0)), 1 / Animation_Speed)
  1605. unanchor()
  1606. Humanoid.MaxHealth = "inf"
  1607. Humanoid.Health = "inf"
  1608. if Rooted == false then
  1609. Disable_Jump = false
  1610. Humanoid.WalkSpeed = Speed
  1611. elseif Rooted == true then
  1612. Disable_Jump = true
  1613. Humanoid.WalkSpeed = 0
  1614. end
  1615. for _, c in pairs(Character:GetDescendants()) do
  1616. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1617. c.Material = "Neon"
  1618. c.Color = C3(0,0,0)
  1619. if c:FindFirstChildOfClass("SpecialMesh") then
  1620. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1621. end
  1622. if c == Head then
  1623. if c:FindFirstChild("face") then
  1624. c.face:remove()
  1625. end
  1626. end
  1627. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1628. c.Color = C3(1,0,0)
  1629. c.Material = "Neon"
  1630. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1631. c:remove()
  1632. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1633. c:remove()
  1634. end
  1635. end
  1636. refit()
  1637. Humanoid.Name = "Deadeyes"
  1638. sick.Parent = Torso
  1639. sick:resume()
  1640. sick.Volume = 5
  1641. sick.Pitch = 1
  1642. sick.SoundId = "rbxassetid://"..SONGS[CHOICE]
  1643. if Head:FindFirstChildOfClass("Sound") then
  1644. Head:FindFirstChildOfClass("Sound"):remove()
  1645. end
  1646. end
  1647.  
  1648. --//=================================\\
  1649. --\\=================================//
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655. --//====================================================\\--
  1656. --|| END OF SCRIPT
  1657. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement