dsniper

Untitled

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