Advertisement
filipaopastebins2134

Larva Street Fighters

Feb 23rd, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.13 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local HealthFrame = Instance.new("Frame")
  6. local HealthBar = Instance.new("Frame")
  7. local ImageLabel = Instance.new("ImageLabel")
  8. --Properties:
  9. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  10.  
  11. HealthFrame.Name = "HealthFrame"
  12. HealthFrame.Parent = ScreenGui
  13. HealthFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  14. HealthFrame.BorderColor3 = Color3.new(1, 0.666667, 0)
  15. HealthFrame.BorderSizePixel = 5
  16. HealthFrame.Position = UDim2.new(0.0835690796, 0, 0.0729286149, 0)
  17. HealthFrame.Size = UDim2.new(0, 344, 0, 23)
  18.  
  19. HealthBar.Name = "HealthBar"
  20. HealthBar.Parent = HealthFrame
  21. HealthBar.BackgroundColor3 = Color3.new(0, 1, 0)
  22. HealthBar.BorderSizePixel = 0
  23. HealthBar.Position = UDim2.new(0, 0, -0.0434781425, 0)
  24. HealthBar.Size = UDim2.new(0, 344, 0, 23)
  25.  
  26. ImageLabel.Parent = ScreenGui
  27. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  28. ImageLabel.Position = UDim2.new(0.0120147876, 0, 0, 0)
  29. ImageLabel.Size = UDim2.new(0, 70, 0, 70)
  30. ImageLabel.Image = "rbxassetid://2890347241"
  31. -- Scripts:
  32. function SCRIPT_ZNBN72_FAKESCRIPT() -- HealthBar.LocalScript
  33. local script = Instance.new('LocalScript')
  34. script.Parent = HealthBar
  35. wait(.1)
  36. while true do
  37. hp = game.Players.LocalPlayer.Character.Humanoid.Health/100
  38. script.Parent:TweenSize(UDim2.new(hp,0,1,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,0.15)
  39. wait(.2)
  40. end
  41.  
  42. end
  43. coroutine.resume(coroutine.create(SCRIPT_ZNBN72_FAKESCRIPT))
  44. --Made by Ahtoh13131423144235
  45.  
  46. local player=game.Players.LocalPlayer
  47. local mouse=player:GetMouse()
  48. local char=player.Character
  49. local canAttack=false
  50. local run=false
  51. local runDebounce=false
  52. local damageArm1=false
  53. local damageArm2=false
  54. local damageLeg1=false
  55. local damageLeg2=false
  56. local damageTorso=false
  57. local sit=false
  58.  
  59. local create={
  60. ["Part"]=function(parent,x,y,z,anchored,canCollide,color,transparency,name)
  61. local part=Instance.new("Part")
  62. part.Parent=parent
  63. part.Name=name
  64. part.Size=Vector3.new(x,y,z)
  65. part.Anchored=anchored
  66. part.CanCollide=canCollide
  67. part.BrickColor=BrickColor.new(color)
  68. part.Transparency=transparency
  69. part.Locked=true
  70. return part
  71. end,
  72. ["Weld"]=function(parent,name,x,y,z,x2,y2,z2,x3,y3,z3,x4,y4,z4,part0,part1)
  73. local weld=Instance.new("Weld")
  74. weld.Parent=parent
  75. weld.Name=name
  76. weld.C0=CFrame.new(x,y,z)*CFrame.fromEulerAnglesXYZ(x2,y2,z2)
  77. weld.C1=CFrame.new(x3,y3,z3)*CFrame.fromEulerAnglesXYZ(x4,y4,z4)
  78. weld.Part0=part0
  79. weld.Part1=part1
  80. return weld
  81. end
  82. }
  83.  
  84. local torso=create.Part(char,2,2,1,false,false,char.Torso.Color,0,"FakeTorso")
  85. local torsoWeld=create.Weld(char.Torso,"FakeTorsoWeld",0,0,0,0,0,0,0,0,0,0,0,0,char.Torso,torso)
  86. local arm1=create.Part(char,1,2,1,false,false,char["Right Arm"].Color,0,"Arm1")
  87. local arm1Weld=create.Weld(char.Torso,"Arm1Weld",1.5,0.5,0,0,0,0,0,0.5,0,0,0,0,char.Torso,arm1)
  88. local arm2=create.Part(char,1,2,1,false,false,char["Left Arm"].Color,0,"Arm2")
  89. local arm2Weld=create.Weld(char.Torso,"Arm2Weld",-1.5,0.5,0,0,0,0,0,0.5,0,0,0,0,char.Torso,arm2)
  90. local leg1=create.Part(char,1,2,1,false,false,char["Right Leg"].Color,0,"Leg1")
  91. local leg1Weld=create.Weld(char.Torso,"Leg1Weld",0.5,-2,0,0,0,0,0,0,0,0,0,0,char.Torso,leg1)
  92. local leg2=create.Part(char,1,2,1,false,false,char["Left Leg"].Color,0,"Leg2")
  93. local leg2Weld=create.Weld(char.Torso,"Leg2Weld",-0.5,-2,0,0,0,0,0,0,0,0,0,0,char.Torso,leg2)
  94. char.Torso.Transparency=1
  95. char["Right Arm"].Transparency=1
  96. char["Left Arm"].Transparency=1
  97. char["Right Leg"].Transparency=1
  98. char["Left Leg"].Transparency=1
  99.  
  100. for i=1,3 do
  101. arm1Weld.C0=arm1Weld.C0*CFrame.fromEulerAnglesXYZ(0,0,0.1)
  102. arm2Weld.C0=arm2Weld.C0*CFrame.fromEulerAnglesXYZ(0,0,-0.1)
  103. wait()
  104. end
  105. canAttack=true
  106.  
  107. char.Humanoid.Running:connect(function(speed)
  108. if speed>0.01 then
  109. run=true
  110. elseif speed<=0 then
  111. run=false
  112. end
  113. end)
  114.  
  115.  
  116. game["Run Service"].RenderStepped:connect(function()
  117. if run==true and runDebounce==false and canAttack==true then
  118. runDebounce=true
  119. for i=1,5 do
  120. leg1Weld.C0=leg1Weld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  121. leg2Weld.C0=leg2Weld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  122. wait()
  123. end
  124. for i=1,10 do
  125. leg1Weld.C0=leg1Weld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  126. leg2Weld.C0=leg2Weld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  127. wait()
  128. end
  129. for i=1,5 do
  130. leg1Weld.C0=leg1Weld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  131. leg2Weld.C0=leg2Weld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  132. wait()
  133. end
  134. runDebounce=false
  135. end
  136. end)
  137.  
  138. mouse.KeyDown:connect(function(key)
  139. if canAttack==true and key=="q" then
  140. canAttack=false
  141. for i=1,3 do
  142. arm1Weld.C0=arm1Weld.C0*CFrame.fromEulerAnglesXYZ(0,0,-0.1)
  143. wait()
  144. end
  145. for i=1,16 do
  146. arm1Weld.C0=arm1Weld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  147. wait()
  148. end
  149. damageArm1=true
  150. for i=1,27 do
  151. arm1Weld.C0=arm1Weld.C0*CFrame.new(0,-0.1,0)
  152. wait()
  153. end
  154. for i=1,27 do
  155. arm1Weld.C0=arm1Weld.C0*CFrame.new(0,0.1,0)
  156. wait()
  157. end
  158. damageArm1=false
  159. for i=1,16 do
  160. arm1Weld.C0=arm1Weld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  161. wait()
  162. end
  163. for i=1,3 do
  164. arm1Weld.C0=arm1Weld.C0*CFrame.fromEulerAnglesXYZ(0,0,0.1)
  165. wait()
  166. end
  167. canAttack=true
  168. elseif canAttack==true and key=="e" then
  169. canAttack=false
  170. for i=1,3 do
  171. arm2Weld.C0=arm2Weld.C0*CFrame.fromEulerAnglesXYZ(0,0,0.1)
  172. wait()
  173. end
  174. for i=1,16 do
  175. arm2Weld.C0=arm2Weld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  176. wait()
  177. end
  178. damageArm2=true
  179. for i=1,27 do
  180. arm2Weld.C0=arm2Weld.C0*CFrame.new(0,-0.1,0)
  181. wait()
  182. end
  183. for i=1,27 do
  184. arm2Weld.C0=arm2Weld.C0*CFrame.new(0,0.1,0)
  185. wait()
  186. end
  187. damageArm2=false
  188. for i=1,16 do
  189. arm2Weld.C0=arm2Weld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  190. wait()
  191. end
  192. for i=1,3 do
  193. arm2Weld.C0=arm2Weld.C0*CFrame.fromEulerAnglesXYZ(0,0,-0.1)
  194. wait()
  195. end
  196. canAttack=true
  197. elseif canAttack==true and key=="r" then
  198. canAttack=false
  199. char.Humanoid.WalkSpeed=0
  200. for i=1,4 do
  201. char.Torso.Neck.C0=char.Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  202. wait()
  203. end
  204. wait(4)
  205. local explosion=Instance.new("Explosion")
  206. explosion.Parent=char
  207. explosion.BlastPressure=0
  208. explosion.Position=torso.Position
  209. explosion.Hit:connect(function(hit)
  210. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent~=char then
  211. hit.Parent.Humanoid.Health=0
  212. end
  213. end)
  214. for i=1,4 do
  215. char.Torso.Neck.C0=char.Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  216. wait()
  217. end
  218. char.Humanoid.WalkSpeed=16
  219. canAttack=true
  220. elseif canAttack==true and key=="t" then
  221. canAttack=false
  222. for i=1,10 do
  223. leg1Weld.C0=leg1Weld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  224. wait()
  225. end
  226. damageLeg1=true
  227. for i=1,16 do
  228. leg1Weld.C0=leg1Weld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  229. wait()
  230. end
  231. for i=1,6 do
  232. leg1Weld.C0=leg1Weld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  233. wait()
  234. end
  235. damageLeg1=false
  236. canAttack=true
  237. elseif canAttack==true and key=="y" then
  238. canAttack=false
  239. char.Humanoid.WalkSpeed=0
  240. char.Humanoid.JumpPower=0
  241. for i=1,16 do
  242. leg1Weld.C0=leg1Weld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  243. leg2Weld.C0=leg2Weld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  244. wait()
  245. end
  246. for i=1,5 do
  247. leg1Weld.C0=leg1Weld.C0*CFrame.new(0,-0.1,0)
  248. leg2Weld.C0=leg2Weld.C0*CFrame.new(0,-0.1,0)
  249. wait()
  250. end
  251. for i=1,5 do
  252. leg1Weld.C0=leg1Weld.C0*CFrame.new(0,0,0.1)
  253. leg2Weld.C0=leg2Weld.C0*CFrame.new(0,0,0.1)
  254. wait()
  255. end
  256. for i=1,10 do
  257. arm1Weld.C0=arm1Weld.C0*CFrame.new(-0.1,-0.1,0)
  258. arm2Weld.C0=arm2Weld.C0*CFrame.new(0.1,-0.1,0)
  259. torsoWeld.C0=torsoWeld.C0*CFrame.new(0,-0.1,0)
  260. char.Torso.Neck.C0=char.Torso.Neck.C0*CFrame.new(0,0,-0.1)
  261. wait()
  262. end
  263. for i=1,5 do
  264. arm1Weld.C0=arm1Weld.C0*CFrame.new(0.1,0,0)
  265. arm2Weld.C0=arm2Weld.C0*CFrame.new(-0.1,0,0)
  266. wait()
  267. end
  268. for i=1,5 do
  269. arm1Weld.C0=arm1Weld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  270. arm2Weld.C0=arm2Weld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  271. wait()
  272. end
  273. for i=1,10 do
  274. arm1Weld.C0=arm1Weld.C0*CFrame.new(0,-0.1,0)
  275. arm2Weld.C0=arm2Weld.C0*CFrame.new(0,-0.1,0)
  276. wait()
  277. end
  278. sit=true
  279. elseif sit==true and key=="u" then
  280. sit=false
  281. for i=1,16 do
  282. leg1Weld.C0=leg1Weld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  283. leg2Weld.C0=leg2Weld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  284. wait()
  285. end
  286. for i=1,5 do
  287. leg1Weld.C0=leg1Weld.C0*CFrame.new(0,0.1,0)
  288. leg2Weld.C0=leg2Weld.C0*CFrame.new(0,0.1,0)
  289. wait()
  290. end
  291. for i=1,5 do
  292. leg1Weld.C0=leg1Weld.C0*CFrame.new(0,0,0.1)
  293. leg2Weld.C0=leg2Weld.C0*CFrame.new(0,0,0.1)
  294. wait()
  295. end
  296. for i=1,10 do
  297. arm1Weld.C0=arm1Weld.C0*CFrame.new(0.1,0.1,0)
  298. arm2Weld.C0=arm2Weld.C0*CFrame.new(-0.1,0.1,0)
  299. torsoWeld.C0=torsoWeld.C0*CFrame.new(0,0.1,0)
  300. char.Torso.Neck.C0=char.Torso.Neck.C0*CFrame.new(0,0,0.1)
  301. wait()
  302. end
  303. for i=1,5 do
  304. arm1Weld.C0=arm1Weld.C0*CFrame.new(-0.1,0,0)
  305. arm2Weld.C0=arm2Weld.C0*CFrame.new(0.1,0,0)
  306. wait()
  307. end
  308. for i=1,5 do
  309. arm1Weld.C0=arm1Weld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  310. arm2Weld.C0=arm2Weld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  311. wait()
  312. end
  313. for i=1,10 do
  314. arm1Weld.C0=arm1Weld.C0*CFrame.new(0,0.1,0)
  315. arm2Weld.C0=arm2Weld.C0*CFrame.new(0,0.1,0)
  316. wait()
  317. end
  318. char.Humanoid.WalkSpeed=16
  319. char.Humanoid.JumpPower=50
  320. canAttack=true
  321. elseif canAttack==true and key=="p" then
  322. canAttack=false
  323. char.Humanoid.WalkSpeed=0
  324. char.Humanoid.JumpPower=0
  325. for i=1,3 do
  326. arm1Weld.C0=arm1Weld.C0*CFrame.fromEulerAnglesXYZ(0,0,-0.1)
  327. arm2Weld.C0=arm2Weld.C0*CFrame.fromEulerAnglesXYZ(0,0,0.1)
  328. wait()
  329. end
  330. for i=1,400 do
  331. arm1Weld.C0=arm1Weld.C0*CFrame.new(0,0.1,0)
  332. arm2Weld.C0=arm2Weld.C0*CFrame.new(0,0.1,0)
  333. leg1Weld.C0=leg1Weld.C0*CFrame.new(0,0.1,0)
  334. leg2Weld.C0=leg2Weld.C0*CFrame.new(0,0.1,0)
  335. torsoWeld.C0=torsoWeld.C0*CFrame.new(0,0.1,0)
  336. char.Torso.Neck.C0=char.Torso.Neck.C0*CFrame.new(0,0,0.1)
  337. end
  338. wait(4)
  339. for i=1,400 do
  340. arm1Weld.C0=arm1Weld.C0*CFrame.new(0,-0.1,0)
  341. arm2Weld.C0=arm2Weld.C0*CFrame.new(0,-0.1,0)
  342. leg1Weld.C0=leg1Weld.C0*CFrame.new(0,-0.1,0)
  343. leg2Weld.C0=leg2Weld.C0*CFrame.new(0,-0.1,0)
  344. torsoWeld.C0=torsoWeld.C0*CFrame.new(0,-0.1,0)
  345. char.Torso.Neck.C0=char.Torso.Neck.C0*CFrame.new(0,0,-0.1)
  346. end
  347. local explosion=Instance.new("Explosion")
  348. explosion.Parent=char
  349. explosion.BlastPressure=0
  350. explosion.Position=torso.Position
  351. explosion.Hit:connect(function(hit)
  352. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent~=char then
  353. hit.Parent.Humanoid.Health=0
  354. end
  355. end)
  356. for i=1,3 do
  357. arm1Weld.C0=arm1Weld.C0*CFrame.fromEulerAnglesXYZ(0,0,0.1)
  358. arm2Weld.C0=arm2Weld.C0*CFrame.fromEulerAnglesXYZ(0,0,-0.1)
  359. wait()
  360. end
  361. char.Humanoid.WalkSpeed=16
  362. char.Humanoid.JumpPower=50
  363. canAttack=true
  364. end
  365. end)
  366. arm1.Touched:connect(function(hit)
  367. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent~=char and damageArm1==true then
  368. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-10
  369. end
  370. end)
  371. arm2.Touched:connect(function(hit)
  372. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent~=char and damageArm2==true then
  373. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-10
  374. end
  375. end)
  376. leg1.Touched:connect(function(hit)
  377. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent~=char and damageLeg1==true then
  378. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-10
  379. end
  380. end)
  381. leg2.Touched:connect(function(hit)
  382. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent~=char and damageLeg2==true then
  383. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-10
  384. end
  385. end)
  386. torso.Touched:connect(function(hit)
  387. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent~=char and damageTorso==true then
  388. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-10
  389. end
  390. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement