Advertisement
Guest User

Dead Eye FE

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