| Gabriel #8201 « Citoyen »
Date d'inscription : 01/05/2020 Communauté : Brésilienne Messages : 107 Prestige : 41 Niveau : 1 Hors ligne Date de naissance : 31/10/2000 |
Bem vindo(a)
Então Seja bem vindo ao meu perfil meu nome e Gabriel eu fasso scripts e para quem quiser pedi um script me chame la no jogo ou me envie um topico aqui no forum que eu responderei assim que poder, ou acesse meu discord Clicando AQUI Ou caso me add la no Transfomice e me chame Gabriel#8201
Eu ando: ATIVO no jogo
Lua/Script
Como podem ver eu fasso varios Scripts legais eu fiz um chat de moderação que funciona apenas no cafofo um dia desses atras para quem quiser testa ai no seu cafofo
Comando: !Coloca oque quiser
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
47local adm = "Gabriel#8201" -- mude para seu nick
system.disableChatCommandDisplay(startcode1, admcomand, close, desactive, scoremax, esconder)
eventChatCommand = function(name,c)
if name == adm then
if c==""..c then
ui.addTextArea(1, "<ROSE><font size='14'>[Moderação] "..c, nil, 5, 380, 785, 25, 0x0, 0xf, 1, true)
end
end
end[/spoiler][hr]
Esse aqui e um de naruto que estou fazendo que ta dando muito trabalho V1
[spoiler]-- Versão inicial Comandos: !start !jutsos
eventNewGame = function()
tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoScore(true)
tfm.exec.disableMinimalistMode(true)
tfm.exec.disableAutoNewGame(false)
tfm.exec.disableAfkDeath(true)
ui.addTextArea(1, " Vida", nil, 0, 25, 200, 15, 0xFF0500, 0x00000, 1, true)
ui.addTextArea(2, " Chakra", nil, 0, 50, 200, 15, 0x00CAFF, 0x00000, 1, true)
end
local adm = "Gabriel#8201" -- seu nick
pitagoras = function(x1,y1,x2,y2,raio)
return (x1-x2)^2 + (y1-y2)^2 <= (raio^2)
end
eventChatCommand=function(name,c)
if name == adm then
if c=="start" then
tfm.exec.newGame('@7875486')
elseif c=="jutsos" then
ui.addTextArea(3,txt,name, 400, 200, 100, 150, nil, nil, 1, true)
end
end
end
txt=[[ Jutsos
Ainda não disponivel
]]
eventNewGame()
Esse é o mesmo script o do naruto so que o script atual como Esta V2
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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326local adm = "Gabriel#8201"
players = {}
local killRange = 100
local playerList = {}
for k, v in next, tfm.get.room.playerList do
playerList[#playerList + 1] = v
end
function pythag(x1, y1, x2, y2, range)
return (x1 - x2) ^ 2 + (y1 - y2) ^ 2 <= (range ^ 2)
end
getPlayer = function(name)
return tfm.get.room.playerList[name]
end
eventNewPlayer = function(name)
if not players[name] then
players[name] = {
vida = 200,
chakra = 5000,
canchakra = 1,
money = 250,
images = "",
inventory = {},
using = {
usingrasengann = 0,
usingkunainn = 0,
},
shop = {
{item="Shuriken Inicial",price=0,buyed=false},
{item="Shuriken",price=10,buyed=false},
{item="Kunai",price=50,buyed=false},
{item="Samehada",price=15000,buyed=false},
{item="Papel bomba",price=300,buyed=false},
{item="Shuriken gigante",price=200,buyed=false},
{item="Corrente",price=230,buyed=false},
}
}
end
tfm.exec.respawnPlayer(name)
ui.addTextArea(1, " Vida: " ..players[name].vida .. "%", name, 3, 25, 250, 15, 0x7B0E0C, 0x00000, 1, true)
ui.addTextArea(2, " Chakra: " .. players[name].chakra .."%", name, 3, 49, 250, 15, 0x076DBE, 0x00000, 1, true)
ui.addTextArea(878, "Kurama Chakra: 8000%", name, 3, 73, 250, 15, 0xBE451C, 0x00000, 1, true)
ui.addTextArea(67, "<a href='event:inventory'><B><CE> Bolsa</a>", name, 650, 25, 70, 15, 0x1762B9, 0x00000, 1, true)
ui.addTextArea(67, "<a href='event:inventory'><B><CE> Bolsa</a>", name, 650, 25, 70, 15, 0x1762B9, 0x00000, 1, true)
system.bindKeyboard(name, 70, true, true)
system.bindKeyboard(name, 70, false, true)
system.bindKeyboard(name, 71, false, true)
system.bindKeyboard(name, 37, true, true)
system.bindKeyboard(name, 39, true, true)
system.bindKeyboard(name, 68, true, true)
system.bindKeyboard(name, 65, true, true)
system.bindKeyboard(name, 75, true, true)
system.bindKeyboard(name, 32, true, true)
end
eventShop = function(name)
str="<B><font size='12'>Nome do item <VP>Preço</VP> <ROSE>Botão</ROSE>"
for i,loja in pairs(players[name].shop) do
if loja.buyed then
str = str.."<br><B><font size='12'>"..loja.item.." <VP>"..loja.price.."</VP> <N>Item comprado</N>"
else
str = str.."<br><B><font size='12'>"..loja.item.." <VP>"..loja.price.."</VP> <ROSE><a href='event:buy-"..loja.item.."'>Comprar</a></ROSE>"
end
end
ui.addTextArea(2000,"<B><font size='12'>"..str,name, 295,75,290,220,0x0e232b,0x0e232b,2,true)
end
eventInv = function(name)
str="<B><font size='12'>Nome do item <ROSE>Botão</ROSE>"
for i,v in pairs(players[name].inventory) do
if players[name].using.item == v.item then
str = str.."<br><B><font size='12'>"..v.item.." <VP>Usando</VP>"
else
str = str.."<br><B><font size='12'>"..v.item.." <N><a href='event:usar-"..v.item.."'>Usar</a></N>"
end
end
ui.addTextArea(123,"<B><font size='12'>"..str,name,300,85,290,220,0x0e232b,0x0e232b,2,true)
end
eventTextAreaCallback = function(id, name, event)
if event == "lojinha" then
ui.addTextArea(112, name:sub(1, -6) .." Seja bem vindo a nossa loja", name, 295, 25, 500, 300, 0x282828, 0x3E4C78, 1, true)
ui.addTextArea(113, "<a href='event:fechar'> Fechar</a>", name, 295, 320, 500, 15, 0x3888CE, 0x3E4C78, 1, true)
ui.addTextArea(114, "", name, 295, 50, 500, 1, 0x575656, 0x575656, 1, true)
eventShop(name)
elseif event == "fechar" then
ui.removeTextArea(112, name)
ui.removeTextArea(113, name)
ui.removeTextArea(114, name)
ui.removeTextArea(115, name)
ui.removeTextArea(116, name)
ui.removeTextArea(117, name)
for id =2000,2000 do
ui.removeTextArea(id,name)
ui.removeTextArea(6969+id,name)
ui.removeTextArea(7979+id,name)
end
elseif event == "fechar2" then
ui.removeTextArea(3, name)
-- Abrir bolsa
elseif event == "inventory" then
ui.addTextArea(68,"", name, 295, 25, 500, 300, 0x282828, 0x00000, 1, true)
ui.removeTextArea(67, name)
ui.removeTextArea(66, name)
ui.addTextArea(70," <B>Bolsa", name, 295, 25, 500, 300, 0x282828, 0x363434, 2, true)
ui.addTextArea(69, "<a href='event:fechar3'> Fechar</a>", name, 295, 320, 500, 15, 0x3888CE, 0xf, 1, true)
eventInv(name)
-- Fechar bolsa
elseif event == "fechar3" then
ui.removeTextArea(70, name)
ui.removeTextArea(68, name)
ui.removeTextArea(69, name)
ui.removeTextArea(123, name)
ui.addTextArea(67, "<a href='event:inventory'><B><CE> Bolsa</a>", name, 650, 25, 70, 15, 0x1762B9, 0x00000, 1, true)
end
for i,v in pairs(players[name].shop) do
if event == "buy-"..v.item then
if players[name].money >= v.price then
tfm.exec.chatMessage("<B><R>Você comprou "..v.item.." por -"..v.price.." R$.</R></B>", name)
players[name].money = players[name].money-v.price
table.insert(players[name].inventory,{item=v.item})
v.buyed = true
else
faltando = players[name].money-v.price
tfm.exec.chatMessage("<B><R>Você precisa de "..faltando.." R$ para comprar "..v.item..".</R></B>", name)
end
eventShop(name)
end
end
for i,v in pairs(players[name].inventory) do
if event=="usar-"..v.item then
players[name].using = {item=v.item}
eventInv(name)
tfm.exec.chatMessage("<B><J>Você agora está usando o item "..v.item..".</J></B>", name)
end
end
end
eventKeyboard = function(name, key, down, x, y)
if players[name].canchakra == 1 then
if (key == 70) then
players[name].chakra = players[name].chakra +1
ui.addTextArea(2, name:sub(-5, -6) .." Chakra: " .. players[name].chakra .."%", name, 3, 49, 250, 15, 0x076DBE, 0x00000, 1, true)
elseif (key == 71) then
players[name].using.usingransegann = 1
players[name].image = tfm.exec.addImage("17bce2621e8.png", "$" .. name, 10, -20, nil, 0.03, 0.03)
system.bindKeyboard(name, 71, false, false)
elseif (key == 75) then
players[name].using.usingkunainn = 1
players[name].image = tfm.exec.addImage("17bd2e23fb2.png", "$" .. name, 30, -20, nil, -0.065, 0.65)
system.bindKeyboard(name, 74, false, false)
end
if players[name].using.usingransegann == 1 then
if (key == 37) then
tfm.exec.removeImage(players[name].image)
players[name].image = tfm.exec.addImage("17bce2621e8.png", "$" .. name, -35, -15, nil, 0.03, 0.03)
players[name].chakra = players[name].chakra -25
ui.addTextArea(2, " Chakra: " ..players[name].chakra.."%", name, 3, 49, 250, 15, 0x076DBE, 0x00000, 1, true)
elseif (key == 39) then
tfm.exec.removeImage(players[name].image)
players[name].image = tfm.exec.addImage("17bce2621e8.png", "$" .. name, 5, -15, nil, 0.03, 0.03)
players[name].chakra = players[name].chakra -25
ui.addTextArea(2, " Chakra: " ..players[name].chakra.."%", name, 3, 49, 250, 15, 0x076DBE, 0x00000, 1, true)
elseif (key == 65) then
tfm.exec.removeImage(players[name].image)
players[name].image = tfm.exec.addImage("17bce2621e8.png", "$" .. name, -35, -15, nil, 0.03, 0.03)
players[name].chakra = players[name].chakra -25
ui.addTextArea(2, " Chakra: " ..players[name].chakra.."%", name, 3, 49, 250, 15, 0x076DBE, 0x00000, 1, true)
elseif (key == 68) then
tfm.exec.removeImage(players[name].image)
players[name].image = tfm.exec.addImage("17bce2621e8.png", "$" .. name, 5, -15, nil, 0.03, 0.03)
players[name].chakra = players[name].chakra -25
ui.addTextArea(2, " Chakra: " ..players[name].chakra.."%", name, 3, 49, 250, 15, 0x076DBE, 0x00000, 1, true)
end
end
if players[name].using.usingkunainn == 1 then
if (key == 37) then
tfm.exec.removeImage(players[name].image)
players[name].image = tfm.exec.addImage("17bd2e23fb2.png", "$" .. name, -30, -15, nil, 0.065, 0.065)
elseif (key == 39) then
tfm.exec.removeImage(players[name].image)
players[name].image = tfm.exec.addImage("17bd2e23fb2.png", "$" .. name, 30, -15, nil, -0.065 , 0.065)
elseif (key == 65) then
tfm.exec.removeImage(players[name].image)
players[name].image = tfm.exec.addImage("17bd2e23fb2.png", "$" .. name, -30, -15, nil, 0.065, 0.065)
elseif (key == 68) then
tfm.exec.removeImage(players[name].image)
players[name].image = tfm.exec.addImage("17bd2e23fb2.png", "$" .. name, 30, -15, nil, -0.065, 0.065)
end
end
end
if key == 32 and players[name].using.usingransegann == 1 then
for name, player in next, tfm.get.room.playerList do
if not player.isDead then
if pythag(x, y, player.x, player.y, killRange) and name ~= playerName then
players[name].chakra = players[name].chakra -100
players[name].vida = players[name].vida -25
ui.addTextArea(1, " Vida: "..players[name].vida .. "%", name, 3, 25, 250, 15, 0x7B0E0C, 0x00000, 1, true)
ui.addTextArea(2, " Chakra: " .. players[name].chakra .."%", name, 3, 49, 250, 15, 0x076DBE, 0x00000, 1, true)
tfm.exec.movePlayer(player, player.x, player.y)
break
end
end
end
end
end
eventNewGame = function()
tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoScore(true)
tfm.exec.disableMinimalistMode(true)
tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAfkDeath(true)
ui.setMapName('<VP>Naruto Jump <N>| <G> Studio: BlueCode All Copyrights Rerseved Massashi Kishimoto, Naruto 2002-2007 \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t')
ui.setShamanName('By: Gabriel#8201')
tfm.exec.setNameColor("Gabriel#8201", 0xF70500)
tfm.exec.setNameColor("Sklag#2552", 0xF70500)
system.disableChatCommandDisplay(startcode1, admcomand, close, desactive, scoremax, esconder)
tfm.exec.disableMortCommand(true)
tfm.exec.setGameTime(1000000, true)
tfm.exec.newGame('@7875486')
tfm.exec.setRoomMaxPlayers(50)
for all in pairs(tfm.get.room.playerList) do
eventNewPlayer(all)
ui.addTextArea(-100000, "<a href='event:lojinha'><CE><B>Comprar", name, 50, 720, nil, nil, 0xf, 0xf, 2, false)
tfm.exec.addImage("164c8600043.png", "_30", 50, 735, name)
tfm.exec.respawnPlayer(all)
end
end
eventPlayerDied = function(name)
ui.updateTextArea(1, name:sub(1, -6) .." Vida: 0%", name)
ui.updateTextArea(2, name:sub(1, -6) .." Chakra 0%", name)
tfm.exec.respawnPlayer(name)
end
eventPlayerLeft = function(name)
ui.addTextArea(1, " Play left", name, 3, 27, 250, 15, 0x7B0E0C, 0x00000, 1, true)
ui.addTextArea(2, " Play left", name, 3, 50, 250, 15, 0x076DBE, 0x00000, 1, true)
ui.setShamanName(name .." left")
end
eventPlayerRespawn = function(name)
ui.addTextArea(1, name:sub(1, -6) .." Vida: 200%", name, 3, 27, 250, 15, 0x7B0E0C, 0x00000, 1, true)
ui.addTextArea(2, name:sub(1, -6) .." Chakra: " ..players[name].chakra.."%", name, 3, 50, 250, 15, 0x076DBE, 0x00000, 1, true)
end
eventPlayerWon = function(name)
tfm.exec.newGame(mapa)
end
for name, player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
--Chat event
eventChatCommand=function(name,c)
if name == adm then
if c=="close" then
ui.removeTextArea(3, name,c)
ui.removeTextArea(4, name,c)
-----------------------------------------------------------------------------------
--Comando de desativa
elseif c=="desactive" then
system.exit()
-----------------------------------------------------------------------------------
-- Exteregue
elseif c=="BlueCode" then
tfm.exec.chatMessage("Nossa você achou um Exteregue parebems!!", name)
tfm.exec.freezePlayer(name, true)
tfm.exec.giveCheese(name)
tfm.exec.playerVictory(name)
tfm.exec.respawnPlayer(name)
tfm.exec.setNameColor(name, 0xFF8300)
tfm.exec.setPlayerScore(name, 999, true)
tfm.exec.linkMice(name, Gabriel, true)
elseif c=="scoremax" then
-----------------------------------------------------------------------------------
-- Comando de admin
tfm.exec.setPlayerScore(name, 9999, true)
elseif c==""..c then
ui.addTextArea(46730976, "<font size='12'><CE><N2>[The room adm]</CE> "..c, nil, 5, 383, 790, 30, 0x0, 0xf, 1, true)
end
end
end
-----------------------------------------------------------------------------------
txt=[[ <p align='center'> Jutsus</p>
Nome|Tecla
Rasengan "G"
Kunai "K"
<a href='event:fechar2'>Fechar</a>
]]
ui.addTextArea(3,txt,name, 3, 98, 130, 200, 0x3C3C3C, 0x3C3C3C, 0.7, true)
Agora um script um de solta cn apertando espaço
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
59despawnTime = 1000
fireDelay = 10000
offsetX = 0
offsetY = 0
---------------------------------
keys = {0,2,32}
_left = 0
_right = 2
facingLeft = {}
toDespawn = {}
fireTS = {}
function main()
for n in pairs(tfm.get.room.playerList) do
eventNewPlayer(n)
end
end
function eventNewPlayer(name)
facingLeft[name] = false
fireTS[name] = 0
for _,k in pairs(keys) do
system.bindKeyboard(name, k, true)
end
end
function eventLoop(t, tr)
for i,o in ipairs(toDespawn) do
if os.time() > o[2] + despawnTime then
tfm.exec.removeObject (o[1])
table.remove (toDespawn, i)
end
end
end
function eventKeyboard(name, key, down, px, py)
if key == _left then
facingLeft[name] = true
elseif key == _right then
facingLeft[name] = false
elseif key==32 and os.time() > fireTS[name] + fireDelay then
fireTS[name] = os.time()
local dx,a,id
if facingLeft[name] then
dx,dy,a = -30,0,-90
else
dx,dy,a = 30,0,90
end
id = tfm.exec.addShamanObject(17, px+dx+offsetX, py+offsetY, a)
table.insert(toDespawn, {id, os.time()})
end
end
main()
Um pc que fiz não estou levando ele adiante nem atualizando então ele ta assim
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
36ui.addTextArea(1, "<font size='35'>", name, 200, 100, 350, 200, 0x5C5C5C, 0x5C5C5C, 1, true)
ui.addTextArea(99, "<font size='35'>", name, 207, 107, 335, 185, 0x0076FF, 0xf, 1, true)
ui.addTextArea(0, "<font size='35'>", name, 207, 107, 335, 185, 0x2C2C2C, 0xf, 1, true)
ui.addTextArea(2, "<font size='35'>", name, 207, 285, 335, 5, 0x0E1026, 0x0E1026, 1, true)
ui.addTextArea(3, "<font size='35'>", name, 207, 105, 335, 5, 0x0E1026, 0x0E1026, 1, true)
ui.addTextArea(4, "<font size='35'>", name, 207, 105, 60, 5, 0x1D1E37, 0x0E1026, 1, true)
ui.addTextArea(5, "<a href='event:fechar'>X", name, 525, 105, 10, 5, 0x6D0808, 0x0E1026, 1, true)
ui.addTextArea(6, "<font size='35'>", name, 200, 300, 350, 5, 0x5C5C5C, 0x5C5C5C, 1, true)
ui.addTextArea(7, "<font size='35'><BV><B>G<R>O<J>O<BV>G<VP>L<R>E", name, 290, 145, 350, nil, 0x5C5C5C, 0x5C5C5C, 0, true)
ui.addTextArea(8, "<font size='10'><B> Pesquisa", name, 275, 200, 200, nil, 0xFFFFFF, 0x7B1A17, 1, true)
fechar = 0
ui.addTextArea(-8, "<a href='event:ligado'> ", name, 510, 300, 40, 5, 0x47A027, 0x47A027, 1, true)
eventLoop = function()
if fechar == 1 then
ui.removeTextArea(0, name)
ui.removeTextArea(7, name)
ui.removeTextArea(8, name)
end
end
eventTextAreaCallback = function(id, name, event)
if event == "ligado" then
print('Desligado')
ui.removeTextArea(-8, name)
ui.addTextArea(12, "<a href='event:desligado'> ", name, 510, 300, 40, 5, 0x4F0707, 0x4F0707, 1, true)
ui.addTextArea(-12, "<font size='35'>", name, 207, 107, 335, 190, 0x000000, 0xf, 1, true)
elseif event == "desligado" then
print('Ligado')
ui.removeTextArea(-12, name)
ui.addTextArea(-8, "<a href='event:ligado'> ", name, 510, 300, 40, 5, 0x47A027, 0x47A027, 1, true)
elseif event == "fechar" then
fechar = fechar +1
end
end