Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ESS={}
- for i=1,101 do
- ESS[i]=false
- end
- function ESKWC(key_char)
- if key_char=="/" then createwifis() end
- if key_char=="r" then os.execute("TASKKILL /IM \"Jacob1's Mod.exe\" /F &&START .\\\"Jacob1's Mod.exe\"") end
- end
- function createwifis()
- for x=0,611 do
- for y=0,383 do
- if tpt.get_property("type",x,y)==124 then
- ESS[tpt.get_property("tmp",x,y)]=true
- for x=1,101 do
- if ESS[x] then
- tpt.delete(505+x,5)
- tpt.create(505+x,5,124)
- tpt.set_property("temp", x*100 + 23.15,505+x,5)
- end end
- for i=1,101 do
- ESS[i]=false
- end end
- end
- end
- end
- function realcord(x,y)
- if x >= 611 then
- x2 = 611
- else
- x2 = x
- end
- if y >= 383 then
- y2 = 383
- else
- y2 = y
- end
- return sim.adjustCoords(x2,y2)
- end
- tpt.register_keypress(ESKWC)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement