Big problem
4 posters
Page 1 of 1
Big problem
So i wanted to script my place, but i have a problem.
Has anybody got te script for when EXAMPLEINTEGER is 50, the teams will be arranged 3 people in black and all the rest in red?
Has anybody got te script for when EXAMPLEINTEGER is 50, the teams will be arranged 3 people in black and all the rest in red?
Intern33t
Re: Big problem
No, I'm sorry I don't. But, if you need other scripting help, I MAY be able to assist.
Re: Big problem
if EXAMPLEINTEGER == 50 then
r = game.Players:GetPlayers()
for i=1,3 do
local a = math.random(#r)
r[a].TeamColor = BrickColor.new("Really black")
table.remove(r,a)
end
for _,v in pairs(r) do
v.TeamColor = BrickColor.new("Really red")
end
end
r = game.Players:GetPlayers()
for i=1,3 do
local a = math.random(#r)
r[a].TeamColor = BrickColor.new("Really black")
table.remove(r,a)
end
for _,v in pairs(r) do
v.TeamColor = BrickColor.new("Really red")
end
end
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|