Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why will this not change this image button image id?

Asked by
proo34 41
5 years ago
openStatus = false

if script.Parent.Parent.Parent.Parent.Parent.PlayerGUI.DialogSettingVisible.Value == true then
    script.Parent.Chosen.Image = "rbxgameasset://".. 4309789542
else
    script.Parent.Chosen.Image = "rbxgameasset://".. 4309787002
end

if openStatus == false then
openStatus = true
else
openStatus = false
end

This will not change the id, why is that?

Thank you

2 answers

Log in to vote
1
Answered by 5 years ago
"rbxgameasset://".. 4309787002 

nah more like:

"rbxgameasset://4309787002"
Ad
Log in to vote
0
Answered by
Xapelize 2658 Moderation Voter Community Moderator
5 years ago

Make sure that's a decal, not an asset.

Answer this question