of     1   

uNewt
#221224763Thursday, July 13, 2017 6:17 PM GMT

This isn't necessarily a "how do I," but would it be possible to group a bunch of neon parts (Ie. Model containing a bunch of separate parts) and have them change color for different scenarios? I ask this bc I'm pretty much just a builder, but I wanna learn more about how to spruce up some of my builds with script voodoo.
Niveum
#221224940Thursday, July 13, 2017 6:20 PM GMT

of course! you'd want something like: local model = -- your model for i, v in pairs(model:GetChildren()) do -- read up on for loops and pairs if v:IsA("BasePart") then -- ifs & methods v.BrickColor = -- desired brickcolor, object properties end end ~ S P I C Y ~
uNewt
#221225259Thursday, July 13, 2017 6:24 PM GMT

And I'm guessing it'd be pretty simple to make it activated by something like a voice command?
RobuxLife
#221225510Thursday, July 13, 2017 6:28 PM GMT

Yep! Just do what the first reply said, but make it a .Chatted event.
Niveum
#221225517Thursday, July 13, 2017 6:28 PM GMT

yes indeed local chatters = {"Admin","Better_Admin","Owner"} game.Players.PlayerAdded:connect(function(plr) plr.Chatted:connect(function(msg) if msg == "your command here" then ColorChange(arguments for model) -- previously defined function to change model colors elseif msg == "other command" then ColorChange(arguments for model) end end) end) something along those lines ~ S P I C Y ~
Niveum
#221225578Thursday, July 13, 2017 6:29 PM GMT

oh shoot i forgot to make it verify through the table, but hey, whats the fun if you don't figure out some of it yourself :D ~ S P I C Y ~
Gomlsauresrex
#221225672Thursday, July 13, 2017 6:30 PM GMT

Yes with a Chatted event. for _,v in pairs(game.Players:GetPlayers()) do v.Chatted:Connect(function(msg) msg=msg:lower() if msg=="colourchange" then local model=workspace:FindFirstChildOfClass("Model") for _,v in pairs(model:GetChildren()) do if v:IsA("Part") or v:IsA("BasePart") then v.BrickColor=BrickColor.Random() end end end end) end
uNewt
#221225809Thursday, July 13, 2017 6:32 PM GMT

Thanks! Gonna play with some of these at my build hub.

    of     1