Basykung7845

Dead eye

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