Difficulty getting image to pop up?
Asked by
4 years ago Edited 4 years ago
I can't get the image to pop up when I use this script. Everything in the Explorer is named correct.
1 | local carSeat = game.Workspace.ParkingLot.Char |
2 | local cashMoney = script.Parent |
3 | while carSeat.Position.Y < 5 do |
4 | cashMoney.Visible = true |
5 | script.Parent.Visible = true |
7 | cashMoney.Visible = false |
8 | script.Parent.Visible = false |
The image would pop up whenever you drive off the map. The image is an ImageLabel that is the parent of the script. I've tested the script as a LocalScript, ModelScript, and Script (I don't know why I would use ModelScript, but okie dokie). Nothing I've tried has seemed to fix it.