[Script] Controlling Your Victim

Did you liked the script

  • I loved it! <3

    Votes: 0 0.0%
  • great!

    Votes: 1 100.0%
  • well about 50-50

    Votes: 0 0.0%
  • not that much! :/

    Votes: 0 0.0%
  • I hate it!

    Votes: 0 0.0%
  • just loved controlling players

    Votes: 0 0.0%

  • Total voters
    1
  • Poll closed .

Killstrike

Active Mouse
Welcome to my thread!:)
I created this Script because
i was obsessed with controlling players in TFM
so i created almost
the same script like the script i used in TFM
The script: https://pastebin.com/bhDKTPeT

Controls:
click to teleport the victim
U for up (to move the victim 50 pixels up)
J for down (to move the victim 50 pixels down)
H for left (to move the victim 50 pixels left)
K for right (to move the victim 50 pixels right)

P to kill the victim

Update:
Teleport your victims :eek:
Kill victim button :devilish:



Code:
-- Change Adnanbashku3 to your victim's name (the person who will be controlled).
victim = "Adnanbashku3"

-- Change Dark_nlght to your name (without removing the quotation marks).
god = "Dark_nlght"
-- okie guys that is all it :D u can now victimize anyone u like

-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up

system.bindMouse(god)
for name in pairs(tfm.get.room.playerList) do
function eventMouse(god, xMousePosition, yMousePosition)
tfm.exec.movePlayer(victim, xMousePosition, yMousePosition)
end
-- Instead of binding the keys separately , we put them in one group.
    for keys, k in pairs({85, 75, 72, 74, 80}) do
--And now the keys are binded :D
        tfm.exec.bindKeyboard(god, k, true, true)
    end
end

-- the move values are different so the victim is easy to control.

function eventKeyboard(god, key, down, x, y)
       if key == 85 then
-- Moves the victim 50 pixels up
        tfm.exec.movePlayer(victim, 0, 0, true, 0, -50, false)
    elseif key == 75 then
-- Moves the victim 50 pixels down
        tfm.exec.movePlayer(victim, 0, 0, true, 50, 0, false)
    elseif key == 72 then
-- Moves the victim 50 pixels left
        tfm.exec.movePlayer(victim, 0, 0, true, -50, 0, false)              
    elseif key == 74 then
-- Moves the victim 50 pixels right
        tfm.exec.movePlayer(victim, 0, 0, true, 0, 50, false)  
    elseif key == 80 then      
-- Kills the victim
        tfm.exec.killPlayer(victim)
    end
end

-- Prints out your Victim's name only to you.

print("<font color='#FFFF00'>"..victim.."<font color='#FFFF00'> is now your Victim to control created by Dark_nlght")
Credits to:
Adnanbashku3 (suggestion of changing the controls to U, J, H and K for better control and for Testing)


Hope you like my script
Comment if there are bugs (english only)
 
Last edited:

Cryaotic

¡Ándale! ¡Ándale!
Oh my god this is gonna be fun to use
 

Candyreaper

Little Mouse
Ty
 

Anneffie

Active Mouse
Oh, I know this script!
Thank you very much!
 

Candyreaper

Little Mouse
no i don't teach people i suck at explaining and teaching :cry:
 

Kanematsu

Active Mouse
While playing with the script I developed some variations of the script. I'll post them here.
-- Change Adnanbashku3 to your victim's name (the person who will be controlled).
victim = "Morsure"
victim2 = "Strqm"


-- Change Dark_nlght to your name (without removing the quotation marks).
god = "Kanematsu"
lord = "Sweetvssour"
-- okie guys that is all it :D u can now victimize anyone u like

-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up

system.bindMouse(god)
for name in pairs(tfm.get.room.playerList) do
function eventMouse(god, xMousePosition, yMousePosition)
tfm.exec.movePlayer(victim1, xMousePosition, yMousePosition)
end
-- Instead of binding the keys separately , we put them in one group.
for keys, k in pairs({85, 75, 72, 74, 80}) do
--And now the keys are binded :D
tfm.exec.bindKeyboard(god, k, true, true)
end
end

system.bindMouse(lord)
for name in pairs(tfm.get.room.playerList) do
function eventMouse(lord, xMousePosition, yMousePosition)
tfm.exec.movePlayer(victim2, xMousePosition, yMousePosition)
end
-- Instead of binding the keys separately , we put them in one group.
for keys, k in pairs({85, 75, 72, 74, 80}) do
--And now the keys are binded :D
tfm.exec.bindKeyboard(lord, k, true, true)
end
end

-- the move values are different so the victim is easy to control.

function eventKeyboard(god, key, down, x, y)
if key == 85 then
-- Moves the victim 50 pixels up
tfm.exec.movePlayer(victim1, 0, 0, true, 0, -50, false)
elseif key == 75 then
-- Moves the victim 50 pixels down
tfm.exec.movePlayer(victim1, 0, 0, true, 50, 0, false)
elseif key == 72 then
-- Moves the victim 50 pixels left
tfm.exec.movePlayer(victim1, 0, 0, true, -50, 0, false)
elseif key == 74 then
-- Moves the victim 50 pixels right
tfm.exec.movePlayer(victim1, 0, 0, true, 0, 50, false)
elseif key == 80 then
-- Kills the victim
tfm.exec.killPlayer(victim1)
end
end

function eventKeyboard(lord, key, down, x, y)
if key == 85 then
-- Moves the victim 50 pixels up
tfm.exec.movePlayer(victim2, 0, 0, true, 0, -50, false)
elseif key == 75 then
-- Moves the victim 50 pixels down
tfm.exec.movePlayer(victim2, 0, 0, true, 50, 0, false)
elseif key == 72 then
-- Moves the victim 50 pixels left
tfm.exec.movePlayer(victim2, 0, 0, true, -50, 0, false)
elseif key == 74 then
-- Moves the victim 50 pixels right
tfm.exec.movePlayer(victim2, 0, 0, true, 0, 50, false)
elseif key == 80 then
-- Kills the victim
tfm.exec.killPlayer(victim2)
end
end

-- Prints out your Victim's name only to you.

print("<font color='#FFFF00'>"..victim.."<font color='#FFFF00'> is now your Victim to control created by Dark_nlght")
^ Just replace god and lord with the names of the gods, replace victim2 with name of common victim. victim1 is defective.
 
While playing with the script I developed some variations of the script. I'll post them here.
-- Change Adnanbashku3 to your victim's name (the person who will be controlled).
victim = "Morsure"
victim2 = "Strqm"


-- Change Dark_nlght to your name (without removing the quotation marks).
god = "Kanematsu"
lord = "Sweetvssour"
-- okie guys that is all it :D u can now victimize anyone u like

-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up
-- Editing the codes will mess the controls up

system.bindMouse(god)
for name in pairs(tfm.get.room.playerList) do
function eventMouse(god, xMousePosition, yMousePosition)
tfm.exec.movePlayer(victim1, xMousePosition, yMousePosition)
end
-- Instead of binding the keys separately , we put them in one group.
for keys, k in pairs({85, 75, 72, 74, 80}) do
--And now the keys are binded :D
tfm.exec.bindKeyboard(god, k, true, true)
end
end

system.bindMouse(lord)
for name in pairs(tfm.get.room.playerList) do
function eventMouse(lord, xMousePosition, yMousePosition)
tfm.exec.movePlayer(victim2, xMousePosition, yMousePosition)
end
-- Instead of binding the keys separately , we put them in one group.
for keys, k in pairs({85, 75, 72, 74, 80}) do
--And now the keys are binded :D
tfm.exec.bindKeyboard(lord, k, true, true)
end
end

-- the move values are different so the victim is easy to control.

function eventKeyboard(god, key, down, x, y)
if key == 85 then
-- Moves the victim 50 pixels up
tfm.exec.movePlayer(victim1, 0, 0, true, 0, -50, false)
elseif key == 75 then
-- Moves the victim 50 pixels down
tfm.exec.movePlayer(victim1, 0, 0, true, 50, 0, false)
elseif key == 72 then
-- Moves the victim 50 pixels left
tfm.exec.movePlayer(victim1, 0, 0, true, -50, 0, false)
elseif key == 74 then
-- Moves the victim 50 pixels right
tfm.exec.movePlayer(victim1, 0, 0, true, 0, 50, false)
elseif key == 80 then
-- Kills the victim
tfm.exec.killPlayer(victim1)
end
end

function eventKeyboard(lord, key, down, x, y)
if key == 85 then
-- Moves the victim 50 pixels up
tfm.exec.movePlayer(victim2, 0, 0, true, 0, -50, false)
elseif key == 75 then
-- Moves the victim 50 pixels down
tfm.exec.movePlayer(victim2, 0, 0, true, 50, 0, false)
elseif key == 72 then
-- Moves the victim 50 pixels left
tfm.exec.movePlayer(victim2, 0, 0, true, -50, 0, false)
elseif key == 74 then
-- Moves the victim 50 pixels right
tfm.exec.movePlayer(victim2, 0, 0, true, 0, 50, false)
elseif key == 80 then
-- Kills the victim
tfm.exec.killPlayer(victim2)
end
end

-- Prints out your Victim's name only to you.

print("<font color='#FFFF00'>"..victim.."<font color='#FFFF00'> is now your Victim to control created by Dark_nlght")
^ Just replace god and lord with the names of the gods, replace victim2 with name of common victim. victim1 is defective.
thanks
 

Prisms

Retired EN/E2 Community Manager
Wow love it. cool script man
 
Top
"Dev-TR" theme by Soulzone