here furty
How to make if player stop then die/dead.i mean.. If you stop ( No walking / running ) you got die/dead by server.
if you know plase.. give me example / file
btw.. thanks.
Sorry for my English Error!!
Scripts
if Player Stop then Die?
if Player Stop then Die?
1

How to make if player stop then die/dead.
Sorry for my English Error!!
Ridho:

addhook("second","test_")
function test_(id)
locx=player(id,"x")
locy=player(id,"y")
sec=sec+1
if sec==1 then
local x=player(id,"x")
local y=player(id,"y")
if x=player(id,"x") and y=player(id,"y") then
parse("killplayer "..id)
end
sec=0
end
end
Ridho:
addhook("second", "_second")
addhook("spawn", "_spawn")
addhook("move", "_move")
local positions = {}
local active = {}
function _spawn(id)
active[id] = false
end
function _move(id, x, y, walk)
active[id] = true
end
function _second()
for _, v in pairs(player(0,"tableliving")) do
if active[v] == true and
positions[v] ~= nil and
positions[v][1] == player(v, "x") and
positions[v][2] == player(v, "y") then
parse("killplayer " .. v)
end
positions[v] = {player(v, "x"), player(v, "y")}
end
end
Apache uwu: Seems like checking every second is a lot better choice than what I said.
Apache uwu:
i want if player stop walking/running.. they instant die/dead. 
that work!
Rygna: Try the new script, it only kills them after they start initially moving (as
J192 suggested).
Apache uwu:
1
