Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2.  
  3.  
  4. hl/https://code.stypi.com/raw/nZHFXIlEQs5UF7XIOYsaGPc1
  5.  
  6.  
  7. ]]
  8. player=game:GetService'Players'.LocalPlayer
  9.  
  10.  
  11. nqqas={"Diitto", "ThuggLyfe", "grubsteak", "Pkamara", "TheDarkRevenant", "TheScripterGeek", "clv2", "ElitePug", "jillmiles1", "jonesj627", player.Name}--
  12. aggrorange=20;
  13.  
  14. messages={
  15. [3]="yo get off our turf, %p";
  16. [6]="im warning u";
  17. [8]="3...";
  18. [9]="2...";
  19. [10]="1..";
  20. [11]="FIRE";
  21. }
  22. t=Instance.new("Tool", player.Backpack)
  23. t.Name="LunchThug"
  24.  
  25. Instance.new("Part", t).Name="Handle"
  26. t.Equipped:connect(function()
  27. while true do {
  28.  
  29. model=Instance.new("Model", workspace)
  30. model.Name="LunchaThug"
  31.  
  32. box=Instance.new("Part", model)
  33. box.FormFactor=Enum.FormFactor.Custom
  34. box.Size=Vector3.new(4, 4, 2)
  35. box.Name="Head"
  36. dc=Instance.new("Decal", box)
  37. dc.Texture="http://www.roblox.com/asset/?id=265177579"
  38. dc.Face=Enum.NormalId.Front
  39. box.BrickColor=BrickColor.new("Bright yellow")
  40. box.Anchored=false
  41. box.TopSurface="Smooth"
  42. box.BottomSurface="Smooth"
  43.  
  44. hum=Instance.new("Humanoid", model)
  45. hum.Health=0
  46. hum.MaxHealth=0
  47.  
  48. gun=Instance.new("Part", model)
  49. gun.FormFactor=Enum.FormFactor.Custom
  50. gun.Size=Vector3.new(.4, 1, 1.2)
  51. gun.Name="gun"
  52. local shoot=Instance.new("Sound", gun)
  53. shoot.SoundId="rbxassetid://180955656"
  54. gunmesh=Instance.new("SpecialMesh", gun)
  55. gunmesh.MeshType=Enum.MeshType.FileMesh
  56. gunmesh.MeshId="rbxassetid://4372594"
  57. gunmesh.TextureId="rbxassetid://0"
  58. gunmesh.VertexColor=Vector3.new(0, 0, 0)
  59. w=Instance.new("Weld", box)
  60. w.Part0=box
  61. w.Part1=gun
  62. w.C0=CFrame.new(2.20000076, 0.700000048, -1, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  63.  
  64. local gyro=Instance.new("BodyGyro", box)
  65. gyro.maxTorque=Vector3.new(math.huge, math.huge, 0)
  66. gyro.P=10000
  67. local startTime=nil
  68. local oldBestPlaya
  69. local currentmsg=""
  70. model:MoveTo(player.Character.Torso.Position-Vector3.new(0, 1, 5))
  71. math.randomseed(tick())
  72. coroutine.wrap(function()
  73. while box do
  74. wait()
  75. local bestPlaya=nil
  76. local bestDist=math.huge
  77. if not oldBestPlaya or oldBestPlaya:DistanceFromCharacter(box.Position)>aggrorange then
  78. for _, p in pairs(game:GetService'Players':GetPlayers()) do
  79. if p.Character and p.Character:FindFirstChild("Torso") and not p.Character:FindFirstChild("greeted") and p:DistanceFromCharacter(box.Position)<=aggrorange and p:DistanceFromCharacter(box.Position)<bestDist then
  80. bestPlaya=p
  81. bestDist=p:DistanceFromCharacter(box.Position)
  82. end
  83. end
  84. if bestPlaya then
  85. oldBestPlaya=bestPlaya
  86. startTime=tick()
  87. end
  88. end
  89. local p=oldBestPlaya
  90.  
  91.  
  92. if p then
  93. notanqqa=true
  94. for _, playa in pairs(nqqas) do
  95. if p.Name:lower()==playa:lower() then
  96. notanqqa=false
  97. end
  98. end
  99.  
  100. --print(p.Name)
  101.  
  102. gyro.cframe=CFrame.new(box.CFrame.p, p.Character:FindFirstChild("Head") and p.Character.Head.CFrame.p or p.Character:GetModelCFrame())
  103. if notanqqa then
  104. local msg=""
  105. local mtime=0
  106. for i, v in pairs(messages) do
  107. if i>=mtime and tick()-startTime>=i then
  108. msg=v
  109. mtime=i
  110. end
  111. end
  112. if currentmsg~=msg then
  113. currentmsg=msg
  114. if msg=="FIRE" then
  115. for i=1, 12 do
  116. shoot:Play()
  117. if p.Character and p.Character:FindFirstChild("Humanoid") then
  118. p.Character:FindFirstChild("Humanoid").Health=p.Character:FindFirstChild("Humanoid").Health-(p.Character:FindFirstChild("Humanoid").MaxHealth*(math.random(1, 10)/20))
  119. end
  120. if p.Character and p.Character:FindFirstChild("Humanoid") and p.Character:FindFirstChild("Humanoid").Health<=0 then
  121. wait(3)
  122. gyro.cframe=CFrame.new(0, 0, 0)
  123. wait(2)
  124. game:GetService("Chat"):Chat(box, ("any1 else???"):gsub("%%p", p.Name))
  125. wait(3)
  126. game:GetService("Chat"):Chat(box, ("dats rite nigga"):gsub("%%p", p.Name))
  127. wait(5)
  128. oldBestPlaya=nil
  129. break
  130.  
  131. end
  132. wait(math.random(1, 10)/8)
  133. end
  134. elseif msg~="" then
  135. game:GetService("Chat"):Chat(box, msg:gsub("%%p", p.Name))
  136. end
  137. end
  138. else
  139. wait(2)
  140. game:GetService("Chat"):Chat(box, ("yo wassup cuz"):gsub("%%p", p.Name))
  141. local gr=Instance.new("IntValue", p.Character)
  142. gr.Name="greeted"
  143. game:GetService("Debris"):AddItem(gr, 60);
  144. oldBestPlaya=nil
  145. wait(5)
  146. gyro.cframe=CFrame.new(0, 0, 0)
  147. end
  148. end
  149. end
  150. end)()
  151. if player.Character and player.Character:FindFirstChild("Humanoid") then
  152. player.Character.Humanoid:UnequipTools();
  153. wait()
  154. t:Destroy()
  155. end
  156. end
  157. end
  158. }
  159. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement