Forum

> > CS2D > Scripts > lower health ewery min
Forums overviewCS2D overview Scripts overviewLog in to reply

English lower health ewery min

5 replies
To the start Previous 1 Next To the start

old lower health ewery min

Flame
BANNED Off Offline

Quote
Can anybody make me another lua ?


Is it possible to make that ur hp goes -5 ewery 1,50min and displays a message : U will die

old Re: lower health ewery min

Bowlinghead
User Off Offline

Quote
Omg. Easy.
1
2
3
4
5
6
7
8
9
10
11
12
sec=0
addhook("second","lol")
function lol()
	sec = sec+1 -- count up
	if sec==90 then -- 60 sec= 1min. 30sec=0,50min
		sec=0
		for _, all in ipairs(player(0,"tableliving")) do
			parse("sethealth "..all.." "..player(all,"health")-5) -- Set energie -5
			msg2(all,"©255000000U will die ;)") -- The msg
		end
	end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview