Dark_EccentricYT

Untitled

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