Hello,
I was wondering how to change the Image Label Image in a script but the code below does not work.
I hope anyone can help.
script.Parent.ImageLabel.Image = game.ReplicatedStorage.ToolVars.Katana.ImageId.Value
Hello,
I was wondering how to change the Image Label Image in a script but the code below does not work.
I hope anyone can help.
script.Parent.ImageLabel.Image = game.ReplicatedStorage.ToolVars.Katana.ImageId.Value
Try this:
script.Parent.ImageLabel.Image = “rbxassetid://“..game.ReplicatedStorage.ToolVars.Katana.ImageId.Value
I already did it another way but yours works too.
I just put that robloxasset… in the variable.
Thanks anyway.