#simple team problem

1 messages · Page 1 of 1 (latest)

hearty depot
#

This seems pretty easy to fix but I don't entirely know how to go about it any help will be appreciated but I am trying to make it so when the game detects a model being Noob Guest Acorn or Bacon they get put onto a team called players but I am using a serverscript and it says "attempt to index nil with 'Character' anyways here's the script. I've moved it around a bit thought of how I can get it to find the player.Character and everything but I can't seem to find out how and it always feels like the easiest problems screw me up.

red shell
#

players.localplayer

#

is for local script

#

server script does not use player.localplayer

runic mica
#

Yes

#

Use player added event from players service

hearty depot
#

Oh i knew it was a simple problem thanks

hearty depot
runic mica
runic mica
hearty depot
sterile minnowBOT
#

studio** You are now Level 5! **studio

quiet agate
runic mica
#

mb

#
local character = player.Character or player.CharacterApperanceLoaded:Wait()
#

if you dont make a character variable then you dont have an easy reference to the character

hearty depot
#

it still gives me this

runic mica
#

you typed the wrong thing

hearty depot
runic mica
#

Send whole script please 💔

runic mica
#

?