Advertisement
num6456

dead glove ฤำลังทำ

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