Znimator

Untitled

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