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

Only me spawn invisble group team to others?

Asked by
Regg12 0
10 years ago

How do I make a spawn that only I spawn on it,and if it's possible the spawn isn't visible to others on leaderboard,so they don't know there's some other spawn?Help please?

1 answer

Log in to vote
0
Answered by 10 years ago

(Sorry I don't know how to comment but this should be one)This might not work

Make two teams, and spawn locations for EACH TEAM.
For this example, you will be the yellow team, and everyone else will be the green team. 

Go to the green team's properties, and make sure it allows everyone to spawn on the green team. Then go to the yellow team, and make sure nobody can just spawn on that team. Make a script under the yellow team.

Team
    Yellow Team
            Script

Make the script say something like

team = script.Parent
team = nil

so nobody can see the team in the leaderboards

THEN

Make a script in the workspace something like this

game.Players.PlayerAdded(function () 
if player.Name == ("YOURROBLOXUSERNAMEHERE") then
player.Team = ("Yellow Team")
end)

Hope this outline helps!

0
Nope,it didn't work. Regg12 0 — 10y
0
Now, it's generally better practice to use "player.userId" rather than "player.Name" because players can change their name. GoldenPhysics 474 — 10y
Ad

Answer this question