Advertisement
Guest User

asd

a guest
Jul 14th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 KB | None | 0 0
  1. -- Objects
  2.  
  3. local WeebGui = Instance.new("ScreenGui")
  4. local Main = Instance.new("Frame")
  5. local espframe = Instance.new("Frame")
  6. local esp = Instance.new("TextButton")
  7. local unlock_all = Instance.new("TextButton")
  8. local titleframe = Instance.new("Frame")
  9. local title = Instance.new("TextLabel")
  10. local TextButton = Instance.new("TextButton")
  11. local TextButton_2 = Instance.new("TextButton")
  12. local Login = Instance.new("Frame")
  13. local Username = Instance.new("TextBox")
  14. local Password = Instance.new("TextBox")
  15. local LoginButton = Instance.new("TextButton")
  16.  
  17. -- Properties
  18.  
  19. WeebGui.Name = "WeebGui"
  20. WeebGui.Parent = game.CoreGui
  21.  
  22. Main.Name = "Main"
  23. Main.Parent = WeebGui
  24. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  25. Main.Position = UDim2.new(0.255060732, 0, 0, 0)
  26. Main.Size = UDim2.new(0, 483, 0, 361)
  27. Main.Visible = false
  28. Main.BackgroundTransparency = 1
  29.  
  30. espframe.Name = "espframe"
  31. espframe.Parent = Main
  32. espframe.BackgroundColor3 = Color3.new(1, 1, 1)
  33. espframe.Position = UDim2.new(0, 0, 0.0914127454, 0)
  34. espframe.Size = UDim2.new(0, 483, 0, 328)
  35.  
  36. esp.Name = "esp"
  37. esp.Parent = espframe
  38. esp.BackgroundColor3 = Color3.new(1, 1, 1)
  39. esp.Position = UDim2.new(0.0517598353, 0, 0.073170729, 0)
  40. esp.Size = UDim2.new(0, 205, 0, 279)
  41. esp.Font = Enum.Font.SourceSans
  42. esp.Text = "Start ESP"
  43. esp.TextColor3 = Color3.new(0, 0, 0)
  44. esp.TextScaled = true
  45. esp.TextSize = 14
  46. esp.TextWrapped = true
  47.  
  48. unlock_all.Name = "unlock_all"
  49. unlock_all.Parent = espframe
  50. unlock_all.BackgroundColor3 = Color3.new(1, 1, 1)
  51. unlock_all.Position = UDim2.new(0.559006214, 0, 0.073170729, 0)
  52. unlock_all.Size = UDim2.new(0, 200, 0, 279)
  53. unlock_all.Font = Enum.Font.SourceSans
  54. unlock_all.Text = "Unlock all"
  55. unlock_all.TextColor3 = Color3.new(0, 0, 0)
  56. unlock_all.TextScaled = true
  57. unlock_all.TextSize = 14
  58. unlock_all.TextWrapped = true
  59.  
  60. titleframe.Name = "titleframe"
  61. titleframe.Parent = Main
  62. titleframe.BackgroundColor3 = Color3.new(1, 1, 1)
  63. titleframe.BackgroundTransparency = 1
  64. titleframe.Size = UDim2.new(0, 483, 0, 361)
  65.  
  66. title.Name = "title"
  67. title.Parent = titleframe
  68. title.BackgroundColor3 = Color3.new(1, 1, 1)
  69. title.Size = UDim2.new(0, 483, 0, 33)
  70. title.Font = Enum.Font.SourceSans
  71. title.Text = "Esp For Phantom Forces"
  72. title.TextColor3 = Color3.new(0, 0, 0)
  73. title.TextSize = 14
  74.  
  75. TextButton.Name = "-"
  76. TextButton.Parent = titleframe
  77. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  78. TextButton.Position = UDim2.new(0.900621116, 0, 0, 0)
  79. TextButton.Size = UDim2.new(0, 48, 0, 33)
  80. TextButton.Font = Enum.Font.SourceSans
  81. TextButton.Text = "-"
  82. TextButton.TextColor3 = Color3.new(0, 0, 0)
  83. TextButton.TextScaled = true
  84. TextButton.TextSize = 14
  85. TextButton.TextWrapped = true
  86.  
  87. TextButton_2.Name = "+"
  88. TextButton_2.Parent = titleframe
  89. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  90. TextButton_2.Position = UDim2.new(0.900621116, 0, 0, 0)
  91. TextButton_2.Size = UDim2.new(0, 48, 0, 33)
  92. TextButton_2.Visible = false
  93. TextButton_2.Font = Enum.Font.SourceSans
  94. TextButton_2.Text = "+"
  95. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  96. TextButton_2.TextScaled = true
  97. TextButton_2.TextSize = 14
  98. TextButton_2.TextWrapped = true
  99.  
  100. Login.Name = "Login"
  101. Login.Parent = WeebGui
  102. Login.BackgroundColor3 = Color3.new(1, 1, 1)
  103. Login.Position = UDim2.new(0.345141709, 0, 0.117903925, 0)
  104. Login.Size = UDim2.new(0, 409, 0, 289)
  105.  
  106. Username.Name = "Username"
  107. Username.Parent = Login
  108. Username.BackgroundColor3 = Color3.new(1, 1, 1)
  109. Username.Position = UDim2.new(0.149144247, 0, 0.0830449834, 0)
  110. Username.Size = UDim2.new(0, 290, 0, 62)
  111. Username.Font = Enum.Font.SourceSans
  112. Username.Text = "Username"
  113. Username.TextColor3 = Color3.new(0, 0, 0)
  114. Username.TextSize = 14
  115.  
  116. Password.Name = "Password"
  117. Password.Parent = Login
  118. Password.BackgroundColor3 = Color3.new(1, 1, 1)
  119. Password.Position = UDim2.new(0.144254267, 0, 0.332179934, 0)
  120. Password.Size = UDim2.new(0, 290, 0, 62)
  121. Password.Font = Enum.Font.SourceSans
  122. Password.Text = "Password"
  123. Password.TextColor3 = Color3.new(0, 0, 0)
  124. Password.TextSize = 14
  125.  
  126. LoginButton.Name = "LoginButton"
  127. LoginButton.Parent = Login
  128. LoginButton.BackgroundColor3 = Color3.new(1, 1, 1)
  129. LoginButton.Position = UDim2.new(0.254278719, 0, 0.653979242, 0)
  130. LoginButton.Size = UDim2.new(0, 200, 0, 50)
  131. LoginButton.Font = Enum.Font.SourceSans
  132. LoginButton.Text = "Login"
  133. LoginButton.TextColor3 = Color3.new(0, 0, 0)
  134. LoginButton.TextSize = 14
  135. --------scripts
  136. TextButton.MouseButton1Click:connect(function()
  137. espframe.Visible = false
  138. TextButton.Visible = false
  139. TextButton_2.Visible = true
  140. end)
  141.  
  142. TextButton_2.MouseButton1Click:connect(function()
  143. espframe.Visible = true
  144. TextButton.Visible = true
  145. TextButton_2.Visible = false
  146. end)
  147.  
  148. esp.MouseButton1Click:connect(function()
  149. function Esp(player, username)
  150. if player ~= game:service("Players").LocalPlayer then
  151. if player.Character then
  152. local torso = player.Character:FindFirstChild("Torso")
  153. if torso then
  154. local base = Instance.new("BillboardGui")
  155. local esP = Instance.new("Frame", base)
  156. base.AlwaysOnTop = true
  157. base.Enabled = true
  158. base.Size = UDim2.new(4.5,0,6,0)
  159. base.StudsOffset = Vector3.new(0, -0.6, 0)
  160. esP.BackgroundColor3 = Color3.new(170,0,0)
  161. esP.BackgroundTransparency = 0.4
  162. esP.BorderSizePixel = 0.5
  163. esP.Size = UDim2.new(1,0,1,0)
  164. if base and workspace.CurrentCamera then
  165. base.Name = username
  166. base.Parent = workspace.CurrentCamera
  167. base.Adornee = torso
  168. end
  169. end
  170. end
  171. end
  172. end
  173.  
  174. function CheckEsp()
  175. for x,player in pairs(game:service("Players"):GetPlayers()) do
  176. if player then
  177. if player.TeamColor ~= game:service("Players").LocalPlayer.TeamColor then
  178. local char = player.Character
  179. if char then
  180. local torso = char:FindFirstChild("Torso")
  181. if torso then
  182. local currentcam = workspace.CurrentCamera
  183. local playerName = player.Name
  184. if currentcam:FindFirstChild(playerName) == nil then
  185. Esp(player, playerName)
  186. end
  187. end
  188. end
  189. end
  190. end
  191. end
  192. end
  193.  
  194. while wait(1) do
  195. CheckEsp()
  196. end
  197. end)
  198.  
  199. unlock_all.MouseButton1Click:connect(function()
  200. local a = require(game.ReplicatedStorage.AttachmentModules.Info)
  201. for i, v in next, a do
  202. v.unlockkills = 0
  203. end
  204. local b = game.ReplicatedStorage.GunModules
  205. for a,n in pairs(b:GetChildren())do
  206. local u=require(n)
  207. u.unlockrank=0
  208. end
  209. end)
  210.  
  211. LoginButton.MouseButton1Down:connect(function()
  212. if Username.Text == "ecks dee" or Username.Text == "Trial2018" and Password.Text == "nolol" or Password.Text == "Trial2018" then
  213. Login.Visible = false
  214. Main.Visible = true
  215. end
  216. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement