Advertisement
Rider_Lol

Untitled

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