Help on making a restricted area

Hello Devfourm, I am looking for a script that will display a GUI when you enter a specific area. There will be a countdown on the GUI and after that the player will die.

Something like this:

Thanks,
Kazok

local teams {"Team1", "Team 2"}

function onTouch(hit)
	if game.Players:FindFirstChild(hit.Parent.Name) then
		if not teams then 
			display gui and start countdown
		end
	end
end

script.Parent.Touched:Connect(onTouch)

it should be something like that

Can you just set up a region3 around the restricted area?

1 Like

Same problem, uh anyone can make like this i can pay some robux :slight_smile:

1 Like