Advertisement
Guest User

FE box script

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