×

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
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • [Lua] Peça scripts aqui!
« ‹ 80 / 133 › »
[Lua] Peça scripts aqui!
Mashmellliiiiiw
« Censeur »
1537550880000
    • Mashmellliiiiiw#7990
    • Profil
    • Derniers messages
    • Tribu
#1581
  2
Charlotte a dit :
Yuri00203 a dit :
batata

Utilize o botão esquerdo do mouse para invocar a Batata!
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
_, nickname = pcall(nil)
admin = string.match(nickname, "(.-)%.")

system.bindMouse(admin)

viprin1000 = function(x,y)
id_piso = 0
id_viprin = 0
id_textArea = 0
tfm.exec.addPhysicObject (id_piso + 1,x + 3,y - 45,{type = 13, width = 100, height = 10, friction = 1, restitution = 0.2, angle = 0, miceCollision = true, groundCollision = true, foreground = false, dynamic = false,fixedRotation = true, mass = 0, linearDamping = 0, angularDamping = 0})
tfm.exec.addPhysicObject (id_piso + 2,x + 1,y + 39,{type = 13, width = 110, height = 10, friction = 1, restitution = 0.2, angle = 0, miceCollision = true, groundCollision = true, foreground = false, dynamic = false,fixedRotation = false, mass = 0, linearDamping = 0, angularDamping = 0})
tfm.exec.addPhysicObject (id_piso + 3,x - 29,y + 63,{type = 13, width = 80, height = 10, friction = 1, restitution = 0.2, angle = 0, miceCollision = true, groundCollision = true, foreground = false, dynamic = false,fixedRotation = false, mass = 0, linearDamping = 0, angularDamping = 0})
tfm.exec.addPhysicObject (id_piso + 4,x - 5,y - 55,{type = 13, width = 94, height = 10, friction = 1, restitution = 0.2, angle = 0, miceCollision = true, groundCollision = true, foreground = false, dynamic = false,fixedRotation = false, mass = 0, linearDamping = 0, angularDamping = 0})
tfm.exec.addPhysicObject (id_piso + 5,x + 3,y - 7,{type = 13, width = 112, height = 10, friction = 1, restitution = 0.2, angle = 0, miceCollision = true, groundCollision = true, foreground = false, dynamic = false,fixedRotation = false, mass = 0, linearDamping = 0, angularDamping = 0})

--Cor
tfm.exec.addJoint (id_viprin + 1, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 85)..','..(y - 84)..'', point2 = ''..(x - 98)..','..(y + 3)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 2, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 98)..','..(y + 2)..'', point2 = ''..(x - 95)..','..(y + 87)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 3, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 95)..','..(y + 87)..'', point2 = ''..(x - 82)..','..(y + 110)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 4, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 83)..','..(y + 112)..'', point2 = ''..(x - 34)..','..(y + 134)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 5, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 34)..','..(y + 134)..'', point2 = ''..(x + 17)..','..(y + 137)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 6, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 17)..','..(y + 137)..'', point2 = ''..(x + 52)..','..(y + 126)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 7, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 52)..','..(y + 126)..'', point2 = ''..(x + 81)..','..(y + 101)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 78)..','..(y + 103)..'', point2 = ''..(x + 95)..','..(y + 62)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 95)..','..(y + 61)..'', point2 = ''..(x + 103)..','..(y)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 103)..','..(y)..'', point2 = ''..(x + 91)..','..(y - 62)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 91)..','..(y - 62)..'', point2 = ''..(x + 68)..','..(y - 105)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 68)..','..(y - 105)..'', point2 = ''..(x + 28)..','..(y - 133)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y - 133)..'', point2 = ''..(x - 9)..','..(y - 141)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 9)..','..(y - 141)..'', point2 = ''..(x - 55)..','..(y - 131)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 60)..','..(y - 127)..'', point2 = ''..(x - 84)..','..(y - 91)..'', color = '0xCCAA6D', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 16, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 69)..','..(y + 93)..'', point2 = ''..(x + 33)..','..(y + 102)..'', color = '0xCCAA6D', line = 60, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 17, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 33)..','..(y + 102)..'', point2 = ''..(x + 75)..','..(y + 26)..'', color = '0xCCAA6D', line = 60, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 18, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 75)..','..(y + 26)..'', point2 = ''..(x + 48)..','..(y - 91)..'', color = '0xCCAA6D', line = 60, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 19, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 48)..','..(y - 91)..'', point2 = ''..(x - 42)..','..(y - 109)..'', color = '0xCCAA6D', line = 60, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 20, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y - 109)..'', point2 = ''..(x - 76)..','..(y + 60)..'', color = '0xCCAA6D', line = 60, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 21, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 26)..','..(y + 75)..'', point2 = ''..(x + 11)..','..(y - 73)..'', color = '0xCCAA6D', line = 110, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 22, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 44)..','..(y - 129)..'', point2 = ''..(x + 72)..','..(y - 107)..'', color = '0xE6B975', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 23, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 72)..','..(y - 107)..'', point2 = ''..(x + 92)..','..(y - 74)..'', color = '0xE6B975', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 24, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 92)..','..(y - 74)..'', point2 = ''..(x + 98)..','..(y - 58)..'', color = '0xE6B975', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 25, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 99)..','..(y - 58)..'', point2 = ''..(x + 75)..','..(y - 84)..'', color = '0xE6B975', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 26, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 75)..','..(y - 84)..'', point2 = ''..(x + 44)..','..(y - 129)..'', color = '0xE6B975', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 27, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 77)..','..(y - 91)..'', point2 = ''..(x + 59)..','..(y - 119)..'', color = '0xE6B975', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 28, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 109)..','..(y + 34)..'', point2 = ''..(x - 96)..','..(y + 74)..'', color = '0xBF995A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 29, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 96)..','..(y + 74)..'', point2 = ''..(x - 86)..','..(y + 89)..'', color = '0xBF995A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 30, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 86)..','..(y + 89)..'', point2 = ''..(x - 65)..','..(y + 102)..'', color = '0xBF995A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 31, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 65)..','..(y + 102)..'', point2 = ''..(x - 36)..','..(y + 113)..'', color = '0xBF995A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 32, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 36)..','..(y + 113)..'', point2 = ''..(x - 5)..','..(y + 122)..'', color = '0xBF995A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 33, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 122)..'', point2 = ''..(x + 30)..','..(y + 125)..'', color = '0xBF995A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 34, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 30)..','..(y + 125)..'', point2 = ''..(x + 68)..','..(y + 125)..'', color = '0xBF995A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 35, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 107)..','..(y + 53)..'', point2 = ''..(x - 99)..','..(y + 103)..'', color = '0xBF995A', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 36, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 99)..','..(y + 103)..'', point2 = ''..(x - 76)..','..(y + 126)..'', color = '0xBF995A', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 37, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 76)..','..(y + 127)..'', point2 = ''..(x - 24)..','..(y + 143)..'', color = '0xBF995A', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 38, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 23)..','..(y + 143)..'', point2 = ''..(x + 15)..','..(y + 145)..'', color = '0xBF995A', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 39, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 15)..','..(y + 145)..'', point2 = ''..(x + 62)..','..(y + 128)..'', color = '0xBF995A', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 40, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 106)..','..(y + 53)..'', point2 = ''..(x - 108)..','..(y + 40)..'', color = '0xBF995A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 41, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 49)..','..(y + 131)..'', point2 = ''..(x - 26)..','..(y + 133)..'', color = '0xBF995A', line = 16, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 42, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y + 135)..'', point2 = ''..(x - 90)..','..(y + 109)..'', color = '0xBF995A', line = 16, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 43, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 88)..','..(y + 109)..'', point2 = ''..(x - 101)..','..(y + 78)..'', color = '0xBF995A', line = 16, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 44, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 98)..','..(y + 94)..'', point2 = ''..(x - 6)..','..(y + 129)..'', color = '0xBF995A', line = 16, alpha = 1, foreground = true})

--Detalhe
tfm.exec.addJoint (id_viprin + 45, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 56)..','..(y - 49)..'', point2 = ''..(x + 56)..','..(y - 48)..'', color = '0x6B5838', line = 20, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 46, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 71)..','..(y + 115)..'', point2 = ''..(x - 71)..','..(y + 116)..'', color = '0x6B5838', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 47, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 74)..','..(y + 45)..'', point2 = ''..(x + 74)..','..(y + 59)..'', color = '0x6B5838', line = 24, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 48, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y + 107)..'', point2 = ''..(x + 18)..','..(y + 112)..'', color = '0x6B5838', line = 18, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 49, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 89)..','..(y + 11)..'', point2 = ''..(x - 89)..','..(y + 16)..'', color = '0x6B5838', line = 18, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 50, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 55)..','..(y + 46)..'', point2 = ''..(x - 49)..','..(y + 65)..'', color = '0x6B5838', line = 28, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 51, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y - 76)..'', point2 = ''..(x - 42)..','..(y - 75)..'', color = '0x6B5838', line = 42, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 52, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 49)..','..(y - 110)..'', point2 = ''..(x - 48)..','..(y - 117)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 53, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 48)..','..(y - 117)..'', point2 = ''..(x - 44)..','..(y - 123)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 54, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 44)..','..(y - 123)..'', point2 = ''..(x - 38)..','..(y - 128)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 55, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 38)..','..(y - 128)..'', point2 = ''..(x - 31)..','..(y - 131)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 56, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 31)..','..(y - 131)..'', point2 = ''..(x - 26)..','..(y - 120)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 57, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 26)..','..(y - 120)..'', point2 = ''..(x - 36)..','..(y - 117)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 58, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 36)..','..(y - 117)..'', point2 = ''..(x - 44)..','..(y - 113)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 59, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 44)..','..(y - 113)..'', point2 = ''..(x - 49)..','..(y - 109)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 60, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 48)..','..(y - 112)..'', point2 = ''..(x - 43)..','..(y - 121)..'', color = '0x725126', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 61, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 43)..','..(y - 121)..'', point2 = ''..(x - 32)..','..(y - 129)..'', color = '0x725126', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 62, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 32)..','..(y - 129)..'', point2 = ''..(x - 29)..','..(y - 122)..'', color = '0x725126', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 63, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 29)..','..(y - 122)..'', point2 = ''..(x - 45)..','..(y - 115)..'', color = '0x725126', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 64, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 43)..','..(y - 117)..'', point2 = ''..(x - 32)..','..(y - 125)..'', color = '0x725126', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 65, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 9)..','..(y - 119)..'', point2 = ''..(x + 12)..','..(y - 129)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 66, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 12)..','..(y - 129)..'', point2 = ''..(x + 20)..','..(y - 127)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 67, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 127)..'', point2 = ''..(x + 28)..','..(y - 122)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 68, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y - 122)..'', point2 = ''..(x + 32)..','..(y - 118)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 69, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 32)..','..(y - 118)..'', point2 = ''..(x + 33)..','..(y - 114)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 70, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 33)..','..(y - 114)..'', point2 = ''..(x + 25)..','..(y - 117)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 71, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 25)..','..(y - 117)..'', point2 = ''..(x + 9)..','..(y - 119)..'', color = '0x725126', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 72, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 11)..','..(y - 120)..'', point2 = ''..(x + 13)..','..(y - 126)..'', color = '0x725126', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 73, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 13)..','..(y - 126)..'', point2 = ''..(x + 22)..','..(y - 124)..'', color = '0x725126', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 74, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 22)..','..(y - 124)..'', point2 = ''..(x + 31)..','..(y - 117)..'', color = '0x725126', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 75, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y - 118)..'', point2 = ''..(x + 13)..','..(y - 121)..'', color = '0x725126', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 76, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 13)..','..(y - 123)..'', point2 = ''..(x + 23)..','..(y - 121)..'', color = '0x725126', line = 4, alpha = 1, foreground = true})

--BocaDentro
tfm.exec.addJoint (id_viprin + 77, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 58)..','..(y - 22)..'', point2 = ''..(x - 47)..','..(y + 4)..'', color = '0x73495B', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 78, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 47)..','..(y + 4)..'', point2 = ''..(x - 29)..','..(y + 24)..'', color = '0x73495B', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 79, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 29)..','..(y + 24)..'', point2 = ''..(x - 19)..','..(y + 31)..'', color = '0x73495B', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 80, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 19)..','..(y - 5)..'', point2 = ''..(x + 14)..','..(y + 6)..'', color = '0x73495B', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 81, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 14)..','..(y + 6)..'', point2 = ''..(x + 17)..','..(y + 21)..'', color = '0x73495B', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 82, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 52)..','..(y - 14)..'', point2 = ''..(x - 33)..','..(y - 5)..'', color = '0x73495B', line = 8, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 83, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 33)..','..(y - 5)..'', point2 = ''..(x + 14)..','..(y - 2)..'', color = '0x73495B', line = 8, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 84, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 50)..','..(y - 11)..'', point2 = ''..(x - 30)..','..(y + 20)..'', color = '0x73495B', line = 8, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 85, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y + 20)..'', point2 = ''..(x - 18)..','..(y + 26)..'', color = '0x73495B', line = 8, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 86, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 41)..','..(y - 3)..'', point2 = ''..(x + 11)..','..(y + 5)..'', color = '0x73495B', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 87, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 12)..','..(y + 7)..'', point2 = ''..(x + 11)..','..(y + 18)..'', color = '0x73495B', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 88, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 11)..','..(y + 18)..'', point2 = ''..(x - 28)..','..(y + 19)..'', color = '0x73495B', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 89, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 7)..','..(y + 10)..'', point2 = ''..(x - 36)..','..(y + 8)..'', color = '0x73495B', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 90, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 17)..','..(y + 32)..'', point2 = ''..(x - 15)..','..(y + 28)..'', color = '0xFE8DC0', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 91, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 28)..'', point2 = ''..(x - 12)..','..(y + 24)..'', color = '0xFE8DC0', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 92, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 12)..','..(y + 24)..'', point2 = ''..(x - 7)..','..(y + 23)..'', color = '0xFE8DC0', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 93, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 7)..','..(y + 23)..'', point2 = ''..(x + 3)..','..(y + 24)..'', color = '0xFE8DC0', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 94, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 3)..','..(y + 24)..'', point2 = ''..(x + 11)..','..(y + 29)..'', color = '0xFE8DC0', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 95, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 8)..','..(y + 26)..'', point2 = ''..(x + 11)..','..(y + 23)..'', color = '0xFE8DC0', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 96, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 11)..','..(y + 23)..'', point2 = ''..(x + 18)..','..(y + 21)..'', color = '0xFE8DC0', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 97, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y + 21)..'', point2 = ''..(x + 26)..','..(y + 25)..'', color = '0xFE8DC0', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 98, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 13)..','..(y + 31)..'', point2 = ''..(x - 2)..','..(y + 33)..'', color = '0xFE8DC0', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 99, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 2)..','..(y + 33)..'', point2 = ''..(x + 23)..','..(y + 27)..'', color = '0xFE8DC0', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 100, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y + 24)..'', point2 = ''..(x - 2)..','..(y + 31)..'', color = '0xFE8DC0', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 101, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 4)..','..(y + 28)..'', point2 = ''..(x - 11)..','..(y + 26)..'', color = '0xFE8DC0', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 102, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y + 32)..'', point2 = ''..(x - 17)..','..(y + 26)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 103, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 17)..','..(y + 26)..'', point2 = ''..(x - 13)..','..(y + 22)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 104, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 13)..','..(y + 22)..'', point2 = ''..(x - 9)..','..(y + 21)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 105, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 9)..','..(y + 21)..'', point2 = ''..(x - 2)..','..(y + 21)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 106, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 2)..','..(y + 21)..'', point2 = ''..(x + 3)..','..(y + 22)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 107, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 3)..','..(y + 22)..'', point2 = ''..(x + 8)..','..(y + 24)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 108, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 8)..','..(y + 24)..'', point2 = ''..(x + 11)..','..(y + 27)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 109, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 7)..','..(y + 23)..'', point2 = ''..(x + 10)..','..(y + 21)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 110, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 10)..','..(y + 21)..'', point2 = ''..(x + 16)..','..(y + 19)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 111, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 16)..','..(y + 19)..'', point2 = ''..(x + 21)..','..(y + 19)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 112, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 21)..','..(y + 19)..'', point2 = ''..(x + 25)..','..(y + 21)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 113, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 25)..','..(y + 21)..'', point2 = ''..(x + 29)..','..(y + 25)..'', color = '0x703042', line = 2, alpha = 1, foreground = true})

--Boca
tfm.exec.addJoint (id_viprin + 114, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 68)..','..(y - 38)..'', point2 = ''..(x - 68)..','..(y - 37)..'', color = '0x74501A', line = 38, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 115, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 66)..','..(y - 32)..'', point2 = ''..(x - 66)..','..(y - 31)..'', color = '0xCCAA6D', line = 42, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 116, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 65)..','..(y - 66)..'', point2 = ''..(x - 47)..','..(y - 42)..'', color = '0xCCAA6D', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 117, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 73)..','..(y - 51)..'', point2 = ''..(x - 65)..','..(y - 30)..'', point3 = ''..(x - 72)..','..(y - 43)..'', point4 = ''..(x - 69)..','..(y - 36)..'', color = '0x74501A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 118, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 65)..','..(y - 30)..'', point2 = ''..(x - 42)..','..(y - 14)..'', point3 = ''..(x - 58)..','..(y - 24)..'', point4 = ''..(x - 51)..','..(y - 19)..'', color = '0x74501A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 119, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 42)..','..(y - 14)..'', point2 = ''..(x - 11)..','..(y - 6)..'', point3 = ''..(x - 32)..','..(y - 11)..'', point4 = ''..(x - 22)..','..(y - 8)..'', color = '0x74501A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 120, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 11)..','..(y - 6)..'', point2 = ''..(x + 23)..','..(y - 7)..'', point3 = ''..(x + 1)..','..(y - 6)..'', point4 = ''..(x + 12)..','..(y - 6)..'', color = '0x74501A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 121, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 23)..','..(y - 7)..'', point2 = ''..(x + 52)..','..(y - 19)..'', point3 = ''..(x + 33)..','..(y - 10)..'', point4 = ''..(x + 43)..','..(y - 14)..'', color = '0x74501A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 122, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 52)..','..(y - 19)..'', point2 = ''..(x + 72)..','..(y - 43)..'', point3 = ''..(x + 60)..','..(y - 25)..'', point4 = ''..(x + 67)..','..(y - 33)..'', color = '0x74501A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 123, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 72)..','..(y - 43)..'', point2 = ''..(x + 76)..','..(y - 53)..'', point3 = ''..(x + 76)..','..(y - 53)..'', point4 = ''..(x + 77)..','..(y - 66)..'', color = '0x74501A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 124, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 90)..','..(y - 46)..'', point2 = ''..(x + 69)..','..(y - 79)..'', color = '0xCCAA6D', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 125, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 57)..','..(y - 18)..'', point2 = ''..(x - 53)..','..(y - 14)..'', color = '0x73495B', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 126, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 55)..','..(y - 13)..'', point2 = ''..(x - 59)..','..(y - 21)..'', color = '0x73495B', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 127, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 59)..','..(y - 21)..'', point2 = ''..(x - 51)..','..(y - 16)..'', color = '0x73495B', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 128, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 61)..','..(y - 25)..'', point2 = ''..(x - 54)..','..(y - 6)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 129, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 54)..','..(y - 6)..'', point2 = ''..(x - 49)..','..(y + 4)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 130, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 49)..','..(y + 4)..'', point2 = ''..(x - 41)..','..(y + 15)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 131, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 41)..','..(y + 15)..'', point2 = ''..(x - 31)..','..(y + 26)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 132, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 31)..','..(y + 26)..'', point2 = ''..(x - 19)..','..(y + 33)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 133, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 19)..','..(y + 33)..'', point2 = ''..(x - 6)..','..(y + 36)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 134, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 6)..','..(y + 36)..'', point2 = ''..(x + 7)..','..(y + 36)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 135, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 7)..','..(y + 36)..'', point2 = ''..(x + 23)..','..(y + 31)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 136, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 23)..','..(y + 31)..'', point2 = ''..(x + 36)..','..(y + 22)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 137, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 36)..'', point2 = ''..(x + 9)..','..(y + 34)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 138, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 9)..','..(y + 34)..'', point2 = ''..(x + 23)..','..(y + 30)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 139, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 23)..','..(y + 30)..'', point2 = ''..(x + 35)..','..(y + 21)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 140, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 35)..','..(y + 21)..'', point2 = ''..(x + 38)..','..(y + 22)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 141, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 38)..','..(y + 22)..'', point2 = ''..(x + 39)..','..(y + 24)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 142, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 39)..','..(y + 24)..'', point2 = ''..(x + 38)..','..(y + 30)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 143, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 38)..','..(y + 30)..'', point2 = ''..(x + 41)..','..(y + 31)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 144, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 41)..','..(y + 31)..'', point2 = ''..(x + 43)..','..(y + 33)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 145, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 43)..','..(y + 33)..'', point2 = ''..(x + 35)..','..(y + 32)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 146, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 35)..','..(y + 32)..'', point2 = ''..(x + 37)..','..(y + 22)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 147, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 38)..','..(y + 23)..'', point2 = ''..(x + 36)..','..(y + 31)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 148, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 36)..','..(y + 31)..'', point2 = ''..(x + 40)..','..(y + 31)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 149, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y + 17)..'', point2 = ''..(x + 17)..','..(y + 11)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 150, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 17)..','..(y + 11)..'', point2 = ''..(x + 17)..','..(y + 5)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 151, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 17)..','..(y + 5)..'', point2 = ''..(x + 19)..','..(y - 2)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 152, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 19)..','..(y - 2)..'', point2 = ''..(x + 23)..','..(y - 8)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 153, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 23)..','..(y - 6)..'', point2 = ''..(x + 20)..','..(y - 1)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 154, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 1)..'', point2 = ''..(x + 18)..','..(y + 7)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 155, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y + 7)..'', point2 = ''..(x + 19)..','..(y + 17)..'', color = '0x74501A', line = 2, alpha = 1, foreground = true})

--Olhos
tfm.exec.addJoint (id_viprin + 156, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 21)..','..(y - 83)..'', point2 = ''..(x + 21)..','..(y - 71)..'', color = '0xe6e6e6', line = 46, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 157, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 27)..','..(y - 83)..'', point2 = ''..(x - 23)..','..(y - 64)..'', color = '0xe6e6e6', line = 50, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 158, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 21)..','..(y - 84)..'', point2 = ''..(x + 21)..','..(y - 69)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 159, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 27)..','..(y - 83)..'', point2 = ''..(x - 23)..','..(y - 65)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 160, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 26)..','..(y - 83)..'', point2 = ''..(x + 26)..','..(y - 82)..'', color = '0xe6e6e6', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 161, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 21)..','..(y - 82)..'', point2 = ''..(x - 21)..','..(y - 81)..'', color = '0xe6e6e6', line = 12, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 162, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 15)..','..(y - 70)..'', point2 = ''..(x + 15)..','..(y - 69)..'', color = '0xe6e6e6', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 163, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 29)..','..(y - 65)..'', point2 = ''..(x - 29)..','..(y - 64)..'', color = '0xe6e6e6', line = 8, alpha = 1, foreground = true})

--Contorno
tfm.exec.addJoint (id_viprin + 164, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 98)..','..(y + 112)..'', point2 = ''..(x - 106)..','..(y + 93)..'', point3 = ''..(x - 101)..','..(y + 109)..'', point4 = ''..(x - 104)..','..(y + 102)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 165, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 106)..','..(y + 93)..'', point2 = ''..(x - 110)..','..(y + 52)..'', point3 = ''..(x - 108)..','..(y + 81)..'', point4 = ''..(x - 109)..','..(y + 67)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 166, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 110)..','..(y + 52)..'', point2 = ''..(x - 110)..','..(y - 1)..'', point3 = ''..(x - 111)..','..(y + 35)..'', point4 = ''..(x - 111)..','..(y + 18)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 167, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 110)..','..(y - 1)..'', point2 = ''..(x - 103)..','..(y - 56)..'', point3 = ''..(x - 108)..','..(y - 19)..'', point4 = ''..(x - 106)..','..(y - 38)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 168, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 103)..','..(y - 56)..'', point2 = ''..(x - 88)..','..(y - 104)..'', point3 = ''..(x - 99)..','..(y - 73)..'', point4 = ''..(x - 94)..','..(y - 90)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 169, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 88)..','..(y - 104)..'', point2 = ''..(x - 64)..','..(y - 137)..'', point3 = ''..(x - 81)..','..(y - 118)..'', point4 = ''..(x - 73)..','..(y - 128)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 170, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 64)..','..(y - 137)..'', point2 = ''..(x - 53)..','..(y - 143)..'', point3 = ''..(x - 53)..','..(y - 143)..'', point4 = ''..(x - 41)..','..(y - 145)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 171, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 103)..','..(y + 104)..'', point2 = ''..(x - 88)..','..(y + 123)..'', point3 = ''..(x - 100)..','..(y + 110)..'', point4 = ''..(x - 95)..','..(y + 117)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 172, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 88)..','..(y + 123)..'', point2 = ''..(x - 58)..','..(y + 139)..'', point3 = ''..(x - 79)..','..(y + 129)..'', point4 = ''..(x - 69)..','..(y + 135)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 173, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 58)..','..(y + 139)..'', point2 = ''..(x - 19)..','..(y + 149)..'', point3 = ''..(x - 46)..','..(y + 144)..'', point4 = ''..(x - 32)..','..(y + 147)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 174, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 19)..','..(y + 149)..'', point2 = ''..(x + 23)..','..(y + 148)..'', point3 = ''..(x - 5)..','..(y + 150)..'', point4 = ''..(x + 9)..','..(y + 150)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 175, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 23)..','..(y + 148)..'', point2 = ''..(x + 63)..','..(y + 131)..'', point3 = ''..(x + 37)..','..(y + 144)..'', point4 = ''..(x + 50)..','..(y + 139)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 176, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 63)..','..(y + 131)..'', point2 = ''..(x + 93)..','..(y + 96)..'', point3 = ''..(x + 74)..','..(y + 122)..'', point4 = ''..(x + 84)..','..(y + 110)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 177, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 93)..','..(y + 96)..'', point2 = ''..(x + 101)..','..(y + 79)..'', point3 = ''..(x + 101)..','..(y + 79)..'', point4 = ''..(x + 106)..','..(y + 59)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 178, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 106)..','..(y + 59)..'', point2 = ''..(x + 111)..','..(y - 4)..'', point3 = ''..(x + 109)..','..(y + 37)..'', point4 = ''..(x + 111)..','..(y + 16)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 179, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 111)..','..(y - 4)..'', point2 = ''..(x + 103)..','..(y - 57)..'', point3 = ''..(x + 110)..','..(y - 23)..'', point4 = ''..(x + 108)..','..(y - 40)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 180, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 103)..','..(y - 57)..'', point2 = ''..(x + 84)..','..(y - 98)..'', point3 = ''..(x + 98)..','..(y - 72)..'', point4 = ''..(x + 92)..','..(y - 86)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 181, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 84)..','..(y - 98)..'', point2 = ''..(x + 57)..','..(y - 128)..'', point3 = ''..(x + 76)..','..(y - 109)..'', point4 = ''..(x + 67)..','..(y - 119)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 182, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 57)..','..(y - 128)..'', point2 = ''..(x + 23)..','..(y - 145)..'', point3 = ''..(x + 46)..','..(y - 135)..'', point4 = ''..(x + 35)..','..(y - 141)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 183, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x + 23)..','..(y - 145)..'', point2 = ''..(x - 15)..','..(y - 150)..'', point3 = ''..(x + 10)..','..(y - 148)..'', point4 = ''..(x - 2)..','..(y - 150)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 184, id_piso + 1, id_piso + 1,{type = 2, point1 = ''..(x - 15)..','..(y - 150)..'', point2 = ''..(x - 28)..','..(y - 148)..'', point3 = ''..(x - 28)..','..(y - 148)..'', point4 = ''..(x - 41)..','..(y - 145)..'', color = '0x6D522A', line = 4, alpha = 1, foreground = true})

--TextArea
ui.addTextArea (id_textArea + 1,'<p align="center"><font size="20" color="#ffc1f6">Batata</font></p>',nil, x - 80, y - 190,160,30,'0x010101','0x010101',0.4,false)
end

eventMouse = function(n,x,y)
viprin1000(x,y)
end

Mano...
Isayayaa
« Citoyen »
1537637220000
    • Isayayaa#3725
    • Profil
    • Derniers messages
    • Tribu
#1582
  0
Rianmojang1 a dit :
Melyinny a dit :
não tô achando o Corrida de Perguntas, poderia fazer um pra mim ?

/sala #breno0perguntas

É pra cafofo.
Charlotte
« Citoyen »
1537839600000
    • Charlotte#5753
    • Profil
    • Derniers messages
    • Tribu
#1583
  1
Melyinny a dit :
Rianmojang1 a dit :
Melyinny a dit :
não tô achando o Corrida de Perguntas, poderia fazer um pra mim ?

/sala #breno0perguntas

É pra cafofo.

Aqui
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
for _, k in next, {'AutoShaman','AutoNewGame','AutoTimeLeft','PhysicalConsumables','AfkDeath','AutoScore','MortCommand'} do
tfm.exec['disable' .. k]()
end

local player = {}

eventNewPlayer = function(name)
player[name] = {0,0}
tfm.exec.respawnPlayer(name)
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

eventPlayerLeft = function(name)
player[name] = nil
end

eventNewGame = function()
textBox()
selection()
tfm.exec.setGameTime(60,true)
local answer,answerButton = nil
for k,v in next, player do player[k][2] = 0 if k ~= chosen then tfm.exec.setNameColor(k,'0xC2C2DA') end end
end

eventChatCommand = function(name,c)
local c = c:lower()
if c == 'q' and name == chosen then ui.addPopup (1,2,'Escolha a pergunta:',name,300,150,200,false)
elseif c == 'skip' and name == chosen then tfm.exec.newGame('@7517543') end
end

eventPopupAnswer = function(id,name,r)
if id == 1 then ui.updateTextArea(7,'<p align="center"><font size="14"><b>'..r..'</b></font><p>')
ui.addPopup (2,2,'Escolha a resposta:',name,300,150,200,false)
elseif id == 2 then answer,answerButton = r:lower(),true tfm.exec.setGameTime(60,true) ui.updateTextArea(8,'<b>Podem responder!</b>') end
end

eventChatMessage = function(name,m)
if answerButton and name ~= chosen and m:lower() == answer then
answer,answerButton = nil
player[name] = {player[name][1] + 1, player[name][2] + 1}
tfm.exec.movePlayer(name,420 + (200 * player[name][2]),324) tfm.exec.setGameTime(60,true)
ui.updateTextArea(8,'<b>Aguardando o shaman!</b>')
if player[name][2] >= 5 then tfm.exec.newGame('@7517543') player[name][1] = player[name][1] + 3 end
end
end

textBox = function()
ui.addTextArea (1,'<font size="24" color="#2ecf73"><b> 1 2 3 4 5</b></font>',nil,600,180,1000,40,nil,nil,0,false)
ui.addTextArea (2,'',nil,20,30,760,50,'0x66402d','0x66402d',1,true)
ui.addTextArea (3,'',nil,21,31,758,48,'0x8a583c','0x8a583c',1,true)
ui.addTextArea (4,'',nil,23,33,754,44,'0x0d191b','0x0d191b',1,true)
ui.addTextArea (5,'',nil,25,35,750,40,'0x2d5a61','0x2d5a61',1,true)
ui.addTextArea (6,'',nil,25,36,750,38,'0x142b2e','0x142b2e',1,true)
ui.addTextArea (7,'<p align="center"><font size="14"><b>Aguardando pergunta...</b></font><p>',nil,25,36,750,38,nil,nil,0,true)
ui.addTextArea (8,'<b>Aguardando o shaman!</b>',nil,5,380,160,30,'0x243b4d','0x0e232c',1,true)
end

selection = function()
local value = -1
for k,v in next, player do
value = math.max(value,v[1])
if value == v[1] then chosen = k end
end
player[chosen][1] = 0 tfm.exec.setNameColor(chosen,'0xCB546B') ui.setShamanName(chosen)
end

eventLoop = function(tA,tR)
if tR < 0 then tfm.exec.newGame('@7517543') end
end

tfm.exec.newGame('@7517543')
Leoonardo123
« Censeur »
1538281500000
    • Leoonardo123#4976
    • Profil
    • Derniers messages
#1584
  0
Que saudade da seção...
Queria um script aonde uma nuvem seguisse o rato e faze-se cair partículas azuis da nuvem (para simular a chuva)
Charlotte
« Citoyen »
1538289360000
    • Charlotte#5753
    • Profil
    • Derniers messages
    • Tribu
#1585
  1
Cafetina a dit :
Que saudade da seção...
Queria um script aonde uma nuvem seguisse o rato e faze-se cair partículas azuis da nuvem (para simular a chuva)

Observação: !1 ou maior quê !4 - Nuvem padrão
!2 - Nuvem feliz
!3 - Nuvem triste
!4 - Nuvem raivosa

Script
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
_, nickname = pcall(nil)
admin = string.match(nickname, "(.-)%.")

local emotion = 1

cloud = function(x,y)

local id_viprin,id_piso = 0,0

tfm.exec.addPhysicObject (id_piso + 1,x,y,{type = 14, width = 10, height = 10, friction = 0.3, restitution = 0.2, angle = 0,color = '0xffffff', miceCollision = false, groundCollision = false, foreground = false, dynamic = false,fixedRotation = false, mass = 0, linearDamping = 0, angularDamping = 0})

--Corpo
tfm.exec.addJoint (id_viprin + 1, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 50)..','..(y + 19)..'', point2 = ''..(x + 49)..','..(y + 19)..'', color = '0x5efffe', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 2, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 50)..','..(y + 4)..'', point2 = ''..(x - 40)..','..(y + 4)..'', color = '0x5efffe', line = 40, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 3, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 39)..','..(y + 9)..'', point2 = ''..(x + 45)..','..(y + 9)..'', color = '0x5efffe', line = 30, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 4, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y - 15)..'', point2 = ''..(x - 20)..','..(y - 13)..'', color = '0x5efffe', line = 70, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 5, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 19)..','..(y - 8)..'', point2 = ''..(x + 19)..','..(y - 7)..'', color = '0x5efffe', line = 50, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 6, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 24)..','..(y - 20)..'', point2 = ''..(x - 24)..','..(y - 19)..'', color = '0xccfffd', line = 46, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 7, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y - 13)..'', point2 = ''..(x - 19)..','..(y - 13)..'', color = '0x5efffe', line = 50, alpha = 1, foreground = true})

for i=8,20 do tfm.exec.removeJoint (i) end

if (emotion == 2) then

--Feliz
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 21)..','..(y - 12)..'', point2 = ''..(x + 21)..','..(y - 11)..'', color = '0x5efffe', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 31)..','..(y - 12)..'', point2 = ''..(x - 31)..','..(y - 11)..'', color = '0x5efffe', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y)..'', point2 = ''..(x - 38)..','..(y + 2)..'', color = '0xfa9efa', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y + 2)..'', point2 = ''..(x + 32)..','..(y)..'', color = '0xfa9efa', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 1)..'', point2 = ''..(x - 5)..','..(y + 2)..'', color = '0x5efffe', line = 14, alpha = 1, foreground = true})
for i=16,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end

elseif (emotion == 3) then

--Triste
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 16, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 10)..'', point2 = ''..(x + 18)..','..(y - 9)..'', color = '0xccfffd', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 32)..','..(y - 10)..'', point2 = ''..(x - 32)..','..(y - 9)..'', color = '0xccfffd', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y)..'', point2 = ''..(x - 38)..','..(y + 2)..'', color = '0xfa9efa', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y + 2)..'', point2 = ''..(x + 32)..','..(y)..'', color = '0xfa9efa', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 14)..'', point2 = ''..(x - 5)..','..(y + 15)..'', color = '0x5efffe', line = 16, alpha = 1, foreground = true})
for i=16,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end

elseif (emotion == 4) then

--Raivoso
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 8)..'', point2 = ''..(x + 18)..','..(y - 7)..'', color = '0xccfffd', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 32)..','..(y - 8)..'', point2 = ''..(x - 32)..','..(y - 7)..'', color = '0xccfffd', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 37)..','..(y - 1)..'', point2 = ''..(x - 33)..','..(y + 1)..'', color = '0xfa9efa', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 24)..','..(y + 1)..'', point2 = ''..(x + 28)..','..(y - 1)..'', color = '0xfa9efa', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 37)..','..(y - 19)..'', point2 = ''..(x - 21)..','..(y - 11)..'', color = '0x1a1a1a', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 11)..','..(y - 11)..'', point2 = ''..(x + 27)..','..(y - 19)..'', color = '0x1a1a1a', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 16, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 11)..','..(y + 10)..'', color = '0x4bccca', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 17, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x)..','..(y + 10)..'', point2 = ''..(x + 4)..','..(y + 10)..'', color = '0x4bccca', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 18, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 14)..','..(y + 10)..'', color = '0xccfffe', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 19, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 3)..','..(y + 10)..'', point2 = ''..(x + 4)..','..(y + 10)..'', color = '0xccfffe', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 20, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 2)..','..(y + 10)..'', color = '0xccfffe', line = 6, alpha = 1, foreground = true})

else

--Normal
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 8, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 10)..'', point2 = ''..(x + 18)..','..(y - 9)..'', color = '0xccfffd', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 28)..','..(y - 10)..'', point2 = ''..(x - 28)..','..(y - 9)..'', color = '0xccfffd', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 46)..','..(y + 4)..'', point2 = ''..(x - 42)..','..(y + 6)..'', color = '0xfa9efa', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 32)..','..(y + 6)..'', point2 = ''..(x + 36)..','..(y + 4)..'', color = '0xfa9efa', line = 4, alpha = 1, foreground = true})
for i=15,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end
end
end

eventLoop = function()
cloud(tfm.get.room.playerList[admin].x - 70,tfm.get.room.playerList[admin].y)
for i=1,math.random(3,10) do tfm.exec.displayParticle (14,tfm.get.room.playerList[admin].x - math.random(30,130), tfm.get.room.playerList[admin].y + 20,0,math.random(100)/40) end
end

eventChatCommand = function(name,c)
local c = c:lower()
if tonumber(c) and name == admin then emotion = tonumber(c) end
end
Leoonardo123
« Censeur »
1538320140000
    • Leoonardo123#4976
    • Profil
    • Derniers messages
#1586
  0
Eu so queria a nuvem triste, mas obrigada.Eu te amo,linda
Leoonardo123
« Censeur »
1538326200000
    • Leoonardo123#4976
    • Profil
    • Derniers messages
#1587
  0
Bem...Eu não especifiquei direito, então é minha culpa >.>
Se não for muito incomodo você poderia refaze-lo para mim?(DESCULPA!!!SERIO MESMO ;-;)

Agora eu vou tentar ser o mais clara possivel!se não entender algo questione por favor >.<

1. A nuvem deve ficar em cima do rato
2. A nuvem tem que parecer negra/
sombria, como se fosse algo ruim da vida
do ratinho que o persegue eternamente
3. A nuvem não pode ser kawaii >.<
Eu gosto de coisas kawaii tbm, e achei
bem fofo.
4.Em vez de usar a partícula de bolhas,
poruqe não usar a do confete azul com o
efeito de gravidade(não sei como se fala,
so sei que mudei umas coisinhas e elas
começou a cair)?
https://i.imgur.com/lB5jH9L.png

https://i.imgur.com/m41Z0va.png
Charlotte
« Citoyen »
1538329320000
    • Charlotte#5753
    • Profil
    • Derniers messages
    • Tribu
#1588
  2
Aqui
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
_, nickname = pcall(nil)
admin = string.match(nickname, "(.-)%.")

local emotion = 4

cloud = function(x,y)

local id_viprin,id_piso = 0,0

tfm.exec.addPhysicObject (id_piso + 1,x,y,{type = 14, width = 10, height = 10, friction = 0.3, restitution = 0.2, angle = 0,color = '0xffffff', miceCollision = false, groundCollision = false, foreground = false, dynamic = false,fixedRotation = false, mass = 0, linearDamping = 0, angularDamping = 0})

--Corpo
tfm.exec.addJoint (id_viprin + 1, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 50)..','..(y + 19)..'', point2 = ''..(x + 49)..','..(y + 19)..'', color = '0x2d7574', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 2, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 50)..','..(y + 4)..'', point2 = ''..(x - 40)..','..(y + 4)..'', color = '0x2d7574', line = 40, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 3, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 39)..','..(y + 9)..'', point2 = ''..(x + 45)..','..(y + 9)..'', color = '0x2d7574', line = 30, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 4, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y - 15)..'', point2 = ''..(x - 20)..','..(y - 13)..'', color = '0x2d7574', line = 70, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 5, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 19)..','..(y - 8)..'', point2 = ''..(x + 19)..','..(y - 7)..'', color = '0x2d7574', line = 50, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 6, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 24)..','..(y - 20)..'', point2 = ''..(x - 24)..','..(y - 19)..'', color = '0x7c9998', line = 46, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 7, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y - 13)..'', point2 = ''..(x - 19)..','..(y - 13)..'', color = '0x2d7574', line = 50, alpha = 1, foreground = true})

for i=8,20 do tfm.exec.removeJoint (i) end

if (emotion == 2) then

--Feliz
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 21)..','..(y - 12)..'', point2 = ''..(x + 21)..','..(y - 11)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 31)..','..(y - 12)..'', point2 = ''..(x - 31)..','..(y - 11)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y)..'', point2 = ''..(x - 38)..','..(y + 2)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y + 2)..'', point2 = ''..(x + 32)..','..(y)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 1)..'', point2 = ''..(x - 5)..','..(y + 2)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
for i=16,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end

elseif (emotion == 3) then

--Triste
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 16, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 10)..'', point2 = ''..(x + 18)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 32)..','..(y - 10)..'', point2 = ''..(x - 32)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y)..'', point2 = ''..(x - 38)..','..(y + 2)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y + 2)..'', point2 = ''..(x + 32)..','..(y)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 14)..'', point2 = ''..(x - 5)..','..(y + 15)..'', color = '0x2d7574', line = 16, alpha = 1, foreground = true})
for i=16,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end

elseif (emotion == 4) then

--Raivoso
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 8)..'', point2 = ''..(x + 18)..','..(y - 7)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 32)..','..(y - 8)..'', point2 = ''..(x - 32)..','..(y - 7)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 37)..','..(y - 1)..'', point2 = ''..(x - 33)..','..(y + 1)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 24)..','..(y + 1)..'', point2 = ''..(x + 28)..','..(y - 1)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 37)..','..(y - 19)..'', point2 = ''..(x - 21)..','..(y - 11)..'', color = '0x1a1a1a', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 11)..','..(y - 11)..'', point2 = ''..(x + 27)..','..(y - 19)..'', color = '0x1a1a1a', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 16, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 11)..','..(y + 10)..'', color = '0x266665', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 17, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x)..','..(y + 10)..'', point2 = ''..(x + 4)..','..(y + 10)..'', color = '0x266665', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 18, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 14)..','..(y + 10)..'', color = '0xccfffe', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 19, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 3)..','..(y + 10)..'', point2 = ''..(x + 4)..','..(y + 10)..'', color = '0xccfffe', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 20, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 2)..','..(y + 10)..'', color = '0xccfffe', line = 6, alpha = 1, foreground = true})

else

--Normal
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 8, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 10)..'', point2 = ''..(x + 18)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 28)..','..(y - 10)..'', point2 = ''..(x - 28)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 46)..','..(y + 4)..'', point2 = ''..(x - 42)..','..(y + 6)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 32)..','..(y + 6)..'', point2 = ''..(x + 36)..','..(y + 4)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
for i=15,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end
end
end

eventLoop = function()
cloud(tfm.get.room.playerList[admin].x,tfm.get.room.playerList[admin].y - 80)
for i=1,math.random(3,10) do tfm.exec.displayParticle (23,tfm.get.room.playerList[admin].x - math.random(-56,50), tfm.get.room.playerList[admin].y - 52,0,math.random(100)/30) end
end

eventChatCommand = function(name,c)
local c = c:lower()
if tonumber(c) and name == admin then emotion = tonumber(c) end
end
Leoonardo123
« Censeur »
1538333820000
    • Leoonardo123#4976
    • Profil
    • Derniers messages
#1589
  0
Charlotte a dit :
Aqui
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
_, nickname = pcall(nil)
admin = string.match(nickname, "(.-)%.")

local emotion = 4

cloud = function(x,y)

local id_viprin,id_piso = 0,0

tfm.exec.addPhysicObject (id_piso + 1,x,y,{type = 14, width = 10, height = 10, friction = 0.3, restitution = 0.2, angle = 0,color = '0xffffff', miceCollision = false, groundCollision = false, foreground = false, dynamic = false,fixedRotation = false, mass = 0, linearDamping = 0, angularDamping = 0})

--Corpo
tfm.exec.addJoint (id_viprin + 1, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 50)..','..(y + 19)..'', point2 = ''..(x + 49)..','..(y + 19)..'', color = '0x2d7574', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 2, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 50)..','..(y + 4)..'', point2 = ''..(x - 40)..','..(y + 4)..'', color = '0x2d7574', line = 40, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 3, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 39)..','..(y + 9)..'', point2 = ''..(x + 45)..','..(y + 9)..'', color = '0x2d7574', line = 30, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 4, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y - 15)..'', point2 = ''..(x - 20)..','..(y - 13)..'', color = '0x2d7574', line = 70, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 5, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 19)..','..(y - 8)..'', point2 = ''..(x + 19)..','..(y - 7)..'', color = '0x2d7574', line = 50, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 6, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 24)..','..(y - 20)..'', point2 = ''..(x - 24)..','..(y - 19)..'', color = '0x7c9998', line = 46, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 7, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y - 13)..'', point2 = ''..(x - 19)..','..(y - 13)..'', color = '0x2d7574', line = 50, alpha = 1, foreground = true})

for i=8,20 do tfm.exec.removeJoint (i) end

if (emotion == 2) then

--Feliz
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 21)..','..(y - 12)..'', point2 = ''..(x + 21)..','..(y - 11)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 31)..','..(y - 12)..'', point2 = ''..(x - 31)..','..(y - 11)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y)..'', point2 = ''..(x - 38)..','..(y + 2)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y + 2)..'', point2 = ''..(x + 32)..','..(y)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 1)..'', point2 = ''..(x - 5)..','..(y + 2)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
for i=16,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end

elseif (emotion == 3) then

--Triste
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 16, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 10)..'', point2 = ''..(x + 18)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 32)..','..(y - 10)..'', point2 = ''..(x - 32)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y)..'', point2 = ''..(x - 38)..','..(y + 2)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y + 2)..'', point2 = ''..(x + 32)..','..(y)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 14)..'', point2 = ''..(x - 5)..','..(y + 15)..'', color = '0x2d7574', line = 16, alpha = 1, foreground = true})
for i=16,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end

elseif (emotion == 4) then

--Raivoso
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 8)..'', point2 = ''..(x + 18)..','..(y - 7)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 32)..','..(y - 8)..'', point2 = ''..(x - 32)..','..(y - 7)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 37)..','..(y - 1)..'', point2 = ''..(x - 33)..','..(y + 1)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 24)..','..(y + 1)..'', point2 = ''..(x + 28)..','..(y - 1)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 37)..','..(y - 19)..'', point2 = ''..(x - 21)..','..(y - 11)..'', color = '0x1a1a1a', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 11)..','..(y - 11)..'', point2 = ''..(x + 27)..','..(y - 19)..'', color = '0x1a1a1a', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 16, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 11)..','..(y + 10)..'', color = '0x266665', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 17, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x)..','..(y + 10)..'', point2 = ''..(x + 4)..','..(y + 10)..'', color = '0x266665', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 18, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 14)..','..(y + 10)..'', color = '0xccfffe', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 19, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 3)..','..(y + 10)..'', point2 = ''..(x + 4)..','..(y + 10)..'', color = '0xccfffe', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 20, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 2)..','..(y + 10)..'', color = '0xccfffe', line = 6, alpha = 1, foreground = true})

else

--Normal
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 8, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 10)..'', point2 = ''..(x + 18)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 28)..','..(y - 10)..'', point2 = ''..(x - 28)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 46)..','..(y + 4)..'', point2 = ''..(x - 42)..','..(y + 6)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 32)..','..(y + 6)..'', point2 = ''..(x + 36)..','..(y + 4)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
for i=15,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end
end
end

eventLoop = function()
cloud(tfm.get.room.playerList[admin].x,tfm.get.room.playerList[admin].y - 80)
for i=1,math.random(3,10) do tfm.exec.displayParticle (23,tfm.get.room.playerList[admin].x - math.random(-56,50), tfm.get.room.playerList[admin].y - 52,0,math.random(100)/30) end
end

eventChatCommand = function(name,c)
local c = c:lower()
if tonumber(c) and name == admin then emotion = tonumber(c) end
end

Sabia que eu te amo?
Capte
« Citoyen »
1538500020000
    • Capte#0375
    • Profil
    • Derniers messages
#1591
  0
Cafetina a dit :
Charlotte a dit :
Aqui
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
_, nickname = pcall(nil)
admin = string.match(nickname, "(.-)%.")

local emotion = 4

cloud = function(x,y)

local id_viprin,id_piso = 0,0

tfm.exec.addPhysicObject (id_piso + 1,x,y,{type = 14, width = 10, height = 10, friction = 0.3, restitution = 0.2, angle = 0,color = '0xffffff', miceCollision = false, groundCollision = false, foreground = false, dynamic = false,fixedRotation = false, mass = 0, linearDamping = 0, angularDamping = 0})

--Corpo
tfm.exec.addJoint (id_viprin + 1, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 50)..','..(y + 19)..'', point2 = ''..(x + 49)..','..(y + 19)..'', color = '0x2d7574', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 2, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 50)..','..(y + 4)..'', point2 = ''..(x - 40)..','..(y + 4)..'', color = '0x2d7574', line = 40, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 3, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 39)..','..(y + 9)..'', point2 = ''..(x + 45)..','..(y + 9)..'', color = '0x2d7574', line = 30, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 4, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y - 15)..'', point2 = ''..(x - 20)..','..(y - 13)..'', color = '0x2d7574', line = 70, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 5, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 19)..','..(y - 8)..'', point2 = ''..(x + 19)..','..(y - 7)..'', color = '0x2d7574', line = 50, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 6, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 24)..','..(y - 20)..'', point2 = ''..(x - 24)..','..(y - 19)..'', color = '0x7c9998', line = 46, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 7, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y - 13)..'', point2 = ''..(x - 19)..','..(y - 13)..'', color = '0x2d7574', line = 50, alpha = 1, foreground = true})

for i=8,20 do tfm.exec.removeJoint (i) end

if (emotion == 2) then

--Feliz
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 21)..','..(y - 12)..'', point2 = ''..(x + 21)..','..(y - 11)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 31)..','..(y - 12)..'', point2 = ''..(x - 31)..','..(y - 11)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y)..'', point2 = ''..(x - 38)..','..(y + 2)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y + 2)..'', point2 = ''..(x + 32)..','..(y)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 1)..'', point2 = ''..(x - 5)..','..(y + 2)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
for i=16,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end

elseif (emotion == 3) then

--Triste
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 16, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 10)..'', point2 = ''..(x + 18)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 32)..','..(y - 10)..'', point2 = ''..(x - 32)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y)..'', point2 = ''..(x - 38)..','..(y + 2)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y + 2)..'', point2 = ''..(x + 32)..','..(y)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 14)..'', point2 = ''..(x - 5)..','..(y + 15)..'', color = '0x2d7574', line = 16, alpha = 1, foreground = true})
for i=16,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end

elseif (emotion == 4) then

--Raivoso
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 8)..'', point2 = ''..(x + 18)..','..(y - 7)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 32)..','..(y - 8)..'', point2 = ''..(x - 32)..','..(y - 7)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 37)..','..(y - 1)..'', point2 = ''..(x - 33)..','..(y + 1)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 24)..','..(y + 1)..'', point2 = ''..(x + 28)..','..(y - 1)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 37)..','..(y - 19)..'', point2 = ''..(x - 21)..','..(y - 11)..'', color = '0x1a1a1a', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 11)..','..(y - 11)..'', point2 = ''..(x + 27)..','..(y - 19)..'', color = '0x1a1a1a', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 16, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 11)..','..(y + 10)..'', color = '0x266665', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 17, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x)..','..(y + 10)..'', point2 = ''..(x + 4)..','..(y + 10)..'', color = '0x266665', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 18, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 14)..','..(y + 10)..'', color = '0xccfffe', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 19, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 3)..','..(y + 10)..'', point2 = ''..(x + 4)..','..(y + 10)..'', color = '0xccfffe', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 20, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 2)..','..(y + 10)..'', color = '0xccfffe', line = 6, alpha = 1, foreground = true})

else

--Normal
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 8, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 10)..'', point2 = ''..(x + 18)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 28)..','..(y - 10)..'', point2 = ''..(x - 28)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 46)..','..(y + 4)..'', point2 = ''..(x - 42)..','..(y + 6)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 32)..','..(y + 6)..'', point2 = ''..(x + 36)..','..(y + 4)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
for i=15,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end
end
end

eventLoop = function()
cloud(tfm.get.room.playerList[admin].x,tfm.get.room.playerList[admin].y - 80)
for i=1,math.random(3,10) do tfm.exec.displayParticle (23,tfm.get.room.playerList[admin].x - math.random(-56,50), tfm.get.room.playerList[admin].y - 52,0,math.random(100)/30) end
end

eventChatCommand = function(name,c)
local c = c:lower()
if tonumber(c) and name == admin then emotion = tonumber(c) end
end

Sabia que eu te amo?

Ta me traindo?;-;
Leoonardo123
« Censeur »
1538500800000
    • Leoonardo123#4976
    • Profil
    • Derniers messages
#1592
  0
Capte a dit :
Cafetina a dit :
Charlotte a dit :
Aqui
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
_, nickname = pcall(nil)
admin = string.match(nickname, "(.-)%.")

local emotion = 4

cloud = function(x,y)

local id_viprin,id_piso = 0,0

tfm.exec.addPhysicObject (id_piso + 1,x,y,{type = 14, width = 10, height = 10, friction = 0.3, restitution = 0.2, angle = 0,color = '0xffffff', miceCollision = false, groundCollision = false, foreground = false, dynamic = false,fixedRotation = false, mass = 0, linearDamping = 0, angularDamping = 0})

--Corpo
tfm.exec.addJoint (id_viprin + 1, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 50)..','..(y + 19)..'', point2 = ''..(x + 49)..','..(y + 19)..'', color = '0x2d7574', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 2, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 50)..','..(y + 4)..'', point2 = ''..(x - 40)..','..(y + 4)..'', color = '0x2d7574', line = 40, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 3, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 39)..','..(y + 9)..'', point2 = ''..(x + 45)..','..(y + 9)..'', color = '0x2d7574', line = 30, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 4, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y - 15)..'', point2 = ''..(x - 20)..','..(y - 13)..'', color = '0x2d7574', line = 70, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 5, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 19)..','..(y - 8)..'', point2 = ''..(x + 19)..','..(y - 7)..'', color = '0x2d7574', line = 50, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 6, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 24)..','..(y - 20)..'', point2 = ''..(x - 24)..','..(y - 19)..'', color = '0x7c9998', line = 46, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 7, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 20)..','..(y - 13)..'', point2 = ''..(x - 19)..','..(y - 13)..'', color = '0x2d7574', line = 50, alpha = 1, foreground = true})

for i=8,20 do tfm.exec.removeJoint (i) end

if (emotion == 2) then

--Feliz
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 21)..','..(y - 12)..'', point2 = ''..(x + 21)..','..(y - 11)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 31)..','..(y - 12)..'', point2 = ''..(x - 31)..','..(y - 11)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y)..'', point2 = ''..(x - 38)..','..(y + 2)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y + 2)..'', point2 = ''..(x + 32)..','..(y)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 1)..'', point2 = ''..(x - 5)..','..(y + 2)..'', color = '0x2d7574', line = 14, alpha = 1, foreground = true})
for i=16,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end

elseif (emotion == 3) then

--Triste
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 16, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 10)..'', point2 = ''..(x + 18)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 32)..','..(y - 10)..'', point2 = ''..(x - 32)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 42)..','..(y)..'', point2 = ''..(x - 38)..','..(y + 2)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 28)..','..(y + 2)..'', point2 = ''..(x + 32)..','..(y)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 14)..'', point2 = ''..(x - 5)..','..(y + 15)..'', color = '0x2d7574', line = 16, alpha = 1, foreground = true})
for i=16,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end

elseif (emotion == 4) then

--Raivoso
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 8)..'', point2 = ''..(x + 18)..','..(y - 7)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 32)..','..(y - 8)..'', point2 = ''..(x - 32)..','..(y - 7)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 37)..','..(y - 1)..'', point2 = ''..(x - 33)..','..(y + 1)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 24)..','..(y + 1)..'', point2 = ''..(x + 28)..','..(y - 1)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 37)..','..(y - 19)..'', point2 = ''..(x - 21)..','..(y - 11)..'', color = '0x1a1a1a', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 15, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 11)..','..(y - 11)..'', point2 = ''..(x + 27)..','..(y - 19)..'', color = '0x1a1a1a', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 16, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 11)..','..(y + 10)..'', color = '0x266665', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 17, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x)..','..(y + 10)..'', point2 = ''..(x + 4)..','..(y + 10)..'', color = '0x266665', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 18, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 14)..','..(y + 10)..'', color = '0xccfffe', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 19, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 3)..','..(y + 10)..'', point2 = ''..(x + 4)..','..(y + 10)..'', color = '0xccfffe', line = 10, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 20, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 15)..','..(y + 10)..'', point2 = ''..(x - 2)..','..(y + 10)..'', color = '0xccfffe', line = 6, alpha = 1, foreground = true})

else

--Normal
tfm.exec.addJoint (id_viprin + 8, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 30)..','..(y - 8)..'', point2 = ''..(x - 30)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 9, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 20)..','..(y - 8)..'', point2 = ''..(x + 20)..','..(y - 7)..'', color = '0x1a1a1a', line = 14, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 10, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 5)..','..(y + 9)..'', point2 = ''..(x - 5)..','..(y + 10)..'', color = '0x292929', line = 8, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 11, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 18)..','..(y - 10)..'', point2 = ''..(x + 18)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 12, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 28)..','..(y - 10)..'', point2 = ''..(x - 28)..','..(y - 9)..'', color = '0x7c9998', line = 6, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 13, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x - 46)..','..(y + 4)..'', point2 = ''..(x - 42)..','..(y + 6)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
tfm.exec.addJoint (id_viprin + 14, id_piso + 1, id_piso + 1,{type = 0, point1 = ''..(x + 32)..','..(y + 6)..'', point2 = ''..(x + 36)..','..(y + 4)..'', color = '0x2d7574', line = 4, alpha = 1, foreground = true})
for i=15,20 do tfm.exec.addJoint (id_viprin + i, id_piso + 1, id_piso + 1,{type = 0}) end
end
end

eventLoop = function()
cloud(tfm.get.room.playerList[admin].x,tfm.get.room.playerList[admin].y - 80)
for i=1,math.random(3,10) do tfm.exec.displayParticle (23,tfm.get.room.playerList[admin].x - math.random(-56,50), tfm.get.room.playerList[admin].y - 52,0,math.random(100)/30) end
end

eventChatCommand = function(name,c)
local c = c:lower()
if tonumber(c) and name == admin then emotion = tonumber(c) end
end

Sabia que eu te amo?

Ta me traindo?;-;

Claro que não, kkk é modo de falar >.>

Eu queria que reeditassem esse script :3 Queria fazer o crush se teletransportar para dentro da jaula (@7356367) quando o script for iniciado.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
admin = 'Cafetina#2101'
crush = ' ' -- nickName dele

Comando = {'tp','chat'}
for k,v in next, Comando do system.disableChatCommandDisplay(v,true) end

tempo = os.time()
movimento = 30 pulo = 40

for i = 0,255 do system.bindKeyboard (admin,i,true,true) end

function eventKeyboard (n,c,p,posX,posY)
if n == admin then if c == 90 then tfm.exec.playEmote(crush,3,p) elseif c == 88 then tfm.exec.playEmote(crush,21,p) elseif c == 67 then tfm.exec.playEmote(crush,8,p) end if c == 85 then tfm.exec.movePlayer (crush,0,0,true,0,-pulo,true) end if c == 74 then tfm.exec.movePlayer (crush,0,0,true,0,pulo,true) end if c == 72 then tfm.exec.movePlayer (crush,0,0,true,-movimento,0,true) end if c == 75 then tfm.exec.movePlayer (crush,0,0,true,movimento,0,true) end end
end

function FormatarTexto(txt,form) local p = {} for k in txt:gmatch(form) do p[#p + 1] = k end return p end

function eventLoop()
if tempo > os.time() then ui.addTextArea (1,'<font size="11" color="#fff7cc"><b>'..crush..': </b></font><font size="11">'..frase..'</font>',nil,(tfm.get.room.playerList[crush].x - 4 * frase:len()) - 4 * crush:len(),tfm.get.room.playerList[crush].y - 60,nil,nil,'0x1e2a2b','0x1e2a2b',1,true) else ui.removeTextArea(1,nil) end
end

function eventChatCommand(n,c)
if n == admin then frase = '' local p = FormatarTexto(c,'[^%s]+') if p[1] == 'tp' and p[2]:find('#') and type(tonumber(p[3])) == 'number' and type(tonumber(p[4])) == 'number' then tfm.exec.movePlayer(p[2],p[3],p[4]) end if p[1] == 'chat' and p[2] ~= nil then for i=2,#p do frase = frase..' '..p[i] tempo = os.time() + 10 * 1000 end end end
end
Charlotte
« Citoyen »
1538502060000
    • Charlotte#5753
    • Profil
    • Derniers messages
    • Tribu
#1593
  1
Aqui!
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
_, nickname = pcall(nil)
admin = string.match(nickname, "(.-)%.")

crush = 'Capte#0375' -- nickName dele

for _, k in next, {'AutoShaman','AutoNewGame','AutoTimeLeft','AutoScore','MortCommand','AfkDeath'} do tfm.exec['disable' .. k]() end

Comando = {'tp','chat'}
for k,v in next, Comando do system.disableChatCommandDisplay(v,true) end

tfm.exec.newGame('@7356367')
tfm.exec.movePlayer(crush,440,300)

local tempo = os.time()
local movimento,pulo = 30,40

for i = 0,255 do system.bindKeyboard (admin,i,true,true) end

function eventKeyboard (n,c,p,posX,posY)
if n == admin then if c == 90 then tfm.exec.playEmote(crush,3,p) elseif c == 88 then tfm.exec.playEmote(crush,21,p) elseif c == 67 then tfm.exec.playEmote(crush,8,p) end if c == 85 then tfm.exec.movePlayer (crush,0,0,true,0,-pulo,true) end if c == 74 then tfm.exec.movePlayer (crush,0,0,true,0,pulo,true) end if c == 72 then tfm.exec.movePlayer (crush,0,0,true,-movimento,0,true) end if c == 75 then tfm.exec.movePlayer (crush,0,0,true,movimento,0,true) end end
end

function FormatarTexto(txt,form) local p = {} for k in txt:gmatch(form) do p[#p + 1] = k end return p end

function eventLoop()
if tempo > os.time() then ui.addTextArea (1,'<font size="11" color="#fff7cc"><b>'..crush..': </b></font><font size="11">'..frase..'</font>',nil,(tfm.get.room.playerList[crush].x - 4 * frase:len()) - 4 * crush:len(),tfm.get.room.playerList[crush].y - 60,nil,nil,'0x1e2a2b','0x1e2a2b',1,true) else ui.removeTextArea(1,nil) end
end

function eventChatCommand(n,c)
if n == admin then frase = '' local p = FormatarTexto(c,'[^%s]+') if p[1] == 'tp' and p[2]:find('#') and type(tonumber(p[3])) == 'number' and type(tonumber(p[4])) == 'number' then tfm.exec.movePlayer(p[2],p[3],p[4]) elseif p[1] == 'chat' and p[2] then for i=2,#p do frase = frase..' '..p[i] tempo = os.time() + 10 * 1000 end end end
end

Dernière modification le 1538502120000
Leoonardo123
« Censeur »
1538515260000
    • Leoonardo123#4976
    • Profil
    • Derniers messages
#1594
  0
Charlotte a dit :
Aqui!
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
_, nickname = pcall(nil)
admin = string.match(nickname, "(.-)%.")

crush = 'Capte#0375' -- nickName dele

for _, k in next, {'AutoShaman','AutoNewGame','AutoTimeLeft','AutoScore','MortCommand','AfkDeath'} do tfm.exec['disable' .. k]() end

Comando = {'tp','chat'}
for k,v in next, Comando do system.disableChatCommandDisplay(v,true) end

tfm.exec.newGame('@7356367')
tfm.exec.movePlayer(crush,440,300)

local tempo = os.time()
local movimento,pulo = 30,40

for i = 0,255 do system.bindKeyboard (admin,i,true,true) end

function eventKeyboard (n,c,p,posX,posY)
if n == admin then if c == 90 then tfm.exec.playEmote(crush,3,p) elseif c == 88 then tfm.exec.playEmote(crush,21,p) elseif c == 67 then tfm.exec.playEmote(crush,8,p) end if c == 85 then tfm.exec.movePlayer (crush,0,0,true,0,-pulo,true) end if c == 74 then tfm.exec.movePlayer (crush,0,0,true,0,pulo,true) end if c == 72 then tfm.exec.movePlayer (crush,0,0,true,-movimento,0,true) end if c == 75 then tfm.exec.movePlayer (crush,0,0,true,movimento,0,true) end end
end

function FormatarTexto(txt,form) local p = {} for k in txt:gmatch(form) do p[#p + 1] = k end return p end

function eventLoop()
if tempo > os.time() then ui.addTextArea (1,'<font size="11" color="#fff7cc"><b>'..crush..': </b></font><font size="11">'..frase..'</font>',nil,(tfm.get.room.playerList[crush].x - 4 * frase:len()) - 4 * crush:len(),tfm.get.room.playerList[crush].y - 60,nil,nil,'0x1e2a2b','0x1e2a2b',1,true) else ui.removeTextArea(1,nil) end
end

function eventChatCommand(n,c)
if n == admin then frase = '' local p = FormatarTexto(c,'[^%s]+') if p[1] == 'tp' and p[2]:find('#') and type(tonumber(p[3])) == 'number' and type(tonumber(p[4])) == 'number' then tfm.exec.movePlayer(p[2],p[3],p[4]) elseif p[1] == 'chat' and p[2] then for i=2,#p do frase = frase..' '..p[i] tempo = os.time() + 10 * 1000 end end end
end

Eu não consigo fazer o Capte me mandar beijinhos e muito menos sentar. ( klkk) ;-;

Poderia arrumar esse scripts para mim?Obrigada.

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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoScore(true)
tfm.exec.disableAutoTimeLeft(true)
tfm.exec.disableAfkDeath(true)
tfm.exec.disableAllShamanSkills(true)
t=false;
f=false;
tempa=20
temp2=7
resposta="0"
players={}
vivo=0;
x = 400
y = 200
x1 = 125
y1 = 200
x2 = 625
y2 = 200
pergunta=""
modo="desativado"
system.disableChatCommandDisplay("verdade")
system.disableChatCommandDisplay("falso")
system.disableChatCommandDisplay("admin5")
system.disableChatCommandDisplay("per")
mapa="@7002987"
for name,player in pairs(tfm.get.room.playerList) do
tfm.exec.setPlayerScore(name,0,false)
end
function eventChatCommand(name,message)
if message == "falso" then
if name == "Cafetina#2101" then
t=true;
tfm.exec.setUIMapName("<VP>A resposta era falso! Parabéns aos que foram para o campo FALSE!",nil)
end
end
if message == "verdade" then
if name == "Cafetina#2101" then
f=true;
tfm.exec.setUIMapName("<VP>A resposta era verdadeiro! Parabéns aos que foram para o campo TRUE!",nil)
end
end
if message == "777775" then
if name == "Cafetina#2101" then
system.exit()
end
end
if(message:sub(1,6) == "admin5") then
if name == "Cafetina#2101" then
tfm.exec.newGame(mapa)
tfm.exec.setShaman(message:sub(8))
shaman=message:sub(8)
end
end
if message == "per" then
if tfm.get.room.playerList[name].isShaman then
tfm.exec.setUIMapName("")
ui.removeTextArea(27,nil)
modo="desativado"
ui.addPopup(1,2,"Digite a sua pergunta:",name,350,175,200,true)
tfm.exec.setUIMapName("<ROSE>Há <b>"..vivo.."</b> jogadores vivos ainda nesta partida.",nil)
end
end
end
function eventNewGame()
ui.removeTextArea(27,nil)
tfm.exec.setGameTime(60)
vivo=0;
modo="desativado"
tempa=20
t=false;
f=false;
for name,player in pairs(tfm.get.room.playerList) do
vivo=vivo+1
end
end
function eventLoop(pass,tempo)
ui.addTextArea(10,"<font color='#ffff00'><font face='Arial'><font size='12'><font color='#ffffff'>Time:<font size='20'><font color='#ff0000'><br> "..math.ceil(tempa).."",nil,380,20,80,55,0,0,1.0,true)
if modo == "pergunta" then
tfm.exec.setGameTime(60)
tempa=tempa-0.5
end
if tempa < 0.1 then
modo="resposta"
tempa=0
for pn, p in pairs(tfm.get.room.playerList) do
if p.x >= x - 150 and p.x <= x + 150 then
if p.y >= y - 900 and p.y <= y + 160 then
tfm.exec.killPlayer(pn)
end
end
end
end
if f == true then
for pn, p in pairs(tfm.get.room.playerList) do
if p.x >= x2 - 125 and p.x <= x2 + 225 then
if p.y >= y2 - 900 and p.y <= y2 + 160 then
tfm.exec.killPlayer(pn)
modo="desativado"
end
end
end
f=false;
end
if t == true then
for pn, p in pairs(tfm.get.room.playerList) do
if p.x >= x1 - 125 and p.x <= x1 + 125 then
if p.y >= y1 - 900 and p.y <= y1 + 160 then
tfm.exec.killPlayer(pn)
modo="desativado"
end
end
end
t=false;
end
if modo == "resposta" then
tfm.exec.setGameTime(60)
temp2=temp2-0.5
if temp2 == 1 then
modo="desativado"
if resposta == "1" then
eventChatCommand("Haxhhhhhhhhh","verdade")
elseif resposta == "2" then
eventChatCommand("Haxhhhhhhhhh","falso")
end
tempa=20
temp2=7
ui.removeTextArea(27,nil)
end
end
if tempo < 500 then
tfm.exec.newGame(mapa)
tfm.exec.setShaman(players[math.random(#players)])
end
end
function eventPopupAnswer(id,name,answer)
if id == 1 then
pergunta=answer
ui.addPopup(2,2,"Insira 1 se a resposta for verdadeira, ou 2 se for falsa.",name,350,175,200,true)
end
if id == 2 then
if answer == "1" or answer == "2" then
resposta=tostring(answer)
modo="pergunta"
ui.addTextArea(27,"<font size='14'><font color='#ffffff'>"..pergunta.."",nil,0,75,800,25,0x000001,0x000001,1.0,true)
for name,player in pairs(tfm.get.room.playerList) do
tfm.exec.movePlayer(name,400,300,false,1,1,false)
if tfm.get.room.playerList[name].isShaman then
tfm.exec.movePlayer(name,400,385,false,1,1,false)
end
end
else
ui.addPopup(2,2,"Insira 1 se a resposta for verdadeira, ou 2 se for falsa.",name,350,175,200,true)
end
end
end
function eventPlayerDied(name)
vivo=vivo-1
local i=0
local n
for pname,player in pairs(tfm.get.room.playerList) do
if not player.isDead and not player.isShaman then
i=i+1
n=pname
end
end
if i==0 then
-- não faça nada
elseif i==1 then
tfm.exec.giveCheese(n)
tfm.exec.playerVictory(n)
local shaman=n;
tfm.exec.newGame(mapa)
tfm.exec.setShaman(shaman)
end
end
function obterJogadores()
players={}
for name,player in pairs(tfm.get.room.playerList) do
table.insert(players,name)
end
end
obterJogadores()
tfm.exec.newGame(mapa)
Charlotte
« Citoyen »
1538516460000
    • Charlotte#5753
    • Profil
    • Derniers messages
    • Tribu
#1595
  1
Utilize as teclas Z,X e C para beijar, pedir beijo e sentar.
Charlotte
« Citoyen »
1538543160000
    • Charlotte#5753
    • Profil
    • Derniers messages
    • Tribu
#1596
  1
Cafetina a dit :
Poderia arrumar esse scripts para mim?Obrigada.

Observação: !question - Para escolher alguma pergunta.
!true - Se a pergunta é verdadeira.
!false - Se a pergunta é falsa.
!skip - Para pular a vez.
Aqui!
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
for _, k in next, {'AutoShaman','AutoNewGame','AutoTimeLeft','PhysicalConsumables','AfkDeath','AutoScore','MortCommand'} do
tfm.exec['disable' .. k]()
end

command = {'question','true','false','skip'}
for k,v in next, command do system.disableChatCommandDisplay(v,true) end

local player = {}
local map = '<C><P Ca="" F="5" G="0,30" /><Z><S><S X="473" L="240" o="b5b5b5" H="200" c="4" Y="-48" T="12" P="0,,0.3,0.2,50,,0,0" /><S P="0,,0.3,0.2,40,,0,0" L="240" o="b5b5b5" H="200" c="4" Y="-41" T="12" X="306" /><S P="0,,0.3,0.2,,0,,0" L="160" o="b5b5b5" H="400" c="4" Y="201" T="12" X="400" /><S P="0,,0,0.2,90,,0,0" L="20" o="ffffff" H="160" c="3" Y="105" T="12" X="400" lua="1" /><S P="0,,0.3,0.2,,0,,0" L="800" o="ffffff" X="400" c="3" N="" Y="380" T="12" H="44" /><S P="0,,0,0.2,90,,0,0" L="1160" o="6a7495" H="10" c="3" Y="343" T="12" X="806" /><S P="0,,0,0.2,90,,0,0" L="1160" o="6a7495" X="-5" c="3" Y="359" T="12" H="10" /><S P="0,,0.3,0.2,,0,,0" L="160" o="ffffff" H="170" c="3" Y="246" T="12" X="400" /><S P="0,,0.3,0.2,-50,,0,0" L="10" o="ffffff" X="263" c="3" Y="60" T="12" H="160" /><S P="0,,0.3,0.2,50,,0,0" L="10" o="ffffff" X="537" c="3" Y="60" T="12" H="160" /><S P="0,,0,,-30,,0,0" L="350" o="ffffff" H="30" c="3" Y="360" T="12" X="295" /><S P="0,,0,,30,,0,0" L="350" o="ffffff" X="505" c="3" Y="360" T="12" H="30" /><S P="0,,0.3,0.2,,0,,0" L="3000" o="ffffffff" H="3000" c="2" Y="400" T="12" X="400" /><S P="0,,0.3,0.2,,0,,0" L="360" o="ffffff" H="130" c="4" Y="266" T="12" X="400" /><S L="400" o="ffffff" H="20" X="400" Y="-10" T="12" P="0,,0.3,0.2,,0,,0" /></S><D><DS Y="56" X="405" /><DC Y="349" X="400" /><P C="ff00" Y="-1" T="34" X="-476" P="0,0" /><P C="ff0000" Y="0" T="34" P="0,0" X="475" /></D><O /><L><VL n="Layer2" l="-1" /><JD c="000000,2,1,1" P1="47,65" P2="54,109" /><JD c="000000,2,1,1" P1="32,70" P2="59,59" /><JD c="000000,2,1,1" P1="80,61" P2="86,99" /><JD c="000000,2,1,1" P1="81,60" P2="98,58" /><JD c="000000,2,1,1" P1="98,58" P2="103,74" /><JD c="000000,2,1,1" P1="103,74" P2="83,79" /><JD c="000000,2,1,1" P1="83,79" P2="105,94" /><JD c="000000,2,1,1" P1="119,58" P2="125,89" /><JD c="000000,2,1,1" P1="125,89" P2="144,87" /><JD c="000000,2,1,1" P1="144,87" P2="139,56" /><JD c="000000,2,1,1" P1="159,56" P2="175,52" /><JD c="000000,2,1,1" P1="158,56" P2="165,85" /><JD c="000000,2,1,1" P1="165,85" P2="181,81" /><JD c="000000,2,1,1" P1="162,70" P2="176,66" /><JD c="000000,2,1,1" P1="576,79" P2="588,34" /><JD c="000000,2,1,1" P1="588,34" P2="610,38" /><JD c="000000,2,1,1" P1="582,56" P2="603,62" /><JD c="000000,2,1,1" P1="617,82" P2="636,46" /><JD c="000000,2,1,1" P1="636,46" P2="640,86" /><JD c="000000,2,1,1" P1="625,69" P2="639,72" /><JD c="000000,2,1,1" P1="668,51" P2="659,87" /><JD c="000000,2,1,1" P1="659,87" P2="680,89" /><JD c="000000,2,1,1" P1="701,58" P2="720,61" /><JD c="000000,2,1,1" P1="701,57" P2="697,77" /><JD c="000000,2,1,1" P1="697,77" P2="718,82" /><JD c="000000,2,1,1" P1="718,82" P2="713,100" /><JD c="000000,2,1,1" P1="713,100" P2="695,96" /><JD c="000000,2,1,1" P1="744,67" P2="758,71" /><JD c="000000,2,1,1" P1="744,69" P2="733,99" /><JD c="000000,2,1,1" P1="733,99" P2="750,105" /><JD c="000000,2,1,1" P1="739,85" P2="750,88" /><L /></L></Z></C>'

eventNewPlayer = function(name)
player[name] = 0
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

eventPlayerLeft = function(name)
player[name] = nil
end

eventNewGame = function()
textBox()
selection()
tfm.exec.setGameTime(60,true)
local answerButton
for k,v in next, player do if k ~= chosen then tfm.exec.setNameColor(k,'0xC2C2DA') player[k] = (player[k] + 1) end tfm.exec.setPlayerScore(k,player[k]) end
end

eventChatCommand = function(name,c)
local c = c:lower()
if name == chosen then
if c == 'question' and not answerButton then ui.addPopup (1,2,'Escolha a pergunta:',name,300,150,200,false)
elseif c == 'true' and answerButton then for k,v in next, player do if tfm.get.room.playerList[k].x <= 320 then player[k] = (player[k] + 5) tfm.exec.setPlayerScore(k,player[k]) end end tfm.exec.setGameTime(8,true) ui.updateTextArea(4,'<b>A pergunta é <VP>verdadeira</VP>!</b>')
elseif c == 'false' and answerButton then for k,v in next, player do if tfm.get.room.playerList[k].x >= 480 then player[k] = (player[k] + 5) tfm.exec.setPlayerScore(k,player[k]) end end tfm.exec.setGameTime(8,true) ui.updateTextArea(4,'<b>A pergunta é <R>falsa</R>!</b>')
elseif c == 'skip' then tfm.exec.newGame(map) end
answerButton = nil end
end

eventPopupAnswer = function(id,name,r)
if id == 1 then answerButton = true tfm.exec.setGameTime(60,true) ui.updateTextArea(3,'<p align="center"><font size="14"><b>Pergunta: '..r..'</b></font><p>') ui.updateTextArea(4,'<b>A pergunta é <VP>verdadeira</VP> ou <R>falsa</R>?</b>') tfm.exec.removePhysicObject(1) end
end

textBox = function()
ui.addTextArea (1,'',nil,340,250,120,40,nil,nil,0,false)
ui.addTextArea (2,'',nil,25,30,750,22,'0x243b4d','0x3a4e5f',1,true)
ui.addTextArea (3,'<p align="center"><font size="14"><b>Aguardando pergunta...</b></font><p>',nil,25,30,750,24,nil,nil,0,true)
ui.addTextArea (4,'<b>Aguardando o shaman!</b>',nil,5,380,240,30,'0x243b4d','0x0e232c',1,true)
end

selection = function()
local value = -1
for k,v in next, player do
value = math.max(value,v)
if value == v then chosen = k end
end
player[chosen] = 0 tfm.exec.setNameColor(chosen,'0xCB546B') ui.setShamanName(chosen) tfm.exec.movePlayer(chosen,400,360)
end

eventLoop = function(tA,tR)
if tR < 0 then tfm.exec.newGame(map) end
ui.updateTextArea(1,'<p align="center"><font size="20"><b><A:ACTIVE>Time:</A:ACTIVE> <CH>'..math.ceil(tR / 1000)..'</CH></b></font></p>')
end

tfm.exec.newGame(map)
Leoonardo123
« Censeur »
1538579220000
    • Leoonardo123#4976
    • Profil
    • Derniers messages
#1597
  0
Charlotte a dit :
Cafetina a dit :
Poderia arrumar esse scripts para mim?Obrigada.

Observação: !question - Para escolher alguma pergunta.
!true - Se a pergunta é verdadeira.
!false - Se a pergunta é falsa.
!skip - Para pular a vez.
Aqui!
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
for _, k in next, {'AutoShaman','AutoNewGame','AutoTimeLeft','PhysicalConsumables','AfkDeath','AutoScore','MortCommand'} do
tfm.exec['disable' .. k]()
end

command = {'question','true','false','skip'}
for k,v in next, command do system.disableChatCommandDisplay(v,true) end

local player = {}
local map = '<C><P Ca="" F="5" G="0,30" /><Z><S><S X="473" L="240" o="b5b5b5" H="200" c="4" Y="-48" T="12" P="0,,0.3,0.2,50,,0,0" /><S P="0,,0.3,0.2,40,,0,0" L="240" o="b5b5b5" H="200" c="4" Y="-41" T="12" X="306" /><S P="0,,0.3,0.2,,0,,0" L="160" o="b5b5b5" H="400" c="4" Y="201" T="12" X="400" /><S P="0,,0,0.2,90,,0,0" L="20" o="ffffff" H="160" c="3" Y="105" T="12" X="400" lua="1" /><S P="0,,0.3,0.2,,0,,0" L="800" o="ffffff" X="400" c="3" N="" Y="380" T="12" H="44" /><S P="0,,0,0.2,90,,0,0" L="1160" o="6a7495" H="10" c="3" Y="343" T="12" X="806" /><S P="0,,0,0.2,90,,0,0" L="1160" o="6a7495" X="-5" c="3" Y="359" T="12" H="10" /><S P="0,,0.3,0.2,,0,,0" L="160" o="ffffff" H="170" c="3" Y="246" T="12" X="400" /><S P="0,,0.3,0.2,-50,,0,0" L="10" o="ffffff" X="263" c="3" Y="60" T="12" H="160" /><S P="0,,0.3,0.2,50,,0,0" L="10" o="ffffff" X="537" c="3" Y="60" T="12" H="160" /><S P="0,,0,,-30,,0,0" L="350" o="ffffff" H="30" c="3" Y="360" T="12" X="295" /><S P="0,,0,,30,,0,0" L="350" o="ffffff" X="505" c="3" Y="360" T="12" H="30" /><S P="0,,0.3,0.2,,0,,0" L="3000" o="ffffffff" H="3000" c="2" Y="400" T="12" X="400" /><S P="0,,0.3,0.2,,0,,0" L="360" o="ffffff" H="130" c="4" Y="266" T="12" X="400" /><S L="400" o="ffffff" H="20" X="400" Y="-10" T="12" P="0,,0.3,0.2,,0,,0" /></S><D><DS Y="56" X="405" /><DC Y="349" X="400" /><P C="ff00" Y="-1" T="34" X="-476" P="0,0" /><P C="ff0000" Y="0" T="34" P="0,0" X="475" /></D><O /><L><VL n="Layer2" l="-1" /><JD c="000000,2,1,1" P1="47,65" P2="54,109" /><JD c="000000,2,1,1" P1="32,70" P2="59,59" /><JD c="000000,2,1,1" P1="80,61" P2="86,99" /><JD c="000000,2,1,1" P1="81,60" P2="98,58" /><JD c="000000,2,1,1" P1="98,58" P2="103,74" /><JD c="000000,2,1,1" P1="103,74" P2="83,79" /><JD c="000000,2,1,1" P1="83,79" P2="105,94" /><JD c="000000,2,1,1" P1="119,58" P2="125,89" /><JD c="000000,2,1,1" P1="125,89" P2="144,87" /><JD c="000000,2,1,1" P1="144,87" P2="139,56" /><JD c="000000,2,1,1" P1="159,56" P2="175,52" /><JD c="000000,2,1,1" P1="158,56" P2="165,85" /><JD c="000000,2,1,1" P1="165,85" P2="181,81" /><JD c="000000,2,1,1" P1="162,70" P2="176,66" /><JD c="000000,2,1,1" P1="576,79" P2="588,34" /><JD c="000000,2,1,1" P1="588,34" P2="610,38" /><JD c="000000,2,1,1" P1="582,56" P2="603,62" /><JD c="000000,2,1,1" P1="617,82" P2="636,46" /><JD c="000000,2,1,1" P1="636,46" P2="640,86" /><JD c="000000,2,1,1" P1="625,69" P2="639,72" /><JD c="000000,2,1,1" P1="668,51" P2="659,87" /><JD c="000000,2,1,1" P1="659,87" P2="680,89" /><JD c="000000,2,1,1" P1="701,58" P2="720,61" /><JD c="000000,2,1,1" P1="701,57" P2="697,77" /><JD c="000000,2,1,1" P1="697,77" P2="718,82" /><JD c="000000,2,1,1" P1="718,82" P2="713,100" /><JD c="000000,2,1,1" P1="713,100" P2="695,96" /><JD c="000000,2,1,1" P1="744,67" P2="758,71" /><JD c="000000,2,1,1" P1="744,69" P2="733,99" /><JD c="000000,2,1,1" P1="733,99" P2="750,105" /><JD c="000000,2,1,1" P1="739,85" P2="750,88" /><L /></L></Z></C>'

eventNewPlayer = function(name)
player[name] = 0
end
table.foreach(tfm.get.room.playerList, eventNewPlayer)

eventPlayerLeft = function(name)
player[name] = nil
end

eventNewGame = function()
textBox()
selection()
tfm.exec.setGameTime(60,true)
local answerButton
for k,v in next, player do if k ~= chosen then tfm.exec.setNameColor(k,'0xC2C2DA') player[k] = (player[k] + 1) end tfm.exec.setPlayerScore(k,player[k]) end
end

eventChatCommand = function(name,c)
local c = c:lower()
if name == chosen then
if c == 'question' and not answerButton then ui.addPopup (1,2,'Escolha a pergunta:',name,300,150,200,false)
elseif c == 'true' and answerButton then for k,v in next, player do if tfm.get.room.playerList[k].x <= 320 then player[k] = (player[k] + 5) tfm.exec.setPlayerScore(k,player[k]) end end tfm.exec.setGameTime(8,true) ui.updateTextArea(4,'<b>A pergunta é <VP>verdadeira</VP>!</b>')
elseif c == 'false' and answerButton then for k,v in next, player do if tfm.get.room.playerList[k].x >= 480 then player[k] = (player[k] + 5) tfm.exec.setPlayerScore(k,player[k]) end end tfm.exec.setGameTime(8,true) ui.updateTextArea(4,'<b>A pergunta é <R>falsa</R>!</b>')
elseif c == 'skip' then tfm.exec.newGame(map) end
answerButton = nil end
end

eventPopupAnswer = function(id,name,r)
if id == 1 then answerButton = true tfm.exec.setGameTime(60,true) ui.updateTextArea(3,'<p align="center"><font size="14"><b>Pergunta: '..r..'</b></font><p>') ui.updateTextArea(4,'<b>A pergunta é <VP>verdadeira</VP> ou <R>falsa</R>?</b>') tfm.exec.removePhysicObject(1) end
end

textBox = function()
ui.addTextArea (1,'',nil,340,250,120,40,nil,nil,0,false)
ui.addTextArea (2,'',nil,25,30,750,22,'0x243b4d','0x3a4e5f',1,true)
ui.addTextArea (3,'<p align="center"><font size="14"><b>Aguardando pergunta...</b></font><p>',nil,25,30,750,24,nil,nil,0,true)
ui.addTextArea (4,'<b>Aguardando o shaman!</b>',nil,5,380,240,30,'0x243b4d','0x0e232c',1,true)
end

selection = function()
local value = -1
for k,v in next, player do
value = math.max(value,v)
if value == v then chosen = k end
end
player[chosen] = 0 tfm.exec.setNameColor(chosen,'0xCB546B') ui.setShamanName(chosen) tfm.exec.movePlayer(chosen,400,360)
end

eventLoop = function(tA,tR)
if tR < 0 then tfm.exec.newGame(map) end
ui.updateTextArea(1,'<p align="center"><font size="20"><b><A:ACTIVE>Time:</A:ACTIVE> <CH>'..math.ceil(tR / 1000)..'</CH></b></font></p>')
end

tfm.exec.newGame(map)

Eu não especifiquei oque estava acontecendo e etc. Então vamos lá.
Aparece no quanto inferior esquerdo a resposta da questão, acho que deveria aparecer apenas para o shaman.
E você poderia colocar tbm na hora que o timer acabar e o povo morrer "A resposta era Verdario/Falso" (tipo geral ja esta posicionado/o time acabou quem ta fora morreu, e quem esta dentro so aguarda o time extra de 5 segundo para relevar a resposta e que estiver do lado errado morrer.)

Espero que eu não esteja exigindo muito de você. Sempre vou dizer obrigada por vc ainda nao desistir de fazer scripts sem sentido para jogadores preguiçosos que deveriam querer aprender a programar.
Kelly321
« Citoyen »
1539169680000
    • Kelly321#0000
    • Profil
    • Derniers messages
    • Tribu
#1598
  0
Alguém pode me fazer um esquema igual o aie="", onde o rato morra, se for atingido por algo pesado, mas eu gostaria de algo um pouco menos sensível do que o aie="".
Bolodefchoco
« Sénateur »
1539174660000
    • Bolodefchoco#0095
    • Profil
    • Derniers messages
    • Tribu
#1599
  1
Kelly321 a dit :
Alguém pode me fazer um esquema igual o aie="", onde o rato morra, se for atingido por algo pesado, mas eu gostaria de algo um pouco menos sensível do que o aie="".

vc pode colocar um valor no aie. Quanto menor, menos sensível. Não dá pra fazer algo assim de forma confiável com Lua. O delay destrói essa possibilidade.
Leoonardo123
« Censeur »
1539977460000
    • Leoonardo123#4976
    • Profil
    • Derniers messages
#1600
  0
Um script de casamento.
  • Forums
  • /
  • Transformice
  • /
  • Archives
  • /
  • Seção Editor de Mapas e Modules
  • /
  • [Lua] Peça scripts aqui!
« ‹ 80 / 133 › »
© Atelier801 2018

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

Version 1.27