Christoffer07700Extr

cHrIs's EViL GlOvEs V999 FE

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