#how do i get all objects/parts with a tag inside a local script not server script

18 messages · Page 1 of 1 (latest)

storm berry
#

I've been trying for the past 1-2 hours to make it so all objects with a tag change color locally but nothing ever works unless its a server script, anyone know how to fix it?

lyric lagoon
#

Else localscripts wont execute

storm berry
lyric lagoon
#

Script?

storm berry
storm berry
# lyric lagoon Script?

local CollectionService = game:GetService("CollectionService")
local Tag = "OutsideLights"

for _, Part in CollectionService:GetTagged(Tag) do
Part.Transparency = 1
end

#

basically

#

its not changeing the part

lyric lagoon
#

Make sure the parts are loaded in

storm berry
#

good point

#

although

burnt mulchBOT
#

studio** You are now Level 1! **studio

storm berry
#

i dont see a way how to make sure its loaded

#

ii really dont get why this doesnt work

#

whenever i made it a server script

#

it worked

#

but when i made it local