Advertisement
yabagaba

Untitled

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