Advertisement
voyqgo

Noob of die Test1

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