Advertisement
num6456

dead warden

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