Advertisement
duplicat

a Box.

Feb 2nd, 2019
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.92 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  6.  
  7.  
  8.  
  9. do
  10. function GetDiscoColor(hue)
  11. hue=hue/4
  12. local section = hue % 1 * 3
  13. local secondary = 0.5 * math.pi * (section % 1)
  14. local thing
  15. if section < 1 then
  16. thing=Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  17. elseif section < 2 then
  18. thing=Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  19. else
  20. thing=Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  21. end
  22. return thing
  23. end
  24. function VertexRainbow()
  25. return Vector3.new(math.random(),math.random(),math.random())
  26. end
  27.  
  28.  
  29. local plr = game.Players.LocalPlayer
  30. local chr = plr.Character
  31. local maus = plr:GetMouse()
  32. local PGui=plr.PlayerGui
  33. local lleg = chr["Left Leg"]
  34. local rleg = chr["Right Leg"]
  35. local larm = chr["Left Arm"]
  36. local rarm = chr["Right Arm"]
  37. local hed = chr.Head
  38. local rutprt = chr.HumanoidRootPart
  39. local torso = chr.Torso
  40. local otheranims=false
  41. local swimming=false
  42. chr.Animate.Disabled=true
  43. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  44. local RunSpeed=80
  45. local WlkSpeed=16
  46. local SwimSpeed=14
  47. local SwimDashSpeed=1000
  48. local anim = "Idling"
  49. local lastanim = "Idling"
  50. local flying=false
  51. local val = 0
  52. local syne = 0
  53. local num = 0
  54. local runtime = 0
  55. local TackleCD=false
  56. local currentdecalid=1
  57. local crouching=false
  58. local bboxout=false
  59. local ltout=false
  60. local standing=false
  61. local throwcd=false
  62. local displaying=false
  63. local imageType="Custom"
  64. local pseudohead=hed:Clone()
  65. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  66. pseudohead.Name='PseudoHead'
  67. pseudohead.Parent=chr.Head
  68. local pseudoweld=Instance.new('Weld',torso)
  69. pseudoweld.Part0=hed
  70. pseudoweld.Name='PseudoHeadWeld'
  71. pseudoweld.Part1=pseudohead
  72. hed.Transparency=1
  73. for i,x in pairs(chr:GetChildren()) do
  74. if x:IsA'Hat' then x:destroy'' end end
  75. for i,x in pairs(chr:GetChildren()) do
  76. for a,v in pairs(x:GetChildren()) do
  77. if v:IsA'CharacterMesh' then v:destroy''
  78. end
  79. end
  80. end
  81.  
  82. local Glow1 = Color3.new(1,0,0)
  83. local Glow2 = Color3.new(0,0,1)
  84. local setsky = game.Lighting
  85.  
  86. local alldecals={"186897805","136214180","55365976","21214837","69643159","35035960","25499330","663532065","711219217","171754234","167241003","235558077","265452635","260161937","242814125","230417107","252230874","231949998","229222676","181607551","231953209","123431503","184905165","172755711","161494218","292791711","205912841","68953525","180163702","123385234","138847283","159127645","172511645","210175195","206539362","192486406","96613287","131764585","168427244","128595009","96687581","171590601","172329151","72116648","221557708","214883980"}
  87.  
  88. local decals={"152628549","152629684","192467477","249062488","173846873","246990310","246990269","233853776","256301393","246990343","173846290","184779655","152628663","168044411"}
  89. local musics={"390409627","390409627"}
  90. local currentsound=1
  91. local GarbageTypes={{"Grapes","16940906","16940893",Vector3.new(.8,.8,.8),"284627310"},{"Lightbulb","1376459","1376456",Vector3.new(1,1,1),"235040768"},{"Turkey","13073626","13073598",Vector3.new(2,2,2),"284627310"},{"JuiceBottle","57219451","57219520",Vector3.new(1.75,1.75,1.75),"235040768"},{"Can","10470609","10470600",Vector3.new(1,1,1),"284627310"},{"dunno lol","55304507","55304460",Vector3.new(1,1,1),"235040768"},{"Burger","16646125","16432575",Vector3.new(1.1,1.1,1.1),"284627310"},{"Candy","38160912","38161977",Vector3.new(1.15,1.15,1.15),"154162195"},{"Sandwich","12510164","12509672",Vector3.new(2.5,2.5,2.5),"284627310"}}
  92. coroutine.wrap(function()
  93. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  94. function Lerp(a, b, i)
  95. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  96. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  97. local calx = com1[1] + (com2[1] - com1[1]) * i
  98. local caly = com1[2] + (com2[2] - com1[2]) * i
  99. local calz = com1[3] + (com2[3] - com1[3]) * i
  100. local cala = com1[4] + (com2[4] - com1[4]) * i
  101. local calb = com1[5] + (com2[5] - com1[5]) * i
  102. local calc = com1[6] + (com2[6] - com1[6]) * i
  103. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  104. end
  105. function TwnSingleNumber(s,f,m)
  106. local wot=s+(f-s)*m
  107. return wot
  108. end
  109. function TwnVector3(q,w,e)
  110. local begin={q.x,q.y,q.z}
  111. local ending={w.x,w.y,w.z}
  112. local bgx=begin[1]+(ending[1]-begin[1])*e
  113. local bgy=begin[2]+(ending[2]-begin[2])*e
  114. local bgz=begin[3]+(ending[3]-begin[3])*e
  115. return Vector3.new(bgx,bgy,bgz)
  116. end
  117. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  118. wld = Instance.new("Weld", wp1)
  119. wld.Part0 = wp0
  120. wld.Part1 = wp1
  121. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  122. end
  123. newWeld(law, torso, larm, -1.5, 0.5, 0)
  124. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  125. newWeld(llw, torso, lleg, -.5, -2, 0)
  126. newWeld(rlw, torso, rleg, .5, -2, 0)
  127. newWeld(hw, torso, hed, 0, 1.5, 0)
  128. local rutwald=Instance.new('Weld',rutprt)
  129. rutwald.Part0=rutprt
  130. rutwald.Part1=torso
  131. rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  132. larm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  133. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  134. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  135. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  136.  
  137.  
  138.  
  139. local bvelo=Instance.new('BodyVelocity',rutprt)
  140. bvelo.maxForce=Vector3.new(0,0,0)
  141.  
  142. BOM = Instance.new("Sound",chr)
  143. BOM.SoundId = "http://www.roblox.com/asset/?id=138014729"
  144. BOM.Pitch = 1.2
  145. BOM.Volume= 1
  146. BOM.Looped = false
  147. BOM.Name = 'BOM!'
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156. n2 = Instance.new("Sound",chr)
  157. n2.SoundId = "http://www.roblox.com/asset/?id=388109043"
  158. n2.Pitch = 0.95
  159. n2.Volume= 2
  160. n2.Looped = false
  161. n2:Play()
  162. n2.Name = 'BOX!'
  163.  
  164. local kan=Instance.new('Model',chr)
  165. kan.Name="true Metal Gear Box"
  166. local cen=Instance.new('Model',kan)
  167. cen.Name='no stap'
  168. local can=Instance.new('Model',cen)
  169. can.Name="its time to stop! or i cry"
  170. local base=Instance.new('Part',can)
  171. base.formFactor=3
  172. base.TopSurface=10
  173. base.BottomSurface=10
  174. base.LeftSurface=10
  175. base.RightSurface=10
  176. base.FrontSurface=10
  177. base.BackSurface=10
  178. base.Locked=true
  179. base.CanCollide=true
  180. base.Anchored=false
  181. base.BrickColor=BrickColor.new('Fossil')
  182. base.Name='Can1'
  183. base.Transparency = 1
  184. base.Size=Vector3.new(3,3.5,3)
  185. base.Material='Metal'
  186. local canm=Instance.new("CylinderMesh",base)
  187.  
  188. local base2=Instance.new('Part',can)
  189. base2.formFactor=3
  190. base2.TopSurface=10
  191. base2.BottomSurface=10
  192. base2.LeftSurface=10
  193. base2.RightSurface=10
  194. base2.FrontSurface=10
  195. base2.BackSurface=10
  196. base2.Locked=true
  197. base2.CanCollide=false
  198. base2.Anchored=false
  199. base2.BrickColor=BrickColor.new('Really black')
  200. base2.Name='InnerCan'
  201. base2.Size=Vector3.new(2.8,.2,2.8)
  202. base2.Material='SmoothPlastic'
  203. base2.Transparency = 0
  204. local base2m=Instance.new('SpecialMesh',base2)
  205. base2m.Scale=Vector3.new(1, 0.05, 1)
  206. base2m.MeshId="http://www.roblox.com/asset/?id=173330346"
  207.  
  208. local base3=Instance.new('Part',can)
  209. base3.formFactor=3
  210. base3.TopSurface=10
  211. base3.BottomSurface=10
  212. base3.LeftSurface=10
  213. base3.RightSurface=10
  214. base3.FrontSurface=10
  215. base3.BackSurface=10
  216. base3.Locked=true
  217. base3.CanCollide=true
  218. base3.Anchored=false
  219. base3.BrickColor=BrickColor.new('Burlap')
  220. base3.Name='Can2'
  221. base3.Transparency = 0
  222. base3.Size=Vector3.new(2,2.5,2)
  223. base3.Material='Metal'
  224. local base3m=Instance.new('SpecialMesh',base3)
  225. base3m.Scale=Vector3.new(1.2,1.2,1.2)
  226. base3m.MeshId="http://www.roblox.com/asset/?id=173330346"
  227.  
  228.  
  229.  
  230.  
  231. local lid=Instance.new('Part',can)
  232.  
  233. lid.Name='Lid'
  234. lid.formFactor=3
  235. lid.TopSurface=10
  236. lid.BottomSurface=10
  237. lid.LeftSurface=10
  238. lid.RightSurface=10
  239. lid.BackSurface=10
  240. lid.FrontSurface=10
  241. lid.CanCollide=true
  242. lid.Anchored=false
  243. lid.Locked=true
  244. lid.Size=Vector3.new(3,3,.2)
  245. lid.BrickColor=BrickColor.new('Burlap')
  246. local heli1=Instance.new('Part',can)
  247. heli1.formFactor=3
  248. heli1.TopSurface=10
  249. heli1.BottomSurface=10
  250. heli1.LeftSurface=10
  251. heli1.RightSurface=10
  252. heli1.FrontSurface=10
  253. heli1.BackSurface=10
  254. heli1.Locked=true
  255. heli1.CanCollide=true
  256. heli1.Anchored=false
  257. heli1.BrickColor=BrickColor.new('Fossil')
  258. heli1.Name='Can'
  259. heli1.Size=Vector3.new(.1,3,.1)
  260. heli1.Material='Metal'
  261. heli1.Transparency = 1
  262. local helim1=Instance.new("CylinderMesh",heli1)
  263. helim1.Scale=Vector3.new(.5,1,.5)
  264. local heli2=Instance.new('Part',can)
  265. heli2.formFactor=3
  266. heli2.TopSurface=10
  267. heli2.BottomSurface=10
  268. heli2.LeftSurface=10
  269. heli2.RightSurface=10
  270. heli2.FrontSurface=10
  271. heli2.BackSurface=10
  272. heli2.Locked=true
  273. heli2.CanCollide=true
  274. heli2.Anchored=false
  275. heli2.BrickColor=BrickColor.new('Dark stone grey')
  276. heli2.Name='Can'
  277. heli2.Size=Vector3.new(.1,.1,2.9)
  278. heli2.Material='Metal'
  279. heli2.Transparency = 1
  280. local helim2=Instance.new("BlockMesh",heli2)
  281. helim2.Scale=Vector3.new(.5,.1,1)
  282. local heli3=Instance.new('Part',can)
  283. heli3.formFactor=3
  284. heli3.TopSurface=10
  285. heli3.BottomSurface=10
  286. heli3.LeftSurface=10
  287. heli3.RightSurface=10
  288. heli3.FrontSurface=10
  289. heli3.BackSurface=10
  290. heli3.Locked=true
  291. heli3.CanCollide=false
  292. heli3.Anchored=false
  293. heli3.BrickColor=BrickColor.new('Dark stone grey')
  294. heli3.Name='Can'
  295. heli3.Size=Vector3.new(.1,.1,3.9)
  296. heli3.Material='Metal'
  297. heli3.Transparency = 1
  298. local helim3=Instance.new("BlockMesh",heli3)
  299. helim3.Scale=Vector3.new(.5,.1,1)
  300. local hits=Instance.new('Sound',lid)
  301. hits.Name='hit'
  302. hits.SoundId="http://www.roblox.com/asset?id=138259748"
  303. hits.Volume=.3
  304. hits.Pitch=.9
  305. local opens=Instance.new('Sound',lid)
  306. opens.Name='Open'
  307. opens.Volume=2
  308. opens.Pitch=1.4
  309. opens.SoundId="http://www.roblox.com/asset?id=192416578"
  310. local lidm=Instance.new('SpecialMesh',lid)
  311. lidm.Scale=Vector3.new(1.17, 0.05, 1.17)
  312. lidm.MeshId="http://www.roblox.com/asset/?id=173330346"
  313.  
  314. coroutine.resume(coroutine.create(function()
  315. while wait() do
  316.  
  317. end
  318. end))
  319. local waifu=Instance.new('Part',can)
  320. waifu.Name='cri cri'
  321. waifu.formFactor=3
  322. waifu.TopSurface=10
  323. waifu.BottomSurface=10
  324. waifu.LeftSurface=10
  325. waifu.RightSurface=10
  326. waifu.BackSurface=10
  327. waifu.FrontSurface=10
  328. waifu.CanCollide=false
  329. waifu.Anchored=false
  330. waifu.Transparency=0
  331. waifu.Locked=true
  332. waifu.Size=Vector3.new(2,.2,2)
  333. local img=Instance.new('Decal',waifu)
  334. img.Texture="http://www.roblox.com/asset?id="..alldecals[math.random(1,#alldecals)]
  335. img.Face='Top'
  336. local bbox=Instance.new('Part',can)
  337. bbox.Name='boombox'
  338. bbox.formFactor=3
  339. bbox.TopSurface=10
  340. bbox.BottomSurface=10
  341. bbox.LeftSurface=10
  342. bbox.RightSurface=10
  343. bbox.BackSurface=10
  344. bbox.FrontSurface=10
  345. bbox.CanCollide=false
  346. bbox.Anchored=false
  347. bbox.Transparency=0
  348. bbox.Locked=true
  349. bbox.Size=Vector3.new(2,2,1)
  350. local bbms=Instance.new('SpecialMesh',bbox)
  351. bbms.Scale=Vector3.new(3,3,3)
  352. bbms.MeshId="http://www.roblox.com/asset?id=212302951"
  353. bbms.TextureId="http://www.roblox.com/asset?id=212303049"
  354. local bulb=Instance.new('Part',can)
  355. bulb.Name='lightbulb'
  356. bulb.formFactor=3
  357. bulb.TopSurface=10
  358. bulb.BottomSurface=10
  359. bulb.LeftSurface=10
  360. bulb.RightSurface=10
  361. bulb.BackSurface=10
  362. bulb.FrontSurface=10
  363. bulb.CanCollide=false
  364. bulb.Anchored=false
  365. bulb.Transparency=.4
  366. bulb.Locked=true
  367. bulb.Size=Vector3.new(.8,1,.8)
  368. local lt=Instance.new('PointLight',bulb)
  369. lt.Range=16
  370. lt.Color=BrickColor.new('New Yeller').Color
  371. lt.Enabled=false
  372. lt.Shadows=true
  373.  
  374. local blbms=Instance.new('SpecialMesh',bulb)
  375. blbms.MeshId="http://www.roblox.com/asset?id=1376459"
  376. blbms.TextureId="http://www.roblox.com/asset?id=1376456"
  377. local canWeld=Instance.new('Weld',torso)
  378. canWeld.Part0=torso
  379. canWeld.Part1=base
  380. canWeld.C1=CFrame.new(0,-.5,0)
  381. canWeld.C0=CFrame.new(0,0,0)
  382. local canWeld2=Instance.new('Weld',base2)
  383. canWeld2.Part0=base
  384. canWeld2.Part1=base2
  385. canWeld2.C1=CFrame.new(0,-0.8,0)
  386. canWeld2.C0=CFrame.new(0,0,0)
  387. ---
  388. local canWeld3=Instance.new('Weld',base3)
  389. canWeld3.Part0=base
  390. canWeld3.Part1=base3
  391. canWeld3.C1=CFrame.new(0,0.4,0)
  392. canWeld3.C0=CFrame.new(0,0,0)
  393. ---
  394. local lidWeld=Instance.new('Weld',base)
  395. lidWeld.Part0=base
  396. lidWeld.Part1=lid
  397. lidWeld.C1=CFrame.new(0,-0.9,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  398. ---
  399. local girlWeld=Instance.new('Weld',base)
  400. girlWeld.Part0=base
  401. girlWeld.Part1=waifu
  402. girlWeld.C1=CFrame.new(0,-0.1,0.4)*CFrame.Angles(math.rad(90),0,0)
  403. local bbweld=Instance.new('Weld',base)
  404. bbweld.Part0=base
  405. bbweld.Part1=bbox
  406. bbweld.C1=CFrame.new(0,0.4,0)
  407. local blbweld=Instance.new('Weld',base)
  408. blbweld.Part0=base
  409. blbweld.Part1=bulb
  410. blbweld.C1=CFrame.new(0,.5,0)
  411. local heliweld1=Instance.new('Weld',base)
  412. heliweld1.Part0=base
  413. heliweld1.Part1=heli1
  414. heliweld1.C1=CFrame.new(0,0,0)
  415. local heliweld2=Instance.new('Weld',heli1)
  416. heliweld2.Part0=heli1
  417. heliweld2.Part1=heli2
  418. heliweld2.C1=CFrame.new(0,-1.475,0)
  419. local heliweld3=Instance.new('Weld',heli1)
  420. heliweld3.Part0=heli1
  421. heliweld3.Part1=heli3
  422. heliweld3.C1=CFrame.new(0,5,0)*CFrame.Angles(0,math.pi/2,0)
  423. local helilt=Instance.new('PointLight',heli1)
  424. helilt.Enabled=false
  425. helilt.Brightness=1
  426. helilt.Range=16
  427. helilt.Color=BrickColor.new("Dark green").Color
  428.  
  429. local music=Instance.new('Sound',bbox)
  430. music.Name='ok music'
  431. music.Volume=.025
  432. music.Pitch=1
  433. music.SoundId="http://www.roblox.com/asset?id="..musics[math.random(1,#musics)]
  434. music.Looped=true
  435. local helisn=Instance.new('Sound',heli1)
  436. helisn.SoundId="http://www.roblox.com/asset?id=319807127"
  437. helisn.Volume=0.5
  438. helisn.Pitch=3
  439. helisn.Looped=true
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446. local gui=Instance.new('ScreenGui',plr.PlayerGui)
  447. gui.Name='you make me cri'
  448. local topFrame=Instance.new('Frame',gui)
  449. topFrame.Name='TopFrame'
  450. topFrame.Size=UDim2.new(1,0,1,0)
  451. topFrame.BorderSizePixel=0
  452. topFrame.BackgroundTransparency=1
  453. local choiceFrame=Instance.new('Frame',topFrame)
  454. choiceFrame.Size=UDim2.new(.4,0,.05,0)
  455. choiceFrame.Draggable=true
  456. choiceFrame.BackgroundTransparency=.7
  457. choiceFrame.Position=UDim2.new(.3,0,.775,0)
  458. choiceFrame.BackgroundColor3=Color3.new(.2,.2,.2)
  459. choiceFrame.BorderColor3=Color3.new(0,0,0)
  460. local innerFrame=Instance.new('Frame',choiceFrame)
  461. innerFrame.Size=UDim2.new(.5,0,1,0)
  462. innerFrame.Draggable=true
  463. innerFrame.BackgroundTransparency=.9
  464. innerFrame.Position=UDim2.new(0,0,0,0)
  465. innerFrame.BackgroundColor3=Color3.new(.2,.2,.2)
  466. innerFrame.BorderColor3=Color3.new(0,0,0)
  467. local innerFrame2=Instance.new('Frame',choiceFrame)
  468. innerFrame2.Visible=true
  469. innerFrame2.Size=UDim2.new(.5,0,1,0)
  470. innerFrame2.Draggable=false
  471. innerFrame2.BackgroundTransparency=.5
  472. innerFrame2.Position=UDim2.new(0,0,1,1)
  473. innerFrame2.BackgroundColor3=Color3.new(.2,.2,.2)
  474. innerFrame2.BorderColor3=Color3.new(0,0,0)
  475. local imageID=Instance.new('TextBox',innerFrame2)
  476. imageID.Size=UDim2.new(.8,0,.7,0)
  477. imageID.Position=UDim2.new(.1,0,.15,0)
  478. imageID.BackgroundTransparency=.7
  479. imageID.Visible=true
  480. imageID.Text="Image ID"
  481. imageID.TextScaled=true
  482. imageID.TextStrokeTransparency=0
  483. imageID.TextStrokeColor3=Color3.new(.1,.1,.1)
  484. imageID.TextColor3=Color3.new(.7,.7,.7)
  485. imageID.BackgroundColor3=Color3.new(.2,.2,.2)
  486. imageID.BorderColor3=Color3.new(0,0,0)
  487. imageID.FocusLost:connect(function(ent)
  488. if ent then
  489. img.Texture="http://www.roblox.com/asset?id="..imageID.Text-1
  490. end
  491. end)
  492. local bt1=Instance.new('TextButton',innerFrame)
  493. bt1.Draggable=false
  494. bt1.BackgroundTransparency=.9
  495. bt1.BackgroundColor3=Color3.new(.2,.2,.2)
  496. bt1.Size=UDim2.new(.5,0,1,0)
  497. bt1.Text="Custom"
  498. bt1.TextStrokeTransparency=0
  499. bt1.TextColor3=Color3.new(.7,.7,.7)
  500. bt1.TextScaled=true
  501. bt1.TextStrokeColor3=Color3.new(.1,.1,.1)
  502. bt1.Font="SourceSans"
  503. bt1.MouseButton1Click:connect(function()
  504. if imageType=='Table' then
  505. imageType="Custom"
  506. innerFrame2.Visible=true
  507. imageID.Visible=true
  508. end
  509. end)
  510. local bt2=Instance.new('TextButton',innerFrame)
  511. bt2.Draggable=false
  512. bt2.BackgroundTransparency=.9
  513. bt2.BackgroundColor3=Color3.new(.1,.1,.1)
  514. bt2.Size=UDim2.new(.5,0,1,0)
  515. bt2.Position=UDim2.new(.5,0,0,0)
  516. bt2.Text="Table"
  517. bt2.TextStrokeTransparency=0
  518. bt2.TextColor3=Color3.new(.7,.7,.7)
  519. bt2.TextScaled=true
  520. bt2.TextStrokeColor3=Color3.new(.1,.1,.1)
  521. bt2.Font="SourceSans"
  522. bt2.MouseButton1Click:connect(function()
  523. if imageType~='Table' then
  524. imageType="Table"
  525. imageID.Visible=false
  526. innerFrame2.Visible=false
  527. img.Texture="http://www.roblox.com/asset?id="..decals[currentdecalid]-1
  528. end
  529. end)
  530.  
  531. local innerFrame3=Instance.new('Frame',choiceFrame)
  532. innerFrame3.Size=UDim2.new(.5,0,1,0)
  533. innerFrame3.Position=UDim2.new(.5,0,0,0)
  534. innerFrame3.Draggable=true
  535. innerFrame3.BackgroundTransparency=.9
  536. innerFrame3.BackgroundColor3=Color3.new(.2,.2,.2)
  537. innerFrame3.BorderColor3=Color3.new(0,0,0)
  538. local innerFrame4=Instance.new('Frame',choiceFrame)
  539. innerFrame4.Size=UDim2.new(.5,0,1,0)
  540. innerFrame4.Draggable=false
  541. innerFrame4.BackgroundTransparency=.5
  542. innerFrame4.Position=UDim2.new(.5,0,1,1)
  543. innerFrame4.BackgroundColor3=Color3.new(.2,.2,.2)
  544. innerFrame4.BorderColor3=Color3.new(0,0,0)
  545. local musicID=Instance.new('TextBox',innerFrame4)
  546. musicID.Size=UDim2.new(.8,0,.7,0)
  547. musicID.Position=UDim2.new(.1,0,.15,0)
  548. musicID.BackgroundTransparency=.7
  549. musicID.Visible=true
  550. musicID.Text="Music ID"
  551. musicID.TextScaled=true
  552. musicID.TextStrokeTransparency=0
  553. musicID.TextStrokeColor3=Color3.new(.1,.1,.1)
  554. musicID.TextColor3=Color3.new(.7,.7,.7)
  555. musicID.BackgroundColor3=Color3.new(.2,.2,.2)
  556. musicID.BorderColor3=Color3.new(0,0,0)
  557. musicID.FocusLost:connect(function(ent)
  558. if ent then
  559. music.SoundId="http://www.roblox.com/asset?id="..musicID.Text
  560. end
  561. end)
  562. local bt3=Instance.new('TextButton',innerFrame3)
  563. bt3.Draggable=false
  564. bt3.BackgroundTransparency=.9
  565. bt3.BackgroundColor3=Color3.new(.2,.2,.2)
  566. bt3.Size=UDim2.new(.5,0,1,0)
  567. bt3.Text="Play"
  568. bt3.TextStrokeTransparency=0
  569. bt3.TextColor3=Color3.new(.7,.7,.7)
  570. bt3.TextScaled=true
  571. bt3.TextStrokeColor3=Color3.new(.1,.1,.1)
  572. bt3.Font="SourceSans"
  573. bt3.MouseButton1Click:connect(function()
  574. if not music.IsPlaying then
  575. musicID.Visible=false
  576. music:play''
  577. innerFrame4.Visible=false
  578. end
  579. end)
  580. local bt4=Instance.new('TextButton',innerFrame3)
  581. bt4.Draggable=false
  582. bt4.BackgroundTransparency=.9
  583. bt4.BackgroundColor3=Color3.new(.1,.1,.1)
  584. bt4.Size=UDim2.new(.5,0,1,0)
  585. bt4.Position=UDim2.new(.5,0,0,0)
  586. bt4.Text="Stop"
  587. bt4.TextStrokeTransparency=0
  588. bt4.TextColor3=Color3.new(.7,.7,.7)
  589. bt4.TextScaled=true
  590. bt4.TextStrokeColor3=Color3.new(.1,.1,.1)
  591. bt4.Font="SourceSans"
  592. bt4.MouseButton1Click:connect(function()
  593. if music.IsPlaying then
  594. music:stop''
  595. musicID.Visible=true
  596. innerFrame4.Visible=true
  597. end
  598. end)
  599.  
  600.  
  601. maus.KeyDown:connect(function(kei)
  602. if string.byte(kei)==48 and not otheranims then
  603. runnin=true
  604. end
  605. if kei=='x' and crouching and not opencd and not displaying then
  606. opens:play''
  607. opencd=true
  608. bboxout=true
  609. end
  610. if kei=='w' then fldb.w=true end
  611. if kei=='a' then fldb.a=true end
  612. if kei=='s' then fldb.s=true end
  613. if kei=='d' then fldb.d=true end
  614. if string.byte(kei)==50 then
  615. if otheranims and crouching then crouching=false otheranims=false if opencd then opencd=false bboxout=false ltout=false end
  616. elseif not otheranims and not crouching then
  617. otheranims=true
  618. crouching=true
  619. chr.Humanoid.WalkSpeed=WlkSpeed*.75
  620. end
  621. end
  622. if kei=='r' and not displaying then
  623. if not heli and not opencd and not displaying and crouching then
  624. opencd=true
  625. heli=true
  626. crouching=false
  627. flying=true
  628. helisn:play''
  629. helilt.Enabled=true
  630. helim2.Scale=Vector3.new(.5,.15,2)
  631. helim3.Scale=Vector3.new(.5,.15,1)
  632. heli3.Transparency = 0
  633. chr.Humanoid.WalkSpeed=WlkSpeed
  634. bvelo.maxForce=Vector3.new(0,1/0,0)
  635. bvelo.velocity=Vector3.new(0,0,0)
  636. elseif heli and opencd then
  637. heli=false
  638. helilt.Enabled=false
  639. opencd=false
  640. flying=false
  641. helim2.Scale=Vector3.new(.5,.1,1)
  642. helim3.Scale=Vector3.new(.5,.1,1)
  643. heli3.Transparency = 1
  644. helisn:stop''
  645. chr.Humanoid.WalkSpeed=WlkSpeed*.75
  646. crouching=true
  647. bvelo.maxForce=Vector3.new(0,0,0)
  648. end
  649. end
  650. if kei=='q' then
  651. bvelo.velocity=Vector3.new(0,-25,0)
  652. end
  653. if kei=='e' then
  654. bvelo.velocity=Vector3.new(0,20,0)
  655. end
  656. if kei=='z' and not opencd then
  657. displaying=true
  658. end
  659. if kei=='k' and not opencd and crouching and not displaying then
  660. n1 = Instance.new("Sound",chr)
  661. n1.SoundId = "http://www.roblox.com/asset/?id=199837904"
  662. n1.Pitch = 1
  663. n1.Volume= 4
  664. n1.Looped = false
  665. n1:Play()
  666. n1.Name = 'NukeSound'
  667.  
  668. wait(4.8)
  669.  
  670. opencd=true
  671. opens:play''
  672. chr.Humanoid.WalkSpeed=0
  673. local grbg=Instance.new('Part',workspace)
  674. grbg.Name="bomb"
  675. grbg.formFactor=3
  676. grbg.CFrame=base.CFrame*CFrame.new(0,5,0)
  677. grbg.TopSurface=10
  678. grbg.BottomSurface=10
  679. grbg.LeftSurface=10
  680. grbg.RightSurface=10
  681. grbg.BackSurface=10
  682. grbg.FrontSurface=10
  683. grbg.CanCollide=false
  684. grbg.Anchored=false
  685. grbg.Anchored=false
  686. grbg.Transparency=0
  687. local grbgm=Instance.new('SpecialMesh',grbg)
  688. grbgm.MeshId="http://www.roblox.com/asset?id=544709735"
  689. grbgm.Scale=Vector3.new(0.1,0.1,0.1)
  690. grbg.BrickColor=BrickColor.new('Really black')
  691. grbg.Locked=true
  692. grbg.Size=Vector3.new(2.8,2.8,2.8)
  693. grbg.Velocity=Vector3.new(0,100,0)
  694. grbg.Touched:connect(function(tch)
  695. if tch and tch.Parent then
  696. local expl=Instance.new('Explosion',workspace)
  697. expl.Position=grbg.Position
  698. expl.BlastPressure=1111111
  699. expl.BlastRadius=11111111111
  700. grbg:destroy''
  701. end
  702. end)
  703. wait'1'
  704. skybox = Instance.new("Sky", setsky)
  705. skybox.SkyboxBk = "rbxassetid://156956351"
  706. skybox.SkyboxDn = "rbxassetid://156956351"
  707. skybox.SkyboxFt = "rbxassetid://156956351"
  708. skybox.SkyboxLf = "rbxassetid://156956351"
  709. skybox.SkyboxRt = "rbxassetid://156956351"
  710. skybox.SkyboxUp = "rbxassetid://156956351"
  711. skybox.CelestialBodiesShown = false
  712. game.Lighting.Ambient = Color3.new(0,0.2,0)
  713. game.Lighting.FogEnd = 100
  714. game.Lighting.FogStart = 0
  715. game.Lighting.FogColor = Color3.new (0,0.5,0)
  716. chr.Humanoid.WalkSpeed=WlkSpeed*.75
  717. opencd=false
  718. wait(4.5)
  719. n1:Destroy()
  720. game.Lighting.FogEnd = 100000
  721. game.Lighting.FogStart = 100000
  722. game.Lighting.FogColor = Color3.new (0.8,0.8,0.8)
  723. game.Lighting.Ambient = Color3.new(1,1,1)
  724. game.Lighting.Sky:Destroy()
  725. end
  726. game:service'Debris':AddItem(grbg,5)
  727. if kei=='c' and not opencd and crouching and not displaying then
  728. opens:play''
  729. opencd=true
  730. lt.Enabled=true
  731. ltout=true
  732. end
  733. end)
  734. maus.KeyUp:connect(function(kei)
  735. if string.byte(kei)==48 and not otheranims then
  736. runnin=false
  737. end
  738. if kei=='w' then fldb.w=false end
  739. if kei=='a' then fldb.a=false end
  740. if kei=='s' then fldb.s=false end
  741. if kei=='d' then fldb.d=false end
  742. if kei=='x' and bboxout and opencd then
  743. bboxout=false
  744. opencd=false
  745. end
  746. if kei=='q' then
  747. bvelo.velocity=Vector3.new(0,0,0)
  748. end
  749. if kei=='e' then
  750. bvelo.velocity=Vector3.new(0,0,0)
  751. end
  752. if kei=='z' then
  753. displaying=false
  754. if imageType=="Table" then
  755. wait(0.2)
  756. currentdecalid=currentdecalid+1
  757. if currentdecalid>#decals then currentdecalid=1 end
  758. img.Texture="http://www.roblox.com/asset?id="..decals[currentdecalid]-1
  759. end
  760. end
  761. if kei=='j' and crouching and otheranims and not displaying and not opencd and anim=='Crouching' then
  762. crouching=false
  763. anim='SuperJump'
  764. local bv=Instance.new('BodyVelocity',rutprt)
  765. bv.maxForce=Vector3.new(0,1/0,0)
  766. bv.velocity=Vector3.new(0,300,0)
  767. game:service'Debris':AddItem(bv,.5)
  768. chr.Humanoid.JumpPower = 120
  769. wait'1'
  770.  
  771. chr.Humanoid.Jump=true
  772. if anim=='SuperJump' then
  773. otheranims=false
  774. wait()
  775. chr.Humanoid.JumpPower = 50
  776. end
  777. end
  778. if kei=='v' and crouching and otheranims and not displaying then
  779. if not opencd then
  780. local rei=Ray.new(lid.CFrame.p,(lid.CFrame.p-(lid.CFrame*CFrame.new(0,0,-1)).p).unit*2)
  781. local hit,hitpos=workspace:FindPartOnRay(rei,chr)
  782. if hit and hit.Parent then
  783. opencd=true
  784. if hit.Parent:IsA'Model' then
  785. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA'Humanoid' then x.Sit=true x.Health=x.Health-(15*(x.MaxHealth/100)) hits:play'' end end
  786. if hit.Parent:findFirstChild('Torso') then
  787. local asd=Instance.new('BodyVelocity',hit.Parent.Torso)
  788. asd.velocity=((rutprt.CFrame*CFrame.new(0,4,1).p-rutprt.CFrame.p).unit*222)
  789. game:service'Debris':AddItem(asd,.4)
  790. end
  791. end
  792. wait'.5'
  793. opencd=false
  794. end
  795. end
  796. end
  797. if kei=='c' and opencd and ltout then
  798. opencd=false
  799. ltout=false
  800. lt.Enabled=false
  801. end
  802. end)
  803.  
  804. local nskn = NumberSequenceKeypoint.new
  805. maus.Button1Down:connect(function()
  806. if runnin and not otheranims and (rutprt.Velocity*Vector3.new(1,0,1)).magnitude>RunSpeed-5 and not TackleCD then
  807. otheranims=true
  808. TackleCD=true
  809. anim="Tackle"
  810. chr.Humanoid.WalkSpeed=0
  811. local bv=Instance.new('BodyVelocity',base)
  812. bv.Name='git gud'
  813. bv.maxForce=Vector3.new(1/0,0,1/0)
  814. bv.velocity=((rutprt.CFrame*CFrame.new(0,0,-3)).p-rutprt.CFrame.p).unit*(RunSpeed+(22*(RunSpeed/100)))
  815. wait'1'
  816. bv:destroy''
  817. otheranims=false
  818. wait'2'
  819. TackleCD=false
  820. end
  821.  
  822. if not throwcd and crouching and otheranims and not opencd and not displaying then
  823. opencd=true
  824. throwcd=true
  825. opens:play''
  826. local grb=GarbageTypes[math.random(1,#GarbageTypes)]
  827. local grbg=Instance.new('Part',workspace)
  828. grbg.Name=grb[1]
  829. grbg.formFactor=3
  830. grbg.CFrame=base.CFrame*CFrame.new(0,4.5,-2)*CFrame.Angles(math.rad(math.random(1,180)),math.rad(math.random(1,180)),math.rad(math.random(1,180)))
  831. grbg.TopSurface=10
  832. grbg.BottomSurface=10
  833. grbg.LeftSurface=10
  834. grbg.RightSurface=10
  835. grbg.BackSurface=10
  836. grbg.FrontSurface=10
  837. grbg.CanCollide=false
  838. grbg.Anchored=false
  839. grbg.Anchored=false
  840. grbg.Transparency=1
  841. grbg.Locked=true
  842. grbg.Size=Vector3.new(.2,.2,.2)
  843. local emitter=Instance.new("ParticleEmitter",grbg)
  844. emitter.Rate=500
  845. emitter.Color = ColorSequence.new(Glow1,Glow2)
  846. emitter.Acceleration=Vector3.new(0,10,0)
  847. emitter.Lifetime=NumberRange.new(0.5,1)
  848. --emitter.EmissionDirection="Back"
  849.  
  850. emitter.VelocitySpread=360
  851. emitter.Enabled=true
  852. emitter.Rotation=NumberRange.new(-15,15)
  853. emitter.RotSpeed=NumberRange.new(-25,25)
  854. emitter.Texture="http://www.roblox.com/asset?id=589325350"
  855. emitter.Size = NumberSequence.new({
  856. nskn(0 , 1 , 0);
  857. nskn(0.123, .85 , 0);
  858. nskn(0.154, .7 , 0);
  859. nskn(0.208, .55 , 0);
  860. nskn(0.357, .4 , 0);
  861. nskn(0.555, .25 , 0);
  862. nskn(0.725, .1, 0);
  863. nskn(0.905, 0, 0);
  864. nskn(1 , 0, 0);
  865. })
  866. emitter.Transparency=NumberSequence.new({nskn(0,0,0),nskn(.1,.1,0),nskn(.2,.2,0),nskn(.3,.3,0),nskn(.4,.4,0),nskn(.5,.5,0),nskn(.6,.6,0),nskn(.7,7,0),nskn(.8,.8,0),nskn(.9,.9,0),nskn(1,1,0)})
  867. local hitsnd=Instance.new('Sound',grbg)
  868. hitsnd.Volume=1
  869. hitsnd.Pitch=1
  870. hitsnd.SoundId="http://www.roblox.com/asset?id=144467617"
  871. local hitsnd2=Instance.new('Sound',grbg)
  872. hitsnd2.Volume=.5
  873. hitsnd2.Pitch=1.05
  874. hitsnd2.SoundId="http://www.roblox.com/asset?id="..grb[5]
  875. local magn=(maus.Hit.p-(base.CFrame*CFrame.new(0,4.5,-2)).p).magnitude
  876. grbg.Velocity=((maus.Hit.p-(base.CFrame*CFrame.new(0,4.5,-2)).p).unit*(magn*1.25))+Vector3.new(0,72.5,0)
  877. local firsthit=true
  878. local ms=Instance.new('SpecialMesh',grbg)
  879. ms.MeshId="http://www.roblox.com/asset?id="..grb[2]
  880. ms.TextureId="http://www.roblox.com/asset?id="..grb[3]
  881. ms.Scale=grb[4]
  882. grbg.Touched:connect(function(hit)
  883. if hit and hit.Parent and hit:IsA'Part' and hit.CanCollide and hit.Transparency<1 and firsthit then
  884. firsthit=false
  885. hitsnd:play''
  886. hitsnd2:play''
  887. grbg.Anchored=true
  888. grbg.Transparency=1
  889. game:service'Debris':AddItem(grbg,2)
  890. local expl=Instance.new('Part',workspace)
  891. expl.Name=grb[1]
  892. expl.formFactor=3
  893. expl.CFrame=CFrame.new(grbg.CFrame.x,grbg.CFrame.y,grbg.CFrame.z)
  894. expl.TopSurface=10
  895. expl.BottomSurface=10
  896. expl.LeftSurface=10
  897. expl.RightSurface=10
  898. expl.BackSurface=10
  899. expl.FrontSurface=10
  900. expl.CanCollide=false
  901. expl.Anchored=true
  902. expl.Transparency=1
  903. expl.Locked=true
  904. expl.Size=Vector3.new(.2,.2,.2)
  905. local emitr=Instance.new("ParticleEmitter",expl)
  906. emitr.Color = ColorSequence.new(Glow1,Glow2)
  907. emitr.Rate=800
  908. emitr.Speed=NumberRange.new(35,40)
  909. emitr.Acceleration=Vector3.new(0,-80,0)
  910. emitr.Lifetime=NumberRange.new(1.5)
  911. emitr.EmissionDirection="Top"
  912. emitr.Transparency=NumberSequence.new({nskn(0,0,0),nskn(.1,.1,0),nskn(.2,.2,0),nskn(.3,.3,0),nskn(.4,.4,0),nskn(.5,.5,0),nskn(.6,.6,0),nskn(.7,7,0),nskn(.8,.8,0),nskn(.9,.9,0),nskn(1,1,0)})
  913.  
  914. emitr.VelocitySpread=69
  915. emitr.Enabled=true
  916. emitr.Rotation=NumberRange.new(-15,15)
  917. emitr.RotSpeed=NumberRange.new(-25,25)
  918. emitr.Texture=emitter.Texture
  919. emitr.Size = NumberSequence.new({
  920. nskn(0 , 2 , 0);
  921. nskn(0.123, 1.75 , 0);
  922. nskn(0.154, 1.5 , 0);
  923. nskn(0.208, 1.25 , 0);
  924. nskn(0.357, 1 , 0);
  925. nskn(0.555, .75 , 0);
  926. nskn(0.725, .5, 0);
  927. nskn(0.905, .25, 0);
  928. nskn(1 , 0, 0);
  929. })
  930. emitter.Rate=0
  931. for i,x in pairs(workspace:GetChildren()) do
  932. if x:IsA'Model' and x:findFirstChild("Humanoid") and x:findFirstChild("Torso") and x:findFirstChild("Head") then
  933. if (x.Torso.Position-expl.Position).magnitude<=12 and x~=chr then
  934. x:breakJoints''
  935. end
  936. end
  937. end
  938. wait'.2'
  939. emitr.Rate=0
  940. game:service'Debris':AddItem(expl,1)
  941. end
  942. end)
  943. wait'.2'
  944. opencd=false
  945. wait'.6'
  946. throwcd=false
  947. end
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954. end)
  955.  
  956.  
  957.  
  958.  
  959. lid.Touched:connect(function(hit)
  960. if otheranims==true and anim=="Tackle" or anim=='SuperJump' and not hitdb and not hit.Parent:IsA'Hat' and hit.Name~='Base' then
  961. if anim=='SuperJump' then otheranims=false chr.Humanoid.Jump=true end
  962. hitdb=true
  963. if hit and hit.Parent then
  964. if hit.Parent:IsA'Model' then
  965. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA'Humanoid' then hit.Parent:breakJoints'' hits:play'' end end
  966. if hit.Parent.Parent then
  967. for i,x in pairs(hit.Parent.Parent:GetChildren()) do if x:IsA'Humanoid' then hit.Parent.Parent:breakJoints'' hits:play'' end end
  968. end
  969. end
  970. end
  971. wait'.8' hitdb=false
  972. end
  973. end)
  974.  
  975.  
  976. game:service'RunService'.RenderStepped:connect(function()
  977. if chr:findFirstChild("Humanoid") and rarm:findFirstChild("Weld") and larm:findFirstChild("Weld") and hed:findFirstChild("Weld") and lleg:findFirstChild("Weld") and rleg:findFirstChild("Weld") and rutprt:findFirstChild("Weld") then
  978. if anim~=lastanim then
  979. runtime=0
  980. end
  981. lastanim=anim
  982. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(waifu.CFrame)).p+Vector3.new(0,-1.25,0)
  983. syne=syne+.95
  984. if not otheranims and not swimming then
  985. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  986. anim="Idling"
  987. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  988. anim="Walking"
  989. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  990. anim="Sprinting"
  991. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  992. anim='Jumping'
  993. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  994. anim='Falling'
  995. end
  996. end
  997. if otheranims and crouching and not swimming and not flying then
  998. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 then
  999. anim="Crouching"
  1000. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 then
  1001. anim="Sneaking"
  1002. end
  1003. end
  1004.  
  1005. if otheranims and flying and not swimming and not crouching then
  1006. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 then
  1007. anim="FlyIdle"
  1008. heliweld1.C0=CFrame.new(0,3.25,0)*CFrame.Angles(0,syne,0)
  1009. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 then
  1010. anim="FlyForward"
  1011. heliweld1.C0=CFrame.new(0,3.25,0)*CFrame.Angles(0,syne,0)
  1012. end
  1013. else
  1014. heliweld1.C0=CFrame.new(0,0,0)
  1015. end
  1016.  
  1017. if anim=="Idling" then
  1018. idlesineinc=35
  1019. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(10)),.15)
  1020. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(-10)),.15)
  1021. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  1022. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  1023. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  1024. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  1025. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,3.3,0)*CFrame.Angles(0,0,0),.15)
  1026. end
  1027.  
  1028. if anim=="Walking" then
  1029. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(10)),.15)
  1030. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(-10)),.15)
  1031. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  1032. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  1033. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  1034. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  1035. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,3.3,0)*CFrame.Angles(0,0,0),.15)
  1036. end
  1037.  
  1038. if anim=="Sprinting" then
  1039. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(32.5)),.1)
  1040. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-32.5)),.1)
  1041. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2)-math.rad(10))*CFrame.Angles(math.cos(syne/4)*2+math.rad(10),0,math.rad(-2.5)),.1)
  1042. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2-math.rad(10))*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(10),0,math.rad(2.5)),.1)
  1043. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.55+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),0,0),.1)
  1044. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-25),math.cos(syne/2.5)/10,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
  1045. canWeld.C0=Lerp(canWeld.C0,CFrame.new(2.5,0,2)*CFrame.Angles(0,1.5,0),.1)
  1046. end
  1047.  
  1048. if anim=="Jumping" then
  1049. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1050. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1051. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1052. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  1053. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  1054. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  1055. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1056. end
  1057.  
  1058. if anim=="Tackle" then
  1059. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1060. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1061. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1062. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  1063. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  1064. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),.1)
  1065. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1066. end
  1067.  
  1068. if anim=="Falling" then
  1069. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  1070. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  1071. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  1072. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  1073. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
  1074. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
  1075. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1076. end
  1077.  
  1078. if anim=="SuperJump" then
  1079. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(10)),.15)
  1080. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(175),0,math.rad(-10)),.15)
  1081. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.5,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.15)
  1082. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.5,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.15)
  1083. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0),.15)
  1084. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1085. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,3,0)*CFrame.Angles(0,0,0),.15)
  1086. end
  1087.  
  1088. if anim=="Crouching" then
  1089. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.5,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1090. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.5,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1091. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1092. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1093. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,-0.1,0)*CFrame.Angles(0,0,0),.1)
  1094. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1095. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1096. end
  1097.  
  1098. if anim=="Sneaking" then
  1099. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.5,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1100. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.5,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1101. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-.8-math.cos(syne/6)/8,-(math.cos(syne/6)/1.75))*CFrame.Angles(math.cos(syne/6)/1.75,0,math.rad(-2.5)),.15)
  1102. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.8-math.cos(syne/6)/8,math.cos(syne/6)/1.75)*CFrame.Angles(-(math.cos(syne/6)/1.75),0,math.rad(2.5)),.15)
  1103. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,-0.1,0)*CFrame.Angles(0,0,0),.1)
  1104. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.cos(syne/6)/20),.1)
  1105. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1106. end
  1107.  
  1108. if anim=="FlyIdle" then
  1109. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1110. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1111. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1112. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1113. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-0.2)*CFrame.Angles(0,0,0),.1)
  1114. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75-math.cos(syne/17.5),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.05)
  1115. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1116. end
  1117. if anim=="FlyForward" then
  1118. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1119. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1120. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1121. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.5,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)),.1)
  1122. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-0.2)*CFrame.Angles(0,0,0),.1)
  1123. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.75-math.cos(syne/17.5),0)*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(0)),.05)
  1124. canWeld.C0=Lerp(canWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.05)
  1125. end
  1126.  
  1127. if opencd and otheranims then
  1128. lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,1.8,-0.3)*CFrame.Angles(math.rad(85),math.rad(0),math.rad(0)),.222)
  1129. music.Volume=TwnSingleNumber(music.Volume,2,.2)
  1130. elseif not opencd and not displaying then
  1131. music.Volume=TwnSingleNumber(music.Volume,.025,.05)
  1132. elseif not opencd and displaying then
  1133. music.Volume=TwnSingleNumber(music.Volume,2,.05)
  1134. end
  1135. if bboxout then
  1136. bbweld.C0=Lerp(bbweld.C0,CFrame.new(0,1.9,.2)*CFrame.Angles(math.rad(15),math.rad(0),math.rad(0)),.222)
  1137. else
  1138. bbweld.C0=Lerp(bbweld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1139. end
  1140. if ltout then
  1141. blbweld.C0=Lerp(blbweld.C0,CFrame.new(0,1.7,-.7)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.222)
  1142. lt.Range=TwnSingleNumber(lt.Range,16,.1)
  1143. else
  1144. blbweld.C0=Lerp(blbweld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1145. lt.Range=0
  1146. end
  1147. if displaying then
  1148. girlWeld.C0=Lerp(girlWeld.C0,CFrame.new(0,2.2,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1149. lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,1.15,-0.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(0)),.15)
  1150. else
  1151. BOM:Play()
  1152. girlWeld.C0=Lerp(girlWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  1153. lidWeld.C0=Lerp(lidWeld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.075)
  1154. end
  1155. if runnin and not otheranims and not swimming then
  1156. chr.Humanoid.WalkSpeed=RunSpeed
  1157. elseif not runnin and not otheranims and not swimming then
  1158. chr.Humanoid.WalkSpeed=WlkSpeed
  1159. end
  1160. end
  1161. end)
  1162. end
  1163. do
  1164. player = owner or game:GetService("Players").LocalPlayer
  1165.  
  1166. chatted = false
  1167.  
  1168.  
  1169. a = Instance.new("BillboardGui", player.Character:FindFirstChild("Head"))
  1170. a.ExtentsOffset = Vector3.new(1,0,0)
  1171. a.Size = UDim2.new(1,0,1,0)
  1172. a.AlwaysOnTop = true
  1173. a.Enabled = true
  1174. b = Instance.new("ImageLabel", a)
  1175. b.BackgroundTransparency = 1
  1176. b.BorderSizePixel = 0
  1177. b.Image = "http://www.roblox.com/asset/?id=243503908"
  1178. b.ImageTransparency = 0.1
  1179. b.Position = UDim2.new(0.2,0,0.05,0)
  1180. b.Size = UDim2.new(5,0,1.2,0)
  1181. b.Visible = false
  1182. c = Instance.new("TextLabel", b)
  1183. c.BackgroundTransparency = 1
  1184. c.BorderSizePixel = 0
  1185. c.Position = UDim2.new(0.1,0,0)
  1186. c.Size = UDim2.new(0.5,0,0.4,0)
  1187. c.ZIndex = 2
  1188. c.Font = "SourceSans"
  1189. c.FontSize = "Size18"
  1190. c.Text = player.Name..":"
  1191. c.TextColor3 = Color3.new(255/255,255/255,255/255)
  1192. c.TextXAlignment = "Left"
  1193. c.TextYAlignment = "Center"
  1194. d = Instance.new("TextLabel", b)
  1195. d.BackgroundTransparency = 1
  1196. d.BorderSizePixel = 0
  1197. d.Position = UDim2.new(0.1,0,0.4,0)
  1198. d.Size = UDim2.new(0.9,0,0.6,0)
  1199. d.ZIndex = 2
  1200. d.Font = "SourceSans"
  1201. d.FontSize = "Size18"
  1202. d.Text = ""
  1203. d.TextColor3 = Color3.new(255/255,255/255,255/255)
  1204. d.TextXAlignment = "Left"
  1205. d.TextYAlignment = "Top"
  1206. d.TextWrapped = true
  1207.  
  1208.  
  1209. function message(message)
  1210. repeat wait() until chatted == false
  1211. chatted = true
  1212. b.Visible = true
  1213. if string.find(message,"-r") ~=nil then
  1214. for i=1,string.len(message),1 do
  1215. d.TextColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  1216. d.Text = string.sub(message,1,i)
  1217. wait(0.1)
  1218. end
  1219. elseif string.find(message,"-b") ~=nil then
  1220. for i=1,string.len(message),1 do
  1221. d.Text = string.sub(string.byte(message),1,i)
  1222. wait(0.05)
  1223. end
  1224. else
  1225. for i=1,string.len(message),1 do
  1226. d.Text = string.sub(message,1,i)
  1227. wait(0.05)
  1228. end
  1229. end
  1230. wait(2)
  1231. if string.find(message,"-t") ~=nil then
  1232. b.Visible = true
  1233. else
  1234. b.Visible = false
  1235. d.TextColor3 = Color3.new(255/255,255/255,255/255)
  1236. end
  1237. chatted = false
  1238. end
  1239.  
  1240.  
  1241.  
  1242.  
  1243. player.Chatted:connect(message)
  1244. end
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250. wait()
  1251. print('BOX TIME!')
  1252. wait(2)
  1253. n2:Destroy()
  1254. wait()
  1255. print('Remake by 123jl123')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement