script.Parent.ProximityPrompt.Triggered:Connect(function(player)
game.Workspace.Computer.Screen = BrickColor.new("Lime green")
script.Parent.ProximityPrompt.Enabled = false
print("Computer hacking compleat")
end)
✓ ANSWER ACCEPTED
it say "Screen is not a valid member of Model "Workspace.Computer" what i do wrong?
1 answer
✓ Accepted answer
Is the Screen inside the Computer model or somewhere else, also If you want to change the brickcolor of a part you would call its BrickColor property not the part itself so it would look more like this
script.Parent.ProximityPrompt.Triggered:Connect(function(player)
game.Workspace.Computer.Screen.BrickColor = BrickColor.new("Lime green")
script.Parent.ProximityPrompt.Enabled = false
print("Computer hacking compleat")
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
answer me pls
im have this problem im have some confuse