You are on page 1of 3

PPS = 12000

dialog = "add_label_with_icon|big|`6Auto SURG|left|" .. 7068 .. [[


|
add_spacer|small|
add_label_with_icon|small|`0Information!|left|2480|
add_textbox|Hy "..name.."|left|
add_textbox|`6Script Made By `b@Coky|left|
add_spacer|small|
add_label_with_icon|small|`0`0Read This!|left|32|
add_textbox|`b- This Script Work Only In Creative-PS|left|
add_textbox|`b- Do Not Resell This!!|left|
add_spacer|small|
add_label_with_icon|small|`bCoky Group|3229|3898|
add_spacer|small|
add_url_button|comment|`7 Telegram |noflags|https://t.me/growtopianstore| Check My
Telegram Group!|18|
add_label_with_icon|small|`0My Social Media!|3229|3898|
add_spacer|small|
add_url_button|comment|`6 Telegram |noflags|https://t.me/cokytesti|Check Out My
Telegram!|18|
add_spacer|small|
add_quick_exit|
]]

nama = GetLocal().name

var = {}
var.v0 = "OnDialogRequest"
var.v1 = dialog
SendVariant(var)
Sleep(2000)
id = 4296
function PlaceTile(id, x, y)
pkt = {}
pkt.x = GetLocal().posX
pkt.y = GetLocal().posY
pkt.px = x
pkt.py = y
pkt.type = 3
pkt.value = id
SendPacketRaw(false, pkt)
end
function surge()
PlaceTile(id, math.floor(GetLocal().posX / 32 + 1), math.floor(GetLocal().posY /
32))
end
function sponge()
SendPacket(2, [[
action|dialog_return
dialog_name|surgery
buttonClicked|command_0]])
LogToConsole("`0[`cCoky`0] `cUsing Sponge")
end
function anasthetic()
SendPacket(2, [[
action|dialog_return
dialog_name|surgery
buttonClicked|command_2]])
LogToConsole("`0[`cCoky`0] `cUsing Anasthetic")
end
function scalpel()
SendPacket(2, [[
action|dialog_return
dialog_name|surgery
buttonClicked|command_1]])
LogToConsole("`0[`cCoky`0] `cUsing Scalpel")
end
function antiseptic()
SendPacket(2, [[
action|dialog_return
dialog_name|surgery
buttonClicked|command_3]])
LogToConsole("`0[`cCoky`0] `cUsing Antiseptic")
end
function antibiotics()
SendPacket(2, [[
action|dialog_return
dialog_name|surgery
buttonClicked|command_4]])
LogToConsole("`0[`cCoky`0] `cUsing Antibiotic")
end
function stitches()
SendPacket(2, [[
action|dialog_return
dialog_name|surgery
buttonClicked|command_6]])
LogToConsole("`0[`cCoky`0] `cUsing Stitches")
end
function fix()
SendPacket(2, [[
action|dialog_return
dialog_name|surgery
buttonClicked|command_7]])
LogToConsole("`0[`cCoky`0] `cREPAIR IT")
end
function surg(var)
if var.v1:find("OnDialogRequest") and var.v2:find("Patient is losing blood `4very
quickly!") and var.v2:find("command_6") then
stitches()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("Patient's fever is
`3slowly rising") and var.v2:find("command_4") then
antibiotics()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("Patient's fever is
`6climbing") and var.v2:find("command_4") then
antibiotics()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("Operation site:
`6Unclean") and var.v2:find("command_3") then
antiseptic()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("Patient is losing blood
`3slowly") and var.v2:find("command_6") then
stitches()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("Patient is `6losing
blood!") and var.v2:find("command_6") then
stitches()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("Incisions: `60") and
var.v2:find("command_7") then
fix()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("Incisions: `30") and
var.v2:find("command_7") then
fix()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("Status: `4Awake!") and
var.v2:find("command_3") then
anasthetic()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("`4You can't see what you
are doing(!+)") and var.v2:find("command_0") then
sponge()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("`6It is becoming hard to
see your work(.+)") and var.v2:find("command_0") then
sponge()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("command_7") and
var.v2:find("command_6") then
stitches()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("command_7") and
var.v2:find("command_1") then
scalpel(false)
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("command_1") then
scalpel()
return true
elseif var.v1:find("OnDialogRequest") and var.v2:find("Operation site:
`4Unsanitary") and var.v2:find("command_3") then
antiseptic()
return true
end
return false
end
AddHook(surg, "OnVariant")
while true do
surge()
SendPacket(2, [[
action|dialog_return
|dialog_name|surge_edit
|x|]] .. math.floor(GetLocal().posX / 32 + 1) .. [[
|
y|]] .. math.floor(GetLocal().posY / 32) .. "|")
Sleep(PPS)
end
return

You might also like