I can't get the image to pop up when I use this script. Everything in the Explorer is named correct.
local carSeat = game.Workspace.ParkingLot.Char local cashMoney = script.Parent while carSeat.Position.Y < 5 do cashMoney.Visible = true script.Parent.Visible = true wait(2) cashMoney.Visible = false script.Parent.Visible = false end
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.
You dont need to do
script.Parent.Visible = false -- vice versa
because
cashMoney.Visible = true -- vice versa
already does that. Why?
because
local cashMoney = script.Parent