CaliberMag

utilsTL

Mar 9th, 2020
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  1. function Contains(group, text)
  2. if string.find(group, text) then
  3. return true;
  4. else
  5. return false;
  6. end
  7. end
  8.  
  9. local Name = game:GetService('Players').LocalPlayer.Name;
  10. local ID = game:GetService('Players').LocalPlayer.userId;
  11. local Format = (Name..'|'..ID);
  12. local Whitelist = game:HttpGet('https://pastebin.com/raw/9SDbyu7e'); -- Format: NAME|USERID
  13.  
  14. warn('Whitelisting...')
  15. if Contains(Whitelist, Name) and Contains(Whitelist, ID) then
  16. print('Whitelisted');
  17.  
  18. spawn(function()
  19. function ClickTransparency()
  20. local Plr = game:GetService("Players").LocalPlayer
  21. local mouse1 = Plr:GetMouse()
  22.  
  23. mouse1.Button1Down:connect(function()
  24. if not game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.LeftControl) then return end
  25. if not mouse1.Target then return end
  26. mouse1.Target.Transparency = 0.5
  27. end)
  28. end
  29. end)
  30.  
  31. spawn(function()
  32. while wait(0.1) do
  33. if _G.ClickTransparency == true then
  34. ClickTransparency()
  35. break
  36. end
  37. end
  38. end)
  39.  
  40. ------
  41.  
  42. spawn(function()
  43. function FastTravel()
  44. local player = game.Players.LocalPlayer
  45. local mouse = player:GetMouse()
  46.  
  47. bind = "v"
  48.  
  49. mouse.KeyDown:connect(function(key)
  50. if key == bind then
  51. local player = game.Players.LocalPlayer
  52. local Character = player.Character or player.CharacterAdded:wait()
  53. player.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + player.Character.HumanoidRootPart.CFrame.lookVector * 20
  54.  
  55. end
  56. end)
  57. end
  58. end)
  59.  
  60. spawn(function()
  61. while wait(0.1) do
  62. if _G.FastTravel == true then
  63. FastTravel()
  64. break
  65. end
  66. end
  67. end)
  68.  
  69. ------
  70.  
  71. spawn(function()
  72. function SpawnCheck()
  73. for i,v in pairs(game.workspace:GetDescendants()) do
  74. if v.Name == "Heavenly_Crystal" or v.Name == "Heavenly_Tree" or v.Name == "Godly_Tree" or v.Name == "Godly_Rock" or v.Name == "Starlight_Tree" or v.Name == "Obsidian_Rock" or v.Name == "Magma_Tree" or v.Name == "Diamond_Rock" then
  75. local SpawnedResource = v.Name
  76. local str = " has spawned!"
  77. print(SpawnedResource .. str)
  78.  
  79. end
  80. end
  81. end
  82. end)
  83.  
  84. spawn(function()
  85. while wait(0.1) do
  86. if _G.SpawnCheck == true then
  87. SpawnCheck()
  88. break
  89. end
  90. end
  91. end)
  92.  
  93. ------
  94.  
  95. spawn(function()
  96. function ESP()
  97. for i,v in pairs(game.workspace:GetDescendants()) do
  98. if v.Name == "Heavenly_Crystal" or v.Name == "Heavenly_Tree" or v.Name == "Godly_Tree" or v.Name == "Godly_Rock" or v.Name == "Starlight_Tree" or v.Name == "Obsidian_Rock" or v.Name == "Diamond_Rock" then
  99. if v.PrimaryPart ~= nil then
  100. local SpawnedResource = v.Name
  101. local BillboardGui = Instance.new("BillboardGui")
  102. local TextLabel = Instance.new("TextLabel")
  103.  
  104. BillboardGui.Name = "ESPMarker"
  105. BillboardGui.Parent = v.MainPart
  106. BillboardGui.AlwaysOnTop = true
  107. BillboardGui.LightInfluence = 1
  108. BillboardGui.Size = UDim2.new(0, 100, 0, 100)
  109. BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
  110.  
  111. BillboardGui.Adornee = v.MainPart
  112.  
  113. TextLabel.Parent = BillboardGui
  114. TextLabel.BackgroundColor3 = Color3.new(120, 81, 169)
  115. TextLabel.BackgroundTransparency = 1
  116. TextLabel.Size = UDim2.new(0.5, 0, 1, 0)
  117. TextLabel.Text = SpawnedResource
  118. TextLabel.TextColor3 = Color3.new(120, 81, 169)
  119. TextLabel.TextScaled = true
  120. elseif v.PrimaryPart == nil then
  121. v:Destroy()
  122. warn("Successfully destroyed a fake/bugged resource.")
  123. else warn("Wow, this ore/tree is really fucky. Cannot track.")
  124. end
  125. end
  126. end
  127. end
  128. end)
  129.  
  130. spawn(function()
  131. while wait(0.1) do
  132. if _G.ESP == true then
  133. ESPHandler()
  134. break
  135. end
  136. end
  137. end)
  138.  
  139. ------
  140.  
  141. spawn(function()
  142. function BossESP()
  143. for i,v in pairs(game.workspace:GetDescendants()) do
  144. if v.Name == "AIMonster" then
  145. local SpawnedResource = v.Name
  146. local BillboardGui = Instance.new("BillboardGui")
  147. local TextLabel = Instance.new("TextLabel")
  148.  
  149. BillboardGui.Name = "ESPMarker"
  150. BillboardGui.Parent = v.RiggedStoneGiant.LaserEnd
  151. BillboardGui.AlwaysOnTop = true
  152. BillboardGui.LightInfluence = 1
  153. BillboardGui.Size = UDim2.new(0, 100, 0, 100)
  154. BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
  155.  
  156. BillboardGui.Adornee = v.RiggedStoneGiant.LaserEnd
  157.  
  158. TextLabel.Parent = BillboardGui
  159. TextLabel.BackgroundColor3 = Color3.new(120, 81, 169)
  160. TextLabel.BackgroundTransparency = 1
  161. TextLabel.Size = UDim2.new(0.5, 0, 1, 0)
  162. TextLabel.Text = SpawnedResource
  163. TextLabel.TextColor3 = Color3.new(120, 81, 169)
  164. TextLabel.TextScaled = true
  165. end
  166. end
  167. end
  168. end)
  169.  
  170. spawn(function()
  171. while wait(0.1) do
  172. if _G.BossESP == true then
  173. ESPHandler2()
  174. break
  175. end
  176. end
  177. end)
  178.  
  179. ------
  180.  
  181. function ESPCleaner()
  182. print("Cleaning up ESPs..")
  183. for i,v in pairs(game.workspace.Resources:GetDescendants()) do
  184. if v.Name == "ESPMarker" then
  185. v:Destroy()
  186. end
  187. end
  188. end
  189.  
  190. function ESPHandler()
  191. spawn(function()
  192. while true do
  193. ESP()
  194. wait(60)
  195. ESPCleaner()
  196. end
  197. end)
  198. end
  199.  
  200. function ESPHandler2()
  201. spawn(function()
  202. while true do
  203. BossESP()
  204. wait(60)
  205. ESPCleaner()
  206. end
  207. end)
  208. end
  209.  
  210.  
  211. else
  212. print('Not whitelisted')
  213. game.Players.LocalPlayer:Kick("mayonnaise")
  214. end
Add Comment
Please, Sign In to add comment