So like:
function onTouch(Touched) if Touched.Parent:findFirstChild("Humanoid") then
So then it finds all the children of the model called Point and makes all their colours say blue (I know each of ROBLOX's 64 colours have a different number for scripting), the makes all the children (parts inside the model) blue then it
wait (30)
Then all their colours go back to white. Thank you in advance.
I believe that this is along the lines of what you want:
function onTouch(part) if part.Parent:findFirstChild("Humanoid") then for i,v in pairs(part.Parent:GetChildren) do if v:IsA("Part") then v.BrickColor=BrickColor.new("Bright blue") end end end end game.Workspace.Part.Touched:connect(onTouch)
This should change the parts of the character to blue, and with it you can easilly reverse the change. Im sorry if anything is wrong or unworking, I stopped scripting for a while so it might not work as planned.