carlosname

Untitled

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