Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Error: FireAllCients is not a valid member of RemoteEvent?

Hi all, just had an error that I've tried but failed to resolve.

I'm trying to create an announcement system for a small group game, and I repeatedly receive the error: "FireAllCients is not a valid member of RemoteEvent"

I've tried very little as not much has come to mind, any ideas would be appreciated.

Local script:

local repStore = game:GetService("ReplicatedStorage")
local gui = script.Parent
repStore.sendAnnouncement.OnClientEvent:Connect(function(msg,timer)
	gui.MainFrame.Visible = true
	gui.MainFrame.Background.Message.Text = msg
	wait(timer)
	gui.MainFrame.Visible = false
end)

Server Script:

local repStore = game:GetService("ReplicatedStorage")
local sendAnn = repStore:WaitForChild("sendAnnouncement")

local message = "wag1"
local timer = 5
sendAnn:FireAllCients(message,timer)

1 answer

Oh my, it's late.

Spelling error: server script, line 6

This discussion is preserved as it was. New answers, comments, and votes are closed.