local TeleportService = game:GetService("TeleportService")
local gameID = 4400018071
               

function onTouch(hit)
	local player = game.Players:GetPlayerFromCharacter(hit.Parent)
	if player then
		TeleportService:Teleport(gameID, player)
		
	end
end
script.Parent.Touched:Connect(onTouch)

I use this script to drive a car into a black hole I would prefer if it was timed so it wasn't so buggy also I want the server to lock after 1/8 players have joined so if a game started no more people can join it

2 comments

0

Make an attempt.

0

@hiimoodpack hes not asking for a script, hes asking for how do it. its a concept question