I was wondering how I would make a notification appear at the bottom right when an HR joins? Could someone help I've looked all over the internet and cant find a single thing! It's in a LocalScript in the StarterGui.

game.Players.PlayerAdded:Connect(function(player)
	local rank = player:GetRankInGroup(3653093)
	local role = player:GetRoleInGroup(3653093)
	if rank >= 60 then
		game.StarterGui:SetCore("SendNotification", {
			Title = "HR Joined.";
			Text = "Player "..player.Name.." has joined the server with the rank: "..role;
			Icon = "";
			Duration = 5;
		})
	end
end)

2 comments

0

Sorry, this is not a request site. If you would like help, you must first attempt to code your own notification then show us your source if it does not work.

0

Make sure its running on the client in a local script