Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Game Development › how can i make killstreaks in unity

how can i make killstreaks in unity

Posts 1–5 of 5 · Page 1 of 1
AL
alexzork123
how can i make killstreaks in unity
i am dying to learn it can someone give me a good tutorial on how to do it thank you in advance
#1 · 13y ago
Saltine
Saltine
Make an integer variable which stores kills since last death. Some pseudocode:
Code:
var ksld = 0;
function onKill(){
++ksld;
if(ksld == 5){ //5 killstreak
//do the killstreak
}
}
function onDeath(){
ksld = 0;
}
#2 · 13y ago
Flengo Jr.
Flengo Jr.
Quote Originally Posted by Saltine View Post
Make an integer variable which stores kills since last death. Some pseudocode:
Code:
var ksld = 0;
function onKill(){
++ksld;
if(ksld == 5){ //5 killstreak
//do the killstreak
}
}
function onDeath(){
ksld = 0;
}
That wouldn't full work.


Code:
static var killTimer=0;

function Update() {
InvokeRepeating ("Countdown", 1.0, 1.0);
}

function Countdown() {
if (--killTimer == 0) CancelInvoke ("Countdown");
}
#3 · 13y ago
Saltine
Saltine
Quote Originally Posted by APEsmoker View Post
That wouldn't full work.


Code:
static var killTimer=0;

function Update() {
InvokeRepeating ("Countdown", 1.0, 1.0);
}

function Countdown() {
if (--killTimer == 0) CancelInvoke ("Countdown");
}
He wanted kill streaks not a kill timer?
#4 · 13y ago
Flengo Jr.
Flengo Jr.
Quote Originally Posted by Saltine View Post

He wanted kill streaks not a kill timer?
oh i didn't read it write.
#5 · 13y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • how can i make game hack?!!!!By UnknownID in General Game Hacking
    2Last post 20y ago
  • How can i make a hack for WarRock?By tomva in General Game Hacking
    4Last post 19y ago
  • how can i make a password on my hackBy 123456789987654321 in WarRock - International Hacks
    4Last post 19y ago
  • How can i make a norwegian ts server??By xtrylanx in General
    4Last post 19y ago
  • how can i make Exit buttonBy sukh13 in WarRock - International Hacks
    9Last post 18y ago

Tags for this Thread

None