Advertisement
SCP-682-A

Fe Deadeye

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