[Script] The Haunted Doll - Control Other Players |
Byuzzz « Citoyen » 1447116480000
| 0 | ||
it,s ok |
Deeznutsyay « Citoyen » 1447385520000
| 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
| 0 | ||
Omg this is wonderful :D |
Xprincessj « Citoyen » 1451667780000
| 0 | ||
cool! i really like it :D Dernière modification le 1451667840000 |
Mokkiemonsta « Citoyen » 1453169280000
| 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
| 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! |
1 | ||
Wow. This is one of my favorite people think they are "bug". |
0 | ||
Cool. =)) |
0 | ||
Portomo a dit : 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
| | ||
[Modéré par Dracoleaf, raison : off-topic] |
Bizzmith « Citoyen » 1454506680000
| 0 | ||
It doesnt worK! please help :c |
0 | ||
bizzmith a dit : what is it that's not working for you? |
0 | ||
Wow, it's funny.I can edit this and move my friends with a big speed, lol =)) |
Wispywhisker « Citoyen » 1456437960000
| 1 | ||
This may sound dumb, but I is still confused on how exactly to do this ;-; |
Wispywhisker « Citoyen » 1456438560000
| 0 | ||
I am kinda confused now ;^; I don't really get what to do, nor how to do it :c |
Antonio « Sénateur » 1456440660000
| 1 | ||
Ppl thought I was hacking lol |
Legitanim « Citoyen » 1456472580000
| 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 |