Incomplete statement: expected assignment or a function call

Hi, I am getting this error and I don’t know why, please help!

Error:

Code:

local RS = game:GetService("ReplicatedStorage") --Error right here apparently?
local Event = RS:WaitForChild("Menus"):WaitForChild("Boosters")
local frame = script.Parent

Event.OnClientEvent:Connect(function(player)
	frame.Visible = true
end)

Deleted the line and retyped it, now works well. Replication issue 100% :expressionless:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.