Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

it say "Screen is not a valid member of Model "Workspace.Computer" what i do wrong?

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)

2 comments

0

answer me pls

0

im have this problem im have some confuse

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.