Advertisement
DarkScriptZEditors

Veeee

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