×

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
  • /
  • Castle Module Lua
Castle Module Lua
Grth_demon
« Citoyen »
1688391720000
    • Grth_demon#2154
    • Profil
    • Derniers messages
    • Tribu
#1
  1
Welcome to castle lua.


Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
local Admin = "Grth_demon#2154"

tfm.exec.setNameColor(Admin, 0xff7100)
tfm.exec.setRoomMaxPlayers(150)

greetings={
"Hey let's go to move.",

}
moduleName="castlebattle"

players={}
notifyOrder={}
map={}
currentTime=0
SPAWNEDOBJS = {}
_S = {}

ranks={
['Grth_demon#2154']=5,
}

RANKS={
STAFF=5,
ROOM_OWNER=4,
ROOM_ADMIN=3,
ANY=1
}

tfm.exec.playSound("cite18/musique/esprit2.mp3", 1)
tfm.exec.playSound("cite18/musique/esprit1.mp3", 1)

volume = 100

Reload={true}
-- Mouse x,y
system.bindMouse(Admin, true)
function eventMouse(playerName, xMousePosition, yMousePosition)
print(xMousePosition .. " " .. yMousePosition)
end

tfm.exec.setNameColor(Admin, 0xff7100)
tfm.exec.movePlayer(Admin, 65, 105, 0, 0, 0, false)

ui.addTextArea(2,
"<font size='18'><p align='center'><font color='#ffffff'><a href=\"event:join\">[?]</a>", playerName,
-15, 20, 150, 150, 0x000000, 0x000000, 1.8, true)

ui.addTextArea(3,
"<font size='18'><p align='center'><font color='#ffffff'><a href=\"event:rules\">[Rules]</a>", playerName,
35, 20, 150, 150, 0x000000, 0x000000, 1.8, true)

ui.addTextArea(4,
"<font size='18'><p align='center'><font color='#ffffff'><a href=\"event:Ateiler801\">[Ateiler801]</a>", playerName,
145, 20, 150, 150, 0x000000, 0x000000, 1.8, true)

ui.addTextArea(5,
"<font size='18'><p align='center'><font color='#ffffff'><a href=\"event:Ateiler801\">[Youtube]</a>", playerName,
275, 20, 150, 150, 0x000000, 0x000000, 1.8, true)

ui.addTextArea(6,
"<font size='18'><p align='center'><font color='#ffffff'><a href=\"event:Love\">❤</a>", playerName,
365, 20, 150, 150, 0x000000, 0x000000, 1.8, true)

ui.addTextArea(7,
"<font size='18'><p align='center'><font color='#ffffff'><a href=\"event:Star\">★</a>", playerName,
395, 20, 150, 150, 0x000000, 0x000000, 1.8, true)






maps={7936408}

tfm.exec.newGame(maps[math.random(#maps)])
tfm.exec.disableAutoShaman(activate)
tfm.exec.disableAfkDeath(true)
tfm.exec.disableAutoTimeLeft(true)
function giveWin(p)
tfm.exec.giveCheese(p)
tfm.exec.playerVictory(p)
tfm.exec.giveMeep=(name)
tfm.exec.disableTimerLog(true)
tfm.get.room.playerList={isVampire}
tfm.exec.chatMessage=Hi
end
tfm.exec.setNameColor=(FF0000)
function eventPlayerDied(dp)
local c=0
local pname
local p
local _
for p,_ in pairs(tfm.get.room.playerList) do

if not(tfm.get.room.playerList[p].isDead) then
c=c+1

pname=p

end
end

function eventPlayerDied(player)
removePlayer(player);
tfm.exec.chatMessage("<J>YOU DEATH!", player)
ui.addTextArea(1,"<font color='#CC002D'> WINNER Rank A<N> ", nil, 363.1415926548, 53.5, nil, nil, 100, nil, 1.0, true)
exit=(True)
end
end
print("<N>Hello bro! <font color='#89A7F5'>my name is grth demon buts its your mean got editor lua. ")





function eventLoop()
tfm.exec.addShamanObject(tfm.enum.shamanObject.cannon, math.random()*800, -450)
tfm.exec.addShamanObject(tfm.enum.shamanObject.ball, math.random()*800, -450)
end

tfm.exec.setUIMapName("<r><B>#CASTLE</r></B>")
ui.addTextArea(1,"<font color='#CC002D'> CASTLE Mode HÁRÐ<N> ", nil, 363.1415926548, 53.5, nil, nil, 100, nil, 1.0, true)


--hi my name is grth demon buts it your enjoy the games.

Dernière modification le 1688431740000
Kickaricka3
« Consul »
1688425920000
    • Kickaricka3#9256
    • Profil
    • Derniers messages
    • Tribu
#2
  0
Wow! It's amazing! *-*
Grth_demon
« Citoyen »
1688426280000
    • Grth_demon#2154
    • Profil
    • Derniers messages
    • Tribu
#3
  0
thx dude
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Castle Module Lua
© Atelier801 2018

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

Version 1.27