#team spawn

47 messages · Page 1 of 1 (latest)

brittle mountain
#

WHY DID IT DELETE THE ORIGINAL MESSAGE

mint vigilBOT
#

studio** You are now Level 7! **studio

limpid jetty
#

prob because of something that it didnt want to read

brittle mountain
#

too many images?

limpid jetty
#

lol

brittle mountain
#

guess i will have to just describe it all in detail again

#

I have 3 teams.
Choosing, team1, and team2.
I have 3 spawns. One for each team.
None of the spawns are neutral.
All of the spawns have the team color set correctly.
I have a GUI for changing teams that works fine.
When I start the game it puts me on the choosing spawn.
I change my team to team1 and reset.
I spawn back on the choosing spawn.
None of the spawns have allowteamchange set to true.
I reset again.
Still on the choosing spawn.

#

I don't want to go back to the choosing spawn.

#

I have searched the dev forums and found one thread but it was answered improperly and the person in my situation remained without a solution.

verbal linden
#

Teamspawns only work when you reset but with some scripting you can teleport your character to a Teamspawn

limpid jetty
#

did u do the correct thing

mint vigilBOT
#

studio** You are now Level 22! **studio

verbal linden
#

Put the spawns in a folder called spawns

limpid jetty
limpid jetty
verbal linden
#

Dude

limpid jetty
#

all u need is just a Spawn in a far place then set a Teleport with the correct Location for each team

#

then once the Team is selected it will set the new spawn back to the new location to the team

verbal linden
#

Teamspawns don't work for teamchange

limpid jetty
#

then after the game finishes it returns back to spawn aka the original

limpid jetty
verbal linden
#

What he is saying is that whenever the player changes team it needs to bring that player to the spawn without killing or reseting the player

verbal linden
limpid jetty
#

u dont know what to do

brittle mountain
#

read the entire thing

#

again

limpid jetty
#

since making the system is much more easy than a piece of paper float in water

limpid jetty
#

and the others

verbal linden
#

Bruh

#

Now he says it himself to use a script to change the location

limpid jetty
#

its simple use the local to send the RemoteEvent to Client to ServerSide

verbal linden
#

Yeah

brittle mountain
limpid jetty
#

and make sure its in the correct place for the Team

verbal linden
#

Ah the video is wmv, can't see it, im on phone rn

limpid jetty
#

and also u can do this also after making the Team Change to the Player if they want to change team

verbal linden
#

Honestly me myself i would script the entire system so when another team goes over it it doesn't replace that other player's team to something else. Then when changing team I'd change the cframe of the character to a random spawn that has the same team, doing this by using a folder so it can loop trough it....
But hey I heard of many others I overcomplicate things, so you do you

limpid jetty
# brittle mountain ok

make sure to have a Module to set stuff like the SpawnLocations
TeamLocation setting after picking the Team

limpid jetty
# brittle mountain ok

ok good got a script for u to use to set the original spawn to not spawn players to the other places that are ment for only team

#

and it works everytime i hit play

#
local Player = game.Players
local OriginalSpawn = workspace.OriginalSpawn
function SetSpawn(player,original)
    player.CharacterAdded:Connect(function(char)
        char.LowerTorso.CFrame = original.CFrame
    end)
end
Player.PlayerAdded:Connect(function(player)
    SetSpawn(player,OriginalSpawn)
end)```
brittle mountain
#

nevermind