×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Script] The Haunted Doll - Control Other Players
« ‹ 8 / 12 › »
[Script] The Haunted Doll - Control Other Players
Byuzzz
« Citoyen »
1447116480000
    • Byuzzz#0000
    • Profil
    • Derniers messages
    • Tribu
#141
  0
it,s ok
Deeznutsyay
« Citoyen »
1447385520000
    • Deeznutsyay#0000
    • Profil
    • Derniers messages
    • Tribu
#142
  0
Ok mods, srry for backstep modding or watever dat is. I suggest to troll multiple people you may use an array like in JavaScript? ["Sydoline", "Meg"] or just use "Sydoline", "Meg" ?
Cherry
« Citoyen »
1451602200000
    • Cherry#8785
    • Profil
    • Derniers messages
    • Tribu
#144
  0
Omg this is wonderful :D
Xprincessj
« Citoyen »
1451667780000
    • Xprincessj#0000
    • Profil
    • Derniers messages
#145
  0
cool! i really like it :D

Dernière modification le 1451667840000
Mokkiemonsta
« Citoyen »
1453169280000
    • Mokkiemonsta#0000
    • Profil
    • Derniers messages
    • Tribu
#146
  0
-- Insert your victim's name (person who you would like to move) here without removing the quotation marks.
doll = "Djspanm"

-- Insert YOUR name here without removing the quotation marks.
god = "Mokkiemonsta"
-- That's it! You can now run the script and troll people!

-- Editing the following code is not advised.

-- Binding the keyboard for god(you)
-- 85 is U, the key for Up.
-- 74 is J, the key for Down
-- 72 is H, the key for Left.
-- 75 is K, the key for Right.

for name in pairs(tfm.get.room.playerList) do
-- Instead of binding each key seperately, we put them all in a group.
for keys, k in pairs({85, 72, 74, 75}) do
--And now the keys are binded!
tfm.exec.bindKeyboard(god, k, true, true)
end
end

-- Listening for keyboard events.
-- You'll notice that move values are different because it makes the doll easier to control.

function eventKeyboard(god, key, down, x, y)
if key == 85 then
--Moves the player Up by 50 pixels
tfm.exec.movePlayer(doll, 0, 0, true, 0, -50, false)
elseif key == 74 then
-- Moves the player Down by 40 pixels
tfm.exec.movePlayer(doll, 0, 0, true, 0, 40, false)
elseif key == 72 then
-- Moves the player Left by 40 pixels
tfm.exec.movePlayer(doll, 0, 0, true, -40, 0, false)
elseif key == 75 then
-- Moves the player Right by 40 pixels
tfm.exec.movePlayer(doll, 0, 0, true, 40, 0, false)
end
end

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

print("<font color='#FFFF00'>"..doll.."<font color='#FFFF00'> is now your doll!")

Dernière modification le 1453169580000
Mokkiemonsta
« Citoyen »
1453169340000
    • Mokkiemonsta#0000
    • Profil
    • Derniers messages
    • Tribu
#147
  1
I changed the keys to:
u as up
j as down
h as left
l as right

Sorry, it got annoying having my inventory open and close!
Jow
« Consul »
1453405260000
    • Jow#4884
    • Profil
    • Derniers messages
#148
  1
Wow. This is one of my favorite people think they are "bug".
Web
« Citoyen »
1454162280000
    • Web#3930
    • Profil
    • Derniers messages
    • Tribu
#149
  0
Cool. =))
Sea
« Censeur »
1454162820000
    • Sea#6504
    • Profil
    • Derniers messages
    • Tribu
#150
  0
Portomo a dit :
Wow. This is one of my favorite people think they are "bug".

which people?
-
i like this script, i used it a long time ago on my best friend, i just cant stop enjoying all the memories out there
Meawcats101
1454466540000
    • Meawcats101#0000
    • Profil
    • Derniers messages
#152
[Modéré par Dracoleaf, raison : off-topic]
Bizzmith
« Citoyen »
1454506680000
    • Bizzmith#0000
    • Profil
    • Derniers messages
    • Tribu
#154
  0
It doesnt worK! please help :c
Sea
« Censeur »
1454514540000
    • Sea#6504
    • Profil
    • Derniers messages
    • Tribu
#155
  0
bizzmith a dit :
It doesnt worK! please help :c

what is it that's not working for you?
Web
« Citoyen »
1456163040000
    • Web#3930
    • Profil
    • Derniers messages
    • Tribu
#156
  0
Wow, it's funny.I can edit this and move my friends with a big speed, lol =))
Wispywhisker
« Citoyen »
1456437960000
    • Wispywhisker#0000
    • Profil
    • Derniers messages
#157
  1
This may sound dumb, but I is still confused on how exactly to do this ;-;
Wispywhisker
« Citoyen »
1456438560000
    • Wispywhisker#0000
    • Profil
    • Derniers messages
#158
  0
I am kinda confused now ;^;

I don't really get what to do, nor how to do it :c
Antonio
« Sénateur »
1456440660000
    • Antonio#9975
    • Profil
    • Derniers messages
    • Tribu
#159
  1
Ppl thought I was hacking lol
Legitanim
« Citoyen »
1456472580000
    • Legitanim#0000
    • Profil
    • Derniers messages
    • Tribu
#160
  1
I edited it so that you can do emotes now, lol

Change the blue text !!

god = "Legitanim"
doll = "Legitanim"

for name in pairs(tfm.get.room.playerList) do

for keys, k in pairs({90, 88, 67, 86, 85, 72, 75, 74}) do

tfm.exec.bindKeyboard(god, k, true, true)
end
end


function eventKeyboard(god, key, down, x, y)
if key == 90 then
tfm.exec.playEmote(doll, 6, "aq")
elseif key == 88 then
tfm.exec.playEmote(doll, 8, "aq")
elseif key == 67 then
tfm.exec.playEmote(doll, 7, "aq")
elseif key == 86 then
tfm.exec.playEmote(doll, 10, "aq")
elseif key == 85 then
tfm.exec.movePlayer(doll, 0, 0, true, 0, -50, false)
elseif key == 74 then
tfm.exec.movePlayer(doll, 0, 0, true, 0, 40, false)
elseif key == 72 then
tfm.exec.movePlayer(doll, 0, 0, true, -40, 0, false)
elseif key == 75 then
tfm.exec.movePlayer(doll, 0, 0, true, 40, 0, false)
end
end

--Press Z X C and V for emotes
--Press U H J and K to move a player


List of emotes so far
0 = Dance
1 = Laugh
2 = Cry
3 = Heart
4 = Anger
5 = CLap
6 = Sleep
7 = Facepalm
8 = Sit
9 = Confetti
10 = Flag wave
11 = Marshmallow
12 = Selfie
13 = High five prompt
14 = High five animation
15 = High five animation
16 = party blowy thingy that makes noise (idk, lol)
17 = Hug prompt
18 = Hugging action long arm
19 = Hugging action short arm
20 = Microphone singing action
21 = Kiss prompt
22 = Kissing action
23 = Kissing action
24 = Rio De Carnaval dance
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Script] The Haunted Doll - Control Other Players
« ‹ 8 / 12 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27