So, I'm following a tutorial on how to make a Find The game, and I was doing the GUI for the "Nice! You found whatever!" thingy.
But when I try collecting the thing I made to see if the GUI works, I get this error instead. "Unable to assign property value Image. Content expected, got nil."
Here's the code block for activating the GUI when you obtain the thing in the Find The game.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvents = ReplicatedStorage:WaitForChild("RemoteEvents")
local NewlyCollected = RemoteEvents:WaitForChild("NewlyCollected")
local frame = script.Parent
local CWName = frame:WaitForChild("CWName")
local CWImage = frame:WaitForChild("CWImage")
NewlyCollected.OnClientEvent:Connect(function(name,imageId)
CWName.Text = name.." Wing!"
CWImage.Image = imageId
end)

3 comments
Show us the script for firing the RemoteEvent
Check answer:
Nevermind, figured it out. I forgot the imageId in the NewlyCollected:FireClient thing