[Open Source] HR+ Join Message

Hello, I am open sourcing the HR+ Join Message that I and my friend made. Me
And my friend made this for are groups for when the SHR/HRS Join the game to notify all of the players when they join.
This is how it looks like:


ServerScript [Put a Scirpt in the ServerScriptStorage]:

local JoinNotify = game.ReplicatedStorage.JoinNotify

local function SyncAPI(...)

    if Player:GetRankInGroup(YourGroupId) >= HrRank then
        local AdminTitle = ''..Player.Name
        local AdminText = Player:GetRankInGroup(YourGroupId)..', Has joined the game!'
        local UserId = Player.UserId
        local Size = Enum.ThumbnailSize.Size420x420 --Dont Change
        local Type = Enum.ThumbnailType.HeadShot
        local AdminImage = game.Players:GetUserThumbnailAsync(UserId, Type, Size)

Client Script [Put a LocalScirpt in the StarterGui]:

    game.StarterGui:SetCore('SendNotification', {
        Title = CustomTitle,
        Text = CustomText,
        Icon = CustomImage,
        Duration = 13

Help Guide:

	Player:GetRankInGroup(YourGroupId) >= HrRank [HrRank is for the people that are allowed on the Join Message!]
	Player:GetRankInGroup(YourGroupId)..', Has joined the game!'
	Change "Has joined the game!" to anything you want!
    "Enum.ThumbnailType.HeadShot" You can change it to anything you want
    These are the one that are there:
    Enum.ThumbnailType.HeadShot --Default
    Use GetRoleInGroup.

Create a Remote Event named JoinNotify, and put it in the ReplicatedStorage --EDIT

Do you like it, or not your opinion on it!
Also, my friend is ok with this being open-sourced, so we agreed with open-sourcing it.

  • Helpful for your group
  • Not helpful for your group

0 voters

Also, I hope this helps with your group!


Oh my gosh, thank you! I have been looking for this for quite a while even after I looked all over the internet. Thank you very much!


One thing that you might want to consider is storing the “GetRankInGroup(YourGroupId)” part in a variable. This will help with performance down the road as each time you call the GetRankInGroup function, it’s taking time to gather that data. Since those two calls are fractions of a second apart, you might as well trust the first call and use the same data for your notification.

1 Like

I think this is related to the comment above but try adding in a text saying the rank of the HR!
Example: “A Chief Executive Officer Has Joined The Game!” With the username above of course :slight_smile:

1 Like

It’s all good, but would’ve been better if I didn’t have to join the ‘Programmers’ group just to vote in the poll.

You could just create it through the script instead, to make it more automated of a process.

Not much of a difference, but server-scripts are meant to go under game.ServerScriptService, referring to the first script provided in the post


Well, it will let me pick 1 anyways.

1 Like

Edited it to GetRoleInGroup

//Testing the ```javascript

Why have you wrapped the client side in pcall if you’re not going to check for an error?

Edit: I meant to say pcall but I’m on my phone so auto correct changed it

1 Like

This is what I Was looking for around on the Internet. so people would be notified when a High rank joins the game. But I am confused as to how you set this up?
I have created a RemoteEvent named JoinNotify in ReplicatedStorage, Added a Script into ServerScriptService and changed it so instead of GetRankInGroup it’s GetRoleInGroup, also I have added the Localscript into StarterGui
However nothing comes up when I start the game did I miss something?


I used a pcall since the CoreGui has not loaded the Notification yet, so there a error that says
“SendNotification is not registered by the core scripts”


But your not checking for an error. To check for an error you would do

local success, err = pcall(function()
-- code 
if err then warn("Error: "err) end
if success then print ‘Its worked’ end
1 Like

Use it in ```lua format please, it will help me.

--Put your code here

Mostly if there was a error it will mostly just say it.

1 Like

New Help Guide!

    Player:GetRankInGroup(YourGroupId) >= HrRank [HrRank is for the people that are alloud on the Join Message!]
    Player:GetRoleInGroup(YourGroupId)..', Has joined the game!'
    Change "Has joined the game!" to anything you want!
    "Enum.ThumbnailType.HeadShot" You can change it to anything you want
    Enum.ThumbnailType.HeadShot --Default
    local AdminText = Player:GetRoleInGroup(YourGroupId)..', Has joined the party!' --Change it to what ever you want.
    local Type = Enum.ThumbnailType.AvatarThumbnail --Change it to what ever you want.
    --If theres any bugs contact me on discord helpqs#5249--

This is helpful for several groups, thanks for releasing this. :+1:

1 Like

Was anyone able to get this working I must be doing something wrong.

1 Like

No problem, always to help.

1 Like

Whats the problem?

1 Like

If there was a problem I need to see it.

1 Like

I redo the poll, to see if it helpful or not.

1 Like

If your having any problems read the Edit.

1 Like