Advertisement
Robloitz

NewCleanShark

Oct 20th, 2019
27,244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
  2. LocalPlayer = game:GetService("Players").LocalPlayer.Name
  3.  
  4. if game.CoreGui:FindFirstChild("esp") then
  5. else
  6. local folder = Instance.new("Folder", game.CoreGui)
  7. folder.Name = "esp"
  8. end
  9.  
  10.  
  11. function Sharkesp()
  12. local folder = Instance.new("Folder", game.CoreGui.esp)
  13. folder.Name = "sharks"
  14. for i,v in pairs(game.Workspace.Sharks:GetChildren()) do
  15. if v ~= nil then
  16. sharks = {}
  17. table.insert(sharks, v.Name)
  18. for i = 1, #sharks do
  19. sdir = game.Workspace.Sharks[v.Name]
  20.  
  21. local sesp = Instance.new("BillboardGui", game.CoreGui.esp.sharks)
  22. sesp.Name = sdir.Name
  23. sesp.Adornee = sdir.Kill
  24. sesp.AlwaysOnTop=true
  25. sesp.ResetOnSpawn=false
  26. sesp.Size = UDim2.new(1,1,1,1)
  27.  
  28. local tag = Instance.new("TextLabel", sesp)
  29. tag.Size = UDim2.new(5,5,5,5)
  30. tag.Text = "Shark"
  31. tag.TextColor3 = Color3.new(255, 0, 0)
  32. tag.BackgroundTransparency = 1 end end end end
  33.  
  34.  
  35. function Survivoresp()
  36. local folder = Instance.new("Folder", game.CoreGui.esp)
  37. folder.Name = "survivors"
  38. for i,v in pairs(game.Players:GetChildren()) do
  39. if v.Name ~= LocalPlayer and v.Team.Name == "Survivor" then
  40. survivors = {}
  41. table.insert(survivors, v.Name)
  42.  
  43. for i = 1, #survivors do
  44. local esp = Instance.new("BillboardGui", game.CoreGui.esp.survivors)
  45. esp.Adornee = game.Players[v.Name].Character
  46. esp.AlwaysOnTop=true
  47. esp.ResetOnSpawn=false
  48. esp.Size = UDim2.new(1,1,1,1)
  49.  
  50. local tag = Instance.new("TextLabel", esp)
  51. tag.Size = UDim2.new(5,5,5,5)
  52. tag.Text = "Survivor"
  53. tag.TextColor3 = Color3.new(0, 255, 0)
  54. tag.BackgroundTransparency = 1
  55. end end end end
  56.  
  57.  
  58. function cleanshark()
  59. game.CoreGui.esp.sharks:Destroy()
  60. end
  61.  
  62. function cleansurv()
  63. game.CoreGui.esp.survivors:Destroy()
  64. end
  65.  
  66. local swin = library:CreateWindow("Sharkbite")
  67. swin:Section("ESP")
  68.  
  69. local p = swin:Toggle("Survivor ESP", {flag = "suresp"}, function(flag)
  70.  
  71. if flag then Survivoresp()
  72. else
  73. cleansurv() end end)
  74.  
  75. local l = swin:Toggle("Shark ESP", {flag = "shesp"}, function(flag)
  76. if flag then Sharkesp()
  77. else
  78. cleanshark()
  79. end
  80. end)
  81.  
  82. swin:Label("MISC")
  83.  
  84. local o = swin:Button("Flare Gun", function()
  85. game.Workspace.Events.GamePasses.EquipFlareGun:FireServer()
  86. end)
  87.  
  88. local i = swin:Button("Teleport to Lobby", function()
  89. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3.76587367, 286.200226, -27.4438801)
  90. end)
  91.  
  92. swin:Dropdown("Menu Color", {location = _G; flag = "memes"; list = {"Green", "Red", "Blue", "Rainbow"}}, function(new) if new == "Blue" then game.CoreGui.ScreenGui.Container.Sharkbite.Underline.BackgroundColor3 = Color3.new(0,0,255) rgb = false
  93. else
  94. if new == "Red" then rgb = false game.CoreGui.ScreenGui.Container.Sharkbite.Underline.BackgroundColor3 = Color3.new(255,0,0)
  95. else
  96. if new == "Green" then rgb = false game.CoreGui.ScreenGui.Container.Sharkbite.Underline.BackgroundColor3 = Color3.new(0,255,0)
  97. else
  98. if new == "Rainbow" then rgb = true end
  99. end end end end)
  100.  
  101. game.Workspace.Sharks.ChildAdded:Connect(function(shark)
  102.  
  103. if swin.flags.shesp then
  104. shark:WaitForChild("Kill")
  105. local sesp = Instance.new("BillboardGui", game.CoreGui.esp.sharks)
  106. sesp.Name = shark.Name
  107. sesp.Adornee = shark.Kill
  108. sesp.AlwaysOnTop=true
  109. sesp.ResetOnSpawn=false
  110. sesp.Size = UDim2.new(1,1,1,1)
  111.  
  112.  
  113. local tag = Instance.new("TextLabel", sesp)
  114. tag.Size = UDim2.new(10,10,10,10)
  115. tag.Text = "Shark"
  116. tag.TextColor3 = Color3.new(25,0,0)
  117. tag.BackgroundTransparency = 1
  118. end
  119. end)
  120.  
  121. local Players = game:GetService("Players")
  122. local RunService = game:GetService("RunService")
  123. local Teams = game:GetService("Teams")
  124. survivor = Teams.Survivor
  125.  
  126. survivor.PlayerAdded:Connect(function(character)
  127.  
  128.  
  129. RunService.Stepped:wait()
  130. if swin.flags.suresp then
  131. if character.Team.Name == "Survivor" then
  132. local esp = Instance.new("BillboardGui", game.CoreGui.esp.survivors)
  133. esp.Adornee = character.Character
  134. esp.AlwaysOnTop=true
  135. esp.ResetOnSpawn=false
  136. esp.Size = UDim2.new(1,1,1,1)
  137.  
  138. local tag = Instance.new("TextLabel", esp)
  139. tag.Size = UDim2.new(5,5,5,5)
  140. tag.Text = "Survivor"
  141. tag.TextColor3 = Color3.new(0, 255, 0)
  142. tag.BackgroundTransparency = 1
  143. end
  144. end
  145. end)
  146.  
  147.  
  148. swin:Button("Destroy", function()
  149. game.CoreGui.ScreenGui:Destroy()
  150. end)
  151.  
  152.  
  153. function sharkdist()
  154. while wait() do
  155. if swin.flags.shesp then
  156. game.CoreGui.esp:FindFirstChild("sharks")
  157. for i,v in pairs(game.CoreGui.esp.sharks:GetChildren()) do
  158. if v then
  159. oo = {};
  160. table.insert(oo, v.Name)
  161. for i = 1, #oo do
  162. if v.Adornee then
  163. local texts = math.ceil((v.Adornee.Position - game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Position).magnitude)
  164. local text = tostring(texts)
  165. v.TextLabel.Text = "Shark\n".."["..text.."]"
  166. else
  167. v:Destroy()
  168. end
  169. end
  170. end
  171. end
  172. end
  173. end
  174. end
  175.  
  176. function survdist()
  177. while wait() do
  178. if swin.flags.suresp then
  179. game.CoreGui.esp:FindFirstChild("survivors")
  180. for i,v in pairs(game.CoreGui.esp.survivors:GetChildren()) do
  181. if v then
  182. oo = {};
  183. table.insert(oo, v.Name)
  184. for i = 1, #oo do
  185. if v.Adornee then
  186. local texts = math.ceil((v.Adornee.HumanoidRootPart.Position - game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Position).magnitude)
  187. local text = tostring(texts)
  188. v.TextLabel.Text = v.Adornee.Name.."\n["..text.."]"
  189. else
  190. v:Destroy()
  191. end
  192. end
  193. end
  194. end
  195. end
  196. end
  197. end
  198. spawn(function() sharkdist() end)
  199. spawn(function() survdist() end)
  200.  
  201.  
  202. spawn(function(rainbow)
  203. while wait() do
  204. if rgb == true then
  205. game.CoreGui.ScreenGui.Container.Sharkbite.Underline.BackgroundColor3 = Color3.fromHSV(tick() * 24 % 255/255, 1, 1)
  206. wait()
  207. end end
  208. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement