--stuff here above works fine print("Announcement has been fired on this very server!") local DataStore = game:GetService("DataStoreService"):GetDataStore("AnnouncementService") DataStore:SetAsync("MESSAGE", TextorID) DataStore:SetAsync("PlayerID", Value) DataStore:SetAsync("TimeWait", Time) end end) ------------------------------------------------------------------------------------------------------------- local DataStore = game:GetService("DataStoreService"):GetDataStore("AnnouncementService") local function Announce(MSG) local ID = DataStore:GetAsync("PlayerID") local Wait = DataStore:GetAsync("TimeWait") game.ReplicatedStorage.SimpleGuardAnnouncement:FireAllClients(MSG,ID,Wait) end DataStore:OnUpdate("MESSAGE", Announce)
It works fine on the local server just not cross servers.
This is my version of the script that's why I am reposting sorry.
I even tried to get rid of
DataStore:SetAsync("PlayerID", Value) DataStore:SetAsync("TimeWait", Time)
Because of throttling.