Chat killstreak help

I found this killstreak system in a game and I thought it would be a cool feature to add to my game to make it better, the only issue is I know nothing about scripting. Does anyone know how to make this or at least can direct me in the right direction to make this?

How it works: If someone gets a 5, 10, 15, 20, 25, so on, then it says “Username is on a # killstreak” and it will get put in the chat as if someone else typed a message just in a different format like the screenshot below.

image

Depending how the weapon works I would probs make either a variable or a string value and every kill the user get u add it one onto the variable or value. From there you could then also check when they kill someone with the weapon if the kill is the 5 or 10 as an example kill. You would then use StarterGui:SetCore and within it the ChatMakeSystemMessage to send the message to the chat.

To make it so its a kill streak and lets say the user dies it resets u could detect if the user dies then put the variable or value to 0 (restarts back at 0)

Here is the startergui setcore api reference so u can have a look on how it works:

1 Like

Also something to add is the StarterGui:Setcore only works in a local script so if you wanted everyone to see it in the chat u may need to run it via everyone local script.

I MAY BE INCORRECT ON THAT CUZ I HAVE NOT REALLY USED THE SETCORE FOR THE STARTERGUI BEFORE! JUST EXPERIEMTN AND SEE WHAT WORKS.

1 Like

Alright, I don’t know much about scripting so I may have to hire someone else to do this job. Would this be considered a simple script or advanced?

Not really that sure.

I would say it is quite advanced but at the same time should be able to be done in 1-2 days dunno. I would say max 5K but make sure to ask the scripter u hire what they think. I feel 5K is a bit much for it though but not really sure.

that is why i said max 5K. I also agree i just don’t really know what price this would be