Advertisement
GojiGaming1337

Godzilla

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