Advertisement
Dark_EccentricYT

Untitled

Mar 29th, 2018 (edited)
921
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.83 KB | None | 0 0
  1. -- Well, I do declare! --
  2. local plr = game.Players.LocalPlayer
  3. local chr = plr.Character
  4. local maus = plr:GetMouse()
  5. local PGui=plr.PlayerGui
  6. local lleg = chr["Left Leg"]
  7. local rleg = chr["Right Leg"]
  8. local larm = chr["Left Arm"]
  9. local rarm = chr["Right Arm"]
  10. local hed = chr.Head
  11. local rutprt = chr.HumanoidRootPart
  12. local torso = chr.Torso
  13. local otheranims=false
  14. local armmovement=false
  15. local timersettime=10
  16. local shortdebounce=false
  17. local crouching=false
  18. local nmdb=false
  19. local nomoreimplosion=false
  20. local impmodel=Instance.new('Model',chr)
  21. impmodel.Name='Implosion BIM model'
  22. local crawling=false
  23. local maxstamina=300
  24. local stamina=maxstamina
  25. local tek=0
  26. local tickin=false
  27. local exhausted=false
  28. local bimsactive=true
  29. local leftarm=false
  30. local rightarm=true
  31.  
  32. local BeltTrimClr='Medium stone grey'
  33. local BeltUtilClr='Light stone grey'
  34. local BeltMainClr='Black'
  35. local BIMs={"Cracker","Timer","Remote","Implosion","Light"}
  36. local BIMDesc={"Explodes upon impact! Throw it to have it fly towards the target and drop from above. Not very accurate.","Explodes in a set amount of seconds. You can toggle the time before detonation with the below buttons, or by pressing the 'T' and 'Y' keys.","Explodes when you tell it to! Detonate all placed mines with 'X'. Press 'R' to cause all active mines to flash.",[[AAHAHAHOHOAAHHAHEHEEE!
  37.  
  38. Detonates and destroys most small parts near it.]],[[ [NONEXISTENT IN-ANIME]
  39.  
  40. A BIM that glows upon touch. Welds to whatever it hits first. Disappears after fifteen seconds.]]}
  41. local BIMNumber=1
  42. local BIMType=BIMs[BIMNumber]
  43. local remotebimcont=Instance.new('Model',chr)
  44. remotebimcont.Name='Remote BIM Container'
  45. for lalalalalal,lalalalalalalal in pairs(chr:GetChildren()) do if lalalalalalalal.Name=='Animate' and lalalalalalalal.ClassName:find('Script') then lalalalalalalal.Disabled=true end end
  46.  
  47. -- I also do make belt --
  48.  
  49. local mainmodel=Instance.new('Model',chr)
  50. mainmodel.Name='BTOOOM!'
  51. local beltmodel=Instance.new('Model',mainmodel)
  52. beltmodel.Name='Belt'
  53.  
  54. belttop=Instance.new('Part',beltmodel)
  55. belttop.formFactor='Custom'
  56. belttop.Size=Vector3.new(2.2,.1,1.2)
  57. belttop.TopSurface='SmoothNoOutlines'
  58. belttop.BottomSurface='SmoothNoOutlines'
  59. belttop.FrontSurface='SmoothNoOutlines'
  60. belttop.BackSurface='SmoothNoOutlines'
  61. belttop.LeftSurface='SmoothNoOutlines'
  62. belttop.RightSurface='SmoothNoOutlines'
  63. belttop.CanCollide=false
  64. belttop.Locked=true
  65. belttop.BrickColor=BrickColor.new(BeltTrimClr)
  66. belttop:breakJoints()
  67. local belttm=Instance.new('BlockMesh',belttop)
  68. belttm.Scale=Vector3.new(.975,.25,.975)
  69. local belttw=Instance.new('Weld',belttop)
  70. belttw.Part0=belttop
  71. belttw.Part1=torso
  72. belttw.C1=CFrame.new(0,-.7,0)
  73.  
  74. beltbottom=Instance.new('Part',beltmodel)
  75. beltbottom.formFactor='Custom'
  76. beltbottom.Size=Vector3.new(2.2,.1,1.2)
  77. beltbottom.TopSurface='SmoothNoOutlines'
  78. beltbottom.BottomSurface='SmoothNoOutlines'
  79. beltbottom.FrontSurface='SmoothNoOutlines'
  80. beltbottom.BackSurface='SmoothNoOutlines'
  81. beltbottom.LeftSurface='SmoothNoOutlines'
  82. beltbottom.RightSurface='SmoothNoOutlines'
  83. beltbottom.CanCollide=false
  84. beltbottom.Locked=true
  85. beltbottom.BrickColor=BrickColor.new(BeltTrimClr)
  86. beltbottom:breakJoints()
  87. local beltbm=Instance.new('BlockMesh',beltbottom)
  88. beltbm.Scale=Vector3.new(.975,.25,.975)
  89. local beltbw=Instance.new('Weld',beltbottom)
  90. beltbw.Part0=beltbottom
  91. beltbw.Part1=torso
  92. beltbw.C1=CFrame.new(0,-1,0)
  93.  
  94. beltcenter=Instance.new('Part',beltmodel)
  95. beltcenter.formFactor='Custom'
  96. beltcenter.Size=Vector3.new(2.1,.3,1.1)
  97. beltcenter.TopSurface='SmoothNoOutlines'
  98. beltcenter.BottomSurface='SmoothNoOutlines'
  99. beltcenter.FrontSurface='SmoothNoOutlines'
  100. beltcenter.BackSurface='SmoothNoOutlines'
  101. beltcenter.LeftSurface='SmoothNoOutlines'
  102. beltcenter.RightSurface='SmoothNoOutlines'
  103. beltcenter.Locked=true
  104. beltcenter.CanCollide=false
  105. beltcenter.BrickColor=BrickColor.new(BeltMainClr)
  106. beltcenter:breakJoints()
  107. local beltcw=Instance.new('Weld',beltcenter)
  108. beltcw.Part0=beltcenter
  109. beltcw.Part1=torso
  110. beltcw.C1=CFrame.new(0,-.85,0)
  111.  
  112. local beltutil=Instance.new('Part',beltmodel)
  113. beltutil.formFactor='Custom'
  114. beltutil.Size=Vector3.new(1.1,.6,.4)
  115. beltutil.TopSurface='SmoothNoOutlines'
  116. beltutil.BottomSurface='SmoothNoOutlines'
  117. beltutil.FrontSurface='SmoothNoOutlines'
  118. beltutil.BackSurface='SmoothNoOutlines'
  119. beltutil.LeftSurface='SmoothNoOutlines'
  120. beltutil.RightSurface='SmoothNoOutlines'
  121. beltutil.Locked=true
  122. beltutil.CanCollide=false
  123. beltutil.BrickColor=BrickColor.new(BeltUtilClr)
  124. beltutil:breakJoints()
  125. local beltuw=Instance.new('Weld',beltutil)
  126. beltuw.Part0=beltutil
  127. beltuw.Part1=torso
  128. beltuw.C1=CFrame.new(.25,-.9,-.7)*CFrame.Angles(math.rad(-5),math.rad(-6.5),math.rad(0))
  129.  
  130. local beltutilt=Instance.new('Part',beltmodel)
  131. beltutilt.formFactor='Custom'
  132. beltutilt.Size=Vector3.new(1.15,.2,.45)
  133. beltutilt.TopSurface='SmoothNoOutlines'
  134. beltutilt.BottomSurface='SmoothNoOutlines'
  135. beltutilt.FrontSurface='SmoothNoOutlines'
  136. beltutilt.BackSurface='SmoothNoOutlines'
  137. beltutilt.LeftSurface='SmoothNoOutlines'
  138. beltutilt.RightSurface='SmoothNoOutlines'
  139. beltutilt.CanCollide=false
  140. beltutilt.Locked=true
  141. beltutilt.BrickColor=BrickColor.new('Black')
  142. beltutilt:breakJoints()
  143. local beltutw=Instance.new('Weld',beltutil)
  144. beltutw.Part0=beltutilt
  145. beltutw.Part1=beltutil
  146. beltutw.C1=CFrame.new(0,.25,0)*CFrame.Angles(0,0,0)
  147.  
  148. local beltutilb=Instance.new('Part',beltmodel)
  149. beltutilb.formFactor='Custom'
  150. beltutilb.Size=Vector3.new(1.15,.2,.45)
  151. beltutilb.TopSurface='SmoothNoOutlines'
  152. beltutilb.BottomSurface='SmoothNoOutlines'
  153. beltutilb.FrontSurface='SmoothNoOutlines'
  154. beltutilb.BackSurface='SmoothNoOutlines'
  155. beltutilb.LeftSurface='SmoothNoOutlines'
  156. beltutilb.RightSurface='SmoothNoOutlines'
  157. beltutilb.CanCollide=false
  158. beltutilb.Locked=true
  159. beltutilb.BrickColor=BrickColor.new('Black')
  160. beltutilb:breakJoints()
  161. local beltutilbm=Instance.new('SpecialMesh',beltutilb)
  162. beltutilbm.MeshType='Wedge'
  163. local beltubw=Instance.new('Weld',beltutil)
  164. beltubw.Part0=beltutilb
  165. beltubw.Part1=beltutil
  166. beltubw.C1=CFrame.new(0,.05,0)*CFrame.Angles(math.rad(180),0,0)
  167. local lait=Instance.new('Part',Workspace.CurrentCamera)
  168. lait.Name='Camera_LightBrick'
  169. lait.formFactor='Custom'
  170. lait.Size=Vector3.new(.1,.1,.1)
  171. lait.BrickColor=BrickColor.new('Pastel green')
  172. lait.CanCollide=false
  173. lait.TopSurface=10
  174. lait.BottomSurface=10
  175. lait.FrontSurface=10
  176. lait.BackSurface=10
  177. lait.LeftSurface=10
  178. lait.RightSurface=10
  179. lait.Transparency=1
  180. local laitm=Instance.new('SpecialMesh',lait)
  181. laitm.MeshType='Sphere'
  182. laitm.Scale=Vector3.new(.1,.1,.1)
  183. local laitwl=Instance.new('Weld',chr)
  184. laitwl.Part0=lait
  185. laitwl.Part1=hed
  186. laitwl.C0=CFrame.new(0,0,0)
  187. local vw=Instance.new('SpotLight',lait)
  188. vw.Range=45
  189. vw.Shadows=true
  190. vw.Angle=160
  191. vw.Color=lait.BrickColor.Color
  192. vw.Brightness=1
  193. vw.Face='Front'
  194. vw.Enabled=false
  195.  
  196.  
  197. local lgb=Instance.new('Part',beltmodel)
  198. lgb.formFactor='Custom'
  199. lgb.Locked=true
  200. lgb.Size=Vector3.new(.45,.45,.45)
  201. lgb.Name='GloLiteEXTREME'
  202. lgb.BrickColor=BrickColor.new('Black')
  203. lgb.CanCollide=false
  204. lgb.TopSurface=10
  205. lgb.BottomSurface=10
  206. lgb.FrontSurface=10
  207. lgb.BackSurface=10
  208. lgb.LeftSurface=10
  209. lgb.RightSurface=10
  210. lgb.Transparency=.6
  211. lgb:breakJoints()
  212. local lgbm=Instance.new('SpecialMesh',lgb)
  213. lgbm.MeshType='Sphere'
  214. local lgbw=Instance.new('Weld',lgb)
  215. lgbw.Part0=lgb
  216. lgbw.Part1=beltutil
  217. lgbw.C0=CFrame.new(.675,.05,0)
  218. local glolite=Instance.new('PointLight',lgb)
  219. glolite.Range=0
  220. glolite.Shadows=true
  221. glolite.Color=BrickColor.new('Curry').Color
  222. glolite.Brightness=123123
  223. glolite.Enabled=false
  224.  
  225. local kami=Instance.new('Part',beltmodel)
  226. kami.formFactor='Custom'
  227. kami.Name='Kamikaze_Implosion_BIM'
  228. kami.Size=Vector3.new(.6,.6,.3)
  229. kami.Transparency=0
  230. kami.Locked=true
  231. kami.BrickColor=BrickColor.new('Medium stone grey')
  232. kami.CanCollide=false
  233. kami.TopSurface=0
  234. kami.BottomSurface=0
  235. kami:breakJoints()
  236. local kamiw=Instance.new('Weld',torso)
  237. kamiw.Part0=kami
  238. kamiw.Part1=torso
  239. kamiw.C0=CFrame.new(0,-.4,.5)
  240. local kamim=Instance.new('SpecialMesh',kami)
  241. kamim.MeshType='Sphere'
  242.  
  243. local kamid=Instance.new('Part',kami)
  244. kamid.formFactor='Custom'
  245. kamid.Name='Kamikaze_Implosion_BI'
  246. kamid.Size=Vector3.new(.2,.2,.1)
  247. kamid.Transparency=0
  248. kamid.Locked=true
  249. kamid.BrickColor=BrickColor.new('Black')
  250. kamid.CanCollide=false
  251. kamid.TopSurface=0
  252. kamid.BottomSurface=0
  253. kamid:breakJoints()
  254. local kamidw=Instance.new('Weld',kamid)
  255. kamidw.Part0=kamid
  256. kamidw.Part1=kami
  257. kamidw.C0=CFrame.new(0,0,.085)
  258. local kamidm=Instance.new('SpecialMesh',kamid)
  259. kamidm.MeshType='Sphere'
  260.  
  261. for tee=1,180,90 do
  262. local kamidx=Instance.new('Part',kami)
  263. kamidx.formFactor='Custom'
  264. kamidx.Name='Kamikaze_Implosion_B'
  265. kamidx.Size=Vector3.new(.21,.61,.3)
  266. kamidx.Locked=true
  267. kamidx.Transparency=0
  268. kamidx.BrickColor=BrickColor.new('Really black')
  269. kamidx.CanCollide=false
  270. kamidx.TopSurface=0
  271. kamidx.BottomSurface=0
  272. kamidx:breakJoints()
  273. local kamidxw=Instance.new('Weld',kamidx)
  274. kamidxw.Part0=kamidx
  275. kamidxw.Part1=kami
  276. kamidxw.C0=CFrame.new(0,0,.005)*CFrame.Angles(0,0,math.rad(tee))
  277. local kamidxm=Instance.new('SpecialMesh',kamidx)
  278. kamidxm.MeshType='Sphere'
  279. end
  280.  
  281.  
  282. -- BIM display GUI --
  283.  
  284. local maindis=Instance.new('ScreenGui',PGui)
  285. maindis.Name='BIM_Display'
  286. local display=Instance.new('Frame',maindis)
  287. display.Size=UDim2.new(.25,0,.35,0)
  288. display.Position=UDim2.new(.75,0,.65,0)
  289. display.BackgroundTransparency=.9
  290. display.BorderSizePixel=0
  291. display.BackgroundColor3=Color3.new(0,0,0)
  292. display.Name='BIM_Display_Container'
  293. display.MouseEnter:connect(function()
  294. for faaade=1,9 do display.BackgroundTransparency=display.BackgroundTransparency-.1 wait() end end)
  295. display.MouseLeave:connect(function()
  296. for faaade=1,9 do display.BackgroundTransparency=display.BackgroundTransparency+.1 wait() end
  297. end)
  298. local bimname=Instance.new('TextLabel',display)
  299. bimname.Name='BIM_Type_Tracker'
  300. bimname.TextStrokeTransparency=0
  301. bimname.TextStrokeColor3=Color3.new(0,0,0)
  302. bimname.TextColor3=Color3.new(1,1,1)
  303. bimname.BackgroundTransparency=1
  304. bimname.Size=UDim2.new(1,0,.15,0)
  305. bimname.Position=UDim2.new(0,0,0,0)
  306. bimname.FontSize='Size36'
  307. bimname.Font='ArialBold'
  308.  
  309. local bimdesc=Instance.new('TextLabel',display)
  310. bimdesc.Name='BIM_Type_Description'
  311. bimdesc.TextStrokeTransparency=0
  312. bimdesc.TextStrokeColor3=Color3.new(0,0,0)
  313. bimdesc.TextColor3=Color3.new(1,1,1)
  314. bimdesc.BackgroundTransparency=1
  315. bimdesc.Size=UDim2.new(1,0,.65,0)
  316. bimdesc.Position=UDim2.new(0,0,.05,0)
  317. bimdesc.FontSize='Size18'
  318. bimdesc.Font='ArialBold'
  319. bimdesc.TextWrapped=true
  320.  
  321. local timergui=Instance.new('Frame',display)
  322. timergui.BackgroundTransparency=1
  323. timergui.Size=UDim2.new(1,0,.5,0)
  324. timergui.Name='GUI_Set_For_Timer_BIM'
  325. timergui.Position=UDim2.new(0,0,.5,0)
  326.  
  327. local timeup=Instance.new('TextButton',timergui)
  328. timeup.Size=UDim2.new(.25,0,.25,0)
  329. timeup.Text='+'
  330. timeup.BackgroundTransparency=1
  331. timeup.Position=UDim2.new(.65,0,.2,0)
  332. timeup.FontSize='Size24'
  333. timeup.Font='ArialBold'
  334. timeup.TextColor3=Color3.new(1,1,0)
  335. timeup.TextStrokeTransparency=0
  336. timeup.TextStrokeColor3=Color3.new(0,0,0)
  337. timeup.MouseButton1Click:connect(function()
  338. if timersettime+1>10 then timersettime=10
  339. else
  340. timersettime=timersettime+1
  341. end
  342. end)
  343.  
  344. local timedn=Instance.new('TextButton',timergui)
  345. timedn.Size=UDim2.new(.25,0,.25,0)
  346. timedn.Text='-'
  347. timedn.FontSize='Size24'
  348. timedn.Font='ArialBold'
  349. timedn.BackgroundTransparency=1
  350. timedn.Position=UDim2.new(.15,0,.2,0)
  351. timedn.TextColor3=Color3.new(1,1,0)
  352. timedn.TextStrokeTransparency=0
  353. timedn.TextStrokeColor3=Color3.new(0,0,0)
  354. timedn.MouseButton1Click:connect(function()
  355. if timersettime-1<3 then timersettime=3
  356. else
  357. timersettime=timersettime-1
  358. end
  359. end)
  360.  
  361. local timertracker=Instance.new('TextLabel',timergui)
  362. timertracker.Size=UDim2.new(.5,0,.5,0)
  363. timertracker.FontSize='Size36'
  364. timertracker.Font='ArialBold'
  365. timertracker.BackgroundTransparency=1
  366. timertracker.Position=UDim2.new(.27,0,.05,0)
  367. timertracker.TextColor3=Color3.new(1,1,0)
  368. timertracker.TextStrokeTransparency=0
  369. timertracker.TextStrokeColor3=Color3.new(0,0,0)
  370.  
  371. local controlsgui=Instance.new('Frame',maindis)
  372. controlsgui.Size=UDim2.new(.6,0,.6,0)
  373. controlsgui.Position=UDim2.new(2,0,.2,0)
  374. controlsgui.BackgroundTransparency=.5
  375. controlsgui.BackgroundColor3=Color3.new(1,1,1)
  376. controlsgui.Name='Controls_GUI'
  377.  
  378. local controlstext=Instance.new('TextLabel',controlsgui)
  379. controlstext.Font='Arial'
  380. controlstext.FontSize='Size8'
  381. controlstext.Size=UDim2.new(1,0,1,0)
  382. controlstext.Position=UDim2.new(0,0,0,0)
  383. controlstext.BackgroundTransparency=1
  384. controlstext.Name='Controls_Text'
  385. controlstext.TextColor3=Color3.new(1,0,0)
  386. controlstext.TextStrokeTransparency=0
  387. controlstext.TextStrokeColor3=Color3.new(0,1,1)
  388. controlstext.TextScaled=true
  389. controlstext.Text=[[You can use the 'Q' and 'E' keys to cycle through BIM types. There are five types of BIM:
  390.  
  391. Cracker: Flies at the target and explodes as soon as it touches something.
  392.  
  393. Light: Welds to its target and lights up. Lasts fifteen seconds.
  394.  
  395. Timer: Allows you to choose a time between 3 and 10 seconds prior to detonation of the BIM.
  396.  
  397. Remote: Detonates all remote BIMs in an area when you press the 'X' key.
  398.  
  399. Implosion: Detonates and causes all parts under a certain size to disappear if they touch the sphere.
  400.  
  401. Pressing 'V' will activate the implosion BIM on your chest.
  402. You can click to throw/place a BIM. Hold SHIFT to dash. Press the CTRL button to crouch.
  403. Toggle crawl with 'C'.
  404. Toggle a circular light with 'Z.'
  405. Toggle minor "night vision" with 'F'.
  406. I'll leave the rest to you.]]
  407.  
  408. local controls=Instance.new('TextButton',display)
  409. controls.Name='Controls_Display_GUI'
  410. controls.Font='ArialBold'
  411. controls.BorderSizePixel=0
  412. controls.FontSize='Size18'
  413. controls.Text='Click me for a list of controls!'
  414. controls.BackgroundTransparency=0
  415. controls.AutoButtonColor=false
  416. controls.BackgroundColor3=Color3.new(1,1,1)
  417. controls.TextStrokeTransparency=0
  418. controls.TextStrokeColor3=Color3.new(0,1,1)
  419. controls.TextColor3=Color3.new(1,0,0)
  420. controls.Size=UDim2.new(1.01,0,.1,0)
  421. controls.Position=UDim2.new(0,0,.9,0)
  422. controls.MouseButton1Click:connect(function()
  423. if controlsgui.Position==UDim2.new(2,0,.2,0) then
  424. controlsgui.Visible=true
  425. controlsgui:TweenPosition(UDim2.new(.2,0,.2,0),'Out','Quad')
  426. elseif controlsgui.Position==UDim2.new(.2,0,.2,0) then
  427. controlsgui:TweenPosition(UDim2.new(2,0,.2,0),'Out','Quad')
  428. controlsgui.Visible=false
  429. end
  430. end)
  431.  
  432. local hname=Instance.new('TextButton',display)
  433. hname.Text='Hide name'
  434. hname.Size=UDim2.new(1.01,0,.1,0)
  435. hname.Position=UDim2.new(0,0,.8,0)
  436. hname.Font='ArialBold'
  437. hname.FontSize='Size18'
  438. hname.BorderSizePixel=0
  439. hname.BackgroundTransparency=0
  440. hname.BackgroundColor3=Color3.new(0,0,0)
  441. hname.TextStrokeTransparency=0
  442. hname.TextStrokeColor3=Color3.new(1,0,1)
  443. hname.TextColor3=Color3.new(0,1,1)
  444. hname.AutoButtonColor=false
  445. hname.MouseEnter:connect(function()
  446. hname.BackgroundColor3=Color3.new(1,1,1)
  447. end)
  448. hname.MouseLeave:connect(function()
  449. hname.BackgroundColor3=Color3.new(0,0,0)
  450. end)
  451. hname.MouseButton1Click:connect(function()
  452. if not nmdb then
  453. nmdb=true
  454. if hed.Transparency==1 then
  455. hed.Transparency=0
  456. hname.Text='Hide name'
  457. for i,x in pairs(hed:GetChildren()) do if x.ClassName:find('Part') then x:Destroy() end end
  458. else
  459. hname.Text='Show name'
  460. local pseudohead=hed:Clone()
  461. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  462. pseudohead.Name='PseudoHed'
  463. pseudohead.Parent=chr.Head
  464. local pseudoweld=Instance.new('Weld',torso)
  465. pseudoweld.Part0=hed
  466. pseudoweld.Name='PseudoHedWld'
  467. pseudoweld.Part1=pseudohead
  468. hed.Transparency=1
  469. end
  470. wait(1)
  471. nmdb=false
  472. end
  473. end)
  474.  
  475. local stamframe=Instance.new('Frame',maindis)
  476. stamframe.Size=UDim2.new(.25,0,.1,0)
  477. stamframe.Position=UDim2.new(.75,0,.55,0)
  478. stamframe.BackgroundTransparency=0
  479. stamframe.BackgroundColor3=Color3.new(0,1,1)
  480. stamframe.Name='StaminaDisplayFrame'
  481. stamframe.BorderSizePixel=0
  482.  
  483.  
  484.  
  485. local staminabar=Instance.new('TextLabel',stamframe)
  486. staminabar.Position=UDim2.new(0,0,.2,0)
  487. staminabar.Text=' '
  488. staminabar.Font='ArialBold'
  489. staminabar.FontSize='Size24'
  490. staminabar.BackgroundColor3=Color3.new(1,.8,0)
  491. staminabar.BackgroundTransparency=0
  492. staminabar.BorderSizePixel=0
  493.  
  494. local staminabr=Instance.new('TextLabel',stamframe)
  495. staminabr.Position=UDim2.new(0,0,.1,0)
  496. staminabr.Size=UDim2.new(1,0,.8,0)
  497. staminabr.Text='Stamina'
  498. staminabr.Font='ArialBold'
  499. staminabr.FontSize='Size24'
  500. staminabr.TextStrokeTransparency=0
  501. staminabr.TextStrokeColor3=Color3.new(1,1,1)
  502. staminabr.TextColor3=Color3.new(0,0,0)
  503. staminabr.BackgroundTransparency=1
  504. staminabr.BorderSizePixel=0
  505. staminabr.ZIndex=staminabar.ZIndex+1
  506.  
  507. local warning=Instance.new('TextLabel',stamframe)
  508. warning.Position=UDim2.new(0,0,-.85,0)
  509. warning.Size=UDim2.new(1,0,.8,0)
  510. warning.Text='Tired...'
  511. warning.Font='ArialBold'
  512. warning.FontSize='Size24'
  513. warning.TextTransparency=1
  514. warning.TextStrokeTransparency=1
  515. warning.TextStrokeColor3=Color3.new(1,1,1)
  516. warning.TextColor3=Color3.new(0,0,0)
  517. warning.BackgroundTransparency=1
  518. warning.BorderSizePixel=0
  519. warning.ZIndex=staminabr.ZIndex+1
  520. -- Functions --
  521.  
  522. function Lerp(a, b, i)
  523. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  524. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  525. local calx = com1[1] + (com2[1] - com1[1]) * i
  526. local caly = com1[2] + (com2[2] - com1[2]) * i
  527. local calz = com1[3] + (com2[3] - com1[3]) * i
  528. local cala = com1[4] + (com2[4] - com1[4]) * i
  529. local calb = com1[5] + (com2[5] - com1[5]) * i
  530. local calc = com1[6] + (com2[6] - com1[6]) * i
  531. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  532. end
  533.  
  534. function TweenTrans(s,f,m)
  535. local wot=s+(f-s)*m
  536. return wot
  537. end
  538.  
  539. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  540. wld = Instance.new("Weld", wp1)
  541. wld.Part0 = wp0
  542. wld.Part1 = wp1
  543. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  544. end
  545.  
  546. -- Preparations --
  547.  
  548. for asd,fgh in pairs(hed:GetChildren()) do if fgh:IsA'Sound' then fgh:Destroy() end end
  549.  
  550. local laugh=Instance.new('Sound',hed)
  551. laugh.Volume=1
  552. laugh.Looped=false
  553. laugh.Pitch=1.4
  554. laugh.SoundId="http://www.roblox.com/asset/?id=132179181"
  555.  
  556. newWeld(law, torso, larm, -1.5, 0.5, 0)
  557. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  558. newWeld(llw, torso, lleg, -.5, -2, 0)
  559. newWeld(rlw, torso, rleg, .5, -2, 0)
  560. newWeld(hw, torso, hed, 0, 1.5, 0)
  561. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  562. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  563.  
  564. local anim = "Idling"
  565. local lastanim = "Idling"
  566. local val = 0
  567. local syne = 0
  568. local num = 0
  569. local runtime = 0
  570.  
  571. maus.Button1Down:connect(function()
  572. if maus.Hit then
  573. if not armmovement and not crouching and not crawling and not idled and not exhausted then
  574. armmovement=true
  575. armpose='Grabbing1'
  576. wait(.35)
  577. armpose='Grabbing2'
  578. wait(.3)
  579. armpose='Throwing'
  580. wait(.325)
  581. armmovement=false
  582. if BIMType=='Remote' and #remotebimcont:GetChildren()<6 then
  583. local firsthit=false
  584. local remotepew=Instance.new('Part',remotebimcont)
  585. remotepew.Locked=true
  586. remotepew.Name='Remote explosive'
  587. remotepew.formFactor='Custom'
  588. local remotemesh=Instance.new('SpecialMesh',remotepew)
  589. remotemesh.Name='Remote Explosive Mesh'
  590. remotemesh.MeshType='Sphere'
  591. remotemesh.VertexColor=Vector3.new(0,0,0)
  592. remotemesh.TextureId="http://www.roblox.com/asset/?id=136169713"
  593. remotemesh.MeshId="http://www.roblox.com/asset/?id=1527559"
  594. remotemesh.Scale=Vector3.new(.25,.125,.25)
  595. remotepew.Size=Vector3.new(.8,.3,.8)
  596. remotepew.BrickColor=BrickColor.new('White')
  597. remotepew.CFrame=rutprt.CFrame*CFrame.new(3,5,0)
  598. remotepew:breakJoints()
  599. remotepew.Velocity=((maus.Hit.p-rarm.Position).unit*((maus.Hit.p-rarm.Position).magnitude+math.random(20,80)))+Vector3.new(0,50,0)
  600. local remotelg=Instance.new('PointLight',remotepew)
  601. remotelg.Brightness=123123
  602. remotelg.Range=5
  603. remotelg.Shadows=true
  604. remotelg.Color=Color3.new(1,0,0)
  605. remotelg.Enabled=true
  606. remotepew.Touched:connect(function(hit)
  607. if hit and hit.CanCollide and not firsthit then
  608. firsthit=true
  609. local remotepewpewweld=Instance.new('Weld',remotepew)
  610. remotepewpewweld.Part0=remotepew
  611. remotepewpewweld.Part1=hit
  612. remotepewpewweld.C0=hit.CFrame:toObjectSpace(remotepew.CFrame) end end)
  613.  
  614.  
  615. coroutine.resume(coroutine.create(function()
  616. while wait() do
  617. for fadein=1,60 do
  618. remotelg.Range=fadein*.2
  619. wait()
  620. end
  621. for fadeitout=60,1,-1 do remotelg.Range=fadeitout*.2
  622. wait()
  623. end
  624. end
  625. end))
  626. coroutine.resume(coroutine.create(function()
  627. while wait() do
  628. for fd=0,1,.02 do
  629. remotemesh.VertexColor=Vector3.new(fd,0,0)
  630. wait()
  631. end
  632. for df=1,0,-.02 do
  633. remotemesh.VertexColor=Vector3.new(df,0,0)
  634. wait()
  635. end
  636. end
  637. end))
  638. end
  639.  
  640. if BIMType=="Implosion" and #impmodel:GetChildren()<2 then
  641. local firsthit=false
  642. local imppew=kami:Clone()
  643. imppew.CanCollide=true
  644. imppew['Kamikaze_Implosion_BI'].BrickColor=BrickColor.new('Really red')
  645. for asd,dsa in pairs(kami:GetChildren()) do if dsa.ClassName:match('Part') then dsa.CanCollide=true end end
  646. imppew.Parent=impmodel
  647. imppew.CFrame=rutprt.CFrame*CFrame.new(3,5,0)*CFrame.Angles(math.rad(90),0,0)
  648. imppew.Velocity=((maus.Hit.p-rarm.Position).unit*((maus.Hit.p-rarm.Position).magnitude+math.random(20,80)))+Vector3.new(0,50,0)
  649. local implg=Instance.new('PointLight',imppew)
  650. implg.Brightness=123123
  651. implg.Range=0
  652. implg.Shadows=true
  653. implg.Color=Color3.new(1,1,1)
  654. implg.Enabled=true
  655. local kamis=Instance.new('Sound',imppew)
  656. kamis.Volume=.75
  657. kamis.Looped=false
  658. kamis.Pitch=1.3
  659. kamis.SoundId="http://www.roblox.com/asset/?id=167115397"
  660. imppew.Touched:connect(function(hit)
  661. if hit and not firsthit then
  662. firsthit=true
  663. local imppewpewweld=Instance.new('Weld',imppew)
  664. imppewpewweld.Part0=imppew
  665. imppewpewweld.Part1=hit
  666. imppewpewweld.C0=hit.CFrame:toObjectSpace(imppew.CFrame)
  667. for asdff=1,15 do implg.Range=asdff wait() end
  668. kamis:Play()
  669. local pawpow=Instance.new('Part',chr)
  670. pawpow.formFactor='Custom'
  671. pawpow.Locked=true
  672. pawpow.Size=Vector3.new(.5,.5,.5)
  673. pawpow.CanCollide=false
  674. pawpow.Anchored=false
  675. pawpow.CFrame=imppew.CFrame
  676. pawpow.TopSurface=0
  677. pawpow.BottomSurface=0
  678. pawpow.Name='Implosion'
  679. pawpow.BrickColor=BrickColor.new('Really black')
  680. local kapaw=Instance.new('SpecialMesh',pawpow)
  681. kapaw.MeshType='Sphere'
  682. pawpow.Touched:connect(function(hat)
  683. if hat and hat.Size.x<=6 and hat.Size.y<=6 and hat.Size.z<=6 then
  684. hat:Destroy()
  685. end
  686. end)
  687. paew=pawpow.CFrame
  688. for death=1,8 do pawpow.Size=pawpow.Size+Vector3.new(.85,.85,.85) pawpow.CFrame=paew wait() end
  689. pawpow.Anchored=true
  690. imppew:Destroy()
  691. wait(.5)
  692. for doom=1,33 do pawpow.Transparency=pawpow.Transparency+1/33 wait() end
  693. pawpow:Destroy() end end)
  694. end
  695. if BIMType=='Cracker' then
  696. local firsthit=false
  697. local crakr=Instance.new('Part',Workspace)
  698. crakr.Locked=true
  699. crakr.Name='Cracker_BIM'
  700. crakr.BrickColor=BrickColor.new('Light stone grey')
  701. crakr.formFactor='Custom'
  702. crakr.Size=Vector3.new(1,1,1)
  703. crakr.CFrame=rutprt.CFrame*CFrame.new(3,5,0)*CFrame.Angles(math.rad(90),0,0)
  704. crakr.CanCollide=false
  705. crakr:breakJoints()
  706. local crm=Instance.new('SpecialMesh',crakr)
  707. crm.MeshType='Sphere'
  708. crm.Scale=Vector3.new(.65,.65,.65)
  709. local cdec=Instance.new('Part',crakr)
  710. cdec.Name='Cracker_Decor'
  711. cdec.Locked=true
  712. cdec.formFactor='Custom'
  713. cdec.CanCollide=false
  714. cdec.Size=Vector3.new(.5,.5,.5)
  715. cdec.BrickColor=BrickColor.new('Really red')
  716. local crklg=Instance.new('PointLight',cdec)
  717. crklg.Color=cdec.BrickColor.Color
  718. crklg.Range=15
  719. crklg.Shadows=true
  720. crklg.Brightness=123123
  721. coroutine.resume(coroutine.create(function()
  722. while wait(.2) do
  723. cdec.BrickColor=BrickColor.new('Really black')
  724. crklg.Color=cdec.BrickColor.Color
  725. wait(.2)
  726. cdec.BrickColor=BrickColor.new('Really red')
  727. crklg.Color=cdec.BrickColor.Color
  728. end
  729. end))
  730. local cdecm=Instance.new('SpecialMesh',cdec)
  731. cdecm.MeshType='Sphere'
  732. cdecm.Scale=Vector3.new(.45,.45,.45)
  733. local cdecw=Instance.new('Weld',crakr)
  734. cdecw.Part0=cdec
  735. cdecw.Part1=crakr
  736. cdecw.C0=CFrame.new(0,.25,0)
  737. crakr.Velocity=((maus.Hit.p-rarm.Position).unit*((maus.Hit.p-rarm.Position).magnitude+math.random(20,80)))+Vector3.new(0,50,0)
  738. wait() crakr.Touched:connect(function(hit)
  739. if hit and not firsthit then
  740. firsthit=true
  741. local peww=Instance.new('Explosion',Workspace)
  742. peww.ExplosionType="NoCraters"
  743. peww.BlastRadius=5
  744. peww.BlastPressure=2222222
  745. peww.DestroyJointRadiusPercent=.7
  746. peww.Position=crakr.Position
  747. crakr:Destroy()
  748. cdec:Destroy()
  749. end end)
  750. end
  751.  
  752. if BIMType=='Light' then
  753. local firsttouch=false
  754. local ltb=Instance.new('Part',chr)
  755. ltb.formFactor='Custom'
  756. ltb.Size=Vector3.new(1.3, 1.3, 1.1)
  757. ltb.BrickColor=BrickColor.new('New Yeller')
  758. ltb.TopSurface=10
  759. ltb.BottomSurface=10
  760. ltb.RightSurface=10
  761. ltb.LeftSurface=10
  762. ltb.FrontSurface=10
  763. ltb.BackSurface=10
  764. ltb.Transparency=.4
  765. local ltm=Instance.new('SpecialMesh',ltb)
  766. ltm.MeshId="http://www.roblox.com/asset/?id=28657079"
  767. ltm.Scale=Vector3.new(0.5, 0.265, 15)
  768. ltb.CFrame=rutprt.CFrame*CFrame.new(3,5,0)*CFrame.Angles(math.rad(90),0,0)
  769. ltb.Velocity=((maus.Hit.p-rarm.Position).unit*((maus.Hit.p-rarm.Position).magnitude+math.random(20,80)))+Vector3.new(0,50,0)
  770. ltb.Touched:connect(function(hit)
  771. if hit and hit.CanCollide and not firsttouch then
  772. firsttouch=true
  773. ltb.CanCollide=false
  774. ltb.Size=Vector3.new(1.3/2, 1.3/2, 1.1/2)
  775. ltm.Scale=Vector3.new(0.5/2, 0.265/2, 15/2)
  776. local ltbw=Instance.new('Weld',ltb)
  777. ltbw.Part0=ltb
  778. ltbw.Part1=hit
  779. ltbw.C0=hit.CFrame:toObjectSpace(ltb.CFrame)
  780. local laite=Instance.new('PointLight',ltb)
  781. laite.Range=12.5
  782. laite.Color=ltb.BrickColor.Color
  783. laite.Shadows=true
  784. laite.Brightness=123123 end end)
  785. game:service'Debris':AddItem(ltb,15)
  786. end
  787.  
  788.  
  789.  
  790.  
  791.  
  792. if BIMType=='Timer' then
  793. local pewpewd=false
  794. local time=timersettime
  795. local timbim=Instance.new('Part',chr)
  796. timbim.formFactor='Custom'
  797. timbim.Locked=true
  798. timbim.Anchored=false
  799. timbim.TopSurface='Smooth'
  800. timbim.BottomSurface='Smooth'
  801. timbim.CFrame=rutprt.CFrame*CFrame.new(3,5,0)
  802. timbim.Size=Vector3.new(.85,.85,.85)
  803. timbim.BrickColor=BrickColor.new('Really black')
  804. timbim:breakJoints()
  805. timbim.Velocity=((maus.Hit.p-rarm.Position).unit*((maus.Hit.p-rarm.Position).magnitude+math.random(20,80)))+Vector3.new(0,50,0)
  806. local tblg=Instance.new('PointLight',timbim)
  807. tblg.Color=Color3.new(0,1,1)
  808. tblg.Shadows=true
  809. tblg.Brightness=123123
  810. tblg.Range=time
  811. local timerrr=Instance.new('SurfaceGui',timbim)
  812. timerrr.Adornee=timbim
  813. timerrr.Face='Top'
  814. timerrr.CanvasSize=Vector2.new(100,120)
  815. local timerr=Instance.new('TextLabel',timerrr)
  816. timerr.TextColor3=Color3.new(0,1,1)
  817. timerr.TextScaled=true
  818. timerr.BackgroundTransparency=1
  819. timerr.Active=true
  820. timerr.Position=UDim2.new(0,0,0,0)
  821. timerr.Size=UDim2.new(1,0,1,0)
  822. timerr.ZIndex=123
  823. if time==10 then
  824. timerr.Text=time
  825. else
  826. timerr.Text="0"..time end
  827. timerr.Font='ArialBold'
  828. timerr.FontSize='Size48'
  829. while wait(.95) do
  830. if time-1==0 and not pewpewd then
  831. pewpewd=true
  832. local pewwww=Instance.new('Explosion',Workspace)
  833. pewwww.ExplosionType="NoCraters"
  834. pewwww.BlastRadius=10
  835. pewwww.BlastPressure=2222222
  836. pewwww.DestroyJointRadiusPercent=.7
  837. pewwww.Position=timbim.Position
  838. timbim:Destroy()
  839. else
  840. time=time-1
  841. timerr.Text="0"..time
  842. if time==1 then tblg.Range=10 tblg.Color=Color3.new(1,.125,0) timerr.TextColor3=Color3.new(1,0,0)
  843. else
  844. tblg.Color=Color3.new(0,1,1)
  845. tblg.Range=time
  846. end
  847. end
  848. end end
  849. elseif crawling and not armmovement and not crouching and not exhausted then
  850. chr.Humanoid.WalkSpeed=0
  851. armmovement=true
  852. if leftarm and not rightarm then
  853. armpose='LeftPreCrawlSmack'
  854. wait(.3)
  855. armpose='LeftCrawlSmack'
  856. wait(.15)
  857. local rei=Ray.new(larm.Position,((larm.CFrame*CFrame.new(0,-3,0)).p-larm.CFrame.p).unit*1.5)
  858. local hit,ded=Workspace:FindPartOnRayWithIgnoreList(rei,chr:GetChildren())
  859.  
  860. if hit then
  861. if hit.Parent then
  862. if hit.Parent:findFirstChild('Torso') and hit.Parent:findFirstChild('Humanoid') then
  863. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(20*(hit.Parent.Humanoid.MaxHealth/100))
  864. hit.Parent.Humanoid.Sit=true
  865. wait(.1)
  866. hit.Parent.Humanoid.Sit=false
  867. end
  868. end
  869. end
  870. wait(.2)
  871. leftarm=false
  872. rightarm=true
  873. armmovement=false
  874. chr.Humanoid.WalkSpeed=8
  875. elseif rightarm and not leftarm then
  876. armpose='RightPreCrawlSmack'
  877. wait(.3)
  878. armpose='RightCrawlSmack'
  879. wait(.15)
  880.  
  881. local rei=Ray.new(rarm.Position,((rarm.CFrame*CFrame.new(0,-3,0)).p-rarm.CFrame.p).unit*1.5)
  882. local hit,ded=Workspace:FindPartOnRayWithIgnoreList(rei,chr:GetChildren())
  883.  
  884. if hit then
  885. if hit.Parent then
  886. if hit.Parent:findFirstChild('Torso') and hit.Parent:findFirstChild('Humanoid') then
  887. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(20*(hit.Parent.Humanoid.MaxHealth/100))
  888. hit.Parent.Humanoid.Sit=true
  889. wait(.1)
  890. hit.Parent.Humanoid.Sit=false
  891. end
  892. end
  893. end
  894. wait(.3)
  895. rightarm=false
  896. leftarm=true
  897. armmovement=false
  898. chr.Humanoid.WalkSpeed=8
  899. end
  900. end
  901. end
  902. end)
  903.  
  904. maus.KeyDown:connect(function(kei)
  905. if not exhausted then
  906. if string.byte(kei)==48 and not crawling and not disabled then
  907. chr.Humanoid.WalkSpeed=36
  908. end
  909. if string.byte(kei)==48 and crawling then
  910. chr.Humanoid.WalkSpeed=16
  911. end
  912.  
  913. if kei=='r' and not shortdebounce then
  914. shortdebounce=true
  915. for i,x in pairs(remotebimcont:GetChildren()) do
  916. coroutine.resume(coroutine.create(function()
  917. if x.ClassName=='Part' then
  918. x.BrickColor=BrickColor.new('Really red')
  919. local remcln=x:clone()
  920. remcln.Parent=x
  921. for i,x in pairs(remcln:GetChildren()) do if x.ClassName:match('Mesh') then x:Destroy() end end
  922. local fadeout=Instance.new('SpecialMesh',remcln)
  923. fadeout.MeshType='Sphere'
  924. coroutine.resume(coroutine.create(function() for i=1,10 do fadeout.Scale=fadeout.Scale+Vector3.new(.2,.1,.2)
  925. remcln.Transparency=remcln.Transparency+.1
  926. wait() end remcln:Destroy() end))
  927. wait(.1)
  928. x.BrickColor=BrickColor.new('Really black')
  929. wait(.5)
  930. shortdebounce=false
  931. end
  932. end))
  933. end
  934. end
  935.  
  936. if kei=='t' then
  937. if timersettime-1<3 then timersettime=3
  938. else
  939. timersettime=timersettime-1
  940. end
  941. end
  942.  
  943. if kei=='y' then
  944. if timersettime+1>10 then timersettime=10
  945. else
  946. timersettime=timersettime+1
  947. end
  948. end
  949.  
  950. if string.byte(kei)==50 and not crawling then
  951. if crouching then
  952. otheranims=false
  953. crouching=false
  954. chr.Humanoid.WalkSpeed=18
  955. elseif not crouching then
  956. otheranims=true
  957. crouching=true
  958. anim="Crouching"
  959. end
  960. end
  961.  
  962. if kei=='c' and not crouching then
  963. if not crawling then crawling=true otheranims=true anim='IdleCrawl' chr.Humanoid.WalkSpeed=8
  964. elseif crawling then disabled=true chr.Humanoid.WalkSpeed=0 crawling=false anim='Standing' wait(.45) otheranims=false
  965. wait(.85) chr.Humanoid.WalkSpeed=18 disabled=false end end
  966.  
  967. if kei=="f" then
  968. if vw.Enabled then
  969. vw.Enabled=false
  970. elseif not vw.Enabled then
  971. vw.Enabled=true
  972. end
  973. end
  974.  
  975. if kei=='z' and not nmdb and not armmovement then
  976. nmdb=true
  977. if not crawling and not crouching then
  978. armmovement=true
  979. armpose='LightSwitching'
  980. end
  981. if glolite and glolite.Enabled then
  982. lgb.BrickColor=BrickColor.new('Black')
  983. glolite.Enabled=false
  984. else
  985. glolite.Enabled=true
  986. lgb.BrickColor=BrickColor.new('Curry')
  987. end
  988. wait(.5)
  989. nmdb=false
  990. armmovement=false
  991. end
  992.  
  993. if kei=="l" then
  994. stamina=0
  995. end
  996.  
  997. if kei=='v' and not nomoreimplosion then
  998. nomoreimplosion=true
  999. armmovement=true
  1000. laugh:Play()
  1001. armpose='Kamikaze'
  1002. wait(1)
  1003. kamid.BrickColor=BrickColor.new('Really red')
  1004. wait(1)
  1005. powpow=Instance.new('Part',chr)
  1006. powpow.Locked=true
  1007. powpow.formFactor='Custom'
  1008. powpow.Size=Vector3.new(.5,.5,.5)
  1009. powpow.CanCollide=false
  1010. powpow.Anchored=false
  1011. powpow.CFrame=kami.CFrame
  1012. powpow.TopSurface=0
  1013. powpow.BottomSurface=0
  1014. powpow.Name='Kamikaze implosion'
  1015. powpow.BrickColor=BrickColor.new('Really black')
  1016. local kapow=Instance.new('SpecialMesh',powpow)
  1017. kapow.MeshType='Sphere'
  1018. powpow.Touched:connect(function(hat)
  1019. if hat and hat.Size.x<=15 and hat.Size.y<=15 and hat.Size.z<=15 then
  1020. hat:Destroy()
  1021. end
  1022. end)
  1023. pew=powpow.CFrame
  1024. for death=1,10 do powpow.Size=powpow.Size+Vector3.new(3,3,3) powpow.CFrame=pew wait() end
  1025. powpow.Anchored=true
  1026. wait(.5)
  1027. for doom=1,33 do powpow.Transparency=powpow.Transparency+1/33 wait() end
  1028. powpow:Destroy()
  1029. end
  1030.  
  1031. if kei=='e' then
  1032. if BIMNumber+1>#BIMs then BIMNumber=1
  1033. else
  1034. BIMNumber=BIMNumber+1 end
  1035. end
  1036.  
  1037. if kei=='q' then
  1038. if BIMNumber-1<1 then BIMNumber=#BIMs
  1039. else
  1040. BIMNumber=BIMNumber-1 end end
  1041.  
  1042. if kei=='m' and not idled and not crawling and not crouching and not otheranims then
  1043. idled=true
  1044. tek=61
  1045. anim='Sleeping'
  1046. end
  1047.  
  1048. if kei=='x' then
  1049. for i,x in pairs(remotebimcont:GetChildren()) do
  1050. if x.ClassName=='Part' then
  1051. local pewpew=Instance.new('Explosion',Workspace)
  1052. pewpew.ExplosionType="NoCraters"
  1053. pewpew.Position=x.Position
  1054. pewpew.BlastPressure=2222222
  1055. pewpew.BlastRadius=8
  1056. pewpew.DestroyJointRadiusPercent=1
  1057. wait()
  1058. x:Destroy()
  1059. end
  1060. end
  1061. end
  1062. end
  1063.  
  1064. end)
  1065.  
  1066. coroutine.wrap(function()
  1067. while wait() do
  1068. if tickin and not crawling and not crouching and not exhausted then
  1069. tek=tek+1
  1070. wait(.9)
  1071. else
  1072. tek=0
  1073. end end end)()
  1074.  
  1075. maus.KeyUp:connect(function(kei)
  1076. if not exhausted then
  1077. if string.byte(kei)==48 and not crawling then
  1078. chr.Humanoid.WalkSpeed=18
  1079. end
  1080. if string.byte(kei)==48 and crawling then
  1081. chr.Humanoid.WalkSpeed=8 end end end)
  1082.  
  1083. chr.Humanoid.Died:connect(function()
  1084. for i,x in pairs(remotebimcont:GetChildren()) do
  1085. if x.ClassName=='Part' then
  1086. local pewpew=Instance.new('Explosion',Workspace)
  1087. pewpew.ExplosionType="NoCraters"
  1088. pewpew.Position=x.Position
  1089. pewpew.BlastPressure=2222222
  1090. pewpew.BlastRadius=8
  1091. pewpew.DestroyJointRadiusPercent=1
  1092. wait()
  1093. x:Destroy()
  1094. end
  1095. end
  1096. end)
  1097.  
  1098. for lalal,lal in pairs(chr:GetChildren()) do if lal.ClassName=='Part' then
  1099. for lalalalal,lalalal in pairs(lal:GetChildren()) do if lalalal.ClassName=='CharacterMesh' then lalalal:Destroy() end end
  1100. elseif lal.ClassName=='CharacterMesh' then lal:Destroy() end end
  1101.  
  1102. -- The main course --
  1103.  
  1104. chr.Humanoid.Changed:connect(function(chng)
  1105. if crouching or crawling or disabled or exhausted then
  1106. if chng=='Jump' then
  1107. chr.Humanoid.Jump=false
  1108. end
  1109. end
  1110. end)
  1111.  
  1112. local teehee=0
  1113.  
  1114. game:service'RunService'.RenderStepped:connect(function()
  1115. staminabar.Size=UDim2.new((stamina/maxstamina),0,.6,0)
  1116. if stamina<(26*(maxstamina/100)) or exhausted then
  1117. teehee=teehee+1
  1118. if teehee>100 then teehee=0 end
  1119. if teehee<=50 and teehee>=0 then
  1120. staminabar.BackgroundTransparency=TweenTrans(staminabar.BackgroundTransparency,0,.075)
  1121. stamframe.BackgroundTransparency=TweenTrans(stamframe.BackgroundTransparency,0,.075)
  1122. warning.TextTransparency=TweenTrans(warning.TextTransparency,.5,.05)
  1123. warning.TextStrokeTransparency=TweenTrans(warning.TextStrokeTransparency,.5,.05)
  1124. else
  1125. staminabar.BackgroundTransparency=TweenTrans(staminabar.BackgroundTransparency,.9,.075)
  1126. stamframe.BackgroundTransparency=TweenTrans(stamframe.BackgroundTransparency,.9,.075)
  1127. warning.TextTransparency=TweenTrans(warning.TextTransparency,.25,.05)
  1128. warning.TextStrokeTransparency=TweenTrans(warning.TextStrokeTransparency,.25,.05)
  1129. end
  1130. elseif stamina>=(26*(maxstamina/100)) then
  1131. staminabar.BackgroundTransparency=TweenTrans(staminabar.BackgroundTransparency,0,.075)
  1132. stamframe.BackgroundTransparency=TweenTrans(stamframe.BackgroundTransparency,.9,.075)
  1133. warning.TextTransparency=TweenTrans(warning.TextTransparency,1,.05)
  1134. warning.TextStrokeTransparency=TweenTrans(warning.TextStrokeTransparency,1,.05)
  1135. teehee=0
  1136. end
  1137.  
  1138. if glolite.Enabled then
  1139. glolite.Range=TweenTrans(glolite.Range,17,.025)
  1140. elseif not glolite.Enabled then
  1141. glolite.Range=TweenTrans(glolite.Range,0,.5)
  1142. end
  1143. syne=syne+1
  1144. BIMType=BIMs[BIMNumber]
  1145. if BIMType=='Timer' then
  1146. timergui.Active=true
  1147. timergui.Visible=true
  1148. else
  1149. timergui.Active=false
  1150. timergui.Visible=false
  1151. end
  1152. bimname.Text=BIMType..' BIM'
  1153. bimdesc.Text=BIMDesc[BIMNumber]
  1154. if timersettime==10 then
  1155. timertracker.Text=timersettime
  1156. else
  1157. timertracker.Text="0"..timersettime
  1158. end
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166. if not otheranims and not idled and not exhausted then
  1167. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then
  1168. anim="Idling"
  1169. stamina=stamina+.1
  1170.  
  1171. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 25 and not chr.Humanoid.Jump then
  1172. anim="Walking"
  1173. idled=false
  1174. stamina=stamina+.025
  1175.  
  1176. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 30 and not chr.Humanoid.Jump then
  1177. anim="Sprinting"
  1178. idled=false
  1179. stamina=stamina-.2
  1180.  
  1181. elseif (torso.Velocity.y > 1 or torso.Velocity.y < -1) and (torso.Velocity*Vector3.new(1,0,1)).magnitude<1.5 then
  1182. anim="IdleJumping"
  1183. idled=false
  1184. stamina=stamina-.1
  1185.  
  1186. elseif (torso.Velocity.y > 1 or torso.Velocity.y < -1) and (torso.Velocity*Vector3.new(1,0,1)).magnitude>1.5 and (torso.Velocity*Vector3.new(1,0,1)).magnitude<25 then
  1187. anim="WalkJumping"
  1188. idled=false
  1189. stamina=stamina-.125
  1190.  
  1191. elseif (torso.Velocity.y > 1 or torso.Velocity.y < -1) and (torso.Velocity*Vector3.new(1,0,1)).magnitude>25 then
  1192. anim="RunJumping"
  1193. idled=false
  1194. stamina=stamina-.15
  1195.  
  1196. end
  1197. end
  1198.  
  1199. if not crouching and not crawling then
  1200. if (torso.Velocity*Vector3.new(1,0,1)).magnitude>1 or torso.Velocity.y>10 then
  1201. tickin=false
  1202. idled=false
  1203. tek=0
  1204. else
  1205. tickin=true
  1206. end
  1207. end
  1208.  
  1209. if tek>=60 and not exhausted then
  1210. crouching=false crawling=false idled=true anim='Sleeping' end
  1211.  
  1212. if otheranims and crawling and not idled and not exhausted then
  1213. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then
  1214. anim="IdleCrawl"
  1215. stamina=stamina+.125
  1216. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 12 and not chr.Humanoid.Jump then
  1217. anim="Crawling"
  1218. idled=false
  1219. stamina=stamina-.05
  1220. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 12 and not chr.Humanoid.Jump then
  1221. anim="SpeedCrawling"
  1222. idled=false
  1223. stamina=stamina-.25
  1224. end end
  1225.  
  1226. if anim~=lastanim then
  1227. runtime=0
  1228. end
  1229. lastanim=anim
  1230.  
  1231. if idled and anim=='Sleeping' then
  1232. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.5, .65, 0) * CFrame.Angles(0, 0, math.cos(syne/30)/10+math.rad(25)), 0.025)
  1233. larm.Weld.C0=Lerp(larm.Weld.C0, CFrame.new(-1.5, .65, 0) * CFrame.Angles(0, 0, (math.cos(-syne/30)/10*-1)-math.rad(25)), 0.025)
  1234. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.9,-1.85,0)*CFrame.Angles(0,0,(math.cos(-syne/30)/20*-1)-math.rad(25)),.025)
  1235. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.9,-1.85,0)*CFrame.Angles(0,0,math.cos(syne/30)/20+math.rad(25)),.025)
  1236. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.5,0)*CFrame.Angles(math.rad(-10),0,0),.025)
  1237. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/30)/15-2.35,0)*CFrame.Angles(math.rad(180),math.rad(180),0),.025)
  1238. stamina=stamina+.5
  1239. end
  1240.  
  1241. if anim=="Idling" and not otheranims then
  1242. if runtime>100 then runtime=0 end
  1243. runtime=runtime+1
  1244.  
  1245. if runtime>0 and runtime<(50) then
  1246. if not armmovement then
  1247. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.5, .55, 0) * CFrame.Angles(0, 0, math.rad(7)), 0.025)
  1248. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .55, 0) * CFrame.Angles(0, 0, math.rad(-7)), 0.025)
  1249. end
  1250. beltutil.Weld.C1=Lerp(beltutil.Weld.C1,CFrame.new(.2,-.95,-.6)*CFrame.Angles(math.rad(-8),math.rad(-3.5),math.rad(0)),.025)
  1251. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.55, -1.95, 0) * CFrame.Angles(0, 0, math.rad(-2)), 0.025)
  1252. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.55, -1.95, 0) * CFrame.Angles(0, 0, math.rad(2)), 0.025)
  1253. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.5,0)*CFrame.Angles(math.rad(-7),0,0),.025)
  1254. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-.05,0)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(0)),.025)
  1255.  
  1256. else
  1257. if not armmovement then
  1258. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.025)
  1259. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(0, 0, math.rad(-0)), 0.025)
  1260. end
  1261. beltutil.Weld.C1=Lerp(beltutil.Weld.C1,CFrame.new(.25,-.9,-.6)*CFrame.Angles(math.rad(-5),math.rad(-6.5),math.rad(0)),.025)
  1262. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.95, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.025)
  1263. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.95, 0) * CFrame.Angles(0, 0, math.rad(-0)), 0.025)
  1264. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.5,0)*CFrame.Angles(math.rad(-0),0,0),.025)
  1265. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,.05,0)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(0)),0.025)
  1266.  
  1267. end
  1268. end
  1269.  
  1270. if anim=="Walking" and not otheranims then
  1271. if runtime>50 then runtime=0 end
  1272. runtime=runtime+1
  1273.  
  1274. if runtime>0 and runtime<(25) then
  1275. if not armmovement then
  1276. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(-50), 0, math.rad(4)), 0.1)
  1277. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(50), 0, math.rad(-4)), 0.1)
  1278. end
  1279. beltutil.Weld.C1=Lerp(beltutil.Weld.C1,CFrame.new(.15,-.9,-.6)*CFrame.Angles(math.rad(-2),math.rad(-1.5),math.rad(-3)),.1)
  1280. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.55, -1.85, .7) * CFrame.Angles(math.rad(-50), 0, math.rad(-4)), 0.1)
  1281. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.55, -1.85, -.7) * CFrame.Angles(math.rad(50), 0, math.rad(4)), 0.1)
  1282. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.sin(syne/20)/15,0)*CFrame.Angles(math.rad((math.sin(syne/20)/5)+85),math.rad(179),math.rad(0)),0.15)
  1283. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.5,0)*CFrame.Angles(math.cos(syne/30)/20+math.rad(5),0,math.rad(1)),.1)
  1284. else
  1285. if not armmovement then
  1286. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(50), 0, math.rad(4)), 0.1)
  1287. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(-50), 0, math.rad(-4)), 0.1)
  1288. end
  1289. beltutil.Weld.C1=Lerp(beltutil.Weld.C1,CFrame.new(-.3,-.95,-.6)*CFrame.Angles(math.rad(-7),math.rad(-5),math.rad(3)),.1)
  1290. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.55, -1.85, -.7) * CFrame.Angles(math.rad(50), 0, math.rad(-4)), 0.1)
  1291. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.55, -1.85, .7) * CFrame.Angles(math.rad(-50), 0, math.rad(4)), 0.1)
  1292. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.sin(syne/20)/15,0)*CFrame.Angles(math.rad((math.sin(syne/20)/5)+85),math.rad(181),math.rad(0)),0.15)
  1293. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.5,0)*CFrame.Angles(math.cos(syne/30)/20+math.rad(5),0,math.rad(-1)),.1)
  1294. end
  1295. end
  1296.  
  1297.  
  1298. if anim=="Sprinting" and not otheranims then
  1299. if runtime>30 then runtime=0 end
  1300. runtime=runtime+1
  1301.  
  1302. if runtime>0 and runtime<(15) then
  1303. if not armmovement then
  1304. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.5, .55, 0) * CFrame.Angles(math.rad(-40), 0, math.rad(4)), 0.15)
  1305. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .55, 0) * CFrame.Angles(math.rad(60), 0, math.rad(-4)), 0.15)
  1306. end
  1307. beltutil.Weld.C1=Lerp(beltutil.Weld.C1,CFrame.new(-.2,-.9,-.6)*CFrame.Angles(math.rad(-2),math.rad(-1.5),math.rad(8)),.15)
  1308. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.55, -1.9, .6) * CFrame.Angles(math.rad(-40), 0, math.rad(-4)), 0.15)
  1309. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.55, -1.9, -.6) * CFrame.Angles(math.rad(45), 0, math.rad(4)), 0.15)
  1310. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.sin(syne/20)/10,0)*CFrame.Angles(math.rad((math.sin(syne/20)/5)+70),math.rad(176),math.rad(0)),0.15)
  1311. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.5,0)*CFrame.Angles(math.cos(syne/30)/20+math.rad(15),0,math.rad(2)),.15)
  1312. else
  1313. if not armmovement then
  1314. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(60), 0, math.rad(4)), 0.15)
  1315. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(-40), 0, math.rad(-4)), 0.15)
  1316. end
  1317. beltutil.Weld.C1=Lerp(beltutil.Weld.C1,CFrame.new(.35,-.9,-.6)*CFrame.Angles(math.rad(-2),math.rad(-1.5),math.rad(-8)),.15)
  1318. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.55, -1.9, -.6) * CFrame.Angles(math.rad(45), 0, math.rad(-4)), 0.15)
  1319. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.55, -1.9, .6) * CFrame.Angles(math.rad(-40), 0, math.rad(4)), 0.15)
  1320. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/20)/15,0)*CFrame.Angles(math.rad((math.sin(syne/20)/5)+70),math.rad(184),math.rad(0)),0.15)
  1321. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.5,0)*CFrame.Angles(math.cos(syne/30)/20+math.rad(15),0,math.rad(-2)),.15)
  1322. end end
  1323. if anim=="IdleJumping" then
  1324. if not armmovement then
  1325. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.5, .55, 0) * CFrame.Angles(math.rad(170), 0, math.rad(7)), 0.15)
  1326. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .55, 0) * CFrame.Angles(math.rad(170), 0, math.rad(-7)), 0.15)
  1327. end
  1328. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.95, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.15)
  1329. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.95, 0) * CFrame.Angles(0, 0, math.rad(-0)), 0.15)
  1330. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.5,0)*CFrame.Angles(math.rad(10),0,0),.15)
  1331. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(0)),0.25)
  1332. end
  1333.  
  1334. if anim=="RunJumping" then
  1335. if not armmovement then
  1336. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.35, .4, 0) * CFrame.Angles(math.rad(60), 0, math.rad(-12)), 0.15)
  1337. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.35, .5, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(10)), 0.15)
  1338. end
  1339. beltutil.Weld.C1=Lerp(beltutil.Weld.C1,CFrame.new(.25,-.4,-.9)*CFrame.Angles(math.rad(20),math.rad(-6.5),math.rad(0)),.15)
  1340. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.5, .15) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.15)
  1341. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.35, -.1) * CFrame.Angles(math.rad(-10), 0, math.rad(-0)), 0.15)
  1342. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.5,0)*CFrame.Angles(math.rad(20),0,0),.15)
  1343. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(60),math.rad(180),math.rad(0)),0.25)
  1344. end
  1345.  
  1346. if anim=="WalkJumping" then
  1347. if not armmovement then
  1348. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.35, .4, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(13)), 0.15)
  1349. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.35, .5, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-13)), 0.15)
  1350. end
  1351. beltutil.Weld.C1=Lerp(beltutil.Weld.C1,CFrame.new(.25,-.4,-.9)*CFrame.Angles(math.rad(20),math.rad(-6.5),math.rad(0)),.15)
  1352. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.6, .15) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.15)
  1353. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.6, .15) * CFrame.Angles(math.rad(-10), 0, math.rad(-0)), 0.15)
  1354. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.5,0)*CFrame.Angles(math.rad(20),0,0),.15)
  1355. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(80),math.rad(180),math.rad(0)),0.25)
  1356. end
  1357.  
  1358. if exhausted and anim=="Exhausted" then
  1359. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.45, .75, -.1)* CFrame.Angles(math.rad(175), 0, math.rad(10)), 0.15)
  1360. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.45, .75, -.1) * CFrame.Angles(math.rad(175), 0, math.rad(-10)), 0.15)
  1361. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.625, -1.775, 0) * CFrame.Angles(math.rad(-1), 0, math.rad(-10)), 0.15)
  1362. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.625, -1.775, 0) * CFrame.Angles(math.rad(-1), 0, math.rad(10)), 0.15)
  1363. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.55,.25)*CFrame.Angles(math.rad(30),0,0),.15)
  1364. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-2.45,0)*CFrame.Angles(math.rad(1),math.rad(180),math.rad(0)),0.15)
  1365. end
  1366.  
  1367. if armmovement then
  1368. if armpose=='Grabbing1' then
  1369. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.4,-.2)*CFrame.Angles(math.rad(30),math.rad(20),math.rad(-30)),.2)
  1370. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.35, .45, 0) * CFrame.Angles(math.rad(10), 0, math.rad(10)), 0.15)
  1371. end
  1372. if armpose=='Grabbing2' then
  1373. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.4,-.2)*CFrame.Angles(math.rad(10),math.rad(-40),math.rad(120)),.15)
  1374. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.35, .45, 0) * CFrame.Angles(math.rad(10), 0, math.rad(10)), 0.15)
  1375.  
  1376. end
  1377. if armpose=='Throwing' then
  1378. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.4,0)*CFrame.Angles(math.rad(95),math.rad(0),math.rad(-25)),.2)
  1379. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.35, .45, 0) * CFrame.Angles(math.rad(10), 0, math.rad(10)), 0.15)
  1380. end
  1381.  
  1382. if armpose=='RightPreCrawlSmack' then
  1383. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.45, 0, -.125)* CFrame.Angles(math.rad(150), 0, math.rad(-12.5)), 0.15)
  1384. end
  1385.  
  1386. if armpose=='RightCrawlSmack' then
  1387. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(.5, 1.1, -.15)* CFrame.Angles(math.rad(170), 0, math.rad(-20)), 0.2)
  1388. end
  1389.  
  1390. if armpose=='LeftPreCrawlSmack' then
  1391. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.45, 0, -.125) * CFrame.Angles(math.rad(150), 0, math.rad(12.5)), 0.15)
  1392. end
  1393.  
  1394. if armpose=='LeftCrawlSmack' then
  1395. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-.5, 1.1, -.15) * CFrame.Angles(math.rad(170), 0, math.rad(20)), 0.2)
  1396. end
  1397.  
  1398. if armpose=='Kamikaze' then
  1399. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.1,.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)),.025)
  1400. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.35, .45, 0) * CFrame.Angles(math.rad(10), 0, math.rad(10)), 0.025)
  1401. end
  1402.  
  1403. if armpose=='LightSwitching' then
  1404. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.4,-.2)*CFrame.Angles(math.rad(30),math.rad(20),math.rad(-35)),.1)
  1405. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.45, .35, 0) * CFrame.Angles(math.rad(10), 0, math.rad(25)), 0.05)
  1406. end
  1407. end
  1408.  
  1409. if otheranims then
  1410.  
  1411. if anim=='Standing' then
  1412. if not armmovement then
  1413. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.45, .5, -.1) * CFrame.Angles(math.rad(85), 0, math.rad(-15)), 0.1)
  1414. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.45, .5, -.1) * CFrame.Angles(math.rad(85), 0, math.rad(15)), 0.1)
  1415. end
  1416. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -.7, -.75) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.1)
  1417. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.7, -.75) * CFrame.Angles(math.rad(30), 0, math.rad(-0)), 0.1)
  1418. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.35,.3)*CFrame.Angles(math.rad(40),0,0),.1)
  1419. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(5),math.rad(180),math.rad(0)),0.1)
  1420. end
  1421. if anim=="Crouching" then
  1422. if not armmovement then
  1423. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.35, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(-25)), 0.05)
  1424. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.35, .35, -.225) * CFrame.Angles(math.rad(70), 0, math.rad(25)), 0.05)
  1425. end
  1426. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -.5, -.45) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.05)
  1427. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.5, -.45) * CFrame.Angles(math.rad(-10), 0, math.rad(-0)), 0.05)
  1428. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,math.cos(syne/30)/20+1.5,0)*CFrame.Angles(math.cos(syne/30)/20-math.rad(5),0,0),.05)
  1429. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-1.8,0)*CFrame.Angles(math.rad(80),math.rad(180),math.rad(0)),0.05)
  1430. end
  1431.  
  1432. if crawling then
  1433. if anim=="IdleCrawl" then
  1434. if not armmovement then
  1435. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.45, .75, -.15)* CFrame.Angles(math.rad(140), 0, math.rad(-25)), 0.15)
  1436. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.45, .75, -.15) * CFrame.Angles(math.rad(140), 0, math.rad(25)), 0.15)
  1437. end
  1438. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.15)
  1439. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(-0)), 0.15)
  1440. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,math.cos(syne/30)/20+.25)*CFrame.Angles(math.cos(syne/30)/25+math.rad(72.5),0,0),.15)
  1441. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(15),math.rad(180),math.rad(0)),0.15)
  1442. end
  1443.  
  1444.  
  1445.  
  1446. if anim=='Crawling' then
  1447. if runtime>35 then runtime=0 end
  1448. runtime=runtime+1
  1449.  
  1450. if runtime>0 and runtime<(17.5) then
  1451. if not armmovement then
  1452. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.15, 1, -.3) * CFrame.Angles(math.rad(135), 0, math.rad(-25)), .175)
  1453. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.25, .5, -.1) * CFrame.Angles(math.rad(140), 0, math.rad(25)), 0.175)
  1454. end
  1455. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.175)
  1456. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.15, -.3) * CFrame.Angles(math.rad(-5), 0, math.rad(-0)), 0.175)
  1457. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,math.cos(syne/30)/20+.25)*CFrame.Angles(math.cos(syne/30)/25+math.rad(75),math.rad(-4),0),.175)
  1458. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-2.3,0)*CFrame.Angles(math.rad(15),math.rad(184),math.rad(0)),0.15)
  1459. else
  1460. if not armmovement then
  1461. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.25, .5, -.1) * CFrame.Angles(math.rad(140), 0, math.rad(-25)),.175)
  1462. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.15, 1, -.3) * CFrame.Angles(math.rad(135), 0, math.rad(25)), .175)
  1463. end
  1464. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.15, -.3) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), .175)
  1465. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(-0)), 0.175)
  1466. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,math.cos(syne/30)/20+.25)*CFrame.Angles(math.cos(syne/30)/25+math.rad(75),math.rad(4),0),.175)
  1467. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(15),math.rad(176.5),math.rad(0)),0.15)
  1468. end
  1469. end
  1470. end
  1471.  
  1472. if anim=='SpeedCrawling' then
  1473. if runtime>25 then runtime=0 end
  1474. runtime=runtime+1
  1475.  
  1476. if runtime>0 and runtime<(12.5) then
  1477. if not armmovement then
  1478. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.15, 1, -.3) * CFrame.Angles(math.rad(135), 0, math.rad(-25)), .225)
  1479. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.25, .5, -.1) * CFrame.Angles(math.rad(140), 0, math.rad(25)), 0.225)
  1480. end
  1481. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.225)
  1482. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.15, -.3) * CFrame.Angles(math.rad(-5), 0, math.rad(-0)), 0.225)
  1483. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,math.cos(syne/30)/25+.25)*CFrame.Angles(math.cos(syne/30)/25+math.rad(75),math.rad(-4),0),.225)
  1484. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-2.3,0)*CFrame.Angles(math.rad(15),math.rad(184),math.rad(0)),0.15)
  1485. else
  1486. if not armmovement then
  1487. rarm.Weld.C0=Lerp(rarm.Weld.C0, CFrame.new(1.25, .5, -.1) * CFrame.Angles(math.rad(140), 0, math.rad(-25)),.225)
  1488. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.15, 1, -.3) * CFrame.Angles(math.rad(135), 0, math.rad(25)), .225)
  1489. end
  1490. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.15, -.3) * CFrame.Angles(math.rad(-5), 0, math.rad(0)), .225)
  1491. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1.6, -.1) * CFrame.Angles(math.rad(-5), 0, math.rad(-0)), 0.225)
  1492. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.35,math.cos(syne/30)/25+.25)*CFrame.Angles(math.cos(syne/30)/25+math.rad(75),math.rad(4),0),.225)
  1493. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-2.2,0)*CFrame.Angles(math.rad(15),math.rad(176.5),math.rad(0)),0.15)
  1494. end
  1495. end
  1496. end
  1497.  
  1498.  
  1499.  
  1500. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  1501.  
  1502.  
  1503. if powpow and pew then powpow.CFrame=pew end
  1504. if crawling or crouching then chr.Humanoid.Sit=false chr.Humanoid.PlatformStand=false chr.Humanoid.RightLeg=nil chr.Humanoid.LeftLeg=nil
  1505. else
  1506. chr.Humanoid.LeftLeg=lleg chr.Humanoid.RightLeg=rleg end
  1507. if exhausted then chr.Humanoid.WalkSpeed=0 otheranims=false crouching=false crawling=false idled=false stamframe.BackgroundColor3=Color3.new(1,0,0) warning.Text="Can't go further..." staminabar.BackgroundColor3=Color3.new(0,0,0) stamina=stamina+(.225*(maxstamina/100)) end
  1508. if stamina>=maxstamina and exhausted then exhausted=false stamframe.BackgroundColor3=Color3.new(0,1,1) staminabar.BackgroundColor3=Color3.new(1,.8,0) warning.Text="Tired..." anim="Idling" end
  1509. if stamina<=1 then exhausted=true anim="Exhausted" end
  1510. if crouching then chr.Humanoid.WalkSpeed=0 stamina=stamina+(maxstamina/1111) end
  1511. if stamina>maxstamina then stamina=maxstamina end
  1512. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement