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

I need help with a script, can anyone help me?

Asked by 9 years ago

For 'Boston Raiders' and 'Immigrants' I do not know how I make it to were you do not have to be in group but I want it to show for everyone.

For Citizens I want it to be where you have to be in the group but a certain rank

For TCA (The Continental Army) I want it to be were you have to be in this certain rank and up.

Could anyone help me?

local config = script.Parent.bools
local player = script.Parent.Parent.Parent

if player:IsInGroup(1111913) then
config["The Continental Army"].Value = true
end

if player:IsInGroup(946336) then
config["Immigrant"].Value = true
end

if player:IsInGroup(1111913) then
config["Citizens"].Value = true
end

if player:IsInGroup(946336) then
config["Boston Raiders"].Value = true
end
0
I think you need "script.Parent.bools:GetChildren()" on line 1. GoldenPhysics 474 — 9y
0
Sperate or with the Locals? RedstoneStudios 0 — 9y
0
Either. GoldenPhysics 474 — 9y

Answer this question