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

Anyway to disable spawns?

Asked by 10 years ago

I am currently making a game and I was wondering if there was any possible way to disable a spawn location? If so please do respond, I check wiki.roblox and it says nothing about it.

3 answers

Log in to vote
1
Answered by
BlueTaslem 18071 Moderation Voter Administrator Community Moderator Super Administrator
10 years ago

SpawnLocations cannot be disabled.


Players will only spawn on SpawnLocations that match their Neutral and TeamColor properties.

If one is modified to not match any Player, no Player will spawn on that SpawnLocation.

Ad
Log in to vote
0
Answered by 10 years ago

You can just move it somewhere else like this:

a=game.Workspace.Spawnpoint
a:Clone().Parent=Lighting
a:Remove()

I am not sure if there are any errors but I think its correct like that and if you want to move it back

b=game.Lighting.Spawnpoint
b:Clone().Parent=Workspace

If you have any questions ask me.Other then that BlueTas is right.

Log in to vote
0
Answered by 10 years ago

I guess you have to use :Remove() but then make a new Instance when you want to enable it again.

Answer this question