I have a server script, a local script, and a remote event. Server Script (Tried puting in both workspace and serverscriptservice):

local function fireMe()
local replicatedstorage = game:GetService("ReplicatedStorage")
local event = replicatedstorage.WaitForChild("QueueBoard")
event:FireAllClients()
print("sent")
end

Heres the local script, which is in workspace:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local event = ReplicatedStorage:WaitForChild("QueueBoard")

local function changeBoard()
print("recieved")
end

event.OnClientEvent:Connect(changeBoard)

And finally the remote event is in ReplicatedStorage. I've tried editing this in different ways but keep having trouble. The function is activated fine, but it isn't received by the client. Thank you for the help, sorry if this is a dumb question with a simple fix, just don't know what else to try!

2 comments

0

LocalScripts will not run in the Workspace nor will they run in the ServerScriptService.

0

Wow I feel dumb just moved it to the correct space and it works perfectly. Wasn't thinking. Thank you!