This script is supposed to do that when it detects that the BoolValue equals True, then the image will change after waiting and then will delete it from PlayerGui after. Still, for some reason, the image won't change, I checked the dev panel and it doesn't come up with anything if anyone can help I would appreciate it!
note: the ZIndex for the ImageLabel (AKA The parent of this script) is higher than all other GUI objects
(sorry if i didn't explain it well)
Legacy Script
local compvalue = workspace.Value:FindFirstChild('Completed')
script.Parent.Parent.Enabled = false
compvalue.Changed:Connect(function()
if compvalue.Value == true then
script.Parent.Parent.Enabled = true
task.wait(1)
script.Parent.Image = "rbxassetid://12853392069"
task.wait(3)
script.Parent.Image = "rbxassetid://12853395602"
task.wait(.5)
script.Parent.Image = "rbxassetid://12853406732"
task.wait(.5)
script.Parent.Image = "rbxassetid://12853440018"
task.wait(3.9)
script.Parent.Image = "rbxassetid://12853464935"
task.wait(4.55)
script.Parent.Image = "rbxassetid://12853475748"
task.wait(4.65)
script.Parent.Image = "rbxassetid://12853487139"
task.wait(1.15)
script.Parent.Image = "rbxassetid://12853489766"
task.wait(3)
script.Parent.Image = "rbxassetid://12853499912"
task.wait(4.65)
script.Parent.Image = "rbxassetid://12853510345"
task.wait(.5)
script.Parent.Image = "rbxassetid://12853516984"
task.wait(1)
script.Parent.Parent:Destroy()
end
end)
