0

how do i do instance.new("boolvalue" players[i])?

how do i do instance.new("boolvalue" players[i])? i want to make a value to a players in the table, but thats not working. why?

0
You want a BoolValue in every player? MarkedTomato 665 — 20d

0

Hiya, welcome to Scripting Helpers. I don't want to be the sour jelly bean but please try attempt making this your self.

For this script, you can use: Pairs an iPairs (Roblox Resource) to iterate over the players in a list

Something like:

for index, player in pairs(game:GetService("Players"):GetPlayers()) do
local BoolValue = Instance.new("BoolValue", player)
-- do something
end

0
Thank you! It worked! TemaTechYT 2 — 19d