I'm making a Doors-like game and I want it to when you collect a book it enables a GUI, but the code doesn't work. It says there's no errors in the script though, does anyone have some ideas? I'm also new to coding
The Code:
local ProximityPrompt = script.Parent ProximityPrompt.Triggered:Connect(function() game.StarterGui.Triangle.Number.TextTransparency = 1 game.StarterGui.Triangle.Number.ImageLabel.ImageTransparency = 1 end)

1 comment
thanks dude