ChatGui = game.Players:WaitForChild("DevSeveral").DevSeveral.PlayerGui
Part = script.Parent
Part.ClickDetector.MouseClick:Connect(function(pussy2)
Part.BrickColor = BrickColor.new("Bright yellow")
Part.Anchored = true
Part.Transparency = .2
wait(2)
ChatGui:Remove()
wait(2)
if Part.BrickColor == ("Bright yellow") then
print('Part is bright yellow')
wait(.01)
print('Changing...')
Part.BrickColor = BrickColor.new("Alder")
end
end)
For first script issue error: DevSeveral is not a valid member of Player
For second script issue error: There is none
The first line gets an error and I do not believe the waitforchild is working, also the script:
if Part.BrickColor == ("Bright yellow") then
print('Part is bright yellow')
wait(.01)
print('Changing...')
Part.BrickColor = BrickColor.new("Alder")
end
Won't work
