Advertisement
SirMeme

PHANTOM LX 2.0 GUI / MADE BY FlameExecutor

Jul 15th, 2018
12,221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.29 KB | None | 0 0
  1. -- What i made it with
  2.  
  3. local PhantomLxUi = Instance.new("ScreenGui")
  4. local PhantomFrame = Instance.new("Frame")
  5. local Fly = Instance.new("TextButton")
  6. local EspChams = Instance.new("TextButton")
  7. local Esp = Instance.new("TextButton")
  8. local Credits = Instance.new("TextLabel")
  9. local ImageLabel = Instance.new("ImageLabel")
  10. local RemoveMap = Instance.new("TextButton")
  11. local Destroy = Instance.new("TextButton")
  12. local Close = Instance.new("TextButton")
  13. local Toggle = Instance.new("TextButton")
  14.  
  15. -- the fucking buttons
  16.  
  17. PhantomLxUi.Name = "PhantomLxUi"
  18. PhantomLxUi.Parent = game.CoreGui
  19.  
  20. PhantomFrame.Name = "PhantomFrame"
  21. PhantomFrame.Parent = PhantomLxUi
  22. PhantomFrame.Active = true
  23. PhantomFrame.Draggable=true
  24. PhantomFrame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  25. PhantomFrame.BorderColor3 = Color3.new(1, 0.333333, 0)
  26. PhantomFrame.BorderSizePixel = 2
  27. PhantomFrame.Position = UDim2.new(0.308567107, 0, 0.130237818, 0)
  28. PhantomFrame.Selectable = true
  29. PhantomFrame.Size = UDim2.new(0, 566, 0, 482)
  30.  
  31. Fly.Name = "Fly"
  32. Fly.Parent = PhantomFrame
  33. Fly.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  34. Fly.BorderColor3 = Color3.new(1, 0.333333, 0)
  35. Fly.BorderSizePixel = 2
  36. Fly.Position = UDim2.new(0.0742049441, 0, 0.302904576, 0)
  37. Fly.Size = UDim2.new(0, 200, 0, 50)
  38. Fly.Font = Enum.Font.SourceSans
  39. Fly.Text = "Fly"
  40. Fly.TextColor3 = Color3.new(1, 1, 0)
  41. Fly.TextSize = 20
  42.  
  43. EspChams.Name = "Esp Chams"
  44. EspChams.Parent = PhantomFrame
  45. EspChams.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  46. EspChams.BorderColor3 = Color3.new(1, 0.333333, 0)
  47. EspChams.BorderSizePixel = 2
  48. EspChams.Position = UDim2.new(0.560070634, 0, 0.572614133, 0)
  49. EspChams.Size = UDim2.new(0, 200, 0, 50)
  50. EspChams.Font = Enum.Font.SourceSans
  51. EspChams.Text = "Esp Chams"
  52. EspChams.TextColor3 = Color3.new(1, 1, 0)
  53. EspChams.TextSize = 20
  54.  
  55. Esp.Name = "Esp"
  56. Esp.Parent = PhantomFrame
  57. Esp.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  58. Esp.BorderColor3 = Color3.new(1, 0.333333, 0)
  59. Esp.BorderSizePixel = 2
  60. Esp.Position = UDim2.new(0.0742049441, 0, 0.572614133, 0)
  61. Esp.Size = UDim2.new(0, 200, 0, 50)
  62. Esp.Font = Enum.Font.SourceSans
  63. Esp.Text = "Esp"
  64. Esp.TextColor3 = Color3.new(1, 1, 0)
  65. Esp.TextSize = 20
  66.  
  67. Credits.Name = "Credits"
  68. Credits.Parent = PhantomFrame
  69. Credits.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  70. Credits.BorderColor3 = Color3.new(1, 0.333333, 0)
  71. Credits.BorderSizePixel = 2
  72. Credits.Position = UDim2.new(0, 0, 0.933609962, 0)
  73. Credits.Size = UDim2.new(0, 566, 0, 32)
  74. Credits.Font = Enum.Font.SourceSans
  75. Credits.Text = "Made by ThisW0ntGetBanned#7965, Youtube FlameExecutor :)"
  76. Credits.TextColor3 = Color3.new(1, 1, 0)
  77. Credits.TextSize = 20
  78.  
  79. ImageLabel.Parent = PhantomFrame
  80. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  81. ImageLabel.BackgroundTransparency = 1
  82. ImageLabel.Position = UDim2.new(0.157243818, 0, 0.0414937772, 0)
  83. ImageLabel.Size = UDim2.new(0, 365, 0, 66)
  84. ImageLabel.Image = "rbxassetid://2050622533"
  85.  
  86. RemoveMap.Name = "Remove Map"
  87. RemoveMap.Parent = PhantomFrame
  88. RemoveMap.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  89. RemoveMap.BorderColor3 = Color3.new(1, 0.333333, 0)
  90. RemoveMap.BorderSizePixel = 2
  91. RemoveMap.Position = UDim2.new(0.560070634, 0, 0.302904576, 0)
  92. RemoveMap.Size = UDim2.new(0, 200, 0, 50)
  93. RemoveMap.Font = Enum.Font.SourceSans
  94. RemoveMap.Text = "Remove Map"
  95. RemoveMap.TextColor3 = Color3.new(1, 1, 0)
  96. RemoveMap.TextSize = 20
  97.  
  98. Destroy.Name = "Destroy"
  99. Destroy.Parent = PhantomFrame
  100. Destroy.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  101. Destroy.BorderColor3 = Color3.new(1, 0.333333, 0)
  102. Destroy.BorderSizePixel = 2
  103. Destroy.Size = UDim2.new(0, 83, 0, 28)
  104. Destroy.Font = Enum.Font.SourceSans
  105. Destroy.Text = "Toggle close"
  106. Destroy.TextColor3 = Color3.new(1, 1, 0)
  107. Destroy.TextSize = 18
  108. Destroy.TextWrapped = true
  109.  
  110. Close.Name = "Close"
  111. Close.Parent = PhantomFrame
  112. Close.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  113. Close.BorderColor3 = Color3.new(1, 0.333333, 0)
  114. Close.BorderSizePixel = 2
  115. Close.Position = UDim2.new(0.853356898, 0, 0, 0)
  116. Close.Size = UDim2.new(0, 83, 0, 28)
  117. Close.Font = Enum.Font.SourceSans
  118. Close.Text = "Toggle close"
  119. Close.TextColor3 = Color3.new(1, 1, 0)
  120. Close.TextSize = 18
  121. Close.TextWrapped = true
  122.  
  123. Toggle.Name = "Toggle"
  124. Toggle.Parent = PhantomLxUi
  125. Toggle.BackgroundColor3 = Color3.new(0, 0, 1)
  126. Toggle.BorderSizePixel = 2
  127. Toggle.Position = UDim2.new(0, 0, 0.352208376, 0)
  128. Toggle.Size = UDim2.new(0, 200, 0, 50)
  129. Toggle.Visible = false
  130. Toggle.Font = Enum.Font.SourceSans
  131. Toggle.Text = "Toggle Open/close"
  132. Toggle.TextColor3 = Color3.new(0, 0, 0)
  133. Toggle.TextSize = 20
  134.  
  135. -- Script Nibba --
  136.  
  137. Close.MouseButton1Click:connect(function()
  138. PhantomFrame.Visible=false
  139. Toggle.Visible=true
  140. end)
  141.  
  142. Toggle.MouseButton1Click:connect(function()
  143. PhantomFrame.Visible=true
  144. Toggle.Visible=false
  145. end)
  146.  
  147. Destroy.MouseButton1Click:connect(function()
  148. PhantomFrame:Destroy()
  149. end)
  150.  
  151. Fly.MouseButton1Click:connect(function()
  152. local Player = game:GetService("Players").LocalPlayer;
  153. local UserInputService = game:GetService("UserInputService");
  154. local Bricks = {};
  155. local Space;
  156. local WalkInAir = false;
  157.  
  158. UserInputService.InputBegan:Connect(function(
  159. InputObject,
  160. GameProcessedEvent
  161. )
  162. if (
  163. (not GameProcessedEvent) and
  164. (InputObject.UserInputType == Enum.UserInputType.Keyboard)
  165. ) then
  166. if (InputObject.KeyCode == Enum.KeyCode.P) then
  167. for Key, Value in next, Bricks do
  168. Value:Destroy();
  169. end;
  170. elseif (InputObject.KeyCode == Enum.KeyCode.Space) then
  171. Space = true;
  172. elseif (InputObject.KeyCode == Enum.KeyCode.L) then
  173. WalkInAir = (not WalkInAir);
  174. end;
  175. end;
  176. end);
  177.  
  178. UserInputService.InputEnded:Connect(function(
  179. InputObject,
  180. GameProcessedEvent
  181. )
  182. if (
  183. (not GameProcessedEvent) and
  184. (InputObject.UserInputType == Enum.UserInputType.Keyboard)
  185. ) then
  186. if (InputObject.KeyCode == Enum.KeyCode.Space) then
  187. Space = nil;
  188. end;
  189. end;
  190. end);
  191.  
  192. local LastPosition = Vector3.new(0, 0, 0);
  193.  
  194. game:GetService("RunService").RenderStepped:Connect(function()
  195. local PositionChanged;
  196. local Torso = (
  197. Player.Character or
  198. Player.CharacterAdded:wait()
  199. ):WaitForChild("Torso");
  200. if ((Torso.Position - LastPosition).Magnitude > 0.75) then
  201. PositionChanged = true;
  202. end;
  203. if (Space or (WalkInAir and PositionChanged)) then
  204. local FlyBrick = Instance.new("Part",
  205. (
  206. Torso:GetChildren()[1] or
  207. Torso
  208. )
  209. );
  210. FlyBrick.Transparency = 1;
  211. FlyBrick.Anchored = true;
  212. FlyBrick.CFrame = (
  213. Torso.CFrame *
  214. CFrame.new(0, -2.25, 0)
  215. );
  216. FlyBrick.Size = Vector3.new(5, 0.05, 5);
  217. FlyBrick.BrickColor = BrickColor.new("Institutional white");
  218. FlyBrick.Locked = true;
  219. FlyBrick.TopSurface = Enum.SurfaceType.SmoothNoOutlines;
  220. FlyBrick.BottomSurface = FlyBrick.TopSurface;
  221. FlyBrick.RightSurface = FlyBrick.TopSurface;
  222. FlyBrick.LeftSurface = FlyBrick.TopSurface;
  223. FlyBrick.FrontSurface = FlyBrick.TopSurface;
  224. FlyBrick.BackSurface = FlyBrick.TopSurface;
  225. Bricks[#Bricks + 1] = FlyBrick;
  226. end;
  227. LastPosition = Torso.Position;
  228. end)
  229. end)
  230.  
  231. Esp.MouseButton1Click:connect(function()
  232. function Esp(player, username)
  233. if player ~= game:service("Players").LocalPlayer then
  234. if player.Character then
  235. local torso = player.Character:FindFirstChild("Torso")
  236. if torso then
  237. local base = Instance.new("BillboardGui")
  238. local esP = Instance.new("Frame", base)
  239. base.AlwaysOnTop = true
  240. base.Enabled = true
  241. base.Size = UDim2.new(4.5,0,6,0)
  242. base.StudsOffset = Vector3.new(0, -0.6, 0)
  243. esP.BackgroundColor3 = Color3.new(170,0,0)
  244. esP.BackgroundTransparency = 0.4
  245. esP.BorderSizePixel = 0.5
  246. esP.Size = UDim2.new(1,0,1,0)
  247. if base and workspace.CurrentCamera then
  248. base.Name = username
  249. base.Parent = workspace.CurrentCamera
  250. base.Adornee = torso
  251. end
  252. end
  253. end
  254. end
  255. end
  256.  
  257. function CheckEsp()
  258. for x,player in pairs(game:service("Players"):GetPlayers()) do
  259. if player then
  260. if player.TeamColor ~= game:service("Players").LocalPlayer.TeamColor then
  261. local char = player.Character
  262. if char then
  263. local torso = char:FindFirstChild("Torso")
  264. if torso then
  265. local currentcam = workspace.CurrentCamera
  266. local playerName = player.Name
  267. if currentcam:FindFirstChild(playerName) == nil then
  268. Esp(player, playerName)
  269. end
  270. end
  271. end
  272. end
  273. end
  274. end
  275. end
  276.  
  277. while wait(1) do
  278. CheckEsp()
  279. end
  280. end)
  281.  
  282. EspChams.MouseButton1Click:connect(function()
  283. -- Phantom forces Esp Chams, made by ThisW0ntGetbanned#7965, :/
  284. wait(0.5)
  285.  
  286. plrs = nil
  287. for _,p in pairs(game:GetChildren()) do
  288. if p.ClassName == ("Players") then
  289. plrs = p
  290. end
  291. end
  292.  
  293.  
  294. while true do
  295. wait(0.1)
  296. for _, v in pairs(plrs:GetChildren()) do
  297. if v.TeamColor ~= plrs.LocalPlayer.TeamColor and not v.Character.Head:FindFirstChild("BillboardGui") then -- ~=
  298. i = Instance.new("BillboardGui",v.Character.Head)
  299. i.Active = true
  300. i.AlwaysOnTop = true
  301. i.Size = UDim2.new(1,0,1,0)
  302. h = Instance.new("Frame",i)
  303. h.Size = UDim2.new(2,0,1,0)
  304. h.AnchorPoint = Vector2.new(0.25, 0)
  305. h.BackgroundColor3 = Color3.new(1,0,0)
  306. h.BorderSizePixel = 0
  307. h.BackgroundTransparency = 0.4
  308.  
  309. i2 = Instance.new("BillboardGui",v.Character.Torso)
  310. i2.Active = true
  311. i2.AlwaysOnTop = true
  312. i2.Size = UDim2.new(2,0,2,0)
  313. t = Instance.new("Frame",i2)
  314. t.Size = UDim2.new(1,0,1,0)
  315. t.AnchorPoint = Vector2.new(0, 0)
  316. t.BackgroundColor3 = Color3.new(0,1,0)
  317. t.BorderSizePixel = 0
  318. t.BackgroundTransparency = 0.4
  319.  
  320. i3 = Instance.new("BillboardGui",v.Character["Left Arm"])
  321. i3.Active = true
  322. i3.AlwaysOnTop = true
  323. i3.Size = UDim2.new(1,0,2,0)
  324. la = Instance.new("Frame",i3)
  325. la.Size = UDim2.new(1,0,1,0)
  326. la.AnchorPoint = Vector2.new(0, 0)
  327. la.BackgroundColor3 = Color3.new(0,0,1)
  328. la.BorderSizePixel = 0
  329. la.BackgroundTransparency = 0.4
  330.  
  331. i4 = Instance.new("BillboardGui",v.Character["Right Arm"])
  332. i4.Active = true
  333. i4.AlwaysOnTop = true
  334. i4.Size = UDim2.new(1,0,2,0)
  335. ra = Instance.new("Frame",i4)
  336. ra.Size = UDim2.new(1,0,1,0)
  337. ra.AnchorPoint = Vector2.new(0, 0)
  338. ra.BackgroundColor3 = Color3.new(0,0,1)
  339. ra.BorderSizePixel = 0
  340. ra.BackgroundTransparency = 0.4
  341.  
  342. i5 = Instance.new("BillboardGui",v.Character["Left Leg"])
  343. i5.Active = true
  344. i5.AlwaysOnTop = true
  345. i5.Size = UDim2.new(1,0,2,0)
  346. ll = Instance.new("Frame",i5)
  347. ll.Size = UDim2.new(1,0,1,0)
  348. ll.AnchorPoint = Vector2.new(0, 0)
  349. ll.BackgroundColor3 = Color3.new(0,0,1)
  350. ll.BorderSizePixel = 0
  351. ll.BackgroundTransparency = 0.4
  352.  
  353. i6 = Instance.new("BillboardGui",v.Character["Right Leg"])
  354. i6.Active = true
  355. i6.AlwaysOnTop = true
  356. i6.Size = UDim2.new(1,0,2,0)
  357. rl = Instance.new("Frame",i6)
  358. rl.Size = UDim2.new(1,0,1,0)
  359. rl.AnchorPoint = Vector2.new(0, 0)
  360. rl.BackgroundColor3 = Color3.new(0,0,1)
  361. rl.BorderSizePixel = 0
  362. rl.BackgroundTransparency = 0.4
  363.  
  364. end
  365. end
  366. end
  367. end)
  368.  
  369. RemoveMap.MouseButton1Click:connect(function()
  370. local Move = game.Workspace.Map
  371. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  372. local Players = game:GetService("Players")
  373. local mouse = Players.LocalPlayer:GetMouse()
  374. local a = false
  375.  
  376. mouse.KeyDown:Connect(function(key)
  377. if key == "e" then
  378. if a == false then
  379. Move.Parent = ReplicatedStorage
  380. Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  381. a = true
  382. elseif a == true then
  383. Move.Parent = game.Workspace
  384. Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
  385. a = false
  386. end
  387. end
  388. end)
  389. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement