I'm helping a friend make a game, and I'm testing some basic scripts. For some reason, a script that changes a text in StarterGui won't work.
This is the script I'm using:
local Man = script.Parent.Parent local Mission = workspace.StarterGui.Gu.Frame.Mission
function myfunction() Mission.Text = "Mission: None" wait(0.1) Man:Destroy()
end
script.Parent.ClickDetector.MouseClick:connect(myfunction)
I've tried several different ways to fix the script, but it won't work. Am I using an outdated way of changing text in GUI's? If I've made a stupid mistake, It'd help to point it out.

1 comment
ehh?