#team spawn
47 messages · Page 1 of 1 (latest)
** You are now Level 7! **
prob because of something that it didnt want to read
too many images?
lol
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.
Teamspawns only work when you reset but with some scripting you can teleport your character to a Teamspawn
did u do the correct thing
** You are now Level 22! **
Put the spawns in a folder called spawns
u dont need that its easy to set spawn to the Player for the team
and u dont need that
Dude
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
Teamspawns don't work for teamchange
then after the game finishes it returns back to spawn aka the original
it does
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
It doesn't
no
u dont know what to do
since making the system is much more easy than a piece of paper float in water
use a Remote Event to change the location of the CharacterModel
and the others
I certainly know what to do, I just don't understand what he is trying to do
Bruh
Now he says it himself to use a script to change the location
its simple use the local to send the RemoteEvent to Client to ServerSide
Yeah
ok
and make sure its in the correct place for the Team
Ah the video is wmv, can't see it, im on phone rn
and also u can do this also after making the Team Change to the Player if they want to change team
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
make sure to have a Module to set stuff like the SpawnLocations
TeamLocation setting after picking the Team
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)```
is this a local script or a module script?
nevermind