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

I have a script where when they collect the key it changes the gui color, of the image? [Solved]

Asked by
DrShockz 233 Moderation Voter
6 years ago
Edited 6 years ago

When the player gets a key, I want the image color to change to white!

function onTouched()
    game.Workspace.Door.key.Value = true
    game.StarterGui.KEYS.key1.ImageColor3 = Color3.new(255,255,255)
    script.Parent:Destroy()
end

script.Parent.ClickDetector.MouseClick:connect(onTouched)
0
idk maybe use a decal Natano2018 -5 — 3y

Answer this question