function Notification(Player, Text)
--send notifcation stuff (not important)
end
game:GetService("Players").PlayerAdded:Connect(function(Player)
local String = "Version 1"
Notification(Player, String)
end
How can I get this to work?
function Notification(Player, Text)
--send notifcation stuff (not important)
end
game:GetService("Players").PlayerAdded:Connect(function(Player)
local String = "Version 1"
Notification(Player, String)
end
How can I get this to work?
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
Do you want everyone to see it or just a particular player?
Just a particular player. Also I'd like to not use remote events unless I seriously have to.
I was thinking thinking local listener script in client and then server to send...if just a single script then idk...how is the notification sent in game, through chat or a gui or something else?
You will want to use Remote Events for this.
StarterGui:SetCore("SendNotification", {configTable})
https://www.robloxdev.com/api-reference/function/StarterGui/SetCore