I am trying to use FireAllClients, but the function that I’m trying to activate doesn’t run and no errors appear in console.
Server Script
local rs = game:GetService("ReplicatedStorage")
local updateList = rs.RemoteEvents.UpdateList
while true do
updateList:FireAllClients()
task.wait(60)
end
local script
local rs = game:GetService("ReplicatedStorage")
local updateList = rs.RemoteEvents.UpdateList
updateList.OnClientEvent:Connect(function()
print("i dont work at all please help")
end)
local Scripts Aren’t Ran their as its in the workspace (Since its parented to the character model inside workspace). Instead put the local script in StarterPlayerScripts