I'm getting this error: 18:25:36.878 - Message is not a valid member of ReplicatedFirst

So, there's a trigger, and when the trigger gets set off, a script gets cloned from ReplicatedFirst into the players GUI. And it works, the script successfully gets cloned, but for some reason it continues to run as if it were still in ReplicatedFirst, not in the players GUI. The script tells is to do "script.Parent.Message.Text = "Text adjustments", but the error says that "message is not part of ReplicatedFirst", indicating that instead of the script doing script.Parent in the players GUI, its doing script.Parent in ReplicatedFirst, even though the script it located in the Players GUI. Is this a known issue? Is is a stupid mistake on my end? All help is appreciated.

2 comments

0

Are you cloning the script or reparenting it? If you are cloning it, then that original script will still be in ReplicatedFirst, and the new cloned one will start back on line 1.

0

Yeah, after I clone it I delete the old script