MessagingService Error

im Getting This Wierd Error:
MessagingService: Service disconnected.

and I don’t know how to solve it even though I have published The Place and Enabled Studio Access To API Services.

and here is The Script:

Messaging_Service:SubscribeAsync("Announcment", function()
	print("Sub")
	game.ReplicatedStorage:WaitForChild("Admin_Panelv2.0"):WaitForChild("Global_Announcment_Riderector"):FireAllClients(Text)
end)

Messaging_Service:PublishAsync("Announcment", "one")
1 Like

oh and im Typing This Code in a Server Script btw

That is because you’re running the script while you’re testing in studio. Run the script in-game and it will work.

Still Not Workin, I Played The Game From a Roblox Client and Still not working

1 Like