Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make servers locked after a teleportation of 1/8 players happens? [closed]

Asked by
hokyboy 270 Moderation Voter
4 years ago
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

0
Make an attempt. hiimgoodpack 2009 — 4y
0
@hiimoodpack hes not asking for a script, hes asking for how do it. its a concept question EmbeddedHorror 299 — 4y

Closed as Not Constructive by hiimgoodpack, EmbeddedHorror, programmerHere, and Sonnenroboter

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?