Advertisement
ericdesouza

The god fist

Mar 17th, 2018
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.00 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = Instance.new("Sound",Character)
  32. sick.SoundId = "rbxassetid://510176627"
  33. sick.Looped = true
  34. sick.Pitch = 1
  35. sick.Volume = 1
  36. sick:Play()
  37.  
  38. IT = Instance.new
  39. CF = CFrame.new
  40. VT = Vector3.new
  41. RAD = math.rad
  42. C3 = Color3.new
  43. UD2 = UDim2.new
  44. BRICKC = BrickColor.new
  45. ANGLES = CFrame.Angles
  46. EULER = CFrame.fromEulerAnglesXYZ
  47. COS = math.cos
  48. ACOS = math.acos
  49. SIN = math.sin
  50. ASIN = math.asin
  51. ABS = math.abs
  52. MRANDOM = math.random
  53. FLOOR = math.floor
  54.  
  55.  
  56.  
  57. function chatfunc(text)
  58. local chat = coroutine.wrap(function()
  59. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  60. Character:FindFirstChild("TalkingBillBoard"):destroy()
  61. end
  62. local naeeym2 = Instance.new("BillboardGui",Character)
  63. naeeym2.Size = UDim2.new(0,100,0,40)
  64. naeeym2.StudsOffset = Vector3.new(0,3,0)
  65. naeeym2.Adornee = Character.Head
  66. naeeym2.Name = "TalkingBillBoard"
  67. local tecks2 = Instance.new("TextLabel",naeeym2)
  68. tecks2.BackgroundTransparency = 1
  69. tecks2.BorderSizePixel = 0
  70. tecks2.Text = ""
  71. tecks2.Font = "Fantasy"
  72. tecks2.TextSize = 30
  73. tecks2.TextStrokeTransparency = 0
  74. tecks2.TextColor3 = Color3.new(.6,0,0)
  75. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  76. tecks2.Size = UDim2.new(1,0,0.5,0)
  77. local tecks3 = Instance.new("TextLabel",naeeym2)
  78. tecks3.BackgroundTransparency = 1
  79. tecks3.BorderSizePixel = 0
  80. tecks3.Text = ""
  81. tecks3.Font = "Fantasy"
  82. tecks3.TextSize = 30
  83. tecks3.TextStrokeTransparency = 0
  84. tecks3.TextColor3 = Color3.new(.6,0,0)
  85. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  86. tecks3.Size = UDim2.new(1,0,0.5,0)
  87. for i = 1,string.len(text),1 do
  88. tecks2.Text = string.sub(text,1,i)
  89. tecks3.Text = string.sub(text,1,i)
  90. wait(0.01)
  91. spawn(function()
  92. while wait() do
  93. tecks3.TextColor3 = BrickColor.random().Color
  94. tecks2.TextColor3 = BrickColor.random().Color
  95. end
  96. end)
  97. end
  98. wait(2)
  99. for i = 1, 50 do
  100. swait()
  101. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  102. tecks2.Rotation = tecks2.Rotation - .8
  103. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  104. tecks2.TextTransparency = tecks2.TextTransparency + .04
  105. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  106. tecks3.Rotation = tecks2.Rotation + .8
  107. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  108. tecks3.TextTransparency = tecks2.TextTransparency + .04
  109. end
  110. naeeym2:Destroy()
  111. end)
  112. chat()
  113. end
  114. function onChatted(msg)
  115. chatfunc(msg)
  116. end
  117. Player.Chatted:connect(onChatted)
  118.  
  119. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  120. local NEWMESH = IT(MESH)
  121. if MESH == "SpecialMesh" then
  122. NEWMESH.MeshType = MESHTYPE
  123. if MESHID ~= "nil" and MESHID ~= "" then
  124. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  125. end
  126. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  127. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  128. end
  129. end
  130. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  131. NEWMESH.Scale = SCALE
  132. NEWMESH.Parent = PARENT
  133. return NEWMESH
  134. end
  135.  
  136. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  137. local NEWPART = IT("Part")
  138. NEWPART.formFactor = FORMFACTOR
  139. NEWPART.Reflectance = REFLECTANCE
  140. NEWPART.Transparency = TRANSPARENCY
  141. NEWPART.CanCollide = false
  142. NEWPART.Locked = true
  143. NEWPART.Anchored = true
  144. if ANCHOR == false then
  145. NEWPART.Anchored = false
  146. end
  147. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  148. NEWPART.Name = NAME
  149. NEWPART.Size = SIZE
  150. NEWPART.Position = Torso.Position
  151. NEWPART.Material = MATERIAL
  152. NEWPART:BreakJoints()
  153. NEWPART.Parent = PARENT
  154. return NEWPART
  155. end
  156.  
  157. --//=================================\\
  158. --|| CUSTOMIZATION
  159. --\\=================================//
  160.  
  161. Player_Size = 1 --Size of the player.
  162. Animation_Speed = 18
  163. Frame_Speed = 1 / 110 -- (1 / 100) OR (1 / 110)
  164.  
  165. local Speed = 18
  166. local Effects2 = {}
  167.  
  168. --//=================================\\
  169. --|| END OF CUSTOMIZATION
  170. --\\=================================//
  171.  
  172. local function weldBetween(a, b)
  173. local weldd = Instance.new("ManualWeld")
  174. weldd.Part0 = a
  175. weldd.Part1 = b
  176. weldd.C0 = CFrame.new()
  177. weldd.C1 = b.CFrame:inverse() * a.CFrame
  178. weldd.Parent = a
  179. return weldd
  180. end
  181.  
  182. --//=================================\\
  183. --|| USEFUL VALUES
  184. --\\=================================//
  185.  
  186. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  187. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  188. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  189. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  190. local CHANGEDEFENSE = 0
  191. local CHANGEDAMAGE = 0
  192. local CHANGEMOVEMENT = 0
  193. local ANIM = "Idle"
  194. local ATTACK = false
  195. local EQUIPPED = false
  196. local HOLD = false
  197. local COMBO = 1
  198. local Rooted = false
  199. local SINE = 0
  200. local KEYHOLD = false
  201. local CHANGE = 2 / Animation_Speed
  202. local WALKINGANIM = false
  203. local WALK = 0
  204. local VALUE1 = false
  205. local VALUE2 = false
  206. local ROBLOXIDLEANIMATION = IT("Animation")
  207. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  208. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  209. --ROBLOXIDLEANIMATION.Parent = Humanoid
  210. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  211. WEAPONGUI.Name = "Weapon GUI"
  212. local Weapon = IT("Model")
  213. Weapon.Name = "Adds"
  214. local HITFLOOR = nil
  215. local Effects = IT("Folder", Weapon)
  216. Effects.Name = "Effects"
  217. local ANIMATOR = Humanoid.Animator
  218. local ANIMATE = Character.Animate
  219. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  220. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  221. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  222. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  223. local UNANCHOR = true
  224.  
  225. local SKILLTEXTCOLOR = C3(0,255/255,0)
  226.  
  227. --//=================================\\
  228. --\\=================================//
  229.  
  230.  
  231. --//=================================\\
  232. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  233. --\\=================================//
  234.  
  235. ArtificialHB = Instance.new("BindableEvent", script)
  236. ArtificialHB.Name = "ArtificialHB"
  237.  
  238. script:WaitForChild("ArtificialHB")
  239.  
  240. frame = Frame_Speed
  241. tf = 0
  242. allowframeloss = false
  243. tossremainder = false
  244. lastframe = tick()
  245. script.ArtificialHB:Fire()
  246.  
  247. game:GetService("RunService").Heartbeat:connect(function(s, p)
  248. tf = tf + s
  249. if tf >= frame then
  250. if allowframeloss then
  251. script.ArtificialHB:Fire()
  252. lastframe = tick()
  253. else
  254. for i = 1, math.floor(tf / frame) do
  255. script.ArtificialHB:Fire()
  256. end
  257. lastframe = tick()
  258. end
  259. if tossremainder then
  260. tf = 0
  261. else
  262. tf = tf - frame * math.floor(tf / frame)
  263. end
  264. end
  265. end)
  266.  
  267. --//=================================\\
  268. --\\=================================//
  269.  
  270.  
  271.  
  272.  
  273.  
  274. --//=================================\\
  275. --|| SOME FUNCTIONS
  276. --\\=================================//
  277.  
  278. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  279. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  280. end
  281.  
  282. function PositiveAngle(NUMBER)
  283. if NUMBER >= 0 then
  284. NUMBER = 0
  285. end
  286. return NUMBER
  287. end
  288.  
  289. function NegativeAngle(NUMBER)
  290. if NUMBER <= 0 then
  291. NUMBER = 0
  292. end
  293. return NUMBER
  294. end
  295.  
  296. function Swait(NUMBER)
  297. if NUMBER == 0 or NUMBER == nil then
  298. ArtificialHB.Event:wait()
  299. else
  300. for i = 1, NUMBER do
  301. ArtificialHB.Event:wait()
  302. end
  303. end
  304. end
  305.  
  306. function QuaternionFromCFrame(cf)
  307. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  308. local trace = m00 + m11 + m22
  309. if trace > 0 then
  310. local s = math.sqrt(1 + trace)
  311. local recip = 0.5 / s
  312. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  313. else
  314. local i = 0
  315. if m11 > m00 then
  316. i = 1
  317. end
  318. if m22 > (i == 0 and m00 or m11) then
  319. i = 2
  320. end
  321. if i == 0 then
  322. local s = math.sqrt(m00 - m11 - m22 + 1)
  323. local recip = 0.5 / s
  324. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  325. elseif i == 1 then
  326. local s = math.sqrt(m11 - m22 - m00 + 1)
  327. local recip = 0.5 / s
  328. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  329. elseif i == 2 then
  330. local s = math.sqrt(m22 - m00 - m11 + 1)
  331. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  332. end
  333. end
  334. end
  335.  
  336. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  337. local xs, ys, zs = x + x, y + y, z + z
  338. local wx, wy, wz = w * xs, w * ys, w * zs
  339. local xx = x * xs
  340. local xy = x * ys
  341. local xz = x * zs
  342. local yy = y * ys
  343. local yz = y * zs
  344. local zz = z * zs
  345. 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))
  346. end
  347.  
  348. function QuaternionSlerp(a, b, t)
  349. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  350. local startInterp, finishInterp;
  351. if cosTheta >= 0.0001 then
  352. if (1 - cosTheta) > 0.0001 then
  353. local theta = ACOS(cosTheta)
  354. local invSinTheta = 1 / SIN(theta)
  355. startInterp = SIN((1 - t) * theta) * invSinTheta
  356. finishInterp = SIN(t * theta) * invSinTheta
  357. else
  358. startInterp = 1 - t
  359. finishInterp = t
  360. end
  361. else
  362. if (1 + cosTheta) > 0.0001 then
  363. local theta = ACOS(-cosTheta)
  364. local invSinTheta = 1 / SIN(theta)
  365. startInterp = SIN((t - 1) * theta) * invSinTheta
  366. finishInterp = SIN(t * theta) * invSinTheta
  367. else
  368. startInterp = t - 1
  369. finishInterp = t
  370. end
  371. end
  372. 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
  373. end
  374.  
  375. function Clerp(a, b, t)
  376. local qa = {QuaternionFromCFrame(a)}
  377. local qb = {QuaternionFromCFrame(b)}
  378. local ax, ay, az = a.x, a.y, a.z
  379. local bx, by, bz = b.x, b.y, b.z
  380. local _t = 1 - t
  381. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  382. end
  383.  
  384. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  385. local frame = IT("Frame")
  386. frame.BackgroundTransparency = TRANSPARENCY
  387. frame.BorderSizePixel = BORDERSIZEPIXEL
  388. frame.Position = POSITION
  389. frame.Size = SIZE
  390. frame.BackgroundColor3 = COLOR
  391. frame.BorderColor3 = BORDERCOLOR
  392. frame.Name = NAME
  393. frame.Parent = PARENT
  394. return frame
  395. end
  396.  
  397. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  398. local label = IT("TextLabel")
  399. label.BackgroundTransparency = 1
  400. label.Size = UD2(1, 0, 1, 0)
  401. label.Position = UD2(0, 0, 0, 0)
  402. label.TextColor3 = TEXTCOLOR
  403. label.TextStrokeTransparency = STROKETRANSPARENCY
  404. label.TextTransparency = TRANSPARENCY
  405. label.FontSize = TEXTFONTSIZE
  406. label.Font = TEXTFONT
  407. label.BorderSizePixel = BORDERSIZEPIXEL
  408. label.TextScaled = false
  409. label.Text = TEXT
  410. label.Name = NAME
  411. label.Parent = PARENT
  412. return label
  413. end
  414.  
  415. function NoOutlines(PART)
  416. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  417. end
  418.  
  419.  
  420. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  421. local NEWWELD = IT(TYPE)
  422. NEWWELD.Part0 = PART0
  423. NEWWELD.Part1 = PART1
  424. NEWWELD.C0 = C0
  425. NEWWELD.C1 = C1
  426. NEWWELD.Parent = PARENT
  427. return NEWWELD
  428. end
  429.  
  430. function CreateSound(ID, PARENT, VOLUME, PITCH)
  431. local NEWSOUND = nil
  432. coroutine.resume(coroutine.create(function()
  433. NEWSOUND = IT("Sound", PARENT)
  434. NEWSOUND.Volume = VOLUME
  435. NEWSOUND.Pitch = PITCH
  436. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  437. Swait()
  438. NEWSOUND:play()
  439. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  440. end))
  441. return NEWSOUND
  442. end
  443.  
  444. function CFrameFromTopBack(at, top, back)
  445. local right = top:Cross(back)
  446. 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)
  447. end
  448.  
  449. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  450. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Black"), "Effect", VT(0,0,0))
  451. local mesh = IT("SpecialMesh",wave)
  452. mesh.MeshType = "FileMesh"
  453. mesh.MeshId = "http://www.roblox.com/asset/?id=967645205"
  454. mesh.Scale = SIZE
  455. mesh.Offset = VT(0,0,-SIZE.X/9)
  456. wave.CFrame = CFRAME
  457. coroutine.resume(coroutine.create(function(PART)
  458. for i = 1, WAIT do
  459. Swait()
  460. mesh.Scale = mesh.Scale + GROW
  461. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  462. if DOESROT == true then
  463. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  464. end
  465. wave.Transparency = wave.Transparency + (0.5/WAIT)
  466. if wave.Transparency > 0.99 then
  467. wave:remove()
  468. end
  469. end
  470. end))
  471. end
  472.  
  473. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  474. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Black"), "Effect", VT(0,0,0))
  475. local mesh = IT("SpecialMesh",wave)
  476. mesh.MeshType = "FileMesh"
  477. mesh.MeshId = "http://www.roblox.com/asset/?id=967645205"
  478. mesh.Scale = SIZE
  479. --mesh.Offset = VT(0,0,-SIZE.X/9)
  480. wave.CFrame = CFRAME
  481. coroutine.resume(coroutine.create(function(PART)
  482. for i = 1, WAIT do
  483. Swait()
  484. mesh.Scale = mesh.Scale + GROW
  485. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  486. if DOESROT == true then
  487. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  488. end
  489. wave.Transparency = wave.Transparency + (0.5/WAIT)
  490. if wave.Transparency > 0.99 then
  491. wave:remove()
  492. end
  493. end
  494. end))
  495. end
  496.  
  497. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  498. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Black"), "Effect", VT(0,0,0))
  499. local mesh = IT("SpecialMesh",wave)
  500. mesh.MeshType = "FileMesh"
  501. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  502. mesh.Scale = SIZE
  503. wave.CFrame = CFRAME
  504. coroutine.resume(coroutine.create(function(PART)
  505. for i = 1, WAIT do
  506. Swait()
  507. mesh.Scale = mesh.Scale + GROW
  508. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  509. if DOESROT == true then
  510. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  511. end
  512. wave.Transparency = wave.Transparency + (0.5/WAIT)
  513. if wave.Transparency > 0.99 then
  514. wave:remove()
  515. end
  516. end
  517. end))
  518. end
  519.  
  520.  
  521. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  522. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Black"), "Effect", VT(1,1,1), true)
  523. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "430063869", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  524. wave.CFrame = CFRAME
  525. coroutine.resume(coroutine.create(function(PART)
  526. for i = 1, WAIT do
  527. Swait()
  528. mesh.Scale = mesh.Scale * GROW
  529. wave.Transparency = wave.Transparency + (0.5/WAIT)
  530. if wave.Transparency > 0.99 then
  531. wave:remove()
  532. end
  533. end
  534. end))
  535. end
  536.  
  537. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  538. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Black"), "Effect", VT(1,1,1), true)
  539. local mesh = IT("SpecialMesh",wave)
  540. mesh.MeshType = "Sphere"
  541. mesh.Scale = SIZE
  542. mesh.Offset = VT(0,0,0)
  543. wave.CFrame = CFRAME
  544. coroutine.resume(coroutine.create(function(PART)
  545. for i = 1, WAIT do
  546. Swait()
  547. mesh.Scale = mesh.Scale + GROW
  548. wave.Transparency = wave.Transparency + (1/WAIT)
  549. if wave.Transparency > 0.99 then
  550. wave:remove()
  551. end
  552. end
  553. end))
  554. end
  555.  
  556. function MakeForm(PART,TYPE)
  557. if TYPE == "Cyl" then
  558. local MSH = IT("CylinderMesh",PART)
  559. elseif TYPE == "Ball" then
  560. local MSH = IT("SpecialMesh",PART)
  561. MSH.MeshType = "Sphere"
  562. elseif TYPE == "Wedge" then
  563. local MSH = IT("SpecialMesh",PART)
  564. MSH.MeshType = "Wedge"
  565. end
  566. end
  567.  
  568. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  569. if FLOOR ~= nil then
  570. coroutine.resume(coroutine.create(function()
  571. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  572. PART.CFrame = CF(POSITION)
  573. for i = 1, 45 do
  574. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  575. RingPiece.Material = FLOOR.Material
  576. RingPiece.Color = FLOOR.Color
  577. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  578. Debris:AddItem(RingPiece,SWAIT/100)
  579. end
  580. PART:remove()
  581. end))
  582. end
  583. end
  584.  
  585. function CheckTableForString(Table, String)
  586. for i, v in pairs(Table) do
  587. if string.find(string.lower(String), string.lower(v)) then
  588. return true
  589. end
  590. end
  591. return false
  592. end
  593.  
  594. function CheckIntangible(Hit)
  595. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  596. if Hit and Hit.Parent then
  597. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  598. return true
  599. end
  600. end
  601. return false
  602. end
  603.  
  604. Debris = game:GetService("Debris")
  605.  
  606. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  607. local Direction = CFrame.new(StartPos, Vec).lookVector
  608. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  609. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  610. if RayHit and CheckIntangible(RayHit) then
  611. if DelayIfHit then
  612. wait()
  613. end
  614. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  615. end
  616. return RayHit, RayPos, RayNormal
  617. end
  618.  
  619. function turnto(position)
  620. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  621. end
  622.  
  623. --//=================================\\
  624. --|| WEAPON CREATION
  625. --\\=================================//
  626.  
  627.  
  628.  
  629.  
  630.  
  631. function createaddongen(limb,position,size)
  632. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(0.25*Player_Size, size*0.8*Player_Size,size*0.8*Player_Size),false)
  633. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0.45 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  634. local part = CreatePart(3, Weapon, "Neon", 0, 0, "White", limb.Name.." Neon Gauntlet Part", VT(0.25*Player_Size,size*Player_Size,size*Player_Size),false)
  635. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0.425 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  636. end
  637.  
  638. function creategauntlet(limb)
  639. --main--
  640. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  641. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, -0.65 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  642. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  643. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, -0.115 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  644. MakeForm(part,"Wedge")
  645. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  646. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0.115 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  647. MakeForm(part,"Wedge")
  648. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  649. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0.65 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  650. --neon addons
  651. local part = CreatePart(3, Weapon, "Neon", 0, 0, "White", limb.Name.." Neon Gauntlet Part", VT(1.05*Player_Size,2.05*Player_Size,1.05*Player_Size),false)
  652. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  653. --misc--
  654. createaddongen(limb,0.25,0.75)
  655. createaddongen(limb,-0.2,0.25)
  656. createaddongen(limb,-0.35,0.25)
  657. createaddongen(limb,-0.65,0.45)
  658. end
  659.  
  660. creategauntlet(RightArm)
  661. creategauntlet(LeftArm)
  662.  
  663. for _, c in pairs(Weapon:GetChildren()) do
  664. if c.ClassName == "Part" then
  665. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  666. end
  667. end
  668.  
  669. Weapon.Parent = Character
  670.  
  671. Humanoid.Died:connect(function()
  672. ATTACK = true
  673. end)
  674.  
  675. 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")
  676. 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")
  677. 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")
  678. 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")
  679.  
  680. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Ultimate HIT!", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  681. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] revenge back!", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  682. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Max Speed", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
  683. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] The Fist of Ultimate Destruction", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
  684.  
  685. --//=================================\\
  686. --|| DAMAGE FUNCTIONS
  687. --\\=================================//
  688.  
  689. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  690. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  691. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  692. local BODYGYRO = IT("BodyGyro", STATPART)
  693. local BODYPOSITION = IT("BodyPosition", STATPART)
  694. BODYPOSITION.P = 2000
  695. BODYPOSITION.D = 100
  696. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  697. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  698. game:GetService("Debris"):AddItem(STATPART ,5)
  699. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  700. BILLBOARDGUI.Adornee = STATPART
  701. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  702. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  703. BILLBOARDGUI.AlwaysOnTop = false
  704. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  705. TEXTLABEL.BackgroundTransparency = 1
  706. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  707. TEXTLABEL.Text = TEXT
  708. TEXTLABEL.Font = "SciFi"
  709. TEXTLABEL.FontSize="Size42"
  710. TEXTLABEL.TextColor3 = COLOR
  711. TEXTLABEL.TextStrokeTransparency = 1
  712. TEXTLABEL.TextScaled = true
  713. TEXTLABEL.TextWrapped = true
  714. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  715. if LABELTYPE == "Normal" then
  716. for i = 1, 30 do
  717. Swait()
  718. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  719. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  720. end
  721. elseif LABELTYPE == "Debuff" then
  722. for i = 1, 30 do
  723. Swait()
  724. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  725. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  726. end
  727. elseif LABELTYPE == "Shock" then
  728. local ORIGIN = STATPART.Position
  729. for i = 1, 30 do
  730. Swait()
  731. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  732. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  733. end
  734. end
  735. THEPART.Parent = nil
  736. end),STATPART, BODYPOSITION, TEXTLABEL)
  737. end
  738.  
  739. --//=================================\\
  740. --|| DAMAGING
  741. --\\=================================//
  742.  
  743. function killnearest(position,range,maxstrength,direction)
  744. for i,v in ipairs(workspace:GetChildren()) do
  745. local body = v:GetChildren()
  746. for part = 1, #body do
  747. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  748. if(body[part].Position - position).Magnitude < range then
  749. if v.ClassName == "Model" then
  750. --v:BreakJoints()
  751. end
  752. local POS = position
  753. coroutine.resume(coroutine.create(function()
  754. body[part].Anchored = false
  755. body[part].Parent = Effects
  756. body[part].CanCollide = true
  757. local SIZE = body[part].Size
  758. body[part].Material = "Neon"
  759. CreateSound("878000314", body[part], 1, MRANDOM(1, 1) / 1)
  760. for i = 1, 75 do
  761. Swait()
  762. body[part].Color = C3(MRANDOM(0,200)/200,MRANDOM(0,200)/200,MRANDOM(0,200)/200)
  763. body[part].Size = VT(SIZE.X+MRANDOM(-1,1),SIZE.Y+MRANDOM(-1,1),SIZE.Z+MRANDOM(-1,1))
  764. end
  765. coroutine.resume(coroutine.create(function()
  766. while true do
  767. Swait()
  768. body[part].Color = C3(MRANDOM(0,200)/200,MRANDOM(0,200)/200,MRANDOM(0,200)/200)
  769. body[part].Size = VT(SIZE.X+MRANDOM(-1,1),SIZE.Y+MRANDOM(-1,1),SIZE.Z+MRANDOM(-1,1))
  770. end
  771. end))
  772. body[part].Anchored = false
  773. body[part].Velocity = direction.lookVector*maxstrength
  774. end))
  775. end
  776. end
  777. end
  778. if v.ClassName == "Part" then
  779. if v.Anchored == false and (v.Position - position).Magnitude < range then
  780. local POS = position
  781. coroutine.resume(coroutine.create(function()
  782. v.Anchored = true
  783. v.Parent = Effects
  784. local SIZE = v.Size
  785. v.Material = "Glass"
  786. CreateSound("878000314", v, 2, MRANDOM(1, 1) / 1)
  787. for i = 1, 75 do
  788. Swait()
  789. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  790. v.Size = VT(SIZE.X+MRANDOM(-5,5),SIZE.Y+MRANDOM(-5,5),SIZE.Z+MRANDOM(-5,5))
  791. end
  792. coroutine.resume(coroutine.create(function()
  793. while true do
  794. Swait()
  795. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  796. v.Size = VT(SIZE.X+MRANDOM(-5,5),SIZE.Y+MRANDOM(-5,5),SIZE.Z+MRANDOM(-5,5))
  797. end
  798. end))
  799. v.Anchored = false
  800. v.Velocity = direction.lookVector*maxstrength
  801. end))
  802. end
  803. end
  804. end
  805. end
  806.  
  807. --//=================================\\
  808. --|| ATTACK FUNCTIONS AND STUFF
  809. --\\=================================//
  810.  
  811. function AttackTemplate()
  812. chatfunc("Let me hit you!")
  813. ATTACK = true
  814. Rooted = false
  815. for i=0, 1, 0.1 / Animation_Speed do
  816. Swait()
  817. 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)
  818. 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)
  819. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  820. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  821. 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)
  822. 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)
  823. end
  824. ATTACK = false
  825. Rooted = false
  826. end
  827.  
  828. function DeathAgreement()
  829. chatfunc("DIE!!!!")
  830. ATTACK = true
  831. Rooted = false
  832. local SPEED = Speed
  833. Speed = 8
  834. CreateSound("268931189", RightArm, 10, 1.1) -------BRB
  835. for i=0, 4, 0.1 / Animation_Speed do
  836. Swait()
  837. turnto(Mouse.Hit.p)
  838. 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))
  839. 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))
  840. 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)
  841. 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)
  842. 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)
  843. 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)
  844. 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)
  845. 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)
  846. end
  847. for i=0, 0.15, 0.1 / Animation_Speed do
  848. Swait()
  849. turnto(Mouse.Hit.p)
  850. 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)
  851. 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)
  852. 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)
  853. 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)
  854. 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)
  855. 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)
  856. end
  857. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Black", "Punch", VT(50,50,50),false)
  858. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  859. PART.Shape = "Ball"
  860. local bv = Instance.new("BodyVelocity")
  861. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  862. bv.velocity = RootPart.CFrame.lookVector*600
  863. bv.Parent = PART
  864. bv.Name = "PROJECTILEVELOCITY"
  865. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  866. coroutine.resume(coroutine.create(function()
  867. for i = 1, 10 do
  868. Swait()
  869. PART.Transparency = PART.Transparency + 0.2/10
  870. PART.Size = PART.Size + VT(5,5,5)
  871. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  872. end
  873. PART:Destroy()
  874. end))
  875. for i=0, 1, 0.1 / Animation_Speed do
  876. Swait()
  877. 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)
  878. 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)
  879. 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)
  880. 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)
  881. 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)
  882. 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)
  883. end
  884. Speed = SPEED
  885. ATTACK = false
  886. Rooted = false
  887. end
  888.  
  889. function GrabTime()
  890. chatfunc("GOT YEAH!")
  891. ATTACK = true
  892. Rooted = false
  893. local HASGRABBED = false
  894. local WELD = nil
  895. local TORS = nil
  896. local hitting = part.Touched:connect(function(hit)
  897. if hit.Parent:FindFirstChild("Humanoid") then
  898. if hit.Parent.Humanoid.Health ~= -99999 then
  899. UNANCHOR = false
  900. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  901. TORS.Anchored = true
  902. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  903. WELD = weldBetween(RightArm,TORS)
  904. HASGRABBED = true
  905. Rooted = true
  906. end
  907. end
  908. end)
  909. for i=0, 1, 0.1 / Animation_Speed do
  910. Swait()
  911. if HASGRABBED == true then
  912. break
  913. end
  914. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  915. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  916. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  917. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  918. 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)), 2 / Animation_Speed)
  919. 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)), 2 / Animation_Speed)
  920. end
  921. hitting:disconnect()
  922. if HASGRABBED == true then
  923. TORS.Anchored = false
  924. RootPart.Anchored = true
  925. for i=0, 2, 0.1 / Animation_Speed do
  926. Swait()
  927. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  928. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  929. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  930. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  931. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  932. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  933. end
  934. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  935. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  936. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Sound", VT(0,0,0))
  937. SOUNDPART.CFrame = RootPart.CFrame
  938. Debris:AddItem(SOUNDPART,5)
  939. CreateSound("357202073", SOUNDPART, 2, 1)
  940. for i = 1, 15 do
  941. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  942. end
  943. for i=0, 2, 0.1 / Animation_Speed do
  944. Swait()
  945. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  946. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  947. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  948. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  949. 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)
  950. 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)
  951. end
  952. for i=0, 0.25, 0.1 / Animation_Speed do
  953. Swait()
  954. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  955. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  956. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  957. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  958. 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)
  959. 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)
  960. end
  961. if HITFLOOR ~= nil then
  962. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  963. end
  964. CreateSound("268931189", Effects, 10, MRANDOM(7, 12) / 10)
  965. CreateSound("197161452", Effects, 10, MRANDOM(7, 12) / 10)
  966. WELD:remove()
  967. for i = 1, 25 do
  968. Swait()
  969. killnearest(RootPart.Position,45,100,Torso.CFrame)
  970. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
  971. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Black",VT(1,0.4,1))
  972. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Black",VT(2.3,0.3,2.3))
  973. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  974. Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Lime green", 1 + MRANDOM(1,30)/15)
  975. end
  976. end
  977. UNANCHOR = true
  978. ATTACK = false
  979. Rooted = false
  980. end
  981.  
  982. function MaxSpeed()
  983. chatfunc("AH!")
  984. local ORIGIN = RootPart.Position
  985. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  986. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  987. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Sound", VT(0,0,0))
  988. SOUNDPART.CFrame = RootPart.CFrame
  989. Debris:AddItem(SOUNDPART,5)
  990. CreateSound("357202032", SOUNDPART, 2, 1)
  991. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  992. Swait()
  993. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  994. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  995. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Sound", VT(0,0,0))
  996. SOUNDPART.CFrame = RootPart.CFrame
  997. Debris:AddItem(SOUNDPART,5)
  998. CreateSound("268931189", SOUNDPART, 2, 1)
  999. if MRANDOM(1,8) == 1 then
  1000. ATTACK = true
  1001. Rooted = true
  1002. local FRUITSTABLE = {
  1003. {MeshId = "16190555", TextureId = "16190577", Color = "Really red"},
  1004. {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"},
  1005. {MeshId = "24394186", TextureId = "24394178", Color = "Brown"}
  1006. }
  1007. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  1008. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  1009. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  1010. FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
  1011. weldBetween(RightArm,FRUITMODEL)
  1012. for i=0, 4, 0.1 / Animation_Speed do
  1013. Swait()
  1014. 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)
  1015. 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)
  1016. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1017. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1018. 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)
  1019. 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)
  1020. end
  1021. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  1022. FRUITMODEL:remove()
  1023. for i = 1, 15 do
  1024. Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
  1025. end
  1026. for i=0, 0.5, 0.1 / Animation_Speed do
  1027. Swait()
  1028. 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)
  1029. 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)
  1030. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1031. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1032. 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)
  1033. 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)
  1034. end
  1035. ATTACK = false
  1036. Rooted = false
  1037. end
  1038. end
  1039.  
  1040. function GreenUltimate()
  1041. chatfunc("I'll show you when you be destroyed...")
  1042. ATTACK = true
  1043. Rooted = true
  1044. CreateSound("358080470", RightArm, 10, 0.8)
  1045. for i=0, 8, 0.1 / Animation_Speed do
  1046. Swait()
  1047. turnto(Mouse.Hit.p)
  1048.  
  1049. 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)
  1050. 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)
  1051. 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)
  1052. 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)
  1053. 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)
  1054. 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)
  1055. end
  1056. for i=0, 0.15, 0.1 / Animation_Speed do
  1057. Swait()
  1058. turnto(Mouse.Hit.p)
  1059. 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)
  1060. 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)
  1061. 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)
  1062. 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)
  1063. 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)
  1064. 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)
  1065. end
  1066. coroutine.resume(coroutine.create(function()
  1067. Swait(100)
  1068. for i = 1, 5 do
  1069. 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))))
  1070.  
  1071. end
  1072. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  1073. for i = 1, 5 do
  1074. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1075. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  1076. end
  1077. coroutine.resume(coroutine.create(function()
  1078. for i = 1, 50 do
  1079. Swait()
  1080. for i = 1, 1 do
  1081.  
  1082. end
  1083. for i = 1, 2 do
  1084.  
  1085. end
  1086. end
  1087. end))
  1088. end))
  1089. for i=0, 4, 0.1 / Animation_Speed do
  1090. Swait()
  1091. 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)
  1092. 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)
  1093. 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)
  1094. 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)
  1095. 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)
  1096. 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)
  1097. end
  1098. chatfunc("There...")
  1099. ATTACK = false
  1100. Rooted = false
  1101. end
  1102.  
  1103. --//=================================\\
  1104. --|| ASSIGN THINGS TO KEYS
  1105. --\\=================================//
  1106.  
  1107. function MouseDown(Mouse)
  1108. if ATTACK == false then
  1109. end
  1110. end
  1111.  
  1112. function MouseUp(Mouse)
  1113. HOLD = false
  1114. end
  1115.  
  1116. function KeyDown(Key)
  1117. KEYHOLD = true
  1118. if Key == "z" and ATTACK == false then
  1119. DeathAgreement()
  1120. end
  1121.  
  1122. if Key == "b" and ATTACK == false then
  1123. GrabTime()
  1124. end
  1125.  
  1126. if Key == "c" and ATTACK == false then
  1127. MaxSpeed()
  1128. end
  1129.  
  1130. if Key == "x" and ATTACK == false then
  1131. GreenUltimate()
  1132. end
  1133.  
  1134. if Key == "p" and ATTACK == false then
  1135. if Speed == 16 then
  1136. Speed = 150
  1137. elseif Speed == 150 then
  1138. Speed = 16
  1139. end
  1140. end
  1141. end
  1142.  
  1143. function KeyUp(Key)
  1144. KEYHOLD = false
  1145. end
  1146.  
  1147. Mouse.Button1Down:connect(function(NEWKEY)
  1148. MouseDown(NEWKEY)
  1149. end)
  1150. Mouse.Button1Up:connect(function(NEWKEY)
  1151. MouseUp(NEWKEY)
  1152. end)
  1153. Mouse.KeyDown:connect(function(NEWKEY)
  1154. KeyDown(NEWKEY)
  1155. end)
  1156. Mouse.KeyUp:connect(function(NEWKEY)
  1157. KeyUp(NEWKEY)
  1158. end)
  1159.  
  1160. --//=================================\\
  1161. --\\=================================//
  1162.  
  1163.  
  1164. function unanchor()
  1165. if UNANCHOR == true then
  1166. g = Character:GetChildren()
  1167. for i = 1, #g do
  1168. if g[i].ClassName == "Part" then
  1169. g[i].Anchored = false
  1170. end
  1171. end
  1172. end
  1173. end
  1174.  
  1175.  
  1176. --//=================================\\
  1177. --|| WRAP THE WHOLE SCRIPT UP
  1178. --\\=================================//
  1179.  
  1180. Humanoid.Changed:connect(function(Jump)
  1181. if Jump == "Jump" and (Disable_Jump == true) then
  1182. Humanoid.Jump = false
  1183. end
  1184. end)
  1185.  
  1186. while true do
  1187. Swait()
  1188. ANIMATE.Parent = nil
  1189. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1190. IDLEANIMATION:Play()
  1191. SINE = SINE + CHANGE
  1192. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1193. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1194. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1195. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1196. local WALKSPEEDVALUE = 0
  1197. if Speed < 35 then
  1198. WALKSPEEDVALUE = 6
  1199. else
  1200. WALKSPEEDVALUE = 3
  1201. end
  1202. if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
  1203. 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)
  1204. 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)
  1205. if Speed < 35 then
  1206. 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)
  1207. 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)
  1208. else
  1209. 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)
  1210. 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)
  1211. end
  1212. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
  1213. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1214. 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)
  1215. 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)
  1216. 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)
  1217. end
  1218. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1219. ANIM = "Jump"
  1220. if ATTACK == false then
  1221. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1222. 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)
  1223. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1224. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1225. 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)
  1226. 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)
  1227. end
  1228. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1229. ANIM = "Fall"
  1230. if ATTACK == false then
  1231. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1232. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1233. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1234. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1235. 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)
  1236. 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)
  1237. end
  1238. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1239. ANIM = "Idle"
  1240. if ATTACK == false then
  1241. 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)
  1242. 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)
  1243. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1244. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1245. 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)
  1246. 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)
  1247. end
  1248. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  1249. ANIM = "Walk"
  1250. WALK = WALK + 1 / Animation_Speed
  1251. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1252. WALK = 0
  1253. if WALKINGANIM == true then
  1254. WALKINGANIM = false
  1255. elseif WALKINGANIM == false then
  1256. WALKINGANIM = true
  1257. end
  1258. end
  1259. --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)
  1260. --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)
  1261. if ATTACK == false then
  1262. if Speed < 35 then
  1263. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1264. 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)
  1265. 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)
  1266. 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)
  1267. 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)
  1268. 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)
  1269. else
  1270. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1271. 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)
  1272. 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)
  1273. 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)
  1274. 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)
  1275. 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)
  1276. end
  1277. end
  1278. end
  1279. unanchor()
  1280. Humanoid.MaxHealth = "inf"
  1281. Humanoid.Health = "inf"
  1282. if Rooted == false then
  1283. Disable_Jump = false
  1284. Humanoid.WalkSpeed = Speed
  1285. elseif Rooted == true then
  1286. Disable_Jump = true
  1287. Humanoid.WalkSpeed = 0
  1288. end
  1289. local MATHS = {"0","1"}
  1290. 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)]
  1291. Humanoid.PlatformStand = false
  1292. end
  1293.  
  1294. --//=================================\\
  1295. --\\=================================//
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301. --//====================================================\\--
  1302. --|| END OF SCRIPT
  1303. --\\=====================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement