Advertisement
Cute_Sylveon

dtt

Sep 22nd, 2018
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.39 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142.  
  143. -- The Box of Wonder --
  144.  
  145. wait()
  146. script.Parent = nil
  147. LoudVolume = false
  148. Submerged = false
  149. Music = true
  150. script.Name = "CardboardBox"
  151. Player = game.Players.LocalPlayer
  152. c = game.Players.LocalPlayer.Character
  153. Head = c.Head
  154. anim = c.Humanoid.Animator
  155. Humanoid = c:findFirstChild("Humanoid")
  156. b23 = Instance.new("BoolValue",c)b23.Name = "InfiniteHuman"
  157. rage = false
  158. p = game.Players.LocalPlayer
  159. Music = false
  160. W = nil
  161. local Effects = {}
  162. attack = false
  163. local attacking = false
  164. vt = Vector3.new
  165. bc = BrickColor.new
  166. br = BrickColor.random
  167. it = Instance.new
  168. cf = CFrame.new
  169. euler = CFrame.fromEulerAnglesXYZ
  170. angles = CFrame.Angles
  171. matr = math.random
  172. mouse = Player:GetMouse()
  173.  
  174. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  175. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  176. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  177. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  178. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  179. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  180. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  181. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  182. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  183. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  184. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  185. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  186. RS = c.Torso:FindFirstChild("Right Shoulder")
  187. LS = c.Torso:FindFirstChild("Left Shoulder")
  188. RH = c.Torso:FindFirstChild("Right Hip")
  189. LH = c.Torso:FindFirstChild("Left Hip")
  190. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  191. N = c.Torso:FindFirstChild("Neck")
  192. cf = CFrame.new
  193. ang = CFrame.Angles
  194. rd = math.rad
  195. rd2 = math.random
  196.  
  197. function lerpz(joint, prop, cfrmz, alp)
  198. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  199. end
  200. function resetlerp()
  201. RJ.C0 = RJC0
  202. RJ.C1 = RJC1
  203. N.C0 = NC0
  204. N.C1 = NC1
  205. RS.C0 = RSC0
  206. RS.C1 = RSC1
  207. LS.C0 = LSC0
  208. LS.C1 = LSC1
  209. RH.C0 = RHC0
  210. RH.C1 = RHC1
  211. LH.C0 = LHC0
  212. LH.C1 = LHC1
  213. end
  214.  
  215. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://235529455" S.Volume = 3 S.Looped = true
  216. function NukeShockwaves(Size, CFramez)
  217. local Shock = Instance.new("Part",game.Workspace)Shock.Transparency = 0.5 Shock.Size = Vector3.new(0.2,0.2,0.2) Shock.Anchored = true
  218. Shock.CanCollide = false Shock.BrickColor = BrickColor.new("Medium stone grey") local SM = Instance.new("SpecialMesh",Shock)
  219. SM.MeshId = "rbxassetid://20329976" SM.Scale = Vector3.new(Size,5,Size) Shock.CFrame = CFramez*CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0)
  220. Spawn(function()
  221. for i = 1,math.huge do
  222. if Shock.Transparency >= 1 then break end
  223. Shock.Transparency = Shock.Transparency + 0.05
  224. wait()
  225. end
  226. end)
  227. end
  228.  
  229. function swait(num)
  230. if num==0 or num==nil then
  231. game:service'RunService'.Heartbeat:wait(0)
  232. else
  233. for i=0,num do
  234. game:service'RunService'.Heartbeat:wait(0)
  235. end
  236. end
  237. end
  238.  
  239. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.new(0,3,0)
  240. local P = Instance.new("Part",c)P.Size = Vector3.new(3,3,3)W = Instance.new("Weld",c.HumanoidRootPart)W.Part0 = c.HumanoidRootPart W.Part1 = P
  241. P.TopSurface = "SmoothNoOutlines" P.BottomSurface = "SmoothNoOutlines" P.FrontSurface = "SmoothNoOutlines" P.BackSurface = "SmoothNoOutlines"
  242. P.LeftSurface = "SmoothNoOutlines" P.RightSurface = "SmoothNoOutlines" P.BrickColor = BrickColor.new("Linen") P.Material = "SmoothPlastic"
  243. local M = Instance.new("BlockMesh",P)
  244. local tra = Instance.new("ParticleEmitter",P) tra.Color = ColorSequence.new(Color3.new(0/255,170/255,255/255)) tra.Texture = "rbxassetid://73623723"
  245. tra.Rate = 2 tra.Rotation = NumberRange.new(-25,25) tra.Lifetime = NumberRange.new(1,2) tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.35,0),NumberSequenceKeypoint.new(1,0.35,0)})
  246. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.135,0,0),NumberSequenceKeypoint.new(0.875,0,0),NumberSequenceKeypoint.new(1,1,0)})
  247. tra.Speed = NumberRange.new(0.5) tra.VelocitySpread = 360 tra.ZOffset = 1 tra.Acceleration = Vector3.new(0,5,0) tra.Enabled = false
  248. function SelfDestructBox()
  249. local Sound = Instance.new("Sound",c.HumanoidRootPart) Sound.SoundId = "rbxassetid://256286242" Sound.Volume = 4 Sound:Play()
  250. P.Touched:connect(function(Hit)
  251. if Hit == c or Hit.Parent == c or Hit.Anchored == true then return end
  252. for i,v in pairs(game.Workspace:children()) do
  253. if v:findFirstChild("HumanoidRootPart")~= nil and v ~= c then
  254. if (v.HumanoidRootPart.Position-c.HumanoidRootPart.Position).magnitude <= 25 then
  255. v:findFirstChild("Humanoid"):TakeDamage(100)
  256. end
  257. end
  258. end
  259. Hit = true c.Parent = nil
  260. local Shock = Instance.new("Part",game.Workspace)Shock.Transparency = 0 Shock.Size = Vector3.new(1,1,1) Shock.Anchored = true
  261. Shock.CanCollide = false Shock.BrickColor = BrickColor.new("Bright orange") Shock.Material = "Neon" local SM = Instance.new("SpecialMesh",Shock)
  262. Shock.CFrame = CFrame.new(P.Position) SM.MeshType = "Sphere"
  263. P:remove()
  264. local Pos = Shock.Position
  265. local Sound = Instance.new("Sound",Shock) Sound.SoundId = "rbxassetid://258057783" Sound.Volume = 4 Sound.Parent = Shock Sound.PlaybackSpeed = 1 Sound:Play()
  266. for i = 1,4 do
  267. SM.Scale = SM.Scale + Vector3.new(i*2,i*2,i*2)
  268. swait()
  269. end
  270. for i = 1,30 do
  271. SM.Offset = Vector3.new(math.random(-2,2)/10,math.random(-2,2)/10,math.random(-2,2)/10)
  272. NukeShockwaves(i*3,CFrame.new(Shock.Position))
  273. swait()
  274. end
  275. for i = 1,30 do
  276. Shock.Transparency = Shock.Transparency + 1/30
  277. SM.Scale = SM.Scale + Vector3.new(i*0.025,i*0.025,i*0.025)
  278. swait()
  279. end
  280. end)
  281. end
  282.  
  283. sine = 0
  284.  
  285. Sadness = false
  286.  
  287. InBox = false local Speed
  288. function HideInBox()
  289. if InBox == false then Humanoid.WalkSpeed = 6 S:Play()
  290. Humanoid.HipHeight = -0.5 anim.Parent = nil InBox = true c.Head.Transparency = 1
  291. for i = 1,10 do
  292. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  293. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.1)
  294. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.1)
  295. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  296. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.1)
  297. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  298. lerpz(RH, "C0", RHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  299. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  300. lerpz(LH, "C0", LHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  301. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  302. swait()
  303. end
  304. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  305. v2.Transparency = 1 end end end end tra.Enabled = true
  306. while InBox == true do
  307. if Sadness == true then
  308. tra.Enabled = false
  309. else
  310. tra.Enabled = true
  311. end
  312. if attack == false then
  313. local Beat = 1+(S.PlaybackLoudness)/2500
  314. M.Scale = Vector3.new(Beat,Beat,Beat)
  315. if (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 4 then
  316. sine = sine + 1 Humanoid.HipHeight = -0.5
  317. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  318. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.5)
  319. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5)
  320. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  321. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5)
  322. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  323. lerpz(RH, "C0", RHC0 * cf(0, 0.5, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5)
  324. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  325. lerpz(LH, "C0", LHC0 * cf(0, 0.5, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5)
  326. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  327. else Humanoid.HipHeight = -1.5
  328. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  329. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.2)
  330. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.2)
  331. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  332. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.2)
  333. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  334. lerpz(RH, "C0", RHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  335. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  336. lerpz(LH, "C0", LHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  337. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  338. end
  339. end
  340. swait()
  341. end
  342. else InBox = false anim.Parent = Humanoid Humanoid.HipHeight = 0 Humanoid.WalkSpeed = 16 c.Head.Transparency = 0 S:Stop()
  343. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  344. v2.Transparency = 0 end end end end tra.Enabled = false
  345. M.Scale = Vector3.new(1,1,1)
  346. for i = 1,10 do
  347. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  348. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  349. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  350. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  351. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  352. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  353. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  354. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  355. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  356. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  357. swait()
  358. end
  359. end
  360. end
  361.  
  362. WeegeeAttax = false
  363. function WeegeeAttack()
  364. WeegeeAttax = true
  365. while WeegeeAttax == true do
  366. swait()
  367. for i,v in pairs (game.Workspace:children()) do
  368. if v.Name == "Weegee" then
  369. if v:findFirstChild("BodyVelocity")==nil then
  370. local BV = Instance.new("BodyVelocity",v)BV.Velocity = v.CFrame.lookVector*-75
  371. BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  372. else
  373. v:findFirstChild("BodyVelocity").Velocity = v.CFrame.lookVector*-75
  374. end
  375. v.CFrame = CFrame.new(v.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p)
  376. v.CFrame = v.CFrame*CFrame.Angles(0,math.rad(180),0)
  377. end
  378. end
  379. end
  380. for i,v in pairs (game.Workspace:children()) do
  381. if v.Name == "Weegee" then
  382. if v:findFirstChild("BodyVelocity")~=nil then
  383. v:findFirstChild("BodyVelocity"):remove()
  384. end
  385. end
  386. end
  387. end
  388.  
  389. function Retreat()
  390. if Inflated == false then
  391. anim.Parent = nil
  392. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://202427593" S.Volume = 1 S:Play()
  393. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  394. v2.Transparency = 1 end end end end
  395. for i = 1,4 do
  396. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  397. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.75)
  398. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.75)
  399. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  400. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.75)
  401. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  402. lerpz(RH, "C0", RHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  403. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  404. lerpz(LH, "C0", LHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  405. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  406. swait()
  407. end
  408. for i = 1,100 do
  409. Humanoid.HipHeight = -1.5 c.HumanoidRootPart.Velocity = c.HumanoidRootPart.CFrame.lookVector*100
  410. W.C0 = W.C0*CFrame.Angles(math.rad(-15),0,0)
  411. swait()
  412. end
  413. W.C0 = CFrame.Angles(0,0,0)
  414. if InBox == false then
  415. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  416. v2.Transparency = 0 end end end end anim.Parent = Humanoid
  417. for i = 1,10 do
  418. swait()
  419. end
  420. end
  421. else
  422. anim.Parent = nil
  423. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://202427593" S.Volume = 1 S:Play()
  424. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  425. v2.Transparency = 1 end end end end
  426. if InBox == false then
  427. for i = 1,4 do
  428. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  429. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.75)
  430. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.75)
  431. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  432. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.75)
  433. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  434. lerpz(RH, "C0", RHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  435. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  436. lerpz(LH, "C0", LHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  437. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  438. swait()
  439. end
  440. end
  441. for i = 1,100 do
  442. c.HumanoidRootPart.Velocity = c.HumanoidRootPart.CFrame.lookVector*100
  443. W.C0 = W.C0*CFrame.Angles(math.rad(-15),0,0)
  444. swait()
  445. end
  446. if InBox == false then
  447. resetlerp()
  448. end
  449. W.C0 = CFrame.Angles(0,0,0)
  450. if InBox == false then
  451. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  452. v2.Transparency = 0 end end end end anim.Parent = Humanoid
  453. for i = 1,10 do
  454. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  455. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  456. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  457. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  458. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  459. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  460. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  461. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  462. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  463. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  464. swait()
  465. end
  466. end
  467. end
  468. end
  469. Inflated = false
  470. function Inflate()
  471. if Inflated == false then
  472. local Charge = 0 S.Volume = 10
  473. for i = 1,75 do Charge = Charge + 0.1 c.HumanoidRootPart.Anchored = true Inflated = true Humanoid.HipHeight = Humanoid.HipHeight + 0.05
  474. P.Size = P.Size+Vector3.new(Charge*0.1,Charge*0.1,Charge*0.1)W = Instance.new("Weld",c.HumanoidRootPart)W.Part0 = c.HumanoidRootPart W.Part1 = P
  475. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.new(0,1,0)
  476. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  477. lerpz(N, "C0", NC0 * cf(0, 0, Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  478. lerpz(RS, "C0", RSC0 * cf(0, 0, Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  479. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  480. lerpz(LS, "C0", LSC0 * cf(0, 0, Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  481. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  482. lerpz(RH, "C0", RHC0 * cf(0, -Charge*0.5, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  483. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  484. lerpz(LH, "C0", LHC0 * cf(0, -Charge*0.5, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  485. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  486. swait()
  487. end
  488. local hit = false
  489. P.Touched:connect(function(Hit)
  490. if hit == true then return end
  491. if Hit.Anchored == true and Hit.Name ~= "NoMoonPls" then
  492. hit = true P.Anchored = true
  493. for i = 1,8 do
  494. local S2 = Instance.new("Sound",P)S2.SoundId = "rbxassetid://211062246" S2.Volume = 10 S2:Play()
  495. local S3 = Instance.new("Sound",P)S3.SoundId = "rbxassetid://133159174" S3.Volume = 10 S3:Play() game.Debris:AddItem(S3,4)
  496. end
  497. end
  498. end)
  499. else
  500. local Charge = 0
  501. for i = 1,25 do Charge = Charge + 0.3 c.HumanoidRootPart.Anchored = true Inflated = false Humanoid.HipHeight = Humanoid.HipHeight - 0.15
  502. P.Size = P.Size-Vector3.new(Charge*0.1,Charge*0.1,Charge*0.1)W = Instance.new("Weld",c.HumanoidRootPart)W.Part0 = c.HumanoidRootPart W.Part1 = P
  503. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.new(0,-1,0)
  504. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  505. lerpz(N, "C0", NC0 * cf(0, 0, -Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  506. lerpz(RS, "C0", RSC0 * cf(0, 0, -Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  507. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  508. lerpz(LS, "C0", LSC0 * cf(0, 0, -Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  509. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  510. lerpz(RH, "C0", RHC0 * cf(0, Charge*0.5, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  511. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  512. lerpz(LH, "C0", LHC0 * cf(0, Charge*0.5, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  513. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  514. swait()
  515. end
  516. resetlerp() P.Size = Vector3.new(3,3,3) W = Instance.new("Weld",c.HumanoidRootPart)W.Part0 = c.HumanoidRootPart W.Part1 = P S.Volume = 1
  517. end
  518. end
  519.  
  520. function Sadnessz()
  521. if Sadness == false then
  522. Song = "Sadness" Sadness = true
  523. S.SoundId = "rbxassetid://225195031"
  524. local Cl = Instance.new("Part",c)Cl.Size = Vector3.new(6,1,6)Cl.CanCollide = true Cl.Anchored = true Cl.BrickColor = BrickColor.new("Dark stone grey")
  525. local M = Instance.new("SpecialMesh",Cl)M.MeshId = "rbxassetid://1095708" M.Scale = Vector3.new(7,4,7) local Ch = 0
  526. while Sadness == true do
  527. local Rain = Instance.new("Part",c)Rain.Size = Vector3.new(0.2,2,0.2)Rain.CanCollide = false Rain.BrickColor = BrickColor.new("Light blue")
  528. local RM = Instance.new("BlockMesh",Rain)RM.Scale = Vector3.new(0.05,1,0.05) Rain.Material = "Neon" game.Debris:AddItem(Rain,2)
  529. local BV = Instance.new("BodyVelocity",Rain)BV.Velocity = Vector3.new(0,-100,0)
  530. BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  531. Cl.CFrame = CFrame.new(c.HumanoidRootPart.Position+Vector3.new(0,6,0))
  532. Rain.CFrame = Cl.CFrame*CFrame.new(math.random(-50,50)/10,0,math.random(-25,25)/10)
  533. swait()
  534. end
  535. Cl:remove()
  536. else
  537. Sadness = false
  538. end
  539. end
  540.  
  541. Song = "TomodachiMarket"
  542. function Playlist()
  543. S.TimePosition = 0
  544. if Song == "TomodachiMarket" then
  545. Song = "SmexyJazz"
  546. S.SoundId = "rbxassetid://178790549"
  547. elseif Song == "SmexyJazz" then
  548. Song = "Elevator"
  549. S.SoundId = "rbxassetid://130768299"
  550. elseif Song == "Elevator" then
  551. Song = "Henesys"
  552. S.SoundId = "rbxassetid://160461278"
  553. elseif Song == "Henesys" then
  554. Song = "WhiteChristmas"
  555. S.SoundId = "rbxassetid://529406609"
  556. elseif Song == "WhiteChristmas" then
  557. Song = "Guitar"
  558. S.SoundId = "rbxassetid://339600793"
  559. elseif Song == "Guitar" then
  560. Song = "SuperSanic"
  561. S.SoundId = "rbxassetid://149103854"
  562. elseif Song == "SuperSanic" then
  563. Song = "WiiChannel"
  564. S.SoundId = "rbxassetid://252169264"
  565. elseif Song == "WiiChannel" then
  566. Song = "8-Bitbowser"
  567. S.SoundId = "rbxassetid://410075847"
  568. elseif Song == "8-Bitbowser" then
  569. Song = "Dragonforce"
  570. S.SoundId = "rbxassetid://608289510"
  571. elseif Song == "Dragonforce" then
  572. Song = "Gerudo Valley"
  573. S.SoundId = "rbxassetid://155743407"
  574. elseif Song == "Gerudo Valley" then
  575. Song = "EggsForBart"
  576. S.SoundId = "rbxassetid://872826213"
  577. elseif Song == "EggsForBart" or Song == "Sadness" then
  578. Song = "TomodachiMarket"
  579. S.SoundId = "rbxassetid://235529455"
  580. end
  581. end
  582. Headlightz = false
  583. function Headlights()
  584. attack = true
  585. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  586. v2.Transparency = 0 end end end end tra.Enabled = true
  587. c.Head.Transparency = 0
  588.  
  589. for i = 1,8 do
  590. lerpz(RJ, "C0", RJC0 * cf(0, 0, 2) * ang(rd(15), rd(0), rd(0)), 0.5)
  591. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.5)
  592. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.5)
  593. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  594. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-45)), 0.5)
  595. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  596. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  597. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  598. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  599. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  600. swait()
  601. end
  602. for i = 1,6 do
  603. lerpz(RJ, "C0", RJC0 * cf(0, -1.5, 0.35) * ang(rd(30), rd(0), rd(0)), 0.5)
  604. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.5)
  605. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(35)), 0.5)
  606. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  607. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(-35)), 0.5)
  608. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  609. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  610. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  611. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  612. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  613. swait()
  614. end
  615. if Headlightz == false then
  616. Headlightz = true
  617. local He1 = Instance.new("Part",c)He1.Size = Vector3.new(1,0.4,1)He1.BrickColor = BrickColor.new("Bright green")He1.Material = "Neon"
  618. local He2 = Instance.new("Part",c)He2.Size = Vector3.new(1,0.4,1)He2.BrickColor = BrickColor.new("Bright green")He2.Material = "Neon"
  619. local W1 = Instance.new("Weld",P)W1.Part0 = P W1.Part1 = He1 W1.C0 = CFrame.new(0.7,0,-1.5)He1.Name = "Headlight1"
  620. local C1 = Instance.new("CylinderMesh",He1)W1.C0 = W1.C0 * CFrame.Angles(math.rad(90),0,0)He2.Name = "Headlight2"
  621. local W2 = Instance.new("Weld",P)W2.Part0 = P W2.Part1 = He2 W2.C0 = CFrame.new(-0.7,0,-1.5)
  622. local C2 = Instance.new("CylinderMesh",He2)W2.C0 = W2.C0 * CFrame.Angles(math.rad(90),0,0)
  623. elseif Headlightz == true then
  624. Headlightz = false c:findFirstChild("Headlight1"):remove() c:findFirstChild("Headlight2"):remove()
  625. end
  626. for i = 1,3 do
  627. lerpz(RJ, "C0", RJC0 * cf(0, -1, 2) * ang(rd(30), rd(0), rd(0)), 0.5)
  628. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.5)
  629. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(35)), 0.5)
  630. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  631. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-35)), 0.5)
  632. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  633. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  634. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  635. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  636. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  637. swait()
  638. end
  639. for i = 1,3 do
  640. lerpz(RJ, "C0", RJC0 * cf(0, 0, 2) * ang(rd(15), rd(0), rd(0)), 0.5)
  641. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.5)
  642. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.5)
  643. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  644. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-45)), 0.5)
  645. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  646. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  647. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  648. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  649. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  650. swait()
  651. end
  652. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  653. v2.Transparency = 1 end end end end tra.Enabled = true
  654. c.Head.Transparency = 1
  655. attack = false
  656. end
  657.  
  658. local PEAR = Instance.new("Model",nil)
  659. function PullInBox()
  660. attack = true
  661. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  662. v2.Transparency = 0 end end end end tra.Enabled = true
  663. c.Head.Transparency = 0
  664. for i = 1,4 do
  665. lerpz(RJ, "C0", RJC0 * cf(0, 0, 2) * ang(rd(15), rd(0), rd(0)), 0.5)
  666. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.5)
  667. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.5)
  668. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  669. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  670. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  671. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  672. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  673. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  674. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  675. swait()
  676. end
  677. local Hit = false
  678. local FE = c["Right Arm"].Touched:connect(function(Part)
  679. if Part ~= c and Part.Size.X <= 50 and Part.Size.Z <= 50 and Part.Size.Y <= 50 then
  680. Part.Parent = PEAR
  681. end
  682. end)
  683. for i = 1,2 do
  684. lerpz(RJ, "C0", RJC0 * cf(0, -1.5, 2) * ang(rd(30), rd(15), rd(30)), 0.5)
  685. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30), rd(15), rd(-30)), 0.5)
  686. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(120)), 0.5)
  687. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  688. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  689. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  690. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  691. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  692. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  693. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  694. swait()
  695. end
  696. for i = 1,2 do
  697. lerpz(RJ, "C0", RJC0 * cf(0, -1.75, 1) * ang(rd(60), rd(15), rd(30)), 0.5)
  698. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30), rd(15), rd(-30)), 0.5)
  699. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(100)), 0.5)
  700. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  701. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  702. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  703. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  704. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  705. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  706. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  707. swait()
  708. end
  709. for i = 1,4 do
  710. lerpz(RJ, "C0", RJC0 * cf(0, -2.25, 0.5) * ang(rd(90), rd(15), rd(30)), 0.5)
  711. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-60), rd(15), rd(-30)), 0.5)
  712. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(100)), 0.5)
  713. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  714. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  715. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  716. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  717. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  718. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  719. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  720. swait()
  721. end
  722. for i = 1,4 do
  723. lerpz(RJ, "C0", RJC0 * cf(0, 0, 2) * ang(rd(15), rd(0), rd(0)), 0.5)
  724. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.5)
  725. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.5)
  726. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  727. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  728. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  729. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  730. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  731. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  732. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  733. swait()
  734. end
  735. FE:disconnect()
  736. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  737. v2.Transparency = 1 end end end end tra.Enabled = true
  738. c.Head.Transparency = 1
  739. attack = false
  740. end
  741.  
  742. function ThrowStuff()
  743. P.Anchored = true
  744. for i,v in pairs (PEAR:children()) do v.Parent = game.Workspace v.Anchored = false v.CanCollide = true
  745. local PS = Instance.new("Sound",v)PS.SoundId = "rbxassetid://521410270" PS.Volume = 1 PS.PlaybackSpeed = math.random(10,14)/10 PS:Play()
  746. v.Name = "Weegee" v.CFrame = P.CFrame*CFrame.new(0,2,0)*CFrame.Angles(math.random(-90,90),math.random(-90,90),math.random(-90,90))
  747. local BV = Instance.new("BodyVelocity",v)BV.Velocity = Vector3.new(math.random(-10,10),math.random(45,100),math.random(-10,10))game.Debris:AddItem(BV,0.1)
  748. BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  749. swait()
  750. end
  751. P.Anchored = false
  752. end
  753.  
  754. function Weegee()
  755. local PS = Instance.new("Sound",P)PS.SoundId = "rbxassetid://244303550" PS.Volume = 0.25 PS.PlaybackSpeed = math.random(8,18)/10 PS:Play()
  756. local We = Instance.new("Part",game.Workspace)We.Size = Vector3.new(1,2,1)local WeM = Instance.new("SpecialMesh",We) We.Name = "Weegee"
  757. WeM.MeshId = "rbxassetid://430819577" WeM.Scale = Vector3.new(0.001, 0.001, 0.001) WeM.TextureId = "rbxassetid://430819580"
  758. We.CFrame = P.CFrame*CFrame.new(0,2,0)*CFrame.Angles(math.random(-90,90),math.random(-90,90),math.random(-90,90))
  759. local BV = Instance.new("BodyVelocity",We)BV.Velocity = Vector3.new(math.random(-10,10),math.random(45,100),math.random(-10,10))game.Debris:AddItem(BV,0.1)
  760. BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  761. end
  762. mouse.KeyDown:connect(function(key)
  763. if attack == true then return end
  764. if InBox == true and Inflated == false and Sadness == false then
  765. if key == "x" then
  766. Headlights()
  767. end
  768. if key == "q" then
  769. PullInBox()
  770. end
  771. if key == "e" then
  772. ThrowStuff()
  773. end
  774. if key == "b" then
  775. Weegee()
  776. end
  777. elseif InBox == true and Sadness == true then
  778. if key == "b" then
  779. MoneyPls()
  780. end
  781. elseif InBox == false then
  782. if key == "x" then
  783. Inflate()
  784. end
  785. end
  786. if key == "c" then
  787. Sadnessz()
  788. end
  789. if key == "z" then
  790. HideInBox()
  791. end
  792. if key == "v" then
  793. WeegeeAttack()
  794. end
  795. if key == "f" then
  796. Retreat()
  797. end
  798. if key == "n" then
  799. Playlist()
  800. end
  801. if key == "m" then
  802. SelfDestructBox()
  803. end
  804. end)
  805.  
  806. mouse.KeyUp:connect(function(key)
  807. if key == "v" then
  808. WeegeeAttax = false
  809. end
  810. end)
  811.  
  812. game:GetService("RunService").RenderStepped:connect(function()
  813. Humanoid.MaxHealth = Humanoid.MaxHealth*2
  814. Humanoid.Health = Humanoid.MaxHealth*2
  815. if attack == false then
  816. for i,v in pairs (c:children()) do
  817. if v.ClassName == "Accessory" then
  818. for i,v2 in pairs (v:children()) do
  819. if v2.ClassName == "Part" then
  820. v2.Anchored = false
  821. end
  822. end
  823. end
  824. end
  825. for i,v in pairs (c:children()) do
  826. if v.ClassName == "Part" then
  827. v.Anchored = false
  828. end
  829. end
  830. end
  831. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement