Advertisement
HenloMyDude

lilboi (i need space for unlisted ok)

Nov 1st, 2019
538
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.52 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  5.  
  6. plr = owner
  7. gcstuff = Instance.new("Model")
  8. plrgui = plr.PlayerGui
  9. mouse = plr:GetMouse()
  10. char = plr.Character
  11. anim = char.Humanoid.Animator
  12. tors = char.Torso
  13. root = char.HumanoidRootPart
  14. rootj = root.RootJoint
  15. rootjnor = rootj.C0
  16. attack = false
  17. size = 1
  18. opened = false
  19.  
  20. Debris = game:GetService("Debris")
  21. pose = "Idle"
  22. IT = Instance.new
  23. BrickC = BrickColor.new
  24. Cos = math.cos
  25. Acos = math.acos
  26. VT = Vector3.new
  27. CF = CFrame.new
  28. Rad = math.rad
  29. ray = Ray.new
  30. sine = 0
  31.  
  32. gui = Instance.new("ScreenGui",script)
  33. gui.Name = "Menu"
  34. backg = Instance.new("Frame",gui)
  35. backg.BorderSizePixel = 0
  36. backg.Size = UDim2.new(0.4, 0, 0.8, 0)
  37. backg.AnchorPoint = Vector2.new(0.5,0.5)
  38. backg.Position = UDim2.new(0.5, 0, 0.5, 0)
  39. backg.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  40.  
  41. raycast = function(pos, direct, range, decendants)
  42. return workspace:FindPartOnRay(ray(pos, direct.unit * range), decendants)
  43. end
  44.  
  45. ezweld = function(p, a, b, cf)
  46. local weld = Instance.new("Weld",p)
  47. weld.Part0 = a
  48. weld.Part1 = b
  49. weld.C0 = cf
  50. return weld
  51. end
  52.  
  53. clerp = function(toclerp, cf, number)
  54. local joint = toclerp
  55. joint.C0 = joint.C0:Lerp(cf, number)
  56. end
  57.  
  58. clerp2 = function(toclerp, cf)
  59. local joint = toclerp
  60. joint.C0 = cf
  61. end
  62.  
  63. Swait,swait = function(number)
  64. if number == 0 or number == nil then
  65. game:GetService("RunService").Heartbeat:Wait()
  66. else
  67. for i = 1,number do
  68. game:GetService("RunService").Heartbeat:Wait()
  69. end
  70. end
  71. end
  72.  
  73. NewSound = function(p, id, pit, vol, loop)
  74. local Sound = Instance.new("Sound",p)
  75. Sound.Pitch = pit
  76. Sound.Volume = vol
  77. Sound.SoundId = "rbxassetid://" ..id
  78. Sound.Looped = loop
  79. Sound:Play()
  80. return Sound
  81. end
  82.  
  83. AddSphere = function(p, material, size, transparency, collide, color, weldto, weldc0)
  84. local Sphere = Instance.new("Part",p)
  85. Sphere.Shape = "Ball"
  86. Sphere.Size = Vector3.new(size, size, size)
  87. Sphere.Material = material
  88. Sphere.Transparency = transparency
  89. Sphere.CanCollide = collide
  90. Sphere.Anchored = false
  91. Sphere.BrickColor = BrickColor.new(color)
  92. local Mesh = Instance.new("SpecialMesh",Sphere)
  93. Mesh.MeshType = "Sphere"
  94. local Joint = ezweld(Sphere, Sphere, weldto, weldc0)
  95. return Sphere
  96. end
  97.  
  98. --SphereEffect(char, "Neon", 1.6, 0, 2.22, 0.15, 1, "White", La1.Position)
  99. SphereEffect = function(p, material, size, transparency, endsize, speed, endtrans, color, pos)
  100. local Sphere = Instance.new("Part",p)
  101. Sphere.Shape = "Ball"
  102. Sphere.Size = Vector3.new(size, size, size)
  103. Sphere.Material = material
  104. Sphere.Transparency = transparency
  105. Sphere.CanCollide = false
  106. Sphere.Position = pos
  107. Sphere.Anchored = true
  108. Sphere.BrickColor = BrickColor.new(color)
  109. coroutine.resume(coroutine.create(function()
  110. for i = 1,25 do
  111. Swait()
  112. Sphere.Size = Sphere.Size + Vector3.new(speed, speed, speed)
  113. Sphere.Transparency = Sphere.Transparency + speed
  114. end
  115. Sphere:Destroy()
  116. end))
  117. end
  118.  
  119. function GCBlock(size, cf)
  120. local Block = Instance.new("Part",gcstuff)
  121. Block.Size = size
  122. Block.BrickColor = BrickColor.new("Magenta")
  123. Block.CFrame = cf
  124. Block.CanCollide = false
  125. Block.Anchored = true
  126. end
  127.  
  128. AddDecal = function(p, texture, trans, face)
  129. local Image = Instance.new("Decal",p)
  130. Image.Texture = "rbxassetid://" ..texture
  131. Image.Transparency = trans
  132. Image.Face = face
  133. return Image
  134. end
  135.  
  136. function EditDecal(image, texture)
  137. local Image = image
  138. Image.Texture = "rbxassetid://" ..texture
  139. end
  140.  
  141. EditSize = function(p, x, y, z)
  142. local Part = p
  143. if Part then
  144. Part.Parent = Part.Parent
  145. Part.Size = Vector3.new(x, y, z)
  146. end
  147. end
  148.  
  149. AddSize = function(p, x, y, z)
  150. local Part = p
  151. if Part then
  152. Part.Parent = Part.Parent
  153. Part.Size = Part.Size + Vector3.new(x, y, z)
  154. end
  155. end
  156.  
  157. Rotate = function(p, cf)
  158. local Part = p
  159. if Part then
  160. Part.Parent = Part.Parent
  161. Part.Orientation = cf
  162. end
  163. end
  164.  
  165. Model = function(p, name)
  166. local NewModel = Instance.new("Model",p)
  167. NewModel.Name = name
  168. return NewModel
  169. end
  170.  
  171. Invis = function(p)
  172. for _,v in pairs (p:children()) do
  173. if v:IsA("Part") or v:IsA("MeshPart") then
  174. v.Transparency = 1
  175. v.Name = v.Name
  176. v.Size = v.Size
  177. if v.Name == "Head" then
  178. for _,v in pairs (v:children()) do
  179. if v:IsA("Decal") then
  180. v.Name = "owned"
  181. v:Destroy()
  182. end
  183. end
  184. end
  185. end
  186. if v:IsA("Hat") or v:IsA("Accessory") then
  187. local Handle = v:FindFirstChild("Handle") -- Keeping the hat but hiding it from view
  188. if Handle then
  189. Handle.Name = "NotHandle"
  190. Handle.Size = Vector3.new(0.0001, 0.0001, 0.0001)
  191. Handle.Transparency = 1
  192. end
  193. end
  194. end
  195. end
  196.  
  197. Invis(char)
  198. local TorsoM = Model(char, "TorsoModel")
  199. local Inside = AddSphere(TorsoM, "Neon", 3.6, 0, false, "Cyan", tors, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
  200. Inside.Name = "Inside"
  201. local Outside = AddSphere(TorsoM, "Glass", 4.5, 0.5, false, "Cyan", tors, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
  202. Outside.Name = "Outside"
  203. local Face = AddDecal(Outside, 2109783606, 0, "Front")
  204. local Ra = Model(nil, "RightArmModel")
  205. local Ra1 = AddSphere(Ra, "Neon", 1.2, 0, false, "Cyan", tors, CFrame.new(-3.5, 0.75, 0) * CFrame.Angles(0, 0, 0))
  206. Ra1.Name = "Inside"
  207. local Ra2 = AddSphere(Ra, "Glass", 1.9, 0.5, false, "Cyan", Ra1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
  208. Ra2.Name = "Outside"
  209. local La = Model(nil, "RightArmModel")
  210. local La1 = AddSphere(La, "Neon", 1.2, 0, false, "Cyan", tors, CFrame.new(3.5, 0.75, 0) * CFrame.Angles(0, 0, 0))
  211. La1.Name = "Inside"
  212. local La2 = AddSphere(La, "Glass", 1.9, 0.5, false, "Cyan", La1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
  213. La2.Name = "Outside"
  214.  
  215. local DistAway = 6.5
  216. local Up = -3
  217. local Back = 3
  218. local SBoi = Model(nil, "ShadowBoi")
  219. local TorsoM2 = Model(SBoi, "TorsoModel")
  220. local Inside2 = AddSphere(TorsoM2, "Neon", 3.6, 0.5, false, "Cyan", tors, CFrame.new(0 + DistAway, 0 + Up, -Back) * CFrame.Angles(0, 0, 0))
  221. Inside2.Name = "Inside"
  222. local Outside2 = AddSphere(TorsoM2, "SmoothPlastic", 4.5, 0.75, false, "Cyan", tors, CFrame.new(0 + DistAway, 0 + Up, -Back) * CFrame.Angles(0, 0, 0))
  223. Outside2.Name = "Outside"
  224. local Face2 = AddDecal(Outside2, 2752846625, 0, "Front")
  225. local RaM = Model(SBoi, "RightArmModel")
  226. local Ra3 = AddSphere(RaM, "Neon", 1.2, 0.5, false, "Cyan", tors, CFrame.new(-3.5 + DistAway, 0.75 + Up, -Back) * CFrame.Angles(0, 0, 0))
  227. Ra3.Name = "Inside"
  228. local Ra4 = AddSphere(RaM, "SmoothPlastic", 1.9, 0.75, false, "Cyan", Ra3, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
  229. Ra4.Name = "Outside"
  230. local LaM = Model(SBoi, "RightArmModel")
  231. local La3 = AddSphere(LaM, "Neon", 1.2, 0.5, false, "Cyan", tors, CFrame.new(3.5 + DistAway, 0.75 + Up, -Back) * CFrame.Angles(0, 0, 0))
  232. La3.Name = "Inside"
  233. local La4 = AddSphere(LaM, "SmoothPlastic", 1.9, 0.75, false, "Cyan", La3, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
  234. La4.Name = "Outside"
  235.  
  236. local rs = Ra1.Weld
  237. local ls = La1.Weld
  238. local rsnor = rs.C0
  239. local lsnor = ls.C0
  240.  
  241. local MainTheme = NewSound(Inside, 3478149670, 1, 4, true)
  242.  
  243. textc = Instance.new("TextLabel",gui)
  244. textc.Size = UDim2.new(1.1, 0, 0.06, 0)
  245. textc.Text = "Choose a Color"
  246. textc.TextScaled = true
  247. textc.BackgroundTransparency = 1
  248. textc.TextColor3 = Color3.new(1, 1, 1)
  249. textc.Position = UDim2.new(-0.11, 0, 0.125, 0)
  250.  
  251. normalc = Instance.new("ImageButton",gui)
  252. normalc.BorderSizePixel = 0
  253. normalc.Size = UDim2.new(0.03, 0, 0.055, 0)
  254. normalc.Position = UDim2.new(0.35, 0, 0.2, 0)
  255. normalc.Image = "http://www.roblox.com/asset/?id=232918622"
  256. normalc.ImageColor3 = Color3.new(0.25098, 0.92549, 1)
  257. normalc.BackgroundTransparency = 1
  258. normalc.MouseButton1Click:Connect(function()
  259. for _,v in pairs (TorsoM:GetChildren()) do
  260. if v:IsA("Part") then
  261. v.BrickColor = BrickColor.new("Cyan")
  262. end
  263. end
  264. for _,v in pairs (Ra:GetChildren()) do
  265. if v:IsA("Part") then
  266. v.BrickColor = BrickColor.new("Cyan")
  267. end
  268. end
  269. for _,v in pairs (La:GetChildren()) do
  270. if v:IsA("Part") then
  271. v.BrickColor = BrickColor.new("Cyan")
  272. end
  273. end
  274. for _,v in pairs (TorsoM2:GetChildren()) do
  275. if v:IsA("Part") then
  276. v.BrickColor = BrickColor.new("Cyan")
  277. end
  278. end
  279. for _,v in pairs (RaM:GetChildren()) do
  280. if v:IsA("Part") then
  281. v.BrickColor = BrickColor.new("Cyan")
  282. end
  283. end
  284. for _,v in pairs (LaM:GetChildren()) do
  285. if v:IsA("Part") then
  286. v.BrickColor = BrickColor.new("Cyan")
  287. end
  288. end
  289. end)
  290.  
  291. yellowc = Instance.new("ImageButton",gui)
  292. yellowc.BorderSizePixel = 0
  293. yellowc.Size = UDim2.new(0.03, 0, 0.055, 0)
  294. yellowc.Position = UDim2.new(0.4, 0, 0.2, 0)
  295. yellowc.Image = "http://www.roblox.com/asset/?id=232918622"
  296. yellowc.ImageColor3 = Color3.new(1, 1, 0)
  297. yellowc.BackgroundTransparency = 1
  298. yellowc.MouseButton1Click:Connect(function()
  299. for _,v in pairs (TorsoM:GetChildren()) do
  300. if v:IsA("Part") then
  301. v.BrickColor = BrickColor.new("Olive")
  302. end
  303. end
  304. for _,v in pairs (Ra:GetChildren()) do
  305. if v:IsA("Part") then
  306. v.BrickColor = BrickColor.new("Olive")
  307. end
  308. end
  309. for _,v in pairs (La:GetChildren()) do
  310. if v:IsA("Part") then
  311. v.BrickColor = BrickColor.new("Olive")
  312. end
  313. end
  314. for _,v in pairs (TorsoM2:GetChildren()) do
  315. if v:IsA("Part") then
  316. v.BrickColor = BrickColor.new("Olive")
  317. end
  318. end
  319. for _,v in pairs (RaM:GetChildren()) do
  320. if v:IsA("Part") then
  321. v.BrickColor = BrickColor.new("Olive")
  322. end
  323. end
  324. for _,v in pairs (LaM:GetChildren()) do
  325. if v:IsA("Part") then
  326. v.BrickColor = BrickColor.new("Olive")
  327. end
  328. end
  329. end)
  330.  
  331. redc = Instance.new("ImageButton",gui)
  332. redc.BorderSizePixel = 0
  333. redc.Size = UDim2.new(0.03, 0, 0.055, 0)
  334. redc.Position = UDim2.new(0.45, 0, 0.2, 0)
  335. redc.Image = "http://www.roblox.com/asset/?id=232918622"
  336. redc.ImageColor3 = Color3.new(1, 0, 0)
  337. redc.BackgroundTransparency = 1
  338. redc.MouseButton1Click:Connect(function()
  339. for _,v in pairs (TorsoM:GetChildren()) do
  340. if v:IsA("Part") then
  341. v.BrickColor = BrickColor.new("Bright red")
  342. end
  343. end
  344. for _,v in pairs (Ra:GetChildren()) do
  345. if v:IsA("Part") then
  346. v.BrickColor = BrickColor.new("Bright red")
  347. end
  348. end
  349. for _,v in pairs (La:GetChildren()) do
  350. if v:IsA("Part") then
  351. v.BrickColor = BrickColor.new("Bright red")
  352. end
  353. end
  354. for _,v in pairs (TorsoM2:GetChildren()) do
  355. if v:IsA("Part") then
  356. v.BrickColor = BrickColor.new("Bright red")
  357. end
  358. end
  359. for _,v in pairs (RaM:GetChildren()) do
  360. if v:IsA("Part") then
  361. v.BrickColor = BrickColor.new("Bright red")
  362. end
  363. end
  364. for _,v in pairs (LaM:GetChildren()) do
  365. if v:IsA("Part") then
  366. v.BrickColor = BrickColor.new("Bright red")
  367. end
  368. end
  369. end)
  370.  
  371. greenc = Instance.new("ImageButton",gui)
  372. greenc.BorderSizePixel = 0
  373. greenc.Size = UDim2.new(0.03, 0, 0.055, 0)
  374. greenc.Position = UDim2.new(0.5, 0, 0.2, 0)
  375. greenc.Image = "http://www.roblox.com/asset/?id=232918622"
  376. greenc.ImageColor3 = Color3.new(0.14902, 0.6, 0.0352941)
  377. greenc.BackgroundTransparency = 1
  378. greenc.MouseButton1Click:Connect(function()
  379. for _,v in pairs (TorsoM:GetChildren()) do
  380. if v:IsA("Part") then
  381. v.BrickColor = BrickColor.new("Shamrock")
  382. end
  383. end
  384. for _,v in pairs (Ra:GetChildren()) do
  385. if v:IsA("Part") then
  386. v.BrickColor = BrickColor.new("Shamrock")
  387. end
  388. end
  389. for _,v in pairs (La:GetChildren()) do
  390. if v:IsA("Part") then
  391. v.BrickColor = BrickColor.new("Shamrock")
  392. end
  393. end
  394. for _,v in pairs (TorsoM2:GetChildren()) do
  395. if v:IsA("Part") then
  396. v.BrickColor = BrickColor.new("Shamrock")
  397. end
  398. end
  399. for _,v in pairs (RaM:GetChildren()) do
  400. if v:IsA("Part") then
  401. v.BrickColor = BrickColor.new("Shamrock")
  402. end
  403. end
  404. for _,v in pairs (LaM:GetChildren()) do
  405. if v:IsA("Part") then
  406. v.BrickColor = BrickColor.new("Shamrock")
  407. end
  408. end
  409. end)
  410.  
  411. shadowc = Instance.new("ImageButton",gui)
  412. shadowc.BorderSizePixel = 0
  413. shadowc.Size = UDim2.new(0.03, 0, 0.055, 0)
  414. shadowc.Position = UDim2.new(0.55, 0, 0.2, 0)
  415. shadowc.Image = "http://www.roblox.com/asset/?id=232918622"
  416. shadowc.ImageColor3 = Color3.new(0.568627, 0.207843, 0.6)
  417. shadowc.BackgroundTransparency = 1
  418. shadowc.MouseButton1Click:Connect(function()
  419. for _,v in pairs (TorsoM:GetChildren()) do
  420. if v:IsA("Part") then
  421. v.BrickColor = BrickColor.new("Cyan")
  422. end
  423. end
  424. for _,v in pairs (Ra:GetChildren()) do
  425. if v:IsA("Part") then
  426. v.BrickColor = BrickColor.new("Cyan")
  427. end
  428. end
  429. for _,v in pairs (La:GetChildren()) do
  430. if v:IsA("Part") then
  431. v.BrickColor = BrickColor.new("Cyan")
  432. end
  433. end
  434. for _,v in pairs (TorsoM:GetChildren()) do
  435. if v:IsA("Part") and v.Name == "Outside" then
  436. v.BrickColor = BrickColor.new("Really red")
  437. end
  438. end
  439. for _,v in pairs (Ra:GetChildren()) do
  440. if v:IsA("Part") and v.Name == "Outside" then
  441. v.BrickColor = BrickColor.new("Really red")
  442. end
  443. end
  444. for _,v in pairs (La:GetChildren()) do
  445. if v:IsA("Part") and v.Name == "Outside" then
  446. v.BrickColor = BrickColor.new("Really red")
  447. end
  448. end
  449.  
  450. for _,v in pairs (TorsoM2:GetChildren()) do
  451. if v:IsA("Part") then
  452. v.BrickColor = BrickColor.new("Cyan")
  453. end
  454. end
  455. for _,v in pairs (RaM:GetChildren()) do
  456. if v:IsA("Part") then
  457. v.BrickColor = BrickColor.new("Cyan")
  458. end
  459. end
  460. for _,v in pairs (LaM:GetChildren()) do
  461. if v:IsA("Part") then
  462. v.BrickColor = BrickColor.new("Cyan")
  463. end
  464. end
  465.  
  466. for _,v in pairs (TorsoM2:GetChildren()) do
  467. if v:IsA("Part") and v.Name == "Outside" then
  468. v.BrickColor = BrickColor.new("Really red")
  469. end
  470. end
  471. for _,v in pairs (RaM:GetChildren()) do
  472. if v:IsA("Part") and v.Name == "Outside" then
  473. v.BrickColor = BrickColor.new("Really red")
  474. end
  475. end
  476. for _,v in pairs (LaM:GetChildren()) do
  477. if v:IsA("Part") and v.Name == "Outside" then
  478. v.BrickColor = BrickColor.new("Really red")
  479. end
  480. end
  481. end)
  482.  
  483. texts = Instance.new("TextLabel",gui)
  484. texts.Size = UDim2.new(1.1, 0, 0.06, 0)
  485. texts.Text = "Choose a Shape"
  486. texts.TextScaled = true
  487. texts.BackgroundTransparency = 1
  488. texts.TextColor3 = Color3.new(1, 1, 1)
  489. texts.Position = UDim2.new(-0.1, 0, 0.26, 0)
  490.  
  491. balls = Instance.new("ImageButton",gui)
  492. balls.BorderSizePixel = 0
  493. balls.Size = UDim2.new(0.03, 0, 0.055, 0)
  494. balls.Position = UDim2.new(0.35, 0, 0.33, 0)
  495. balls.Image = "http://www.roblox.com/asset/?id=232918622"
  496. balls.BackgroundTransparency = 1
  497. balls.MouseButton1Click:Connect(function()
  498. for _,v in pairs (TorsoM:GetChildren()) do
  499. if v:IsA("Part") then
  500. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  501. if mesh then
  502. mesh.MeshType = "Sphere"
  503. mesh.Offset = Vector3.new(0, 0, 0)
  504. end
  505. end
  506. end
  507. for _,v in pairs (Ra:GetChildren()) do
  508. if v:IsA("Part") then
  509. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  510. if mesh then
  511. mesh.MeshType = "Sphere"
  512. mesh.Offset = Vector3.new(0, 0, 0)
  513. end
  514. end
  515. end
  516. for _,v in pairs (La:GetChildren()) do
  517. if v:IsA("Part") then
  518. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  519. if mesh then
  520. mesh.MeshType = "Sphere"
  521. mesh.Offset = Vector3.new(0, 0, 0)
  522. end
  523. end
  524. end
  525.  
  526. for _,v in pairs (TorsoM2:GetChildren()) do
  527. if v:IsA("Part") then
  528. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  529. if mesh then
  530. mesh.MeshType = "Sphere"
  531. mesh.Offset = Vector3.new(0, 0, 0)
  532. end
  533. end
  534. end
  535. for _,v in pairs (RaM:GetChildren()) do
  536. if v:IsA("Part") then
  537. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  538. if mesh then
  539. mesh.MeshType = "Sphere"
  540. mesh.Offset = Vector3.new(0, 0, 0)
  541. end
  542. end
  543. end
  544. for _,v in pairs (LaM:GetChildren()) do
  545. if v:IsA("Part") then
  546. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  547. if mesh then
  548. mesh.MeshType = "Sphere"
  549. mesh.Offset = Vector3.new(0, 0, 0)
  550. end
  551. end
  552. end
  553. end)
  554.  
  555. sqrs = Instance.new("ImageButton",gui)
  556. sqrs.BorderSizePixel = 0
  557. sqrs.Size = UDim2.new(0.03, 0, 0.055, 0)
  558. sqrs.Position = UDim2.new(0.4, 0, 0.33, 0)
  559. sqrs.BackgroundColor3 = Color3.new(1, 1, 1)
  560. --sqrs.Image = "http://www.roblox.com/asset/?id=232918622"
  561. sqrs.BackgroundTransparency = 0
  562. sqrs.MouseButton1Click:Connect(function()
  563. for _,v in pairs (TorsoM:GetChildren()) do
  564. if v:IsA("Part") then
  565. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  566. if mesh then
  567. mesh.MeshType = "Brick"
  568. mesh.Offset = Vector3.new(0, 0, 0)
  569. end
  570. end
  571. end
  572. for _,v in pairs (Ra:GetChildren()) do
  573. if v:IsA("Part") then
  574. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  575. if mesh then
  576. mesh.MeshType = "Brick"
  577. mesh.Offset = Vector3.new(0, 0, 0)
  578. end
  579. end
  580. end
  581. for _,v in pairs (La:GetChildren()) do
  582. if v:IsA("Part") then
  583. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  584. if mesh then
  585. mesh.MeshType = "Brick"
  586. mesh.Offset = Vector3.new(0, 0, 0)
  587. end
  588. end
  589. end
  590.  
  591. for _,v in pairs (TorsoM2:GetChildren()) do
  592. if v:IsA("Part") then
  593. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  594. if mesh then
  595. mesh.MeshType = "Brick"
  596. mesh.Offset = Vector3.new(0, 0, 0)
  597. end
  598. end
  599. end
  600. for _,v in pairs (RaM:GetChildren()) do
  601. if v:IsA("Part") then
  602. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  603. if mesh then
  604. mesh.MeshType = "Brick"
  605. mesh.Offset = Vector3.new(0, 0, 0)
  606. end
  607. end
  608. end
  609. for _,v in pairs (LaM:GetChildren()) do
  610. if v:IsA("Part") then
  611. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  612. if mesh then
  613. mesh.MeshType = "Brick"
  614. mesh.Offset = Vector3.new(0, 0, 0)
  615. end
  616. end
  617. end
  618. end)
  619.  
  620. wdges = Instance.new("ImageButton",gui)
  621. wdges.BorderSizePixel = 0
  622. wdges.Size = UDim2.new(0.03, 0, 0.055, 0)
  623. wdges.Position = UDim2.new(0.45, 0, 0.33, 0)
  624. wdges.BackgroundColor3 = Color3.new(1, 1, 1)
  625. wdges.Image = "http://www.roblox.com/asset/?id=427534899"
  626. wdges.BackgroundTransparency = 1
  627. wdges.MouseButton1Click:Connect(function()
  628. for _,v in pairs (TorsoM:GetChildren()) do
  629. if v:IsA("Part") then
  630. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  631. if mesh then
  632. mesh.MeshType = "Wedge"
  633. if mesh.Parent.Name == "Inside" then
  634. mesh.Offset = Vector3.new(0, 0, 0.25)
  635. end
  636. end
  637. end
  638. end
  639. for _,v in pairs (Ra:GetChildren()) do
  640. if v:IsA("Part") then
  641. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  642. if mesh then
  643. mesh.MeshType = "Wedge"
  644. if mesh.Parent.Name == "Inside" then
  645. mesh.Offset = Vector3.new(0, 0, 0.25)
  646. end
  647. end
  648. end
  649. end
  650. for _,v in pairs (La:GetChildren()) do
  651. if v:IsA("Part") then
  652. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  653. if mesh then
  654. mesh.MeshType = "Wedge"
  655. if mesh.Parent.Name == "Inside" then
  656. mesh.Offset = Vector3.new(0, 0, 0.25)
  657. end
  658. end
  659. end
  660. end
  661.  
  662. for _,v in pairs (TorsoM2:GetChildren()) do
  663. if v:IsA("Part") then
  664. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  665. if mesh then
  666. mesh.MeshType = "Wedge"
  667. if mesh.Parent.Name == "Inside" then
  668. mesh.Offset = Vector3.new(0, 0, 0.25)
  669. end
  670. end
  671. end
  672. end
  673. for _,v in pairs (RaM:GetChildren()) do
  674. if v:IsA("Part") then
  675. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  676. if mesh then
  677. mesh.MeshType = "Wedge"
  678. if mesh.Parent.Name == "Inside" then
  679. mesh.Offset = Vector3.new(0, 0, 0.25)
  680. end
  681. end
  682. end
  683. end
  684. for _,v in pairs (LaM:GetChildren()) do
  685. if v:IsA("Part") then
  686. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  687. if mesh then
  688. mesh.MeshType = "Wedge"
  689. if mesh.Parent.Name == "Inside" then
  690. mesh.Offset = Vector3.new(0, 0, 0.25)
  691. end
  692. end
  693. end
  694. end
  695. end)
  696.  
  697. clyds = Instance.new("ImageButton",gui)
  698. clyds.BorderSizePixel = 0
  699. clyds.Size = UDim2.new(0.03, 0, 0.055, 0)
  700. clyds.Position = UDim2.new(0.5, 0, 0.33, 0)
  701. clyds.BackgroundColor3 = Color3.new(1, 1, 1)
  702. clyds.Image = "http://www.roblox.com/asset/?id=125608048"
  703. clyds.BackgroundTransparency = 1
  704. clyds.MouseButton1Click:Connect(function()
  705. for _,v in pairs (TorsoM:GetChildren()) do
  706. if v:IsA("Part") then
  707. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  708. if mesh then
  709. mesh.MeshType = "Cylinder"
  710. mesh.Offset = Vector3.new(0, 0, 0)
  711. end
  712. end
  713. end
  714. for _,v in pairs (Ra:GetChildren()) do
  715. if v:IsA("Part") then
  716. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  717. if mesh then
  718. mesh.MeshType = "Cylinder"
  719. mesh.Offset = Vector3.new(0, 0, 0)
  720. end
  721. end
  722. end
  723. for _,v in pairs (La:GetChildren()) do
  724. if v:IsA("Part") then
  725. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  726. if mesh then
  727. mesh.MeshType = "Cylinder"
  728. mesh.Offset = Vector3.new(0, 0, 0)
  729. end
  730. end
  731. end
  732.  
  733. for _,v in pairs (TorsoM2:GetChildren()) do
  734. if v:IsA("Part") then
  735. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  736. if mesh then
  737. mesh.MeshType = "Cylinder"
  738. mesh.Offset = Vector3.new(0, 0, 0)
  739. end
  740. end
  741. end
  742. for _,v in pairs (RaM:GetChildren()) do
  743. if v:IsA("Part") then
  744. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  745. if mesh then
  746. mesh.MeshType = "Cylinder"
  747. mesh.Offset = Vector3.new(0, 0, 0)
  748. end
  749. end
  750. end
  751. for _,v in pairs (LaM:GetChildren()) do
  752. if v:IsA("Part") then
  753. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  754. if mesh then
  755. mesh.MeshType = "Cylinder"
  756. mesh.Offset = Vector3.new(0, 0, 0)
  757. end
  758. end
  759. end
  760. end)
  761.  
  762. heads = Instance.new("ImageButton",gui)
  763. heads.BorderSizePixel = 0
  764. heads.Size = UDim2.new(0.03, 0, 0.055, 0)
  765. heads.Position = UDim2.new(0.55, 0, 0.33, 0)
  766. heads.BackgroundColor3 = Color3.new(1, 1, 1)
  767. heads.Image = "http://www.roblox.com/asset/?id=4287273997"
  768. heads.BackgroundTransparency = 1
  769. heads.MouseButton1Click:Connect(function()
  770. for _,v in pairs (TorsoM:GetChildren()) do
  771. if v:IsA("Part") then
  772. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  773. if mesh then
  774. mesh.MeshType = "Head"
  775. mesh.Offset = Vector3.new(0, 0, 0)
  776. end
  777. end
  778. end
  779. for _,v in pairs (Ra:GetChildren()) do
  780. if v:IsA("Part") then
  781. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  782. if mesh then
  783. mesh.MeshType = "Head"
  784. mesh.Offset = Vector3.new(0, 0, 0)
  785. end
  786. end
  787. end
  788. for _,v in pairs (La:GetChildren()) do
  789. if v:IsA("Part") then
  790. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  791. if mesh then
  792. mesh.MeshType = "Head"
  793. mesh.Offset = Vector3.new(0, 0, 0)
  794. end
  795. end
  796. end
  797.  
  798. for _,v in pairs (TorsoM2:GetChildren()) do
  799. if v:IsA("Part") then
  800. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  801. if mesh then
  802. mesh.MeshType = "Head"
  803. mesh.Offset = Vector3.new(0, 0, 0)
  804. end
  805. end
  806. end
  807. for _,v in pairs (RaM:GetChildren()) do
  808. if v:IsA("Part") then
  809. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  810. if mesh then
  811. mesh.MeshType = "Head"
  812. mesh.Offset = Vector3.new(0, 0, 0)
  813. end
  814. end
  815. end
  816. for _,v in pairs (LaM:GetChildren()) do
  817. if v:IsA("Part") then
  818. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  819. if mesh then
  820. mesh.MeshType = "Head"
  821. mesh.Offset = Vector3.new(0, 0, 0)
  822. end
  823. end
  824. end
  825. end)
  826.  
  827. function Hamburger()
  828. attack = true
  829. for i = 1,35 do
  830. Swait()
  831. Ra.Parent = char
  832. La.Parent = char
  833. clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
  834. clerp(ls, lsnor * CFrame.new(0, -2, 0), 0.15)
  835. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
  836. end
  837. local Burger = Instance.new("Part",char)
  838. Burger.Size = Vector3.new(0.1, 0.1, 0.1)
  839. Burger.Anchored = false
  840. Burger.CanCollide = false
  841. local MeshB = Instance.new("SpecialMesh",Burger)
  842. MeshB.MeshId = "rbxassetid://16646125"
  843. MeshB.TextureId = "rbxassetid://16432575"
  844. local WeldB = ezweld(char, Burger, La1, CFrame.new(-1.25, 0, 0) * CFrame.Angles(0, Rad(-90), 0))
  845. local Audio = NewSound(Inside, 3217252760, 1, 10, false)
  846. SphereEffect(char, "Neon", 1.6, 0, 3.32, 0.3, 1, "White", La1.Position)
  847. for i = 1,35 do
  848. Swait()
  849. Ra.Parent = char
  850. La.Parent = char
  851. clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
  852. clerp(ls, lsnor * CFrame.new(0, 0, 2), 0.15)
  853. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
  854. end
  855. Debris:AddItem(Audio, 0)
  856. Debris:AddItem(Burger, 0)
  857. attack = false
  858. end
  859.  
  860. function CoolBananas()
  861. attack = true
  862. root.Anchored = true
  863. local Audio = NewSound(Inside, 2843742891, 1, 10, false)
  864. EditDecal(Face, 15431991)
  865. local Banana = Instance.new("Part",char)
  866. Banana.Size = Vector3.new(0.1, 0.1, 0.1)
  867. Banana.Anchored = false
  868. Banana.CanCollide = false
  869. local MeshB = Instance.new("SpecialMesh",Banana)
  870. MeshB.MeshId = "rbxassetid://923469152"
  871. MeshB.TextureId = "rbxassetid://923469157"
  872. MeshB.Scale = Vector3.new(2.5, 1.75, 1.75)
  873. local WeldB = ezweld(char, Banana, La1, CFrame.new(-1.5, -0.5, 0) * CFrame.Angles(0, 0, 0))
  874. for i = 1,65 do
  875. Swait()
  876. Ra.Parent = char
  877. La.Parent = char
  878. clerp(rs, rsnor * CFrame.new(2, 0.25, 2), 0.15)
  879. clerp(ls, lsnor * CFrame.new(-2, 0.25, 2), 0.15)
  880. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
  881. end
  882. local Gameboy = Instance.new("Part",char)
  883. Gameboy.CFrame = root.CFrame * CFrame.new(-4.5, 2.25, 0)
  884. Gameboy.Orientation = root.Orientation + Vector3.new(0, -90, 0)
  885. Gameboy.Size = Vector3.new(9, 1, 2)
  886. Gameboy.Anchored = true
  887. Gameboy.CanCollide = false
  888. local DecalG = AddDecal(Gameboy, 3373061124, 0, "Front")
  889. EditDecal(Face, 216279270)
  890. for i = 1,35 do
  891. Swait()
  892. if Gameboy.Size.y < 12 then
  893. Gameboy.Size = Gameboy.Size + Vector3.new(0, 1, 0)
  894. Gameboy.Position = Gameboy.Position + Vector3.new(0, 0, 0)
  895. end
  896. Ra.Parent = char
  897. La.Parent = char
  898. clerp(rs, rsnor * CFrame.new(2, 0.25, 2), 0.15)
  899. clerp(ls, lsnor * CFrame.new(-2, 0.25, 2), 0.15)
  900. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, Rad(90)), 0.15)
  901. end
  902. EditDecal(Face, 2267180499)
  903. for i = 1,35 do
  904. Swait()
  905. Ra.Parent = char
  906. La.Parent = char
  907. clerp(rs, rsnor * CFrame.new(0, -2, 2), 0.15)
  908. clerp(ls, lsnor * CFrame.new(0, -2, 2), 0.15)
  909. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, Rad(90)), 0.15)
  910. end
  911. for i = 1,90 do
  912. Swait()
  913. Ra.Parent = char
  914. La.Parent = char
  915. clerp(rs, rsnor * CFrame.new(0, -2, 2), 0.15)
  916. clerp(ls, lsnor * CFrame.new(0, -2, 2), 0.15)
  917. clerp(rootj, rootjnor * CFrame.new(-100, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, Rad(-90)), 0.02)
  918. end
  919. Debris:AddItem(Audio, 0)
  920. Debris:AddItem(Banana, 0)
  921. Debris:AddItem(Gameboy, 0)
  922. EditDecal(Face, 2109783606)
  923. root.Anchored = false
  924. attack = false
  925. end
  926.  
  927. function MrKrabs()
  928. attack = true
  929. local Audio = NewSound(Inside, 345287845, 1, 10, false)
  930. EditDecal(Face, 65390912)
  931. for i = 1,55 + 45 do
  932. Swait()
  933. Ra.Parent = char
  934. La.Parent = char
  935. clerp(rs, rsnor * CFrame.new(3, 0, 2.5), 0.15)
  936. clerp(ls, lsnor * CFrame.new(-3, 0, 2.5), 0.15)
  937. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, -1), 0.15)
  938. end
  939. for i = 1,35 + 5 do
  940. Swait()
  941. Ra.Parent = char
  942. La.Parent = char
  943. clerp(rs, rsnor * CFrame.new(3, -2, 2.5), 0.15)
  944. clerp(ls, lsnor * CFrame.new(0, 0, 2.5), 0.15)
  945. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, 0), 0.15)
  946. end
  947. EditDecal(Face, 62715613)
  948. for i = 1,25 do
  949. Swait()
  950. Ra.Parent = char
  951. La.Parent = char
  952. clerp(rs, rsnor * CFrame.new(1.5, 0.5, 2.5), 0.15)
  953. clerp(ls, lsnor * CFrame.new(-1.5, 0.5, 2.5), 0.15)
  954. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, 0), 0.15)
  955. end
  956. EditDecal(Face, 1364114735)
  957. for i = 1,125 do
  958. Swait()
  959. Ra.Parent = char
  960. La.Parent = char
  961. clerp(rs, rsnor * CFrame.new(0, 0.5, -0.5), 0.15)
  962. clerp(ls, lsnor * CFrame.new(0, 0.5, -0.5), 0.15)
  963. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(-0.5, 0, 0), 0.15)
  964. end
  965. EditDecal(Face, 2109783606)
  966. attack = false
  967. end
  968.  
  969. function Yee()
  970. attack = true
  971. MainTheme.Volume = 0.5
  972. local Audio = NewSound(Inside, 195587721, 1, 10, false)
  973. Audio.TimePosition = 6.36
  974. EditDecal(Face, 1155975348)
  975. for i = 1,60 do
  976. Swait()
  977. Ra.Parent = char
  978. La.Parent = char
  979. clerp(rs, rsnor * CFrame.new(0, -2, -0.5), 0.15)
  980. clerp(ls, lsnor * CFrame.new(0, -2, -0.5), 0.15)
  981. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
  982. end
  983. EditDecal(Face, 2109783606)
  984. MainTheme.Volume = 4
  985. attack = false
  986. end
  987.  
  988. angery = false
  989.  
  990. function Angery()
  991. if angery == false then
  992. angery = false
  993. attack = true
  994. EditDecal(Face, 15324447)
  995. for i = 1,50 do
  996. Swait()
  997. Ra.Parent = char
  998. La.Parent = char
  999. clerp(rs, rsnor * CFrame.new(3, 0, 2.5), 0.15)
  1000. clerp(ls, lsnor * CFrame.new(-3, 0, 2.5), 0.15)
  1001. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0.5, 0, 0), 0.15)
  1002. end
  1003. NewSound(tors, 363808674, 1, 10, false)
  1004. for i = 1,50 do
  1005. Swait()
  1006. Ra.Parent = char
  1007. La.Parent = char
  1008. clerp(rs, rsnor * CFrame.new(3, -4, -0.5), 0.15)
  1009. clerp(ls, lsnor * CFrame.new(-3, -4, -0.5), 0.15)
  1010. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(-0.5, 0, 0), 0.15)
  1011. end
  1012. SBoi.Parent = char
  1013. EditDecal(Face, 398670843)
  1014. NewSound(tors, 847061203, 1, 10, false)
  1015. for i = 1,50 do
  1016. Swait()
  1017. Ra.Parent = char
  1018. La.Parent = char
  1019. clerp(rs, rsnor * CFrame.new(0, 0, -2.5), 0.15)
  1020. clerp(ls, lsnor * CFrame.new(0, 0, 2.5), 0.15)
  1021. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0, 0, 0), 0.15)
  1022. end
  1023. attack = false
  1024. angery = true
  1025. else
  1026. EditDecal(Face, 2109783606)
  1027. angery = false
  1028. EditDecal(Face, 2109783606)
  1029. end
  1030. end
  1031.  
  1032. function Beans()
  1033. attack = true
  1034. MainTheme.Volume = 4
  1035. EditDecal(Face, 141728515)
  1036. local Beans = Instance.new("Part",char)
  1037. Beans.Size = Vector3.new(0.83, 1.12, 0.8)
  1038. Beans.CanCollide = false
  1039. local Mesh = Instance.new("SpecialMesh",Beans)
  1040. Mesh.Scale = Vector3.new(2.5, 2.5, 2.5)
  1041. Mesh.MeshId = "http://www.roblox.com/asset/?id=103919751"
  1042. Mesh.TextureId = "http://www.roblox.com/asset/?id=3883608865"
  1043. local Weld = ezweld(char, Beans, Ra1, CFrame.new(0, 2.5, 0))
  1044. for i = 1,100 do
  1045. Swait()
  1046. Ra.Parent = char
  1047. La.Parent = char
  1048. clerp(rs, rsnor * CFrame.new(-1, 0.5, 1.5) * CFrame.Angles(0, 0, Rad(90)), 0.15)
  1049. clerp(ls, lsnor * CFrame.new(-2, 0, 2.5), 0.15)
  1050. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(15), 0, Rad(45)), 0.15)
  1051. end
  1052. EditDecal(Face, 209714802)
  1053. for i = 1,75 do
  1054. Swait()
  1055. Ra.Parent = char
  1056. La.Parent = char
  1057. clerp(rs, rsnor * CFrame.new(0, 0.5, 3.5) * CFrame.Angles(0, 0, Rad(90)), 0.15)
  1058. clerp(ls, lsnor * CFrame.new(-1.5, 0, 2.5), 0.15)
  1059. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, Rad(0)), 0.15)
  1060. end
  1061. EditDecal(Face, 321234100)
  1062. local Audio = NewSound(Inside, 2020952099, 1, 10, false)
  1063. repeat
  1064. Swait()
  1065. Ra.Parent = char
  1066. La.Parent = char
  1067. clerp(rs, rsnor * CFrame.new(0, -0.25, 3), 0.15)
  1068. clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
  1069. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, Rad(0)), 0.15)
  1070. until Audio.Playing == false
  1071. Debris:AddItem(Audio, 0)
  1072. Debris:AddItem(Beans, 0)
  1073. EditDecal(Face, 2109783606)
  1074. MainTheme.Volume = 4
  1075. attack = false
  1076. end
  1077.  
  1078. function Gamecube()
  1079. attack = true
  1080. for i = 1,15 do
  1081. Swait()
  1082. Ra.Parent = char
  1083. La.Parent = char
  1084. clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
  1085. clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
  1086. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0.5, 0, 0), 0.15)
  1087. end
  1088. for i = 1,55 do
  1089. Swait()
  1090. Ra.Parent = char
  1091. La.Parent = char
  1092. clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
  1093. clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
  1094. clerp(rootj, rootjnor * CFrame.new(0, 0, 9 + 0.5 * Cos(sine / 12)) * CFrame.Angles(-0.5, 0, 0), 0.15)
  1095. end
  1096. Ra.Parent = nil
  1097. La.Parent = nil
  1098. for _,v in pairs (TorsoM:children()) do
  1099. if v:IsA("Part") then
  1100. v.Size = v.Size - Vector3.new(1.7, 1.7, 1.7)
  1101. end
  1102. end
  1103. local Main = Instance.new("Part",gcstuff)
  1104. Main.Transparency = 0.5
  1105. Main.CanCollide = false
  1106. Main.Material = "Glass"
  1107. Main.Anchored = true
  1108. Main.Size = Vector3.new(6, 6, 6)
  1109. Main.Position = Vector3.new(root.Position.x, 4.5, root.Position.z)
  1110. Main.Orientation = root.Orientation + Vector3.new(0, -60, 15)
  1111. Main.BrickColor = BrickColor.new("Hot pink")
  1112. for i = 1,45 do
  1113. Swait()
  1114. Ra.Parent = nil
  1115. La.Parent = nil
  1116. clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
  1117. clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
  1118. clerp(rootj, rootjnor * CFrame.new(2.4, 0.25, 5.75) * CFrame.Angles(0, 0, 0), 0.15)
  1119. Main.Orientation = Main.Orientation:Lerp(Vector3.new(root.Orientation.x, 0, root.Orientation.z), 0.2)
  1120. end
  1121. local CFT = TorsoM.Inside.CFrame
  1122. GCBlock(Vector3.new(1.5, 1, 1.5), CFrame.new(CFT.x, CFT.y - 0.5, CFT.z))
  1123. for i = 1,25 do
  1124. Swait()
  1125. Ra.Parent = nil
  1126. La.Parent = nil
  1127. clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
  1128. clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
  1129. clerp(rootj, rootjnor * CFrame.new(2.6, 2.34, 5.75) * CFrame.Angles(0, 0, 0), 0.15)
  1130. Main.Orientation = Main.Orientation:Lerp(Vector3.new(root.Orientation.x, 0, root.Orientation.z), 0.15)
  1131. end
  1132. local CFT = TorsoM.Inside.CFrame
  1133. GCBlock(Vector3.new(1.5, 1, 1.5), CFrame.new(CFT.x, CFT.y - 0.5, CFT.z))
  1134. for i = 1,25 do
  1135. Swait()
  1136. Ra.Parent = nil
  1137. La.Parent = nil
  1138. clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
  1139. clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
  1140. clerp(rootj, rootjnor * CFrame.new(0.87, 2.34, 5.75) * CFrame.Angles(0, 0, 0), 0.15)
  1141. Main.Orientation = Main.Orientation:Lerp(Vector3.new(root.Orientation.x, 0, root.Orientation.z), 0.15)
  1142. end
  1143. gcstuff:ClearAllChildren()
  1144. for _,v in pairs (TorsoM:children()) do
  1145. if v:IsA("Part") then
  1146. v.Size = v.Size + Vector3.new(1.7, 1.7, 1.7)
  1147. end
  1148. end
  1149. attack = false
  1150. end
  1151.  
  1152. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1153. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  1154. return raycast(StartPos, DIRECTION, Distance, Ignore)
  1155. end
  1156.  
  1157. hold = false
  1158.  
  1159. function BOOMer()
  1160. attack = true
  1161. local gun = Instance.new("Part", char)
  1162. gun.CanCollide = false
  1163. gun.Size = Vector3.new(1, 1, 2)
  1164. gun.BrickColor = BrickColor.new("Black")
  1165. local weld = ezweld(char, gun, Ra1, CFrame.new(0.5, -0.8, 0.75))
  1166. local handle = Instance.new("Part", char)
  1167. handle.CanCollide = false
  1168. handle.Size = Vector3.new(1, 1.25, 1)
  1169. handle.BrickColor = BrickColor.new("Black")
  1170. local weld2 = ezweld(char, handle, gun, CFrame.new(0, 0.75, -0.5))
  1171. hold = true
  1172. EditDecal(Face, 164202174)
  1173. for i = 1,50 do
  1174. Swait()
  1175. Ra.Parent = char
  1176. La.Parent = char
  1177. clerp(rs, rsnor * CFrame.new(3, 0, 2.75), 0.15)
  1178. clerp(ls, lsnor * CFrame.new(-3, 0, 2.75), 0.15)
  1179. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
  1180. end
  1181. --[[
  1182. NewSound(tors, 573314737, 1, 10, false)
  1183. local FIREFROM = gun.CFrame * CFrame.new(0, 0, -1).p
  1184. local HIT,POS = CastProperRay(FIREFROM,mouse.Hit.p,1000,char)
  1185. if HIT then
  1186. local dud = HIT.Parent
  1187. if dud ~= char then
  1188. for i,v in pairs (dud:children()) do
  1189. if v:IsA("Humanoid") then
  1190. v.Health = v.Health - 20
  1191. end
  1192. end
  1193. end
  1194. end
  1195. local DISTANCE = (POS - FIREFROM).Magnitude
  1196. local blt = Instance.new("Part", char)
  1197. blt.CanCollide = false
  1198. blt.Size = Vector3.new(0.25, 0.25, 1)
  1199. blt.Material = "Neon"
  1200. blt.BrickColor = BrickColor.new("New Yeller")
  1201. blt.CFrame = CFrame.new(FIREFROM,POS)*CFrame.new(0,0,-DISTANCE/2)
  1202. blt.Anchored = true
  1203. local mesh = Instance.new("SpecialMesh", blt)
  1204. mesh.MeshType = "Brick"
  1205. mesh.Scale = Vector3.new(1, 1, DISTANCE)
  1206. for i = 1,25 do
  1207. Swait()
  1208. Ra.Parent = char
  1209. La.Parent = char
  1210. clerp(rs, rsnor * CFrame.new(3, 0, 2.75), 0.15)
  1211. clerp(ls, lsnor * CFrame.new(-3, 0, 2.75), 0.15)
  1212. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(-90), 0, 0), 0.15)
  1213. end
  1214. blt:remove()
  1215. for i = 1,50 do
  1216. Swait()
  1217. Ra.Parent = char
  1218. La.Parent = char
  1219. clerp(rs, rsnor * CFrame.new(3, 0, 2.75), 0.15)
  1220. clerp(ls, lsnor * CFrame.new(-3, 0, 2.75), 0.15)
  1221. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
  1222. end
  1223. ]]--
  1224. repeat
  1225. EditDecal(Face, 66329844)
  1226. NewSound(tors, 573314737, 1, 10, false)
  1227. local FIREFROM = gun.CFrame * CFrame.new(0, 0, -1).p
  1228. local HIT,POS = CastProperRay(FIREFROM,mouse.Hit.p,1000,char)
  1229. if HIT then
  1230. local dud = HIT.Parent
  1231. if dud ~= char then
  1232. for i,v in pairs (dud:children()) do
  1233. if v:IsA("Humanoid") then
  1234. v.Health = v.Health - 20
  1235. end
  1236. end
  1237. end
  1238. end
  1239. local DISTANCE = (POS - FIREFROM).Magnitude
  1240. local blt = Instance.new("Part", char)
  1241. blt.CanCollide = false
  1242. blt.Size = Vector3.new(0.25, 0.25, 1)
  1243. blt.Material = "Neon"
  1244. blt.BrickColor = BrickColor.new("New Yeller")
  1245. blt.CFrame = CFrame.new(FIREFROM,POS)*CFrame.new(0,0,-DISTANCE/2)
  1246. blt.Anchored = true
  1247. local mesh = Instance.new("SpecialMesh", blt)
  1248. mesh.MeshType = "Brick"
  1249. mesh.Scale = Vector3.new(1, 1, DISTANCE)
  1250. for i = 1,25 do
  1251. Swait()
  1252. Ra.Parent = char
  1253. La.Parent = char
  1254. clerp(rs, rsnor * CFrame.new(3, 0, 2.75), 0.15)
  1255. clerp(ls, lsnor * CFrame.new(-3, 0, 2.75), 0.15)
  1256. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(-90), 0, 0), 0.15)
  1257. end
  1258. blt:remove()
  1259. for i = 1,50 do
  1260. Swait()
  1261. Ra.Parent = char
  1262. La.Parent = char
  1263. clerp(rs, rsnor * CFrame.new(3, 0, 2.75), 0.15)
  1264. clerp(ls, lsnor * CFrame.new(-3, 0, 2.75), 0.15)
  1265. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
  1266. end
  1267. until hold == false
  1268. hold = false
  1269. weld2:remove()
  1270. handle:remove()
  1271. weld:remove()
  1272. gun:remove()
  1273. attack = false
  1274. end
  1275.  
  1276. local cam = workspace.CurrentCamera
  1277. local a = math.huge
  1278. function WiiNotFit()
  1279. attack = true
  1280. local ball = Instance.new("Part", char)
  1281. ball.CanCollide = false
  1282. ball.Shape = "Ball"
  1283. ball.Material = "SmoothPlastic"
  1284. ball.Size = Vector3.new(2, 2, 2)
  1285. ball.BrickColor = BrickColor.new("Black")
  1286. local weld = ezweld(char, ball, La1, CFrame.new(0, 0.95, 0))
  1287. EditDecal(Face, 168332209)
  1288. for i = 1,50 do
  1289. Swait()
  1290. Ra.Parent = char
  1291. La.Parent = char
  1292. clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
  1293. clerp(ls, lsnor * CFrame.new(0, 0, -1.25), 0.15)
  1294. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
  1295. end
  1296. ball.CanCollide = true
  1297. weld:remove()
  1298. local bv = Instance.new("BodyVelocity", ball)
  1299. bv.MaxForce = Vector3.new(a, a, a)
  1300. bv.Velocity = ball.CFrame.lookVector * 100 + Vector3.new(0, 15, 0)
  1301. Debris:AddItem(bv, 0.1)
  1302. Debris:AddItem(ball, 6)
  1303. local smack = false
  1304. ball.Touched:connect(function(hit)
  1305. local dud = hit.Parent
  1306. if dud and dud ~= char then
  1307. for i,v in pairs (dud:children()) do
  1308. if v:IsA("Humanoid") and smack == false then
  1309. smack = true
  1310. v.Health = v.Health - 50
  1311. ball.Parent = nil
  1312. attack = true
  1313. for i = 1,100 do
  1314. EditDecal(Face, 7074712)
  1315. if smack == true then
  1316. Swait()
  1317. Ra.Parent = char
  1318. La.Parent = char
  1319. clerp(rs, rsnor * CFrame.new(0, -2.5, 0), 0.15)
  1320. clerp(ls, lsnor * CFrame.new(0, 1.25, 0), 0.15)
  1321. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
  1322. end
  1323. end
  1324. attack = false
  1325. smack = false
  1326. end
  1327. end
  1328. end
  1329. end)
  1330. for i = 1,25 do
  1331. Swait()
  1332. Ra.Parent = char
  1333. La.Parent = char
  1334. clerp(rs, rsnor * CFrame.new(0, 1, 0) * CFrame.Angles(Rad(90), 0, 0), 0.15)
  1335. clerp(ls, lsnor * CFrame.new(0, 0, 0.75), 0.15)
  1336. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(Rad(0), 0, 0), 0.15)
  1337. end
  1338. EditDecal(Face, 2222767231)
  1339. for i = 1,300 do
  1340. if smack == false then
  1341. Swait()
  1342. Ra.Parent = char
  1343. La.Parent = char
  1344. clerp(rs, rsnor * CFrame.new(3, 0, 2.5), 0.15)
  1345. clerp(ls, lsnor * CFrame.new(-3, 0, 2.5), 0.15)
  1346. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)) * CFrame.Angles(0.25, 0, 0), 0.15)
  1347. end
  1348. end
  1349. if attack == true and smack == false then
  1350. attack = false
  1351. end
  1352. end
  1353.  
  1354. mouse.KeyDown:connect(function(key)
  1355. key=key:lower()
  1356. if key == "q" and attack == false then
  1357. Angery()
  1358. end
  1359. if key == "l" then
  1360. if opened then
  1361. opened = false
  1362. gui.Parent = nil
  1363. else
  1364. opened = true
  1365. gui.Parent = plrgui
  1366. end
  1367. end
  1368. if angery == false then
  1369. if key == "e" and attack == false then
  1370. Hamburger()
  1371. end
  1372. if key == "r" and attack == false then
  1373. MrKrabs()
  1374. end
  1375. if key == "t" and attack == false then
  1376. CoolBananas()
  1377. end
  1378. if key == "y" and attack == false then
  1379. Yee()
  1380. end
  1381. if key == "u" and attack == false then
  1382. Gamecube()
  1383. end
  1384. if key == "f" and attack == false then
  1385. Beans()
  1386. end
  1387. elseif angery == true then
  1388. if key == "e" and attack == false then
  1389. BOOMer()
  1390. end
  1391. if key == "r" and attack == false then
  1392. WiiNotFit()
  1393. end
  1394. end
  1395. end)
  1396.  
  1397. mouse.KeyUp:connect(function(key)
  1398. if key == "e" then
  1399. hold = false
  1400. end
  1401. end)
  1402.  
  1403. while true do
  1404. Swait()
  1405. if attack == false then
  1406. SBoi.Parent = nil
  1407. end
  1408. if attack == false and angery == true then
  1409. EditDecal(Face, 8560915)
  1410. end
  1411. sine = sine + 1
  1412. gcstuff.Parent = char
  1413. anim.Parent = nil
  1414. torsvel = (root.Velocity * VT(1, 0, 1)).magnitude
  1415. torsverticalvel = root.Velocity.y
  1416. hitfloor = raycast(root.Position, (CF(root.Position, root.Position + VT(0, -1, 0))).lookVector, 4*size, char)
  1417. if torsvel < 1 and hitfloor ~= nil then
  1418. pose = "Idle"
  1419. if attack == false and angery == false then
  1420. Ra.Parent = nil
  1421. La.Parent = nil
  1422. SBoi.Parent = nil
  1423. clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
  1424. clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
  1425. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
  1426. elseif attack == false and angery == true then
  1427. Ra.Parent = char
  1428. La.Parent = char
  1429. SBoi.Parent = nil
  1430. clerp(rs, rsnor * CFrame.new(0, 0, 0), 0.15)
  1431. clerp(ls, lsnor * CFrame.new(0, 0, 0), 0.15)
  1432. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
  1433. end
  1434. elseif torsvel > 1 and hitfloor ~= nil then
  1435. pose = "Walk"
  1436. if attack == false then
  1437. Ra.Parent = char
  1438. La.Parent = char
  1439. SBoi.Parent = nil
  1440. clerp(rs, rsnor * CFrame.new(0.5, -0.5, -2.5), 0.15)
  1441. clerp(ls, lsnor * CFrame.new(-0.5, -0.5, -2.5), 0.15)
  1442. clerp(rootj, rootjnor * CFrame.new(0, 0, 0.5 + 0.5 * Cos(sine / 12)), 0.15)
  1443. end
  1444. elseif torsverticalvel > 1 and hitfloor == nil then
  1445. pose = "Jump"
  1446. if attack == false then
  1447. Ra.Parent = char
  1448. La.Parent = char
  1449. SBoi.Parent = nil
  1450. clerp(rs, rsnor * CFrame.new(0, -0.5, -1.5), 0.15)
  1451. clerp(ls, lsnor * CFrame.new(0, -0.5, -1.5), 0.15)
  1452. clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0 * Cos(sine / 12)) * CFrame.Angles(-0.5, 0, 0), 0.15)
  1453. end
  1454. elseif torsverticalvel < 1 and hitfloor == nil then
  1455. pose = "Fall"
  1456. if attack == false then
  1457. Ra.Parent = char
  1458. La.Parent = char
  1459. SBoi.Parent = nil
  1460. clerp(rs, rsnor * CFrame.new(0, -0.5, -1.5), 0.15)
  1461. clerp(ls, lsnor * CFrame.new(0, -0.5, -1.5), 0.15)
  1462. clerp(rootj, rootjnor * CFrame.new(0, 0, 0 + 0 * Cos(sine / 12)) * CFrame.Angles(-0.5, 0, 0), 0.15)
  1463. end
  1464. end
  1465. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement