Christoffer07700Extr

cHrIs's EViL GlOvEs V999

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