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

How do I make a startercharacter for a specific team?

Asked by
Lakodex 711 Moderation Voter
5 years ago

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.

1
if they deleted, then why repost? EmbeddedHorror 299 — 5y
0
Because I didn't put a clear script on what i was doing Lakodex 711 — 5y

2 answers

Log in to vote
0
Answered by 5 years ago

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

0
I got an error "LoadCharacter can only be called by the backend server" Lakodex 711 — 5y
Ad
Log in to vote
0
Answered by
Lakodex 711 Moderation Voter
5 years ago

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

Answer this question