I have made a game and whenever you click the ring, the quest should change, but nothing happened but the ring got destroyed (which means the script isn't wrong). Is it just a bug or did I do something wrong?
script:
script.Parent.MouseClick:Connect(function(click)
game.StarterGui.ScreenGui.Frame.QuestInfo.Text = "return the ring"
script.Parent.Parent.Parent:Destroy()
end)

4 comments
Use a LocalScript and get the gui in the player's PlayerGui. https://developer.roblox.com/en-us/api-reference/class/PlayerGui
How can I get the gui in the player's PlayerGui?
I seriously sent you a link... Get the LocalPlayer and then the PlayerGui is a child of the player
Hi, are you using a localscript or serverscript?