Capture a point.

Can anybody help me make a capture point?

What i need help to:
-It needs to be an Ent so I can place it in a Map.
-when it is captured it needs to run this:
timer.Create( “capture”, 60, 0, function()
end )
-when i player is in a “range” it is being captured
-if another player enters and the first player isn’t there, he can capture.
-if the first player is there he needs to kill the first player before he can capture it.

I know it’s a lot, but can anybody help me?



how to find if players are in x units away
for k,v in pairs(ents.FindInSphere( self:GetPos(), size around )) do --I think I wrote the getpos wrong
–it’s a player, so start capturing


Hmm, one part of it done :smiley: Thanks

For the Capture part chould i add a timer and when the timer is 30sec, the “Building” goes to the owner? Can anybody help with that?