Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a startercharacter for a specific team?

I've Tried already asking and already scripting ( Was Removed by a admin )

I've Searched the whole site and I cannot find my answer, and the admins of this site thinks its cool to delete an actual question. I've even tried asking my friend "ademyst" BTW the scripter of "HMM..." and hes on do not disturb at the moment on discord so its kinda hard to ask him. I really want to make a black ops type game instead Its SCP Black ops. I just cannot find a way to do it witch did not work

MY SCRIPT:

local player = game.Players.LocalPlayer

if player.Team == game.Teams.Chaos then game.Teams.Chaos.StarterCharacter:Clone().Parent = game.StarterPlayer end

( ITS A LOCALSCRIPT INSIDE OF STARTERCHARACTERSCRIPTS )

Please Fix the Script. I'm fairly newish to this type of scripting.

2 comments

1

if they deleted, then why repost?

0

Because I didn't put a clear script on what i was doing

2 answers

✓ Accepted answer

You forgot to put it in StarterCharacterScripts

local Players = game:GetService("Players")
local StarterPlayer = game:GetService("StarterPlayer")
local Teams = game:GetService("Teams")
local Player = Players.LocalPlayer

if Player.Team == Teams.Chaos then
    Teams.Chaos.StarterCharacter:Clone().Parent = StarterPlayer.StarterCharacterScripts
    Player:LoadCharacter()
end

1 comment

0

I got an error "LoadCharacter can only be called by the backend server"

I'll Just accept answer. and try again to make another. Nobody is giving me a good answer

This discussion is preserved as it was. New answers, comments, and votes are closed.