Advertisement
JacksoMykalJunior

Deadeye [FE]

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