Recommended Posts

Hey, can someone help me?

I need a Godmode Script, that I cant lose health. 

 

I would be thanksful,

greetz

Share this post


Link to post
Share on other sites
Posted (edited)

Use it for Java Client-Side =>

var GodMode = false;	// This is your Variable

/// Use F5 to Enable/Disable your mode
mp.keys.bind(0x74, false, function() {

	GodMode = !GodMode;
	if (GodMode){
		localPlayer.setInvincible(true);
      	mp.gui.chat.push("God mod Enabled");
	} else {
		localPlayer.setInvincible(false);
      	mp.gui.chat.push("God mod disabled");
	}
});

0x74 is Virtual Key Code for F5, visit KeyCode list and you are able to change it

Virtual KeyCodes: https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes

Edited by LT.Steiner

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.