Advertisement
Prixtongang21

Phantom Forces GUI

Jan 12th, 2019
1,039
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.53 KB | None | 0 0
  1. local a=Instance.new("ScreenGui")local b=Instance.new("Frame")local c=Instance.new("TextLabel")local d=Instance.new("TextButton")local e=Instance.new("TextButton")local f=Instance.new("TextButton")a.Name="MainGui"a.Parent=game.CoreGui;a.ResetOnSpawn=false;b.Name="MainFrame"b.Parent=a;b.BackgroundColor3=Color3.new(0,0,0)b.BorderColor3=Color3.new(1,1,1)b.BorderSizePixel=3;b.Position=UDim2.new(0.5,-300,0.5,-150)b.Size=UDim2.new(0,600,0,300)b.Active=true;b.Draggable=true;b.Visible=false;c.Name="TitleLabel"c.Parent=b;c.BackgroundColor3=Color3.new(0,0,0)c.BorderColor3=Color3.new(1,1,1)c.BorderSizePixel=3;c.Size=UDim2.new(0,600,0,50)c.Font=Enum.Font.SourceSans;c.Text="Phantom Forces Gui | Prixton#0376"c.TextColor3=Color3.new(1,1,1)c.TextSize=30;d.Name="ESPButton"d.Parent=b;d.BackgroundColor3=Color3.new(0,0,0)d.BorderColor3=Color3.new(1,1,1)d.BorderSizePixel=3;d.Position=UDim2.new(0,0,0.178000003,0)d.Size=UDim2.new(0,200,0,50)d.Font=Enum.Font.SourceSans;d.Text="ESP"d.TextColor3=Color3.new(1,1,1)d.TextSize=30;d.MouseButton1Down:connect(function()function Esp(g,j)if g~=game:service("Players").LocalPlayer then if g.Character then local k=g.Character:FindFirstChild("Torso")if k then local l=Instance.new("BillboardGui")local m=Instance.new("Frame",l)l.AlwaysOnTop=true;l.Enabled=true;l.Size=UDim2.new(4.5,0,6,0)l.StudsOffset=Vector3.new(0,-0.6,0)m.BackgroundColor3=Color3.new(170,0,0)m.BackgroundTransparency=0.4;m.BorderSizePixel=0.5;m.Size=UDim2.new(1,0,1,0)if l and workspace.CurrentCamera then l.Name=j;l.Parent=workspace.CurrentCamera;l.Adornee=k end end end end end;function CheckEsp()for n,g in pairs(game:service("Players"):GetPlayers())do if g then if g.TeamColor~=game:service("Players").LocalPlayer.TeamColor then local o=g.Character;if o then local k=o:FindFirstChild("Torso")if k then local p=workspace.CurrentCamera;local q=g.Name;if p:FindFirstChild(q)==nil then Esp(g,q)end end end end end end end;while wait(1)do CheckEsp()end end)e.Name="ChamsButton"e.Parent=b;e.BackgroundColor3=Color3.new(0,0,0)e.BorderColor3=Color3.new(1,1,1)e.BorderSizePixel=3;e.Position=UDim2.new(0.338999987,0,0.178000003,0)e.Size=UDim2.new(0,200,0,50)e.Font=Enum.Font.SourceSans;e.Text="Chams"e.TextColor3=Color3.new(1,1,1)e.TextSize=30;e.MouseButton1Down:connect(function()wait(0.5)plrs=nil;for r,s in pairs(game:GetChildren())do if s.ClassName=="Players"then plrs=s end end;while true do wait(0.1)for r,u in pairs(plrs:GetChildren())do if u.TeamColor~=plrs.LocalPlayer.TeamColor and not u.Character.Head:FindFirstChild("BillboardGui")then i=Instance.new("BillboardGui",u.Character.Head)i.Active=true;i.AlwaysOnTop=true;i.Size=UDim2.new(1,0,1,0)h=Instance.new("Frame",i)h.Size=UDim2.new(2,0,1,0)h.AnchorPoint=Vector2.new(0.25,0)h.BackgroundColor3=Color3.new(1,0,0)h.BorderSizePixel=0;h.BackgroundTransparency=0.4;i2=Instance.new("BillboardGui",u.Character.Torso)i2.Active=true;i2.AlwaysOnTop=true;i2.Size=UDim2.new(2,0,2,0)t=Instance.new("Frame",i2)t.Size=UDim2.new(1,0,1,0)t.AnchorPoint=Vector2.new(0,0)t.BackgroundColor3=Color3.new(0,1,0)t.BorderSizePixel=0;t.BackgroundTransparency=0.4;i3=Instance.new("BillboardGui",u.Character["Left Arm"])i3.Active=true;i3.AlwaysOnTop=true;i3.Size=UDim2.new(1,0,2,0)la=Instance.new("Frame",i3)la.Size=UDim2.new(1,0,1,0)la.AnchorPoint=Vector2.new(0,0)la.BackgroundColor3=Color3.new(0,0,1)la.BorderSizePixel=0;la.BackgroundTransparency=0.4;i4=Instance.new("BillboardGui",u.Character["Right Arm"])i4.Active=true;i4.AlwaysOnTop=true;i4.Size=UDim2.new(1,0,2,0)ra=Instance.new("Frame",i4)ra.Size=UDim2.new(1,0,1,0)ra.AnchorPoint=Vector2.new(0,0)ra.BackgroundColor3=Color3.new(0,0,1)ra.BorderSizePixel=0;ra.BackgroundTransparency=0.4;i5=Instance.new("BillboardGui",u.Character["Left Leg"])i5.Active=true;i5.AlwaysOnTop=true;i5.Size=UDim2.new(1,0,2,0)ll=Instance.new("Frame",i5)ll.Size=UDim2.new(1,0,1,0)ll.AnchorPoint=Vector2.new(0,0)ll.BackgroundColor3=Color3.new(0,0,1)ll.BorderSizePixel=0;ll.BackgroundTransparency=0.4;i6=Instance.new("BillboardGui",u.Character["Right Leg"])i6.Active=true;i6.AlwaysOnTop=true;i6.Size=UDim2.new(1,0,2,0)rl=Instance.new("Frame",i6)rl.Size=UDim2.new(1,0,1,0)rl.AnchorPoint=Vector2.new(0,0)rl.BackgroundColor3=Color3.new(0,0,1)rl.BorderSizePixel=0;rl.BackgroundTransparency=0.4 end end end end)f.Name="MainButton"f.Parent=a;f.BackgroundColor3=Color3.new(0,0,0)f.BorderColor3=Color3.new(1,1,1)f.BorderSizePixel=3;f.Position=UDim2.new(0,0,0.5,-25)f.Size=UDim2.new(0,200,0,50)f.Font=Enum.Font.SourceSans;f.Text="Open/Close"f.TextColor3=Color3.new(1,1,1)f.TextSize=30;f.MouseButton1Down:connect(function()if b.Visible==false then b.Visible=true else b.Visible=false end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement