#need a scripter

82 messages · Page 1 of 1 (latest)

visual ermine
#

i dont think this will get anything

#

but what do you need help with?

sonic abyss
visual ermine
sonic abyss
#

one sec

sonic abyss
# visual ermine like?

how i can make a system were player on a team spawn or wenn a map is voted and then teleportet guns stuff like that

empty raptorBOT
#

studio** You are now Level 3! **studio

visual ermine
#

ig first off create a team instance

#

1 or 2 teams idk how much you want into the teams category

sonic abyss
#

ok

visual ermine
#

then

meager nexus
#

Ill accept

visual ermine
#

create a script

meager nexus
#

I caan do everything

#

10R$ right

visual ermine
#

a server script into serverscript service @sonic abyss

sonic abyss
meager nexus
#

Ok ya i can do everything

visual ermine
#

how many teams did you add? @sonic abyss

sonic abyss
#

2

visual ermine
#

actually wait hold up

#

then say this inside the function

for _, v in pairs(game.Teams:GetChildren()) do

end

sonic abyss
#

i,m confused

visual ermine
#

ok look ill just make a script

#

and ill send it

#

when im done

sonic abyss
visual ermine
sonic abyss
#

ok

visual ermine
#

nvm

game.Players.PlayerAdded:Connect(function(plr)
local teams = game.Teams:GetChildren()
local randomTeam = teams[math.random(1, #teams)]

plr.Team = randomTeam

end)

#

@sonic abyss

#

this is the script

#

that picks the random team

#

ill brb

sonic abyss
#

don't roblox alredy pick a random team

visual ermine
#

i mean if you want a more organized system

#

this is the way to do it

sonic abyss
#

oh ok

visual ermine
#

cuz like what if you want the players to automatically be a no team

#

and then assign the team

#

after the click play button or something

#

you get it?

#

ill brb now

visual ermine
sonic abyss
#

ok

sonic abyss
visual ermine
#

its free

sonic abyss
#

really?

visual ermine
#

lmk if you need anything else

sonic abyss
#

ty

visual ermine
sonic abyss
#

how i can make a system were player on a team spawn or wenn a map is voted and then teleportet guns stuff like that

#

this?

sonic abyss
#

ok and the team script?

visual ermine
#

whatever you need i can help with

sonic abyss
#

ok

visual ermine
#

but also one thing, you shouldnt rely on someone else, id prefer learning how to script

sonic abyss
#

so waht code do i use for the teams?

visual ermine
#

and i took so many pauses

visual ermine
sonic abyss
visual ermine
#

oh

sonic abyss
#

one sec

#

game.Players.PlayerAdded:Connect(function(plr)
local teams = game.Teams:GetChildren()
local randomTeam = teams[math.random(1, #teams)]

plr.Team = randomTeam

end)

#

or this

#

game.Players.PlayerAdded:Connect(function(plr)

end)

visual ermine
#

make the teams you want to give when spawning like red and blue

#

autoassignable = false

#

and make the main menu team or like no team autoassignable = true

#

i gotta do some other things rn ill help you later ok? @sonic abyss

sly bloom