Simple capture point aka terminal script
local terminalfolder = game.ReplicatedStorage.Terminal or game:WaitForChild("ReplicatedStorage"):WaitForChild("Terminal")
local capturervalue = terminalfolder.Capturer or terminalfolder:WaitForChild("Capturer")
local official = terminalfolder.Official or terminalfolder:WaitForChild("Official")
local TextChatService = game:GetService("TextChatService")
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local adminlist = {583153}
local touchedrecently = false
local restarted = false
game.Workspace.TerminalPart.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
if official.Value and not touchedrecently then
if not restarted then
if capturervalue.Value ~= tostring(game.Players[tostring(hit.Parent)].Team) and tostring(game.Players[tostring(hit.Parent)].Team) ~= "Neutral" then
capturervalue.Value = tostring(game.Players[tostring(hit.Parent)].Team)
touchedrecently = true
task.wait(1)
touchedrecently = false
end
elseif restarted then
if hit.Parent:FindFirstChild("Humanoid") and tostring(game.Players[tostring(hit.Parent)].Team) ~= "Neutral" then
restarted = false
capturervalue.Value = tostring(game.Players[tostring(hit.Parent)].Team).." "
capturervalue.Value = tostring(game.Players[tostring(hit.Parent)].Team)
touchedrecently = true
task.wait(1)
touchedrecently = false
end
end
end
end
end)