Advertisement
Rider_Lol

Untitled

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