Killstrike
Active Mouse
Intro and PowersCommands and ControlsHow to load the scriptScriptCreditsChangelogs and updates
Welcome to my thread!
i created this script because it's awesome and i love ninjas
Powers:
Power jump and Mid Air Jumps (Power jumps or Mid air jump when you jump )
Fast movement speed (Fast speed when u use


keys)
Bomb shoot skill (Spawn shooting bombs)
[2nd update]Mouse Ninja wooden: style wood platform (Spawns a wooden ground platform below you)
[2nd update]cake summon (Spawns Cake)
[2nd update]portals (Spawn Portals)
[3nd update]flash bomb (freeze people within 100 pixel radius for 0.5 sec)
[4th update]Secret Power
No Picture
Commands:
!ninja (shows ninja controls)
Non-ninja Commands:
!non-ninja (shows non-ninja commands)
!mort
!cheese
!win
!snow
!meep (meeps doesn't work includes it anyways)
!score (makes your score 9999 when u restart map)
!new (restart map doesn't work on /np @code)
!vamp (makes u turn to a vamp)
Controls:



- fast movement speed
W,A,S,D - normal movement speed
J -moves you a bit to the left
K -moves you a bit to the right
Power Controls:
P - Hidden power
Z - shoot left bomb
X - shoot right bomb
C - Flash bomb
V- Mouse Ninja wooden: style wood platform
B - cake summon
N - Blue portal
M - Orange portal
Warning: if u summon an object it will not disappear!
Secret Power: there is a secret power skilli'm not telling what it is (Hint: "Power")
Tip: Previous ninja's still have powers as long they don't leave the room
Tip: if u want to know the controls, just open this thread!
How to load the script to play:
- Click the link below or Click the spoiler to see the script
- Copy the script
- Go to your tribe house
- then say /lua (Reminder: only people that has "/np @MapCode" in the tribe can do this)
- Paste the script in the lua box
- Then press submit. (have fun)
Click the link for a pastebin script: https://pastebin.com/EDK5BM0F
Raw paste data of the script click the Spoiler below
Code:-- Change Dark_nlght to your name with out removing parentheses -- you can also add another ninja by changing the other name ninja = "Dark_nlght","name" for name in pairs(tfm.get.room.playerList) do system.bindMouse(ninja, true) for keys, k in pairs({38, 39, 37, 75, 74, 88, 90, 86, 66, 67, 80, 78, 77,}) do tfm.exec.bindKeyboard(ninja, k, true, true) end end function eventKeyboard(ninja, key, down, x, y) if key == 38 then tfm.exec.movePlayer(ninja, 0, 0, true, 0, -100, false) elseif key == 39 then tfm.exec.movePlayer(ninja, 0, 0, true, 80, 0, false) elseif key == 37 then tfm.exec.movePlayer(ninja, 0, 0, true, -80, 0, false) elseif key == 75 then tfm.exec.movePlayer(ninja, 0, 0, true, 20, 0, false) elseif key == 74 then tfm.exec.movePlayer(ninja, 0, 0, true, -20, 0, false) -- powers elseif key == 88 then tfm.exec.addShamanObject(23,x+25,y,-90,50,0,false) elseif key == 90 then tfm.exec.addShamanObject(23,x-25,y,90,-50,0,false) elseif key == 66 then tfm.exec.addShamanObject(104,x+1,y,0,0,0,false) elseif key == 67 then tfm.exec.explosion(x,y,0.5,100,false) tfm.exec.displayParticle(10,x,y,0,0,0,0) elseif key == 80 then tfm.exec.explosion(x,y,50,250,false) tfm.exec.displayParticle(10,x,y,0,0,0,0) tfm.exec.displayParticle(10,x,y-15,0,0,0,0) tfm.exec.displayParticle(10,x-10,y-8,0,0,0,0) elseif key == 78 then tfm.exec.addShamanObject(26,x,y,0,0,0,false) elseif key == 77 then tfm.exec.addShamanObject(27,x,y,0,0,0,false) elseif key == 86 then tfm.exec.addPhysicObject(1,x,y+10,{ type=0, restitution=0.2, friction=0.3, width=50, height=10, miceCollision=true }) end end system.disableChatCommandDisplay("ninja",true) system.disableChatCommandDisplay("non-ninja",true) function eventChatCommand(name,command) if command=="cheese" then tfm.exec.giveCheese(name) elseif command=="mort" then tfm.exec.killPlayer(name) elseif command=="snow" then tfm.exec.snow(120, 0) elseif command=="new" then tfm.exec.newGame("@") elseif command=="win" then tfm.exec.playerVictory(name) elseif command=="score" then tfm.exec.setPlayerScore(name, 9999, true) elseif command=="meep" then tfm.exec.giveMeep(name) elseif command=="vamp" then tfm.exec.setVampirePlayer(name) elseif command=="ninja" then tfm.exec.chatMessage("<ROSE>This controls only works for the ninja", name) tfm.exec.chatMessage("<ROSE>CONTROLS:", name) tfm.exec.chatMessage("<VP>Arrow keys<J> - Fast movement speed", name) tfm.exec.chatMessage("<VP>W,A,S,D<J> -normal movement speed", name) tfm.exec.chatMessage("<J>Key<VP> 'J'<J> -moves you a bit to the left", name) tfm.exec.chatMessage("<J>Key<VP> 'K'<J> -moves you a bit to the right", name) tfm.exec.chatMessage("", name) tfm.exec.chatMessage("<ROSE>NINJA POWER Controls", name) tfm.exec.chatMessage("<J>key<VP> 'Z or X'<J> -shoots left or right bombs", name) tfm.exec.chatMessage("<J>key<VP> 'C'<J> -Use Flash Bomb", name) tfm.exec.chatMessage("<J>key<VP> 'V'<J> -mouse Ninja wooden: style wood platform jutsu", name) tfm.exec.chatMessage("<J>key<VP> 'B'<J> -cake summoning jutsu ", name) tfm.exec.chatMessage("<J>key<VP> 'N'<J> -Blue portal summoning jutsu", name) tfm.exec.chatMessage("<J>key<VP> 'M'<J> -Orange portal summoning jutsu", name) tfm.exec.chatMessage("", name) tfm.exec.chatMessage(" ", name) tfm.exec.chatMessage("<Rose>Game Script created by: Dark_nlght", name) elseif command=="non-ninja" then tfm.exec.chatMessage("<ROSE>This commands work to everyone in the room", name) tfm.exec.chatMessage("<ROSE>Non-ninja Commands:", name) tfm.exec.chatMessage("<J>Say <VP>!mort<J> to die ", name) tfm.exec.chatMessage("<J>Say <VP>!cheese<J> to get cheese ", name) tfm.exec.chatMessage("<J>Say <VP>!win<J> to instant win ", name) tfm.exec.chatMessage("<J>Say <VP>!snow<J> makes the room snow ", name) tfm.exec.chatMessage("<J>Say <VP>!score<J> makes your score 9999 when restart map", name) tfm.exec.chatMessage("<J>Say <VP>!new<J> restart's map doesn't effect /np @code ", name) tfm.exec.chatMessage("<J>Say <VP>!meep<J> get meep doesn't work", name) tfm.exec.chatMessage("<J>Say <VP>!vamp<J> makes you vamp", name) tfm.exec.chatMessage("<Rose>Game Script created by: Dark_nlght", name) end end function eventPlayerDied(name) tfm.exec.respawnPlayer(name) end function eventNewPlayer(name) tfm.exec.chatMessage("<ROSE>Welcome to Dark_nlght's Game script!", name) tfm.exec.chatMessage("<J>Say <VP>!ninja<J> to see the controls", name) tfm.exec.chatMessage("<J>Say <VP>!non-ninja<J> to see the non-ninja player commands", name) tfm.exec.chatMessage("<R>Reminder: Only the ninja is the only one who is able to use the controls and the ninja is also able to use the non-ninja commands", name) end function eventNewGame() tfm.exec.chatMessage("<ROSE>Welcome to Dark_nlght's Game script!", name) tfm.exec.chatMessage("<J>Say <VP>!ninja<J> to see the controls", name) tfm.exec.chatMessage("<J>Say <VP>!non-ninja<J> to see the non-ninja player commands", name) tfm.exec.chatMessage("<R>Reminder: Only the ninja is the only one who is able to use the controls and the ninja is also able to use the non-ninja commands", name) tfm.exec.setUIMapName("<ROSE>Game Script by Dark_nlght") end tfm.exec.chatMessage("<ROSE>Welcome to Dark_nlght's minigame script!", name) tfm.exec.chatMessage("<J>Say <VP>!ninja<J> to see the controls", name) tfm.exec.chatMessage("<J>Say <VP>!non-ninja<J> to see the non-ninja player commands", name) tfm.exec.chatMessage("<R>Reminder: Only the ninja is the only one who is able to use the controls and the ninja is also able to use the non-ninja commands", name) tfm.exec.setUIMapName("<ROSE>Game Script by Dark_nlght") print("<font color='#FFFF00'>"..ninja.."<font color='#FFFF00'> is now the ninja -created by Dark_nlght")
Credits to the people who helped:
Zwhet
Ledee
Adnanbashku3
Jasbear
Click the spoiler to see the change logs (Not in order):
[•] Added Portal skill
[•] Added Secret Power Skill
[•] Added Cake Summon Skill
[•] Added Bomb Shooting Skill
[•] Added Fast Speed
[•] Added Power Jump
[•] Added Mid Air Jump
[•] Added Flash Bomb
[•] Added !ninja command
[•] Added !non-ninja command
[•] Added more command
[•] Changed W,A,S,D control to normal speed
[Recent Update]:
you can now add a new ninja by changing the other name
[Next Update]:
Nothing
Hope you like my script
tell me if there are bugs or if you like my script in the
comments (english only)
Last edited:


