@hookie said in Why isn't my script registering ingame?:
///api_version=2
(script = registerScript({
name: "FakeDMG",
version: "1.0",
authors: ["Kwlddy"]
var ticks = 0;
module = {
name: "FakeDMG",
description: "Fake Damage",
category: "Movement",
onEnable: function() {
mc.thePlayer.performHurtAnimation();
mc.thePlayer.playSound("game.player.hurt", 0.8F, 0.8F);
},
onUpdate: function() {
}
thanks