Phantom Forces GUI Script Cheat
Phantom Forces GUI Script Cheat
local rs = game:GetService("RunService")
local uis = game:GetService("UserInputService")
local smoothing = 1
local fov = 500
local wallCheck = false
local maxWalls = 0
local abTargetPart = "Head"
local FOVringList = {}
FOVringList = {}
FOVringList[#FOVringList+1] = FOVring
local team
if game.Players.LocalPlayer.Team.Name == "Ghosts" then team =
"Phantoms" else team = "Ghosts" end
saLoop = rs.RenderStepped:Connect(function()
for i,v in pairs(saFovRingList) do
v:Remove()
end
saFovRingList = {}
if not sa then return end
local FOVring = Drawing.new("Circle")
FOVring.Visible = true
FOVring.Thickness = 2
FOVring.Radius = safov / workspace.CurrentCamera.FieldOfView
FOVring.Transparency = 1
FOVring.Color = AbColor
FOVring.Position = game.Workspace.CurrentCamera.ViewportSize/2
saFovRingList[#saFovRingList+1] = FOVring
local team
if game.Players.LocalPlayer.Team.Name == "Ghosts" then team = "Phantoms" else
team = "Ghosts" end
local targetPos
local last = Vector2.new(math.huge, math.huge)
if game.Workspace.Players:FindFirstChild(team) then
for i,v in pairs(game.Workspace.Players:FindFirstChild(team):GetChildren())
do
local pos = v[saTargetPart].Position
local ScreenSpacePos, IsOnScreen =
game.Workspace.CurrentCamera:WorldToViewportPoint(pos)
ScreenSpacePos = Vector2.new(ScreenSpacePos.X, ScreenSpacePos.Y) -
game.Workspace.CurrentCamera.ViewportSize/2
if (v[saTargetPart].Position -
Workspace.CurrentCamera.CFrame.Position).Magnitude <= panicDistance and panicMode
then
targetPos = pos
break
end
if sa and motor and gunCF and Self == motor and Key == "C0" then
return OldIndex(Self, Key, gunCF)
end
return OldIndex(...)
end))
local LineList = {}
local width = 3
local height = 5
local team
if game.Players.LocalPlayer.Team.Name == "Ghosts" then team =
"Phantoms" else team = "Ghosts" end
LineList = {}
if game.Workspace.Players:FindFirstChild(team) then
for i,v in
pairs(game.Workspace.Players:FindFirstChild(team):GetChildren()) do
local pos = v.PrimaryPart.Position
local ScreenSpacePos, IsOnScreen =
game.Workspace.CurrentCamera:WorldToViewportPoint(pos)
a =
game.Workspace.CurrentCamera:WorldToViewportPoint(v.Torso.CFrame:PointToWorldSpace(
Vector3.new(width/2, height/2, 0)))
b =
game.Workspace.CurrentCamera:WorldToViewportPoint(v.Torso.CFrame:PointToWorldSpace(
Vector3.new(-width/2, height/2, 0)))
c =
game.Workspace.CurrentCamera:WorldToViewportPoint(v.Torso.CFrame:PointToWorldSpace(
Vector3.new(-width/2, -height/2, 0)))
d =
game.Workspace.CurrentCamera:WorldToViewportPoint(v.Torso.CFrame:PointToWorldSpace(
Vector3.new(width/2, -height/2, 0)))
a = Vector2.new(a.X, a.Y)
b = Vector2.new(b.X, b.Y)
c = Vector2.new(c.X, c.Y)
d = Vector2.new(d.X, d.Y)
if IsOnScreen then
local Line = Drawing.new("Quad")
Line.Visible = true
Line.PointA = a
Line.PointB = b
Line.PointC = c
Line.PointD = d
Line.Color = EspColor
Line.Thickness = 2
Line.Transparency = 1
LineList[#LineList+1] = Line
end
end
end
end)
else
espLoop:Disconnect()
for i,v in pairs(LineList) do
v:Remove()
end
LineList = {}
end
end)