Advertisement
HenloMyDude

potato

Jun 28th, 2019
819
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.40 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| POTATO
  3. --\\====================================================//--
  4.  
  5. --//=========================================================\\--
  6. --|| WARNING: THIS SCRIPT HAS BEEN EDITED TO ADD MORE ATTACKS.
  7. --\\=========================================================//--
  8.  
  9. local MODULE = script
  10. local CHARACTER = owner.Character
  11. local PLAYER = game:GetService("Players"):GetPlayerFromCharacter(CHARACTER)
  12. local HUM = CHARACTER.Humanoid
  13. local EVENT = Instance.new("RemoteEvent",MODULE)
  14. EVENT.Name = "Event"
  15. local REMOTE = MODULE.Event
  16.  
  17. local ROOT = HUM.Torso
  18. local HEAD = CHARACTER.Head
  19. local TORSO = CHARACTER.Torso
  20. local RIGHTARM = CHARACTER["Right Arm"]
  21. local LEFTARM = CHARACTER["Left Arm"]
  22. local RIGHTLEG = CHARACTER["Right Leg"]
  23. local LEFTLEG = CHARACTER["Left Leg"]
  24. local ROOTJOINT = ROOT["RootJoint"]
  25. local NECK = TORSO["Neck"]
  26. local RIGHTSHOULDER = TORSO["Right Shoulder"]
  27. local LEFTSHOULDER = TORSO["Left Shoulder"]
  28. local RIGHTHIP = TORSO["Right Hip"]
  29. local LEFTHIP = TORSO["Left Hip"]
  30. local MOUSEPOS = ROOT.Position
  31.  
  32. IT = Instance.new
  33. CF = CFrame.new
  34. VT = Vector3.new
  35. RAD = math.rad
  36. C3 = Color3.new
  37. UD2 = UDim2.new
  38. BRICKC = BrickColor.new
  39. ANGLES = CFrame.Angles
  40. EULER = CFrame.fromEulerAnglesXYZ
  41. COS = math.cos
  42. ACOS = math.acos
  43. SIN = math.sin
  44. ASIN = math.asin
  45. ABS = math.abs
  46. MRANDOM = math.random
  47. FLOOR = math.floor
  48.  
  49. --//====================================================\\--
  50. --|| FE CODE
  51. --\\====================================================//--
  52.  
  53. if game:GetService("RunService"):IsClient()then error("RUN SCRIPT AS R/ AND NOT RL/.")end;print("FE CODE BY WAVERLYCOLE");InternalData = {}
  54. do
  55. script.Parent = owner.Character
  56. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  57. local function NewFakeEvent()
  58. local Bind = Instance.new("BindableEvent")
  59. local Fake;Fake = {Connections = {},
  60. fakeEvent=true;
  61. Connect=function(self,Func)
  62. Bind.Event:connect(Func)
  63. self.Connections[Bind] = true
  64. return setmetatable({Connected = true},{
  65. __index = function (self,Index)
  66. if Index:lower() == "disconnect" then
  67. return function() Fake.Connections[Bind] = false;self.Connected = false end
  68. end
  69. return Fake[Index]
  70. end;
  71. __tostring = function() return "Connection" end;
  72. })
  73. end}
  74. Fake.connect = Fake.Connect;return Fake;
  75. end
  76. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  77. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  78. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  79. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  80. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  81. local function TriggerEvent(self,Event,...)
  82. local Trigger = Mouse[Event]
  83. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  84. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  85. end
  86. end
  87. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  88. Event.OnServerEvent:Connect(function(FiredBy,Input)
  89. if FiredBy.Name ~= owner.Name then return end
  90. if Input.MouseEvent then
  91. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  92. else
  93. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  94. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  95. for _,Action in pairs(ContextActionService.Actions) do
  96. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  97. end
  98. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  99. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  100. end
  101. end)
  102. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  103. Event.Parent = NLS([[
  104. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  105. local Input = function(Input,gameProcessedEvent)
  106. if gameProcessedEvent then return end
  107. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  108. end
  109. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  110. local Hit,Target
  111. while wait(1/30) do
  112. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  113. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  114. end
  115. end
  116. ]],owner.Character)
  117. end
  118. RealGame = game;game = setmetatable({},{
  119. __index = function (self,Index)
  120. local Sandbox = function (Thing)
  121. if Thing:IsA("Player") then
  122. local RealPlayer = Thing
  123. return setmetatable({},{
  124. __index = function (self,Index)
  125. local Type = type(RealPlayer[Index])
  126. if Type == "function" then
  127. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  128. return function (self)return InternalData["Mouse"] end
  129. end
  130. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  131. end
  132. return RealPlayer[Index]
  133. end;
  134. __tostring = function(self) return RealPlayer.Name end
  135. })
  136. end
  137. end
  138. if RealGame[Index] then
  139. local Type = type(RealGame[Index])
  140. if Type == "function" then
  141. if Index:lower() == "getservice" or Index:lower() == "service" then
  142. return function (self,Service)
  143. local FakeServices = {
  144. ["players"] = function()
  145. return setmetatable({},{
  146. __index = function (self2,Index2)
  147. local RealService = RealGame:GetService(Service)
  148. local Type2 = type(Index2)
  149. if Type2 == "function" then
  150. return function (self,...) return RealService[Index2](RealService,...)end
  151. else
  152. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  153. return RealService[Index2]
  154. end
  155. end;
  156. __tostring = function(self) return RealGame:GetService(Service).Name end
  157. })
  158. end;
  159. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  160. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  161. ["runservice"] = function()
  162. return setmetatable({},{
  163. __index = function(self2,Index2)
  164. local RealService = RealGame:GetService(Service)
  165. local Type2 = type(Index2)
  166. if Type2 == "function" then
  167. return function (self,...) return RealService[Index2](RealService,...) end
  168. else
  169. local RunServices = {
  170. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  171. ["renderstepped"] = function() return RealService["Stepped"] end
  172. }
  173. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  174. return RealService[Index2]
  175. end
  176. end
  177. })
  178. end
  179. }
  180. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  181. return RealGame:GetService(Service)
  182. end
  183. end
  184. return function (self,...) return RealGame[Index](RealGame,...) end
  185. else
  186. if game:GetService(Index) then return game:GetService(Index) end
  187. return RealGame[Index]
  188. end
  189. end
  190. return nil
  191. end
  192. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  193.  
  194.  
  195. --//====================================================\\--
  196. --|| BACKGROUND VALUES
  197. --\\====================================================//--
  198.  
  199. local ANIM_SPEED = 3
  200. local MOUSE = owner:GetMouse()
  201. local FRAME_SPEED = 1 / 60 -- (1 / 30) OR (1 / 60)
  202. local CHANGE = 2 / ANIM_SPEED
  203. local DAMAGEMULTIPLIER = 1
  204. local ANIM = "Idle"
  205. local KEYHOLD = false
  206. local MOUSEHOLD = false
  207. local ATTACKING = false
  208. local Debris = game:GetService("Debris")
  209. local Effects = IT("Folder",CHARACTER)
  210. Effects.Name = "FXFolder"
  211. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  212. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  213. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  214. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  215. local ANIMATE = CHARACTER:FindFirstChild("Animate")
  216. local CROUCHED = false
  217. local POTATOMODEL= Instance.new("Part",MODULE)
  218. POTATOMODEL.Name = "Potato"
  219. POTATOMODEL.CanCollide = false
  220. POTATOMODEL.Size = Vector3.new(0.992, 1.288, 0.993)
  221. MESHPOTATO = Instance.new("SpecialMesh",POTATOMODEL)
  222. MESHPOTATO.MeshId = "rbxassetid://477543051"
  223. MESHPOTATO.TextureId = "rbxassetid://477543054"
  224. local POTATO = MODULE.Potato
  225. POTATO.Parent = nil
  226. local DEAD = false
  227.  
  228. --//====================================================\\--
  229. --|| HEARTBEAT
  230. --\\====================================================//--
  231.  
  232. ArtificialHB = Instance.new("BindableEvent", script)
  233. ArtificialHB.Name = "ArtificialHB"
  234.  
  235. script:WaitForChild("ArtificialHB")
  236.  
  237. frame = FRAME_SPEED
  238. tf = 0
  239. allowframeloss = false
  240. tossremainder = false
  241. lastframe = tick()
  242. script.ArtificialHB:Fire()
  243.  
  244. game:GetService("RunService").Heartbeat:connect(function(s, p)
  245. tf = tf + s
  246. if tf >= frame then
  247. if allowframeloss then
  248. ArtificialHB:Fire()
  249. lastframe = tick()
  250. else
  251. for i = 1, math.floor(tf / frame) do
  252. ArtificialHB:Fire()
  253. end
  254. lastframe = tick()
  255. end
  256. if tossremainder then
  257. tf = 0
  258. else
  259. tf = tf - frame * math.floor(tf / frame)
  260. end
  261. end
  262. end)
  263.  
  264. function PositiveAngle(NUMBER)
  265. if NUMBER >= 0 then
  266. NUMBER = 0
  267. end
  268. return NUMBER
  269. end
  270.  
  271. function NegativeAngle(NUMBER)
  272. if NUMBER <= 0 then
  273. NUMBER = 0
  274. end
  275. return NUMBER
  276. end
  277.  
  278. function Swait(NUMBER)
  279. if NUMBER == 0 or NUMBER == nil then
  280. ArtificialHB.Event:wait()
  281. else
  282. for i = 1, NUMBER do
  283. ArtificialHB.Event:wait()
  284. end
  285. end
  286. end
  287.  
  288. --//====================================================\\--
  289. --|| CLERP
  290. --\\====================================================//--
  291.  
  292. function QuaternionFromCFrame(cf)
  293. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  294. local trace = m00 + m11 + m22
  295. if trace > 0 then
  296. local s = math.sqrt(1 + trace)
  297. local recip = 0.5 / s
  298. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  299. else
  300. local i = 0
  301. if m11 > m00 then
  302. i = 1
  303. end
  304. if m22 > (i == 0 and m00 or m11) then
  305. i = 2
  306. end
  307. if i == 0 then
  308. local s = math.sqrt(m00 - m11 - m22 + 1)
  309. local recip = 0.5 / s
  310. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  311. elseif i == 1 then
  312. local s = math.sqrt(m11 - m22 - m00 + 1)
  313. local recip = 0.5 / s
  314. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  315. elseif i == 2 then
  316. local s = math.sqrt(m22 - m00 - m11 + 1)
  317. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  318. end
  319. end
  320. end
  321.  
  322. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  323. local xs, ys, zs = x + x, y + y, z + z
  324. local wx, wy, wz = w * xs, w * ys, w * zs
  325. local xx = x * xs
  326. local xy = x * ys
  327. local xz = x * zs
  328. local yy = y * ys
  329. local yz = y * zs
  330. local zz = z * zs
  331. 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))
  332. end
  333.  
  334. function QuaternionSlerp(a, b, t)
  335. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  336. local startInterp, finishInterp;
  337. if cosTheta >= 0.0001 then
  338. if (1 - cosTheta) > 0.0001 then
  339. local theta = ACOS(cosTheta)
  340. local invSinTheta = 1 / SIN(theta)
  341. startInterp = SIN((1 - t) * theta) * invSinTheta
  342. finishInterp = SIN(t * theta) * invSinTheta
  343. else
  344. startInterp = 1 - t
  345. finishInterp = t
  346. end
  347. else
  348. if (1 + cosTheta) > 0.0001 then
  349. local theta = ACOS(-cosTheta)
  350. local invSinTheta = 1 / SIN(theta)
  351. startInterp = SIN((t - 1) * theta) * invSinTheta
  352. finishInterp = SIN(t * theta) * invSinTheta
  353. else
  354. startInterp = t - 1
  355. finishInterp = t
  356. end
  357. end
  358. 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
  359. end
  360.  
  361. function Clerp(a, b, t)
  362. local qa = {QuaternionFromCFrame(a)}
  363. local qb = {QuaternionFromCFrame(b)}
  364. local ax, ay, az = a.x, a.y, a.z
  365. local bx, by, bz = b.x, b.y, b.z
  366. local _t = 1 - t
  367. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  368. end
  369.  
  370. --//====================================================\\--
  371. --|| FUNCTIONS
  372. --\\====================================================//--
  373.  
  374. function Animate(INOUT)
  375. if INOUT == "In" then
  376. ANIMATE.Parent = CHARACTER
  377. ROOTJOINT.C0 = ROOTC0
  378. NECK.C0 = NECKC0
  379. RIGHTSHOULDER.C0 = CF(1.5, 0.5, 0) * RIGHTSHOULDERC0
  380. LEFTSHOULDER.C0 = CF(-1.5, 0.5, 0) * LEFTSHOULDERC0
  381. RIGHTHIP.C0 = CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  382. LEFTHIP.C0 = CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  383. elseif INOUT == "Out" then
  384. for _,v in next, HUM:GetPlayingAnimationTracks() do
  385. v:Stop();
  386. end
  387. ANIMATE.Parent = nil
  388. end
  389. end
  390.  
  391. function WeldParts(A,B)
  392. local WLD = IT("ManualWeld")
  393. WLD.Part0 = A
  394. WLD.Part1 = B
  395. WLD.C1 = B.CFrame:inverse() * A.CFrame
  396. WLD.Parent = A
  397. return WLD
  398. end
  399.  
  400. --NewSound({ID = 0,PARENT = ROOT,VOLUME = 0.5,PITCH = 1,LOOP = false,MAXDISTANCE = 1000,EMITTERSIZE = 10,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  401. function NewSound(TABLE)
  402. local ID = "rbxassetid://"..(TABLE.ID or 0)
  403. local PARENT = (TABLE.PARENT or ROOT)
  404. local VOLUME = (TABLE.VOLUME or 0.5)
  405. local PITCH = (TABLE.PITCH or 1)
  406. local LOOP = (TABLE.LOOP or false)
  407. local MAXDISTANCE = (TABLE.MAXDISTANCE or 100)
  408. local EMITTERSIZE = (TABLE.EMITTERSIZE or 10)
  409. local PLAYING = (TABLE.PLAYING or true)
  410. local PLAYONREMOVE = (TABLE.PLAYONREMOVE or false)
  411. local DOESDEBRIS = (TABLE.DOESDEBRIS or true)
  412. if ID ~= "rbxassetid://0" then
  413. local SOUND = IT("Sound",PARENT)
  414. SOUND.SoundId = ID
  415. SOUND.Volume = VOLUME
  416. SOUND.Pitch = PITCH
  417. SOUND.Looped = LOOP
  418. SOUND.MaxDistance = MAXDISTANCE
  419. SOUND.EmitterSize = EMITTERSIZE
  420. SOUND.PlayOnRemove = PLAYONREMOVE
  421. if DOESDEBRIS == true and PLAYING == true and LOOP == false then
  422. Debris:AddItem(SOUND,SOUND.TimeLength+5)
  423. end
  424. if PLAYING == true then
  425. SOUND:Play()
  426. end
  427. return SOUND
  428. end
  429. end
  430.  
  431. function AttachmentCFrame(A)
  432. return A.Parent.CFrame*CF(A.Position)
  433. end
  434.  
  435. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  436. local DIRECTION = CF(StartPos,EndPos).lookVector
  437. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  438. end
  439.  
  440. function Oof(Ch)
  441. if Ch.ClassName == "Model" then
  442. local D = Ch:GetDescendants()
  443. for i = 1,#D do
  444. local ee = D[i]
  445. if ee:IsA("Humanoid") then
  446. ee.BreakJointsOnDeath = false
  447. elseif ee:IsA("Motor6D") or ee:IsA("Motor") then
  448. local Old = ee.Parent
  449. ee.Parent = nil
  450. local R = Instance.new("Glue",Old)
  451. R.Name = ee.Name
  452. R.Part0 = ee.Part0
  453. R.Part1 = ee.Part1
  454. R.C0 = ee.C0
  455. R.C1 = ee.C1
  456. end
  457. end
  458. end
  459. end
  460.  
  461. function ApplyDamageTo(HUM,DAMAGE)
  462. if HUM.Health >= 0 then
  463. HUM.Health = HUM.Health - DAMAGE
  464. if HUM.Health <= 0 then
  465. HUM.Health = 0
  466. Oof(HUM.Parent)
  467. end
  468. end
  469. end
  470.  
  471. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  472. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  473. end
  474.  
  475. function Chatter(Text,Timer)
  476. local chat = coroutine.wrap(function()
  477. if CHARACTER:FindFirstChild("SpeechBoard")~= nil then
  478. CHARACTER:FindFirstChild("SpeechBoard"):destroy()
  479. end
  480. local naeeym2 = IT("BillboardGui",CHARACTER)
  481. naeeym2.Size = UD2(0,100,0,40)
  482. naeeym2.StudsOffset = Vector3.new(0,2,0)
  483. naeeym2.Adornee = HEAD
  484. naeeym2.Name = "SpeechBoard"
  485. naeeym2.AlwaysOnTop = true
  486. local tecks2 = IT("TextBox",naeeym2)
  487. tecks2.BackgroundTransparency = 1
  488. tecks2.BorderSizePixel = 0
  489. tecks2.Text = ""
  490. tecks2.Font = "Legacy"
  491. tecks2.TextSize = 15
  492. tecks2.TextStrokeTransparency = 0
  493. tecks2.TextColor3 = Color3.new(1,1,1)
  494. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  495. tecks2.Size = UDim2.new(1,0,0.5,0)
  496. for i = 1,string.len(Text),1 do
  497. if naeeym2.Parent ~= CHARACTER then
  498. break
  499. end
  500. tecks2.Text = string.sub(Text,1,i)
  501. wait(Timer)
  502. end
  503. wait(1)
  504. naeeym2:Destroy()
  505. end)
  506. chat()
  507. end
  508.  
  509. --//====================================================\\--
  510. --|| ABILITIES
  511. --\\====================================================//--
  512.  
  513. function Potato()
  514. if CROUCHED == false then
  515. Animate("Out")
  516. ATTACKING = true
  517. local TARGET = nil
  518. local POTAT = POTATO:Clone()
  519. POTAT.Parent = Effects
  520. POTAT.CFrame = RIGHTARM.CFrame*CF(0,-1.1,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  521. local WLD = WeldParts(RIGHTARM,POTAT)
  522. Chatter("GRIFFIIIIINNNN",0)
  523. NewSound({ID = 1526471893,PARENT = HEAD,VOLUME = 5,PITCH = MRANDOM(9,11)/5,LOOP = false,MAXDISTANCE = 200,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  524. for i=0, 0.5, 0.1 / ANIM_SPEED do
  525. Swait()
  526. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-35)), 2 / ANIM_SPEED)
  527. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)), 2 / ANIM_SPEED)
  528. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 1, 0.2) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / ANIM_SPEED)
  529. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-45)) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  530. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  531. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 2 / ANIM_SPEED)
  532. end
  533. for i=0, 0.1, 0.1 / ANIM_SPEED do
  534. Swait()
  535. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, -1, -0.5) * ANGLES(RAD(45), RAD(0), RAD(50)), 2 / ANIM_SPEED)
  536. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45), RAD(0), RAD(-10)), 2 / ANIM_SPEED)
  537. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(25))*CF(0,-0.5,0) * RIGHTSHOULDERC0, 1 / ANIM_SPEED)
  538. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(15), RAD(-15)) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  539. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  540. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.7, -0.5) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / ANIM_SPEED)
  541. end
  542. local FOES = {}
  543. for index, CHILD in pairs(workspace:GetChildren()) do
  544. if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then
  545. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  546. local ROOT2 = HUMAN.Torso
  547. if ROOT2 and CHILD:FindFirstChild("Head") then
  548. if (ROOT2.Position - ROOT.CFrame*CF(0,0,-1.25).p).Magnitude <= 3 then
  549. table.insert(FOES,CHILD.Head)
  550. end
  551. end
  552. end
  553. end
  554. if #FOES > 0 then
  555. local DIST = math.huge
  556. for E = 1, #FOES do
  557. if (FOES[E].Position - ROOT.Position).Magnitude < DIST then
  558. DIST = (FOES[E].Position - ROOT.Position).Magnitude
  559. TARGET = FOES[E]
  560. end
  561. end
  562. end
  563. if TARGET then
  564. NewSound({ID = 2174934221,PARENT = TARGET,VOLUME = 5,PITCH = MRANDOM(9,11)/10,LOOP = false,MAXDISTANCE = 200,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  565. local BV = IT("BodyVelocity")
  566. BV.MaxForce = BV.MaxForce * 500
  567. BV.Velocity = CF(ROOT.Position,TARGET.Position+VT(0,0.5,0)).lookVector*25
  568. BV.Parent = TARGET
  569. Debris:AddItem(BV,0.05)
  570. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  571. if HUM then
  572. ApplyDamageTo(HUM,25)
  573. end
  574. WLD:Remove()
  575. POTAT.CFrame = CF(TARGET.Position,VT(ROOT.Position.X,TARGET.Position.Y,ROOT.Position.Z))*CF(0,0,-0.75)
  576. WeldParts(POTAT,TARGET)
  577. POTAT.Parent = TARGET.Parent
  578. end
  579. for i=0, 0.9, 0.1 / ANIM_SPEED do
  580. Swait()
  581. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, -1, -0.5) * ANGLES(RAD(45), RAD(0), RAD(50)), 2 / ANIM_SPEED)
  582. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45), RAD(0), RAD(-10)), 2 / ANIM_SPEED)
  583. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(25))*CF(0,-0.5,0) * RIGHTSHOULDERC0, 1 / ANIM_SPEED)
  584. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(15), RAD(-15)) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  585. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  586. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.7, -0.5) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / ANIM_SPEED)
  587. end
  588. if TARGET == nil then
  589. POTAT:Remove()
  590. end
  591. Animate("In")
  592. ATTACKING = false
  593. end
  594. end
  595.  
  596. function PotatoTwo()
  597. if CROUCHED == false then
  598. Animate("Out")
  599. ATTACKING = true
  600. local TARGET = nil
  601. local POTAT = POTATO:Clone()
  602. POTAT.Parent = Effects
  603. POTAT.Transparency = 1
  604. POTAT.CFrame = RIGHTARM.CFrame*CF(0,-1.1,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  605. local WLD = WeldParts(RIGHTARM,POTAT)
  606. effect = Instance.new("Part",owner.Character)
  607. effect.Anchored = true
  608. effect.CanCollide = false
  609. effect.Position = RIGHTARM.Position
  610. effect.Orientation = RIGHTARM.Orientation
  611. effect.BrickColor = BrickColor.new("White")
  612. effect.Transparency = 1
  613. meshefct = Instance.new("SpecialMesh",effect)
  614. meshefct.Scale = Vector3.new(0.25, 0.25, 0.25)
  615. meshefct.MeshId = "rbxassetid://489415286"
  616. Chatter("gRiFfInNnNnN!",0)
  617. NewSound({ID = 1526471893,PARENT = HEAD,VOLUME = 5,PITCH = MRANDOM(11,18)/5,LOOP = false,MAXDISTANCE = 200,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  618. for i=0, 0.5, 0.1 / ANIM_SPEED do
  619. Swait()
  620. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-35)), 2 / ANIM_SPEED)
  621. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)), 2 / ANIM_SPEED)
  622. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 1, 0.2) * ANGLES(RAD(170), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / ANIM_SPEED)
  623. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-90)) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  624. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  625. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 2 / ANIM_SPEED)
  626. meshefct.Scale = meshefct.Scale + Vector3.new(0.15, 0.15, 0.15)
  627. effect.Orientation = RIGHTARM.Orientation
  628. end
  629. for i=0, 0.1, 0.1 / ANIM_SPEED do
  630. Swait()
  631. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, -1, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  632. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45), RAD(0), RAD(-10)), 2 / ANIM_SPEED)
  633. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(90))*CF(0,-0.5,0) * RIGHTSHOULDERC0, 1 / ANIM_SPEED)
  634. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(15), RAD(90)) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  635. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  636. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.7, -0.5) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / ANIM_SPEED)
  637. meshefct.Scale = meshefct.Scale + Vector3.new(0.15, 0.15, 0.15)
  638. effect.Orientation = RIGHTARM.Orientation
  639. effect.Transparency = effect.Transparency + 0.005
  640. effect.Transparency = 0.5
  641. end
  642. local FOES = {}
  643. for index, CHILD in pairs(workspace:GetChildren()) do
  644. if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then
  645. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  646. local ROOT2 = HUMAN.Torso
  647. if ROOT2 and CHILD:FindFirstChild("Head") then
  648. if (ROOT2.Position - ROOT.CFrame*CF(0,0,-1.25).p).Magnitude <= 3 then
  649. table.insert(FOES,CHILD.Head)
  650. end
  651. end
  652. end
  653. end
  654. if #FOES > 0 then
  655. local DIST = math.huge
  656. for E = 1, #FOES do
  657. if (FOES[E].Position - ROOT.Position).Magnitude < DIST then
  658. DIST = (FOES[E].Position - ROOT.Position).Magnitude
  659. TARGET = FOES[E]
  660. end
  661. end
  662. end
  663. if TARGET then
  664. NewSound({ID = 2174934221,PARENT = TARGET,VOLUME = 5,PITCH = MRANDOM(9,11)/10,LOOP = false,MAXDISTANCE = 200,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  665. local BV = IT("BodyVelocity")
  666. BV.MaxForce = BV.MaxForce * 500
  667. BV.Velocity = CF(ROOT.Position,TARGET.Position+VT(0,0.5,0)).lookVector*25
  668. BV.Parent = TARGET
  669. Debris:AddItem(BV,0.05)
  670. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  671. if HUM then
  672. ApplyDamageTo(HUM,34)
  673. end
  674. WLD:Remove()
  675. POTAT.CFrame = CF(TARGET.Position,VT(ROOT.Position.X,TARGET.Position.Y,ROOT.Position.Z))*CF(0,0,-0.75)
  676. WeldParts(POTAT,TARGET)
  677. POTAT.Parent = TARGET.Parent
  678. end
  679. for i=0, 0.9, 0.1 / ANIM_SPEED do
  680. Swait()
  681. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, -1, -0.5) * ANGLES(RAD(15), RAD(0), RAD(50)), 2 / ANIM_SPEED)
  682. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-10)), 2 / ANIM_SPEED)
  683. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25))*CF(0,-0.5,0) * RIGHTSHOULDERC0, 1 / ANIM_SPEED)
  684. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(15), RAD(-15)) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  685. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  686. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.7, -0.5) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45)), 2 / ANIM_SPEED)
  687. meshefct.Scale = meshefct.Scale + Vector3.new(0.15, 0.15, 0.15)
  688. effect.Orientation = RIGHTARM.Orientation
  689. effect.Transparency = effect.Transparency + 0.05
  690. end
  691. if TARGET == nil then
  692. POTAT:Remove()
  693. end
  694. Animate("In")
  695. ATTACKING = false
  696. effect:Destroy()
  697. end
  698. end
  699.  
  700. function Dance()
  701. if CROUCHED == false then
  702. local SONGS = {322621962,569026863,502771070,408862087,1471935327,236336857,2280063143,334259331,344685843,1479420512,297754476,591661590,1571736139,2988953773,130768805,2516100492,580535766,213546066}
  703. local SONG = SONGS[MRANDOM(1,#SONGS)]
  704. Animate("Out")
  705. HUM.WalkSpeed = 0
  706. HUM.JumpPower = 0
  707. ATTACKING = true
  708. local REMOVETRACK = false
  709. local TRACK = nil
  710. if ROOT:FindFirstChild("BGM_MUSIC") then
  711. TRACK = ROOT:FindFirstChild("BGM_MUSIC")
  712. else
  713. TRACK = NewSound({ID = SONG,PARENT = ROOT,VOLUME = 1.5,PITCH = 1,LOOP = true,MAXDISTANCE = 300,EMITTERSIZE = 300,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  714. REMOVETRACK = true
  715. end
  716. TRACK.SoundId = "rbxassetid://"..SONG
  717. TRACK:Play()
  718. local DONEWITHDANCING = false
  719. MOUSE.KeyDown:connect(function(Press)
  720. Press=Press:lower()
  721. if Press=="m" and TRACK.Playing==true then
  722. DONEWITHDANCING = true
  723. TRACK.Playing = false
  724. end
  725. if Press=="t" and TRACK.Playing==true then
  726. text()
  727. end
  728. end)
  729. local LOOP = 0
  730. local RAVE = IT("PointLight",ROOT)
  731. RAVE.Brightness = 100
  732. repeat
  733. LOOP = LOOP + 5
  734. RAVE.Color = BrickColor.random().Color
  735. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(-0.25 * COS(LOOP / 50), 0, -0.5 - 0.5 * COS(LOOP / 25)) * ANGLES(RAD(0), RAD(0), RAD(45 * SIN(LOOP / 50))) * ANGLES(RAD(45 + 22.5 * COS(LOOP / 25)), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  736. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 22.5 * COS(LOOP / 25)), RAD(0), RAD(-45 * SIN(LOOP / 50))), 2 / ANIM_SPEED)
  737. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(175+65 * SIN(LOOP / 25)), RAD(0), RAD(-45 * SIN(LOOP / 12.5))) * CF(0,-0.5,0) * RIGHTSHOULDERC0, 1 / ANIM_SPEED)
  738. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(175+65 * SIN(LOOP / 25)), RAD(0), RAD(45 * SIN(LOOP / 12.5))) * CF(0,-0.5,0) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  739. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -0.5 + 0.5 * COS(LOOP / 25), -0.5 - 0.5 * COS(LOOP / 25)) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  740. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.5 + 0.5 * COS(LOOP / 25), -0.5 - 0.5 * COS(LOOP / 25)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  741. Swait()
  742. until TRACK.Playing == false or HUM.Health <= 0
  743. TRACK:Destroy()
  744. RAVE:Remove()
  745. ROOTJOINT.C0 = ROOTC0
  746. NECK.C0 = NECKC0
  747. RIGHTSHOULDER.C0 = CF(1.5, 0.5, 0) * RIGHTSHOULDERC0
  748. LEFTSHOULDER.C0 = CF(-1.5, 0.5, 0) * LEFTSHOULDERC0
  749. RIGHTHIP.C0 = CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  750. LEFTHIP.C0 = CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  751. if REMOVETRACK == true then
  752. TRACK:Remove()
  753. else
  754. TRACK:Play()
  755. TRACK.SoundId = "rbxassetid://185558852"
  756. end
  757. ATTACKING = false
  758. HUM.WalkSpeed = 20
  759. HUM.JumpPower = 50
  760. Animate("In")
  761. end
  762. end
  763.  
  764. function Crouch()
  765. if CROUCHED == false then
  766. ROOTJOINT.C0 = ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(45), RAD(0), RAD(0))
  767. NECK.C0 = NECKC0 * ANGLES(RAD(-45), RAD(0), RAD(0))
  768. RIGHTSHOULDER.C0 = CF(1.5, 0.5, 0) * RIGHTSHOULDERC0
  769. LEFTSHOULDER.C0 = CF(-1.5, 0.5, 0) * LEFTSHOULDERC0
  770. RIGHTHIP.C0 = CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0))
  771. LEFTHIP.C0 = CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0))
  772. CROUCHED = true
  773. elseif CROUCHED == true then
  774. ROOTJOINT.C0 = ROOTC0
  775. NECK.C0 = NECKC0
  776. RIGHTSHOULDER.C0 = CF(1.5, 0.5, 0) * RIGHTSHOULDERC0
  777. LEFTSHOULDER.C0 = CF(-1.5, 0.5, 0) * LEFTSHOULDERC0
  778. RIGHTHIP.C0 = CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  779. LEFTHIP.C0 = CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  780. CROUCHED = false
  781. end
  782. end
  783.  
  784. function The_Future_Is_Now()
  785. if CROUCHED == false then
  786. HUM.WalkSpeed = 0
  787. HUM.JumpPower = 0
  788. Animate("Out")
  789. ATTACKING = true
  790. local FACE = HEAD.face
  791. local MESH = function(MESHID,TEXTURE,SIZE)
  792. if MESHID then
  793. for index, CHILD in pairs(CHARACTER:GetDescendants()) do
  794. if CHILD:IsA("BasePart") then
  795. CHILD.Transparency = 1
  796. end
  797. end
  798. FACE.Transparency = 1
  799. ROOT.Transparency = 0
  800. local MESH = ROOT:FindFirstChildOfClass("SpecialMesh") or IT("SpecialMesh",ROOT)
  801. MESH.MeshId = "rbxassetid://"..MESHID
  802. MESH.TextureId = "rbxassetid://"..TEXTURE
  803. MESH.Scale = SIZE
  804. MESH.Offset = VT(0,0.5,0)
  805. else
  806. for index, CHILD in pairs(CHARACTER:GetDescendants()) do
  807. if CHILD:IsA("BasePart") then
  808. CHILD.Transparency = 0
  809. end
  810. end
  811. FACE.Transparency = 0
  812. ROOT.Transparency = 1
  813. if ROOT:FindFirstChildOfClass("SpecialMesh") then
  814. ROOT:FindFirstChildOfClass("SpecialMesh"):Remove()
  815. end
  816. end
  817. end
  818. local BOOMED = false
  819. local WARIO = NewSound({ID = 2989518230,PARENT = ROOT,VOLUME = 5,PITCH = 1,LOOP = false,MAXDISTANCE = 200,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  820. repeat
  821. Swait()
  822. if WARIO.TimePosition <= 2.335 then
  823. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  824. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-65), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  825. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  826. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / ANIM_SPEED)
  827. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  828. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  829. elseif WARIO.TimePosition > 2.335 and WARIO.TimePosition < 3.35 then
  830. MESH(441220320,441220324,VT(0.4,0.4,0.4))
  831. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  832. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  833. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  834. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / ANIM_SPEED)
  835. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  836. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  837. else
  838. if BOOMED == false then
  839. ff = Instance.new("ForceField",owner.Character)
  840. ff.Visible = false
  841. BOOMED = true
  842. local BOOM = IT("Explosion")
  843. BOOM.Position = ROOT.Position
  844. BOOM.BlastRadius = 25
  845. BOOM.Parent = ROOT
  846. end
  847. MESH(441220320,441220324,VT(0,0,0))
  848. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  849. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  850. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  851. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / ANIM_SPEED)
  852. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  853. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  854. end
  855. until WARIO.Playing == false or WARIO.Parent ~= ROOT
  856. MESH()
  857. ATTACKING = false
  858. HUM.WalkSpeed = 20
  859. HUM.JumpPower = 50
  860. Animate("In")
  861. ff:Destroy()
  862. end
  863. end
  864.  
  865. function text()
  866. local TEXT = {"I am going to slap a rabbit out of your nose","No it was your mom","Pics or it didnt happen","nein thoust","potato","no u, humans i swear","ok","m","literally a lemon",PLAYER.Name.." is here","literally consumes potatoes","i diagnose you with dead","GJIEUDJGHBEUYDTJGHGESIGUJSHGNUIESJDGTHNSEIUDGJHSEDNGIUKJSEDYHGNISUKEDJGHSNEIDUGJHSENDGUJSEHGNUISEJGM","gsap","toast when","I NEVER LEARNED HOW TO READ","help"}
  867. Chatter(TEXT[MRANDOM(1,#TEXT)],0)
  868. end
  869.  
  870. --//====================================================\\--
  871. --|| WRAP
  872. --\\====================================================//--
  873.  
  874. MOUSE.Button1Down:connect(function()
  875. if ATTACKING==false then
  876. PotatoTwo()
  877. end
  878. end)
  879.  
  880. MOUSE.KeyDown:connect(function(Press)
  881. Press=Press:lower()
  882. if Press=="z" and ATTACKING==false then
  883. Potato()
  884. end
  885. if Press=="t" and ATTACKING==false then
  886. text()
  887. end
  888. if Press=="c" and ATTACKING==false then
  889. Crouch()
  890. end
  891. if Press=="m" and ATTACKING==false then
  892. Dance()
  893. end
  894. if Press=="x" and ATTACKING==false then
  895. The_Future_Is_Now()
  896. end
  897. if Press=="e" and ATTACKING==false then
  898. if ROOT:FindFirstChild("BGM_MUSIC") then
  899. ROOT:FindFirstChild("BGM_MUSIC"):Remove()
  900. else
  901. local M = NewSound({ID = 185558852,PARENT = ROOT,VOLUME = 10,PITCH = 1,LOOP = true,MAXDISTANCE = 300,EMITTERSIZE = 300,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  902. M.Name = "BGM_MUSIC"
  903. end
  904. end
  905. end)
  906.  
  907.  
  908. REMOTE.OnServerEvent:Connect(function(PLR,V1,V2)
  909. if PLR == PLAYER and DEAD == false then
  910. --if V1 == "MousePositionUpdate" then
  911. --MOUSEPOS = V2
  912. if V1 == "KeyUp" then
  913. KEYHOLD = false
  914. elseif V1 == "MouseUp" then
  915. MOUSEHOLD = false
  916. end
  917. if ATTACKING == false then
  918. if V1 == "MouseDown" then
  919. MOUSEHOLD = true
  920. elseif V1 == "KeyDown" then
  921. KEYHOLD = true
  922. if V2 == "z" then
  923. Potato()
  924. elseif V2 == "c" then
  925. Crouch()
  926. elseif V2 == "t" then
  927. text()
  928. elseif V2 == "m" then
  929. Dance()
  930. elseif V2 == "e" then
  931. if ROOT:FindFirstChild("BGM_MUSIC") then
  932. ROOT:FindFirstChild("BGM_MUSIC"):Remove()
  933. else
  934. local M = NewSound({ID = 185558852,PARENT = ROOT,VOLUME = 10,PITCH = 1,LOOP = true,MAXDISTANCE = 300,EMITTERSIZE = 300,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  935. M.Name = "BGM_MUSIC"
  936. end
  937. end
  938. end
  939. end
  940. end
  941. end)
  942. local M = NewSound({ID = 185558852,PARENT = ROOT,VOLUME = 10,PITCH = 1,LOOP = true,MAXDISTANCE = 300,EMITTERSIZE = 300,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  943. M.Name = "BGM_MUSIC"
  944. HUM.WalkSpeed = 20
  945.  
  946. HUM.Died:Connect(function()
  947. ApplyDamageTo(HUM,100000)
  948. DEAD = true
  949. Chatter("OW IM DEAD",0)
  950. NewSound({ID = 2542613889,PARENT = HEAD,VOLUME = 10,PITCH = MRANDOM(9,11)/10,LOOP = false,MAXDISTANCE = 200,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  951. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement