scriptshocasereditor

Untitled

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