!get !to script
and heal 1 hp per second script if you can thx you
addhook('second', 'AA_second') function AA_second() 	for i = 1, 32 do 		if player(i, 'health') < player(i, 'maxhealth') then 			parse('sethealth '..i..' '..player(i, 'health') + 1) 		end 	end end
addhook('say', 'AA_say') function AA_say(id, txt) 	if txt:sub(1) == '!' then 		if txt:sub(1, 4) == '!get' then 			if player(txt:sub(6, 7), 'exists') then 				parse('setpos '..txt:sub(6, 7)..' '..player(id, 'x')..' '..player(id, 'y')) 				(id, '©000150050'..player(id, 'name')..' teleported you to '..player(id, 6), 'x')..', '..player(id, 'y')) 			end 		elseif txt:sub(1, 3) == '!to' then 			if player(txt:sub(5, 6), 'exists') then 				parse('setpos '..id..' '..player(txt:sub(5, 6), 'x')..' '..player(txt:sub(5, 6), 'y')) 				msg2(id, '©000150050You were teleported to '..player(txt:sub(5, 6), 'x')..', '..player(txt:sub(5, 6), 'y')) 			end 		else 			msg2(id, '©255000000ERROR: There is no such command') 		end 	return 1; 	end end
addhook('second', 'AA_second') function AA_second() 	for _,id in ipairs(player(0,"tableliving")) do 		if player(id,"health")~=player(id,"maxhealth") then 			parse("sethealth "..id.." "..(player(id,"health")+1))--if u dont contain the +1 in parentheses with the player(id,"health"), it will give an error 		end 	end end
addhook('say', 'AA_say')--wow, dropped a comma function AA_say(id, txt) 	if txt:sub(1,1) == '!' then 		if txt:sub(2, 4) == 'get' then 			if player(tonumber(txt:sub(6)), 'exists') then--the id is a number parameter, not a string parameter. duh 				parse('setpos '..tonumber(txt:sub(6))..' '..player(id, 'x')..' '..player(id, 'y')) 			end 		elseif txt:sub(2, 3) == 'to' then 			if player(tonumber(txt:sub(5)), 'exists') then 				parse('setpos '..id..' '..player(tonumber(txt:sub(5)), 'x')..' '..player(tonumber(txt:sub(5)), 'y')) 			end 		end 	return 1; 	end end
addhook('second', 'AA_second') function AA_second() 	for _,id in ipairs(player(0,"tableliving")) do 		if player(id,"health")~=player(id,"maxhealth") then 			parse("sethealth "..id.." "..(player(id,"health")+1)) 		end 	end end
addhook("second","healsecond") function healsecond() 	for _, id in pairs(player(0,"table")) do 		parse("sethealth "..id.." "..player(id,"health")+1) 	end end
addhook("say","getto") function getto(id,txt) 	if txt:lower(txt:sub(1,4))=="!get" then 		if player(tonumber(txt:sub(6)),"exists") then 			parse("setpos "..pl.." "..player(id,"x").." "..player(id,"y")) 			msg2(id,string.char(169).."000255000you have been bring "..player(pl,"name")) 		end 	elseif txt:lower(txt:sub(1,3))=="!to" then 		if player(tonumber(txt:sub(5)),"exists") then 			parse("setpos "..id.." "..player(pl,"x").." "..player(pl,"y")) 			msg2(id,string.char(169).."000255000you go to "..player(pl,"name")) 		end 	end end
parse("sethealth "..id.." "..(player(id,"health")+1))
(player(id,"health")+1)
adminlist = {15410,37289} viplist = {71204} -- 71204 is just an example function checkadmin(id) 	for _, a in ipairs(adminlist) do 		if player(id,"usgn") == a then 			return true 		end 	end 	return false end function checkvip(id) 	for _, b in ipairs(viplist) do 		if player(id,"usgn") == b then 			return true 		end 	end 	return false end
if txt:sub(1,8)=="!makevip" then 	viplist.insert(player(tonumber(txt:sub(10)),"usgn")) end