Sharingan33 Posted May 24, 2021 Share Posted May 24, 2021 This mod in the steam workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=1757943227 has obfuscated Lua code in some files (not all of them), i need to recover the code of the original seele.lua file to edit some functions but i don't know how to do it, can someone help me? I'll put the file and the obfuscated code here local dijn4Ph=require"\112\114\101\102\97\98\115\47\112\108\97\121\101\114\95\99\111\109\109\111\110"local CO1=require("\101\97\115\105\110\103") local RlZo={Asset("\83\67\82\73\80\84","\115\99\114\105\112\116\115\47\112\114\101\102\97\98\115\47\112\108\97\121\101\114\95\99\111\109\109\111\110\46\108\117\97"),Asset("\65\78\73\77","\97\110\105\109\47\115\101\101\108\101\46\122\105\112"),Asset("\65\78\73\77","\97\110\105\109\47\115\101\101\108\101\95\114\101\100\101\121\101\46\122\105\112"),Asset("\65\78\73\77","\97\110\105\109\47\117\110\105\102\111\114\109\95\114\101\100\101\121\101\46\122\105\112"),Asset("\65\78\73\77","\97\110\105\109\47\115\101\101\108\101\95\117\110\105\102\111\114\109\46\122\105\112"),Asset("\65\78\73\77","\97\110\105\109\47\100\114\101\115\115\95\114\101\100\101\121\101\46\122\105\112"),Asset("\65\78\73\77","\97\110\105\109\47\115\101\101\108\101\95\100\114\101\115\115\46\122\105\112"),Asset("\65\78\73\77","\97\110\105\109\47\98\114\111\110\121\97\95\98\97\115\105\99\46\122\105\112"),Asset("\65\78\73\77","\97\110\105\109\47\115\101\101\108\101\95\115\119\105\109\115\117\105\116\46\122\105\112"),Asset("\65\78\73\77","\97\110\105\109\47\115\101\101\108\101\95\115\119\105\109\115\117\105\116\95\114\101\100\101\121\101\46\122\105\112"),Asset("\65\78\73\77","\97\110\105\109\47\115\101\101\108\101\95\115\119\105\109\46\122\105\112")} local SUn={"\102\111\114\99\101\102\105\101\108\100\102\120","\99\114\121\115\116\97\108\95\97\98\121\115\109\97\108\95\115\101\97","\115\116\97\116\117\101\95\116\114\97\110\115\105\116\105\111\110\95\50","\114\101\97\112\101\114\102\120"}local Ib4={"\115\101\101\108\101\95\114\101\97\112\101\114","\100\114\101\115\115\95\115\101\97","\98\111\111\107\115\95\99\97\110\100\121"} local fjV1G2={attacked={"\48\49\53","\48\49\54","\48\49\55","\48\49\57"}} local Do={day="\105\109\97\103\101\115\47\99\111\108\111\117\114\95\99\117\98\101\115\47\109\111\108\101\95\118\105\115\105\111\110\95\111\110\95\99\99\46\116\101\120",dusk="\105\109\97\103\101\115\47\99\111\108\111\117\114\95\99\117\98\101\115\47\109\111\108\101\95\118\105\115\105\111\110\95\111\110\95\99\99\46\116\101\120",night="\105\109\97\103\101\115\47\99\111\108\111\117\114\95\99\117\98\101\115\47\109\111\108\101\95\118\105\115\105\111\110\95\111\110\95\99\99\46\116\101\120",full_moon="\105\109\97\103\101\115\47\99\111\108\111\117\114\95\99\117\98\101\115\47\109\111\108\101\95\118\105\115\105\111\110\95\111\110\95\99\99\46\116\101\120"}local function _(gE) SpawnPrefab("\115\116\97\116\117\101\95\116\114\97\110\115\105\116\105\111\110\95\50")["\84\114\97\110\115\102\111\114\109"]:SetPosition(gE["\84\114\97\110\115\102\111\114\109"]:GetWorldPosition())end local function TqYJ4(QgC) QgC["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]:Kill()end local function DI(CYoa,K3ipRr) if K3ipRr:HasTag("\98\101\110\103\98\101\110\103\98\117\110\110\121")then K3ipRr:DoTaskInTime(0x0,_) if(CYoa["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]:IsDead()or CYoa:HasTag("\112\108\97\121\101\114\103\104\111\115\116"))and K3ipRr["\95\107\105\108\108\116\97\115\107"]==nil then K3ipRr["\95\107\105\108\108\116\97\115\107"]=K3ipRr:DoTaskInTime(math["\114\97\110\100\111\109"](),TqYJ4)end elseif CYoa["\95\79\110\83\112\97\119\110\80\101\116"]~=nil then CYoa:_OnSpawnPet(K3ipRr)end end local function b(F2tY,rb21L2) if rb21L2:HasTag("\98\101\110\103\98\101\110\103\98\117\110\110\121")then _(rb21L2)rb21L2:Remove()elseif F2tY["\95\79\110\68\101\115\112\97\119\110\80\101\116"]~=nil then F2tY:_OnDespawnPet(rb21L2)end end local function E(o_v255) local wUVm=math["\109\105\110"](o_v255["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"],o_v255["\109\97\120\95\108\101\118\101\108"]) local VQ=o_v255["\99\111\109\112\111\110\101\110\116\115"]["\104\117\110\103\101\114"]:GetPercent() local oTYNsnP=o_v255["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]:GetPercent() local I=o_v255["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]:GetPercent() o_v255["\99\111\109\112\111\110\101\110\116\115"]["\104\117\110\103\101\114"]["\109\97\120"]=math["\99\101\105\108"](TUNING["\83\69\69\76\69\95\72\85\78\71\69\82"]+wUVm*0x5) o_v255["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]["\109\97\120\104\101\97\108\116\104"]=math["\99\101\105\108"](TUNING["\83\69\69\76\69\95\72\69\65\76\84\72"]+wUVm*0x3) o_v255["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\109\97\120"]=math["\99\101\105\108"](TUNING["\83\69\69\76\69\95\83\65\78\73\84\89"]+wUVm*0x6) o_v255["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114"]=TUNING["\83\69\69\76\69\95\68\65\77\65\71\69\95\77\85\76\84"]+wUVm*.02 o_v255["\99\111\109\112\111\110\101\110\116\115"]["\104\117\110\103\101\114"]:SetPercent(VQ) o_v255["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]:SetPercent(oTYNsnP)local LmR5gwW=o_v255["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\105\103\110\111\114\101"] o_v255["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\105\103\110\111\114\101"]=false o_v255["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]:SetPercent(I)o_v255["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\105\103\110\111\114\101"]=LmR5gwW if o_v255:HasTag("\113\117\97\110\116\117\109")then o_v255["\99\111\109\112\111\110\101\110\116\115"]["\108\111\99\111\109\111\116\111\114"]:SetExternalSpeedMultiplier(o_v255,"\113\117\97\110\116\117\109\95\115\112\101\101\100",1.2+wUVm*.03)end if o_v255["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]>=0x14 and o_v255["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\98\97\110\113\117\101\116"]<=0x0 then o_v255["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\98\97\110\113\117\101\116"]=0x1 end end local function KMw7_i1s(DfbW,sh) if DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]>=DfbW["\109\97\120\95\108\101\118\101\108"] then DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\99\117\114\114\101\110\116"]=0x0 else DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\99\117\114\114\101\110\116"]= DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\99\117\114\114\101\110\116"]+sh while DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\99\117\114\114\101\110\116"]>= 0x19* (DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]+0x1)and DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]<DfbW["\109\97\120\95\108\101\118\101\108"] do DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]=DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]+ 0x1 DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\99\117\114\114\101\110\116"]= DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\99\117\114\114\101\110\116"]- (0x19*DfbW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]) DfbW["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(STRINGS["\83\69\69\76\69\95\76\69\86\69\76\85\80"])DfbW["\114\101\115\116\114\105\99\116"]=true E(DfbW)end end end local function CQi(rrFLbCtj,YcPea0vg)if SeeleSound then rrFLbCtj["\83\111\117\110\100\69\109\105\116\116\101\114"]:KillSound("\115\101\101\108\101\95\115\111\117\110\100") rrFLbCtj["\83\111\117\110\100\69\109\105\116\116\101\114"]:PlaySound("\115\101\101\108\101\95\99\110\47\117\110\116\105\116\108\101\100\47"..YcPea0vg,"\115\101\101\108\101\95\115\111\117\110\100",.5)end end local function nHlJ(usLpLoaH)if usLpLoaH["\95\100\101\116\101\99\116\105\111\110"]~=nil then usLpLoaH["\95\100\101\116\101\99\116\105\111\110"]:Cancel()usLpLoaH["\95\100\101\116\101\99\116\105\111\110"]=nil end end local function lw4Q7kbl(e7dv)if e7dv["\95\113\117\97\110\116\105\122\97\116\105\111\110"]~=nil then e7dv["\95\113\117\97\110\116\105\122\97\116\105\111\110"]:Cancel()e7dv["\95\113\117\97\110\116\105\122\97\116\105\111\110"]= nil end e7dv["\95\113\117\97\110\116\117\109"]=0x0 end local function IN(inx0,A5k5yt,B7SHDx7h,EEpoeR) if inx0["\95\98\115\116\114\117\99\116\105\111\110"] then for _k,Ef in pairs(TheSim:FindEntities(A5k5yt,B7SHDx7h,EEpoeR,0x19,{"\95\99\111\109\98\97\116"}))do if Ef~=nil and Ef~=inx0 and Ef["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"] and Ef["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]:TargetIs(inx0)and ( Ef["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121\105\116\101\109"]==nil or (Ef["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121\105\116\101\109"] and not Ef["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121\105\116\101\109"]:IsHeld()))then return true end end inx0["\95\98\115\116\114\117\99\116\105\111\110"]=false end return false end local function QYf1(KfM,Vd) if Vd["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"] and Vd["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]:TargetIs(KfM)and (Vd["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121\105\116\101\109"]==nil or (Vd["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121\105\116\101\109"] and not Vd["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121\105\116\101\109"]:IsHeld()))then return true end return false end local function RfsnisO(Oynw) if Oynw["\95\100\101\116\101\99\116\105\111\110"]==nil then Oynw["\95\100\101\116\101\99\116\105\111\110"]=Oynw:DoPeriodicTask(0x1,function(Oynw) if Oynw["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\115\101\101\108\101\116\105\109\101"]<=0x0 then local QBO,s4ggux,hrVI4meU=Oynw["\84\114\97\110\115\102\111\114\109"]:GetWorldPosition() local xEq6TAF=TheSim:FindEntities(QBO,s4ggux,hrVI4meU,0x8,nil,{"\99\114\105\116\116\101\114","\112\108\97\121\101\114\103\104\111\115\116"}) for UIjls,jdLnB0vD in pairs(xEq6TAF)do if jdLnB0vD~=nil and jdLnB0vD~=Oynw and jdLnB0vD:IsValid()and (jdLnB0vD:HasTag("\112\108\97\121\101\114")or Oynw["\99\111\109\112\111\110\101\110\116\115"]["\108\101\97\100\101\114"]:IsFollower(jdLnB0vD)or QYf1(Oynw,jdLnB0vD))then Oynw:OnChildish()break end end end end)end end local function lvW2ga(PSlD) if PSlD["\95\113\117\97\110\116\105\122\97\116\105\111\110"]==nil then PSlD["\95\98\115\116\114\117\99\116\105\111\110"]=true PSlD["\95\113\117\97\110\116\105\122\97\116\105\111\110"]=PSlD:DoPeriodicTask(0x1,function(PSlD) local nN,J,A=PSlD["\84\114\97\110\115\102\111\114\109"]:GetWorldPosition() if PSlD["\99\111\109\112\111\110\101\110\116\115"]["\97\103\101"]:GetAgeInDays()< TUNING["\83\69\69\76\69\68\65\84\65"]["\81\85\65\78\84\85\77\68\69\76\65\89"] or PSlD["\99\111\109\112\111\110\101\110\116\115"]["\112\101\116\108\101\97\115\104"]:HasPetWithTag("\98\101\110\103\98\101\110\103\98\117\110\110\121")or PSlD["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121"]:EquipHasTag("\115\101\101\108\101\95\117\110\105\102\111\114\109")or PSlD["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\115\101\101\108\101\98\111\111\107"]>0x0 or IN(PSlD,nN,J,A)then PSlD["\95\113\117\97\110\116\117\109"]=0x0 else for g3Qeqnr,qHpY64 in pairs(TheSim:FindEntities(nN,J,A,0x8,nil,{"\99\114\105\116\116\101\114","\112\108\97\121\101\114\103\104\111\115\116"}))do if qHpY64 ~=nil and qHpY64 ~=PSlD and qHpY64:IsValid()and(qHpY64:HasTag("\112\108\97\121\101\114")or PSlD["\99\111\109\112\111\110\101\110\116\115"]["\108\101\97\100\101\114"]:IsFollower(qHpY64))then PSlD["\95\113\117\97\110\116\117\109"]=0x0 return end end PSlD["\95\113\117\97\110\116\117\109"]=PSlD["\95\113\117\97\110\116\117\109"]+0x1 if PSlD["\95\113\117\97\110\116\117\109"]>=0x5 then PSlD:OnQuantum()end end end)end end local function T7RKP(z,qccJ5b) if z:HasTag("\113\117\97\110\116\117\109")then if TheWorld:HasTag("\99\97\118\101")or qccJ5b=="\110\105\103\104\116"then z["\95\115\101\101\108\101\118\105\115\105\111\110"]:set(true)else z["\95\115\101\101\108\101\118\105\115\105\111\110"]:set(false)end end end local function _L6Bs(ARuba) if ARuba["\95\115\101\101\108\101\118\105\115\105\111\110"]:value()then ARuba["\99\111\109\112\111\110\101\110\116\115"]["\112\108\97\121\101\114\118\105\115\105\111\110"]:ForceNightVision(true) ARuba["\99\111\109\112\111\110\101\110\116\115"]["\112\108\97\121\101\114\118\105\115\105\111\110"]:SetCustomCCTable(Do)else ARuba["\99\111\109\112\111\110\101\110\116\115"]["\112\108\97\121\101\114\118\105\115\105\111\110"]:ForceNightVision(false) ARuba["\99\111\109\112\111\110\101\110\116\115"]["\112\108\97\121\101\114\118\105\115\105\111\110"]:SetCustomCCTable(nil)end end local function SH(Wo53nZ) local XRfQ,gFPRdEC,lw9gLt3=Wo53nZ["\84\114\97\110\115\102\111\114\109"]:GetWorldPosition() SpawnPrefab("\114\101\97\112\101\114\102\120")["\84\114\97\110\115\102\111\114\109"]:SetPosition(XRfQ,gFPRdEC,lw9gLt3) for TI5,JmE in pairs(TheSim:FindEntities(XRfQ,gFPRdEC,lw9gLt3,0x5,{"\95\99\111\109\98\97\116","\95\104\101\97\108\116\104"},TUNING["\83\69\69\76\69\68\65\84\65"]["\78\79\95\84\65\71\83"]))do if JmE~=nil and JmE~=Wo53nZ and JmE["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"] and JmE["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"] then JmE["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]:GetAttacked(Wo53nZ, 0x64*Wo53nZ["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114"])end end end local function wU4wYbA9(s4)s4:AddTag("\105\110\115\97\110\101\108\121\115\104\105\101\108\100") s4:AddTag("\105\110\115\97\110\101\108\121\115\104\105\101\108\100\95\112\114\101") s4["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(STRINGS["\83\69\69\76\69\95\73\78\83\65\78\69\76\89\95\83\72\73\69\76\68"])s4:OnSeeleTalk("\48\49\52")s4["\105\110\115\97\110\101\108\121\95\115\104\105\101\108\100"]=nil end local function fFeQcIM(FFG)if FFG:HasTag("\105\110\115\97\110\101\108\121")then FFG:RemoveTag("\105\110\115\97\110\101\108\121\115\104\105\101\108\100") FFG["\105\110\115\97\110\101\108\121\95\115\104\105\101\108\100"]=FFG:DoTaskInTime(0xA,wU4wYbA9)end end local function JEHSHPh3(a31jEAS) a31jEAS["\95\115\104\105\101\108\100\102\120"]["\65\110\105\109\83\116\97\116\101"]:PlayAnimation("\104\105\116") a31jEAS["\95\115\104\105\101\108\100\102\120"]["\65\110\105\109\83\116\97\116\101"]:PushAnimation("\105\100\108\101\95\108\111\111\112")end local function bb(LS4h) if LS4h["\95\115\104\105\101\108\100\102\120"]~=nil then LS4h["\95\115\104\105\101\108\100\102\120"]:kill_fx()LS4h["\95\115\104\105\101\108\100\102\120"]=nil end LS4h:RemoveEventCallback("\97\114\109\111\114\100\97\109\97\103\101\100",JEHSHPh3) LS4h:RemoveTag("\113\117\97\110\116\117\109\115\104\105\101\108\100")LS4h["\95\97\114\109\111\114\116\97\115\107"]=nil end local function o5e6fP(eux092_P,ZA9,hWgmxm,UBg54E) local gQGq=eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\112\101\114\115\111\110\97\108\105\116\121"] or"\99\104\105\108\100\105\115\104" local OyHc5FEv=eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121"]:GetEquippedItem(EQUIPSLOTS["\66\79\68\89"])eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\112\101\114\115\111\110\97\108\105\116\121"]=ZA9 if gQGq== "\99\104\105\108\100\105\115\104"or eux092_P:HasTag("\99\104\105\108\100\105\115\104")then eux092_P:RemoveTag("\99\104\105\108\100\105\115\104")if eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121\97\117\114\97"]~=nil then eux092_P:RemoveComponent("\115\97\110\105\116\121\97\117\114\97")end eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\101\120\116\101\114\110\97\108\109\111\100\105\102\105\101\114\115"]:RemoveModifier(eux092_P,"\99\104\105\108\100\105\115\104\95\115\97\110\105\116\121")elseif gQGq=="\113\117\97\110\116\117\109"or eux092_P:HasTag("\113\117\97\110\116\117\109")then eux092_P:RemoveTag("\113\117\97\110\116\117\109")if not eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121"]:EquipHasTag("\115\101\101\108\101\95\99\111\111\107\105\101")then eux092_P:AddTag("\115\99\97\114\121\116\111\112\114\101\121")end eux092_P["\65\110\105\109\83\116\97\116\101"]:SetMultColour(0x1,1,0x1,1) eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\101\120\116\101\114\110\97\108\109\111\100\105\102\105\101\114\115"]:RemoveModifier(eux092_P,"\113\117\97\110\116\117\109\95\115\97\110\105\116\121") eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\108\111\99\111\109\111\116\111\114"]:RemoveExternalSpeedMultiplier(eux092_P,"\113\117\97\110\116\117\109\95\115\112\101\101\100") eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114\115"]:RemoveModifier(eux092_P,"\113\117\97\110\116\117\109\95\100\97\109\97\103\101")elseif gQGq=="\105\110\115\97\110\101\108\121"or eux092_P:HasTag("\105\110\115\97\110\101\108\121")then eux092_P:RemoveTag("\105\110\115\97\110\101\108\121") if eux092_P["\105\110\115\97\110\101\108\121\95\115\104\105\101\108\100"]~=nil then eux092_P["\105\110\115\97\110\101\108\121\95\115\104\105\101\108\100"]:Cancel()eux092_P["\105\110\115\97\110\101\108\121\95\115\104\105\101\108\100"]=nil end eux092_P:RemoveTag("\105\110\115\97\110\101\108\121\115\104\105\101\108\100\95\112\114\101") eux092_P:RemoveTag("\105\110\115\97\110\101\108\121\115\104\105\101\108\100") eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\101\120\116\101\114\110\97\108\109\111\100\105\102\105\101\114\115"]:RemoveModifier(eux092_P,"\105\110\115\97\110\101\108\121\95\115\97\110\105\116\121") eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\104\117\110\103\101\114"]["\98\117\114\110\114\97\116\101\109\111\100\105\102\105\101\114\115"]:RemoveModifier(eux092_P,"\105\110\115\97\110\101\108\121\95\104\117\110\103\101\114") eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114\115"]:RemoveModifier(eux092_P,"\105\110\115\97\110\101\108\121\95\100\97\109\97\103\101") eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\108\111\99\111\109\111\116\111\114"]:RemoveExternalSpeedMultiplier(eux092_P,"\105\110\115\97\110\101\108\121\95\115\112\101\101\100")end if eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\112\101\114\115\111\110\97\108\105\116\121"]=="\99\104\105\108\100\105\115\104"then eux092_P:AddTag("\99\104\105\108\100\105\115\104")if eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121\97\117\114\97"]==nil then eux092_P:AddComponent("\115\97\110\105\116\121\97\117\114\97") eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121\97\117\114\97"]["\97\117\114\97"]=.08 end eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\101\120\116\101\114\110\97\108\109\111\100\105\102\105\101\114\115"]:SetModifier(eux092_P,.08,"\99\104\105\108\100\105\115\104\95\115\97\110\105\116\121")elseif eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\112\101\114\115\111\110\97\108\105\116\121"]=="\113\117\97\110\116\117\109"then eux092_P:AddTag("\113\117\97\110\116\117\109")if eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\114\105\100\101\114"]~=nil and eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\114\105\100\101\114"]:IsRiding()then eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\114\105\100\101\114"]:Dismount()end if not eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121"]:EquipHasTag("\115\101\101\108\101\95\99\111\111\107\105\101")then eux092_P:RemoveTag("\115\99\97\114\121\116\111\112\114\101\121")end if not eux092_P:HasTag("\112\108\97\121\101\114\103\104\111\115\116")then eux092_P["\65\110\105\109\83\116\97\116\101"]:SetMultColour(0x1,1,0x1,.2)end eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\101\120\116\101\114\110\97\108\109\111\100\105\102\105\101\114\115"]:SetModifier(eux092_P, -.5,"\113\117\97\110\116\117\109\95\115\97\110\105\116\121") eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\108\111\99\111\109\111\116\111\114"]:SetExternalSpeedMultiplier(eux092_P,"\113\117\97\110\116\117\109\95\115\112\101\101\100",1.2+ eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]*.03) eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114\115"]:SetModifier(eux092_P,1.9,"\113\117\97\110\116\117\109\95\100\97\109\97\103\101")elseif eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\112\101\114\115\111\110\97\108\105\116\121"]=="\105\110\115\97\110\101\108\121"then eux092_P:AddTag("\105\110\115\97\110\101\108\121") if eux092_P["\105\110\115\97\110\101\108\121\95\115\104\105\101\108\100"]~=nil then eux092_P["\105\110\115\97\110\101\108\121\95\115\104\105\101\108\100"]:Cancel()end eux092_P["\105\110\115\97\110\101\108\121\95\115\104\105\101\108\100"]=eux092_P:DoTaskInTime(0xA,wU4wYbA9) eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\101\120\116\101\114\110\97\108\109\111\100\105\102\105\101\114\115"]:SetModifier(eux092_P, -1.5,"\105\110\115\97\110\101\108\121\95\115\97\110\105\116\121") eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\104\117\110\103\101\114"]["\98\117\114\110\114\97\116\101\109\111\100\105\102\105\101\114\115"]:SetModifier(eux092_P,1.5,"\105\110\115\97\110\101\108\121\95\104\117\110\103\101\114") eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114\115"]:SetModifier(eux092_P,1.6,"\105\110\115\97\110\101\108\121\95\100\97\109\97\103\101") eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\108\111\99\111\109\111\116\111\114"]:SetExternalSpeedMultiplier(eux092_P,"\105\110\115\97\110\101\108\121\95\115\112\101\101\100",1.3)end if eux092_P:HasTag("\113\117\97\110\116\117\109")then lw4Q7kbl(eux092_P) RfsnisO(eux092_P) if TheWorld:HasTag("\99\97\118\101")or TheWorld["\115\116\97\116\101"]["\112\104\97\115\101"]=="\110\105\103\104\116"then eux092_P["\95\115\101\101\108\101\118\105\115\105\111\110"]:set(true)end else nHlJ(eux092_P)lvW2ga(eux092_P) if gQGq=="\113\117\97\110\116\117\109"then eux092_P["\95\115\104\105\101\108\100\102\120"]=SpawnPrefab("\102\111\114\99\101\102\105\101\108\100\102\120") eux092_P["\95\115\104\105\101\108\100\102\120"]["\101\110\116\105\116\121"]:SetParent(eux092_P["\101\110\116\105\116\121"]) eux092_P["\95\115\104\105\101\108\100\102\120"]["\84\114\97\110\115\102\111\114\109"]:SetPosition(0x0,.2,0)eux092_P:ListenForEvent("\97\114\109\111\114\100\97\109\97\103\101\100",JEHSHPh3) eux092_P:AddTag("\113\117\97\110\116\117\109\115\104\105\101\108\100")if eux092_P["\95\97\114\109\111\114\116\97\115\107"]~=nil then eux092_P["\95\97\114\109\111\114\116\97\115\107"]:Cancel()end eux092_P["\95\97\114\109\111\114\116\97\115\107"]=eux092_P:DoTaskInTime(0x3,bb)end eux092_P["\95\115\101\101\108\101\118\105\115\105\111\110"]:set(false)end if OyHc5FEv~=nil then if OyHc5FEv["\112\114\101\102\97\98"]=="\117\110\105\102\111\114\109\95\102\105\114\101\109\111\116\104\115"then eux092_P["\65\110\105\109\83\116\97\116\101"]:SetBuild( eux092_P:HasTag("\105\110\115\97\110\101\108\121")and"\117\110\105\102\111\114\109\95\114\101\100\101\121\101"or"\115\101\101\108\101\95\117\110\105\102\111\114\109")elseif OyHc5FEv["\112\114\101\102\97\98"]=="\100\114\101\115\115\95\115\101\97"then eux092_P["\65\110\105\109\83\116\97\116\101"]:SetBuild( eux092_P:HasTag("\105\110\115\97\110\101\108\121")and"\100\114\101\115\115\95\114\101\100\101\121\101"or"\115\101\101\108\101\95\100\114\101\115\115")elseif OyHc5FEv["\112\114\101\102\97\98"]=="\115\101\101\108\101\95\115\119\105\109\115\117\105\116"then eux092_P["\65\110\105\109\83\116\97\116\101"]:SetBuild( eux092_P:HasTag("\105\110\115\97\110\101\108\121")and"\115\101\101\108\101\95\115\119\105\109\115\117\105\116\95\114\101\100\101\121\101"or"\115\101\101\108\101\95\115\119\105\109\115\117\105\116")else eux092_P["\65\110\105\109\83\116\97\116\101"]:SetBuild( eux092_P:HasTag("\105\110\115\97\110\101\108\121")and"\115\101\101\108\101\95\114\101\100\101\121\101"or"\115\101\101\108\101")end else eux092_P["\65\110\105\109\83\116\97\116\101"]:SetBuild( eux092_P:HasTag("\105\110\115\97\110\101\108\121")and"\115\101\101\108\101\95\114\101\100\101\121\101"or"\115\101\101\108\101")end eux092_P:PushEvent("\115\101\101\108\101\99\104\97\110\103\101",{new_personality=eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\112\101\114\115\111\110\97\108\105\116\121"],old_personality=gQGq,inst=eux092_P}) if hWgmxm~=nil then eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(hWgmxm)elseif gQGq=="\113\117\97\110\116\117\109"and eux092_P:HasTag("\99\104\105\108\100\105\115\104")then eux092_P["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(STRINGS["\83\69\69\76\69\95\76\73\65\78\71\90\73\84\79\74\73\69\75\79\78\71"])eux092_P:OnSeeleTalk("\48\48\52")end end local function iq7ol(Dn1Xi,_gGmBBE)o5e6fP(Dn1Xi,"\99\104\105\108\100\105\115\104",_gGmBBE or nil)end local function eMV(rIX4,AI14eFhp) o5e6fP(rIX4,"\113\117\97\110\116\117\109",AI14eFhp or STRINGS["\83\69\69\76\69\95\84\79\76\73\65\78\71\90\73"])end local function WDTNkTD(iW2O,Gdp) if not iW2O["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121"]:EquipHasTag("\115\101\101\108\101\95\117\110\105\102\111\114\109")then o5e6fP(iW2O,"\105\110\115\97\110\101\108\121",Gdp or STRINGS["\83\69\69\76\69\95\84\79\66\73\78\71\74\73\65\79"])if Gdp==nil then iW2O:OnSeeleTalk("\48\50\53")end end end local function Oejsws(nbqmx) if nbqmx:HasTag("\99\104\105\108\100\105\115\104")then nbqmx:RemoveTag("\99\104\105\108\100\105\115\104") if nbqmx["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121\97\117\114\97"]~=nil then nbqmx:RemoveComponent("\115\97\110\105\116\121\97\117\114\97")end nbqmx["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\101\120\116\101\114\110\97\108\109\111\100\105\102\105\101\114\115"]:RemoveModifier(nbqmx,"\99\104\105\108\100\105\115\104\95\115\97\110\105\116\121")elseif nbqmx:HasTag("\113\117\97\110\116\117\109")then nbqmx:RemoveTag("\113\117\97\110\116\117\109") nbqmx:AddTag("\115\99\97\114\121\116\111\112\114\101\121")nbqmx["\65\110\105\109\83\116\97\116\101"]:SetMultColour(0x1,1,0x1,1) nbqmx["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\101\120\116\101\114\110\97\108\109\111\100\105\102\105\101\114\115"]:RemoveModifier(nbqmx,"\113\117\97\110\116\117\109\95\115\97\110\105\116\121") nbqmx["\99\111\109\112\111\110\101\110\116\115"]["\108\111\99\111\109\111\116\111\114"]:RemoveExternalSpeedMultiplier(nbqmx,"\113\117\97\110\116\117\109\95\115\112\101\101\100") nbqmx["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114\115"]:RemoveModifier(nbqmx,"\113\117\97\110\116\117\109\95\100\97\109\97\103\101")elseif nbqmx:HasTag("\105\110\115\97\110\101\108\121")then nbqmx:RemoveTag("\105\110\115\97\110\101\108\121")if nbqmx["\105\110\115\97\110\101\108\121\95\115\104\105\101\108\100"]~=nil then nbqmx["\105\110\115\97\110\101\108\121\95\115\104\105\101\108\100"]:Cancel()nbqmx["\105\110\115\97\110\101\108\121\95\115\104\105\101\108\100"]= nil end nbqmx:RemoveTag("\105\110\115\97\110\101\108\121\115\104\105\101\108\100\95\112\114\101")nbqmx:RemoveTag("\105\110\115\97\110\101\108\121\115\104\105\101\108\100") nbqmx["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\101\120\116\101\114\110\97\108\109\111\100\105\102\105\101\114\115"]:RemoveModifier(nbqmx,"\105\110\115\97\110\101\108\121\95\115\97\110\105\116\121") nbqmx["\99\111\109\112\111\110\101\110\116\115"]["\104\117\110\103\101\114"]["\98\117\114\110\114\97\116\101\109\111\100\105\102\105\101\114\115"]:RemoveModifier(nbqmx,"\105\110\115\97\110\101\108\121\95\104\117\110\103\101\114") nbqmx["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114\115"]:RemoveModifier(nbqmx,"\105\110\115\97\110\101\108\121\95\100\97\109\97\103\101") nbqmx["\99\111\109\112\111\110\101\110\116\115"]["\108\111\99\111\109\111\116\111\114"]:RemoveExternalSpeedMultiplier(nbqmx,"\105\110\115\97\110\101\108\121\95\115\112\101\101\100")end lw4Q7kbl(nbqmx)nHlJ(nbqmx)end local function CkD73N0(IWQcC,cvRh) if IWQcC["\95\98\111\111\107\116\101\120\116"]~=nil then if IWQcC["\95\98\111\111\107\116\101\120\116"]=="\84\65\76\69\83\70\65\73\76"then IWQcC["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(STRINGS["\83\69\69\76\69\95\84\65\76\69\83\70\65\73\76"])elseif IWQcC["\95\98\111\111\107\116\101\120\116"]=="\66\76\73\67\69\76\73\71\72\84\69\78\73\78\71"then IWQcC["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(STRINGS["\83\69\69\76\69\95\66\76\73\67\69\76\73\71\72\84\69\78\73\78\71"])elseif IWQcC["\95\98\111\111\107\116\101\120\116"]=="\77\79\84\72\76\73\71\72\84\69\78\73\78\71"then IWQcC["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(STRINGS["\83\69\69\76\69\95\77\79\84\72\76\73\71\72\84\69\78\73\78\71"])end IWQcC["\95\98\111\111\107\116\101\120\116"]=nil else IWQcC["\95\79\110\65\99\116\105\111\110\70\97\105\108\101\100"](IWQcC,cvRh)end end local function PlwhaRKJ(W9yaJm)if W9yaJm["\114\101\115\116\114\105\99\116"]==true then W9yaJm["\114\101\115\116\114\105\99\116"]=false end end local function Caz4NM4Z(oJ1ec,LMMNWLk) if not oJ1ec["\114\101\115\116\114\105\99\116"] and LMMNWLk["\97\102\102\108\105\99\116\101\114"]~=nil and LMMNWLk["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]~=nil and LMMNWLk["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]~=nil then if not (LMMNWLk["\105\110\115\116"]:HasTag("\109\111\110\115\116\101\114")or LMMNWLk["\105\110\115\116"]:HasTag("\101\112\105\99"))or LMMNWLk["\105\110\115\116"]:HasTag("\119\97\108\108")or LMMNWLk["\105\110\115\116"]:HasTag("\115\109\97\115\104\97\98\108\101")or LMMNWLk["\105\110\115\116"]:HasTag("\115\116\114\117\99\116\117\114\101")or LMMNWLk["\105\110\115\116"]["\112\114\101\102\97\98"]=="\108\117\114\101\112\108\97\110\116"or (oJ1ec["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]>=0x14 and LMMNWLk["\105\110\115\116"]:HasTag("\115\109\97\108\108\99\114\101\97\116\117\114\101"))then return false elseif LMMNWLk["\97\102\102\108\105\99\116\101\114"]==oJ1ec or (oJ1ec["\99\111\109\112\111\110\101\110\116\115"]["\108\101\97\100\101\114"]~=nil and oJ1ec["\99\111\109\112\111\110\101\110\116\115"]["\108\101\97\100\101\114"]:IsFollower(LMMNWLk["\97\102\102\108\105\99\116\101\114"]))or ( LMMNWLk["\97\102\102\108\105\99\116\101\114"]["\109\97\115\116\101\114\105\100"]~=nil and LMMNWLk["\97\102\102\108\105\99\116\101\114"]["\109\97\115\116\101\114\105\100"]==oJ1ec["\117\115\101\114\105\100"])then KMw7_i1s(oJ1ec,math["\99\101\105\108"]( LMMNWLk["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]["\109\97\120\104\101\97\108\116\104"]*.01*TUNING["\83\69\69\76\69\68\65\84\65"]["\77\79\78\83\84\69\82\69\88\80"]))elseif LMMNWLk["\105\110\115\116"]:HasTag("\101\112\105\99")and ( LMMNWLk["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]["\97\115\115\105\115\116"]==nil or LMMNWLk["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]["\97\115\115\105\115\116"]~=oJ1ec["\117\115\101\114\105\100"])and oJ1ec:IsNear(LMMNWLk["\105\110\115\116"],0xE)then KMw7_i1s(oJ1ec,math["\99\101\105\108"]( LMMNWLk["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]["\109\97\120\104\101\97\108\116\104"]*.005*TUNING["\83\69\69\76\69\68\65\84\65"]["\77\79\78\83\84\69\82\69\88\80"]))end end end local function XVxxx(x6Ni,Q2waXkyp) if not x6Ni["\114\101\115\116\114\105\99\116"] and Q2waXkyp["\97\115\115\105\115\116"]==x6Ni["\117\115\101\114\105\100"] then if not ( Q2waXkyp["\118\105\99\116\105\109"]:HasTag("\109\111\110\115\116\101\114")or Q2waXkyp["\118\105\99\116\105\109"]:HasTag("\101\112\105\99"))or Q2waXkyp["\118\105\99\116\105\109"]:HasTag("\119\97\108\108")or Q2waXkyp["\118\105\99\116\105\109"]:HasTag("\115\109\97\115\104\97\98\108\101")or Q2waXkyp["\118\105\99\116\105\109"]:HasTag("\115\116\114\117\99\116\117\114\101")or Q2waXkyp["\118\105\99\116\105\109"]["\112\114\101\102\97\98"]=="\108\117\114\101\112\108\97\110\116"or (x6Ni["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]>0x13 and Q2waXkyp["\118\105\99\116\105\109"]:HasTag("\115\109\97\108\108\99\114\101\97\116\117\114\101"))then return false else KMw7_i1s(x6Ni,math["\99\101\105\108"]( Q2waXkyp["\118\105\99\116\105\109"]["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]["\109\97\120\104\101\97\108\116\104"]*.01*TUNING["\83\69\69\76\69\68\65\84\65"]["\77\79\78\83\84\69\82\69\88\80"]))end end end local function hD(EG72) local mlTMZ=EG72["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]:GetStrength() if mlTMZ>0x0 and not EG72:HasTag("\113\117\97\110\116\117\109\115\104\105\101\108\100")and not EG72:HasTag("\105\110\115\97\110\101\108\121\115\104\105\101\108\100")then EG72["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]:UseStrength( -math["\99\101\105\108"](mlTMZ/0x2))end if not EG72:HasTag("\105\110\115\97\110\101\108\121")then EG72:OnSeeleTalk(fjV1G2["\97\116\116\97\99\107\101\100"][math["\114\97\110\100\111\109"](0x4)])end end local function G5BuU5(q,xb6)local yK=xb6["\118\105\99\116\105\109"] if q:HasTag("\99\104\105\108\100\105\115\104")then if yK:HasTag("\109\111\110\115\116\101\114")then if yK["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"] and math["\114\97\110\100\111\109"]()<yK["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]["\109\97\120\104\101\97\108\116\104"]/ (0x3E8/TUNING["\83\69\69\76\69\68\65\84\65"]["\67\82\89\83\84\65\76\68\82\79\80"])then SpawnPrefab("\99\114\121\115\116\97\108\95\97\98\121\115\109\97\108\95\115\101\97")["\84\114\97\110\115\102\111\114\109"]:SetPosition(yK["\84\114\97\110\115\102\111\114\109"]:GetWorldPosition())end elseif yK:HasTag("\115\109\97\108\108\99\114\101\97\116\117\114\101")then q["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]:DoDelta(-0x5,false)end elseif q:HasTag("\105\110\115\97\110\101\108\121")then local rHLz2GD=math["\109\97\120"](math["\99\101\105\108"](yK["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"] and yK["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]["\109\97\120\104\101\97\108\116\104"]*.1 or 0x0),0x0) q["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]:DoDelta(rHLz2GD,false)end end local function AfwsY(BlW0RhJA,Uy)local n=Uy["\110\101\119\112\101\114\99\101\110\116"] if BlW0RhJA["\99\111\109\112\111\110\101\110\116\115"]["\97\103\101"]:GetAgeInDays()>=0x2 then if BlW0RhJA:HasTag("\105\110\115\97\110\101\108\121")and n>.8 then BlW0RhJA:OnChildish(STRINGS["\83\69\69\76\69\95\72\69\65\76\84\79\74\73\69\75\79\78\71"])elseif BlW0RhJA:HasTag("\99\104\105\108\100\105\115\104")and not ( BlW0RhJA["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121"]:EquipHasTag("\115\101\101\108\101\95\117\110\105\102\111\114\109")or BlW0RhJA["\99\111\109\112\111\110\101\110\116\115"]["\112\101\116\108\101\97\115\104"]:HasPetWithTag("\98\101\110\103\98\101\110\103\98\117\110\110\121"))and n<.33 and n<Uy["\111\108\100\112\101\114\99\101\110\116"] then BlW0RhJA:OnInsanely()end end end local function T(TKu,M6kL)local M7o_=M6kL["\110\101\119\112\101\114\99\101\110\116"] if TKu:HasTag("\105\110\115\97\110\101\108\121")and M7o_<.1 and M7o_< M6kL["\111\108\100\112\101\114\99\101\110\116"] then TKu:OnChildish(STRINGS["\83\69\69\76\69\95\72\85\78\71\69\82\84\79\74\73\69\75\79\78\71"])end end local function WZs(dk2X7J7,jv)local MW=jv["\110\101\119\112\101\114\99\101\110\116"] if dk2X7J7:HasTag("\105\110\115\97\110\101\108\121")and not dk2X7J7["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121"]:EquipHasTag("\115\101\101\108\101\95\100\114\101\115\115")and MW< .1 and MW<jv["\111\108\100\112\101\114\99\101\110\116"] then dk2X7J7:OnChildish(STRINGS["\83\69\69\76\69\95\72\85\78\71\69\82\84\79\74\73\69\75\79\78\71"])end end local function ITdz(E2OQ,SnbfLb6) if E2OQ:HasTag("\113\117\97\110\116\117\109")and E2OQ["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\115\101\101\108\101\116\105\109\101"]<=0x0 then E2OQ:OnChildish()else E2OQ["\95\98\115\116\114\117\99\116\105\111\110"]=true E2OQ["\95\113\117\97\110\116\117\109"]=0x0 end end local function AjfoUo(ay,W)local WzM=W["\101\115\108\111\116"] local PSx=W["\105\116\101\109"] if WzM==EQUIPSLOTS["\66\79\68\89"] or WzM==EQUIPSLOTS["\78\69\67\75"] then if PSx["\112\114\101\102\97\98"]=="\117\110\105\102\111\114\109\95\102\105\114\101\109\111\116\104\115"then ay["\65\110\105\109\83\116\97\116\101"]:SetBuild(ay:HasTag("\105\110\115\97\110\101\108\121")and "\117\110\105\102\111\114\109\95\114\101\100\101\121\101"or"\115\101\101\108\101\95\117\110\105\102\111\114\109")elseif PSx["\112\114\101\102\97\98"]=="\100\114\101\115\115\95\115\101\97"then ay["\65\110\105\109\83\116\97\116\101"]:SetBuild( ay:HasTag("\105\110\115\97\110\101\108\121")and"\100\114\101\115\115\95\114\101\100\101\121\101"or"\115\101\101\108\101\95\100\114\101\115\115")elseif PSx["\112\114\101\102\97\98"]=="\115\101\101\108\101\95\115\119\105\109\115\117\105\116"then ay["\65\110\105\109\83\116\97\116\101"]:SetBuild(ay:HasTag("\105\110\115\97\110\101\108\121")and "\115\101\101\108\101\95\115\119\105\109\115\117\105\116\95\114\101\100\101\121\101"or"\115\101\101\108\101\95\115\119\105\109\115\117\105\116")end end end local function Er9zidsB(I,wnA)local cW=wnA["\101\115\108\111\116"] local PHpCof2=wnA["\105\116\101\109"] if (cW==EQUIPSLOTS["\66\79\68\89"] or cW==EQUIPSLOTS["\78\69\67\75"])and ( PHpCof2["\112\114\101\102\97\98"]=="\117\110\105\102\111\114\109\95\102\105\114\101\109\111\116\104\115"or PHpCof2["\112\114\101\102\97\98"]=="\100\114\101\115\115\95\115\101\97"or PHpCof2["\112\114\101\102\97\98"]== "\115\101\101\108\101\95\115\119\105\109\115\117\105\116")then I["\65\110\105\109\83\116\97\116\101"]:SetBuild(I:HasTag("\105\110\115\97\110\101\108\121")and"\115\101\101\108\101\95\114\101\100\101\121\101"or"\115\101\101\108\101")end end local function X(bUPpn4T2) if math["\114\97\110\100\111\109"]()<=.1 then bUPpn4T2["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121"]:GiveItem(SpawnPrefab("\99\114\121\115\116\97\108\95\97\98\121\115\109\97\108\95\115\101\97")) bUPpn4T2["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(STRINGS["\83\69\69\76\69\95\67\65\76\76\84\79\77\73\78\68"])bUPpn4T2:OnSeeleTalk("\48\50\51")end end local function dR(sode,G9zkKODk)if sode:HasTag("\108\101\118\101\108\97\98\115\111\114\98")then sode["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]:DoDelta( sode["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]["\109\97\120\104\101\97\108\116\104"]/0xA,false)end end local function JFXtQwy(MGt) MGt["\99\111\109\112\111\110\101\110\116\115"]["\100\101\98\117\102\102\97\98\108\101"]:AddDebuff("\115\101\101\108\101\98\117\102\102","\115\101\101\108\101\98\117\102\102") if MGt["\95\115\101\101\108\101\116\97\108\107\105\110\116\101\114\118\97\108"]==nil then MGt["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(STRINGS["\83\69\69\76\69\95\66\69\83\84\67\79\78\68\73\84\73\79\78"])MGt:OnSeeleTalk("\48\50\55") MGt["\95\115\101\101\108\101\116\97\108\107\105\110\116\101\114\118\97\108"]=MGt:DoTaskInTime(0x14,function(MGt) MGt["\95\115\101\101\108\101\116\97\108\107\105\110\116\101\114\118\97\108"]=nil end)end end local function uMV17h0(ld9GuG4t,KpCCA)local H6=KpCCA["\102\111\111\100"] if not ld9GuG4t:HasTag("\105\110\115\97\110\101\108\121")and ld9GuG4t["\95\115\101\101\108\101\101\97\116\105\110\116\101\114\118\97\108"]==nil and H6 ~=nil and H6:HasTag("\112\114\101\112\97\114\101\100\102\111\111\100")and H6:HasTag("\102\114\101\115\104")and not H6["\112\114\101\102\97\98"]:match("\109\111\110\115\116\101\114")then ld9GuG4t:OnSeeleTalk("\48\51\48") ld9GuG4t["\95\115\101\101\108\101\101\97\116\105\110\116\101\114\118\97\108"]=ld9GuG4t:DoTaskInTime(0xA,function(ld9GuG4t)ld9GuG4t["\95\115\101\101\108\101\101\97\116\105\110\116\101\114\118\97\108"]= nil end)end end local function E2NZK(hgsKvTz) if hgsKvTz["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]>=0xA then if hgsKvTz["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\115\116\114\101\110\103\116\104"]>0x0 then hgsKvTz["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]:StopStrength()else hgsKvTz["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(STRINGS["\83\69\69\76\69\95\87\73\76\76\79\78"]) hgsKvTz["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]:StartStrength()end end end local function WNWWe(zEt) if zEt["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]>=0xF then zEt["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\104\97\114\109\111\110\121"]= not zEt["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\104\97\114\109\111\110\121"] zEt["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(zEt["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\104\97\114\109\111\110\121"] and STRINGS["\83\69\69\76\69\95\72\65\82\77\79\78\89\79\78"] or STRINGS["\83\69\69\76\69\95\72\65\82\77\79\78\89\79\70\70"])end end local function zMzjn3lk(Wjojpvg)Wjojpvg["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\112\97\110\101\108"]=not Wjojpvg["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\112\97\110\101\108"] end local function Trkkpmd(l2PqbWw,EJTH9) local qTB82= l2PqbWw["\95\115\101\101\108\101\115\97\110\105\116\121\102\110"]~=nil and l2PqbWw["\95\115\101\101\108\101\115\97\110\105\116\121\102\110"](l2PqbWw,EJTH9)or 0x0 for KL,EATFLbgY in pairs(AllPlayers)do if EATFLbgY~=l2PqbWw and not EATFLbgY:HasTag("\98\114\111\110\121\97\119\97\108\107")and not l2PqbWw:HasTag("\112\108\97\121\101\114\103\104\111\115\116")then local FF=l2PqbWw:GetDistanceSqToInst(EATFLbgY)if FF<0xC then qTB82=qTB82+.08 end end end return qTB82*EJTH9 end local function L(rh,YcCR,G3p2Yn,_jkkD9)local D=rh["\114\101\112\108\105\99\97"]["\114\105\100\101\114"] if rh:HasTag("\105\110\115\97\110\101\108\121")and _jkkD9 and(D==nil or not D:IsRiding())then local DMn=rh["\114\101\112\108\105\99\97"]["\105\110\118\101\110\116\111\114\121"]:GetEquippedItem(EQUIPSLOTS["\72\65\78\68\83"]) if rh["\115\101\101\108\101\115\116\117\110\116"]:value()and DMn~=nil and rh["\114\101\112\108\105\99\97"]["\105\110\118\101\110\116\111\114\121"]:EquipHasTag("\105\115\114\101\97\112\101\114")then return{ACTIONS["\83\69\69\76\69\95\83\84\85\78\84"]}elseif rh["\115\101\101\108\101\99\97\116\99\104"]:value()and DMn==nil and G3p2Yn==nil then return{ACTIONS["\83\69\69\76\69\95\67\65\84\67\72"]}end end return{}end local function GGv(GBzFRjVV)if GBzFRjVV["\99\111\109\112\111\110\101\110\116\115"]["\112\108\97\121\101\114\97\99\116\105\111\110\112\105\99\107\101\114"]~=nil then GBzFRjVV["\99\111\109\112\111\110\101\110\116\115"]["\112\108\97\121\101\114\97\99\116\105\111\110\112\105\99\107\101\114"]["\112\111\105\110\116\115\112\101\99\105\97\108\97\99\116\105\111\110\115\102\110"]=L end end local function ZIzh4Si(pG4C8fDK,LLFUU)LLFUU["\114\101\115\116\114\105\99\116"]=pG4C8fDK["\114\101\115\116\114\105\99\116"] end local function c8D4n81(kdmQtj6) if kdmQtj6["\99\111\109\112\111\110\101\110\116\115"]["\97\103\101"]:GetAgeInDays()<0x2 then kdmQtj6:OnChildish()else if kdmQtj6["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\112\101\114\115\111\110\97\108\105\116\121"]=="\113\117\97\110\116\117\109"then kdmQtj6:OnQuantum()elseif kdmQtj6["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\112\101\114\115\111\110\97\108\105\116\121"]=="\105\110\115\97\110\101\108\121"then kdmQtj6:OnInsanely()else kdmQtj6:OnChildish()end end end local function cSjJHx(Hc35_) Hc35_:RemoveEventCallback("\115\116\111\112\103\104\111\115\116\98\117\105\108\100\105\110\115\116\97\116\101",cSjJHx)c8D4n81(Hc35_)end local function fa(ubP) ubP["\98\111\119\95\99\97\114\95\99\111\110\99\101\110\116\114\97\116\105\111\110\115"]={}ubP["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\99\97\116\99\104"]=false T7RKP(ubP,TheWorld["\115\116\97\116\101"]["\112\104\97\115\101"])ubP:WatchWorldState("\112\104\97\115\101",T7RKP) ubP["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\99\117\115\116\111\109\95\114\97\116\101\95\102\110"]=Trkkpmd if ubP["\95\100\97\109\97\103\101\114\116\97\115\107"]==nil then ubP["\95\100\97\109\97\103\101\114\116\97\115\107"]=ubP:DoPeriodicTask(0x1,function(ubP) ubP["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\100\97\109\97\103\101"]= ubP["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114"]* ubP["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114\115"]:Get()+ ( ubP["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\100\97\109\97\103\101\98\111\110\117\115"] or 0x0)end)end ubP:DoTaskInTime(.85,function(ubP)if ubP["\115\103"]:HasStateTag("\103\104\111\115\116\98\117\105\108\100")then ubP:ListenForEvent("\115\116\111\112\103\104\111\115\116\98\117\105\108\100\105\110\115\116\97\116\101",cSjJHx)else c8D4n81(ubP)end end)end local function M(eN0UMW)eN0UMW:StopWatchingWorldState("\112\104\97\115\101",T7RKP) eN0UMW["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\99\117\115\116\111\109\95\114\97\116\101\95\102\110"]=eN0UMW["\95\115\101\101\108\101\115\97\110\105\116\121\102\110"] eN0UMW["\95\115\101\101\108\101\118\105\115\105\111\110"]:set(false) eN0UMW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]:StopStrength(true) eN0UMW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]:StopBook() eN0UMW["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]:StopTime() for lAG,AvEtR8Y in pairs(eN0UMW["\99\111\109\112\111\110\101\110\116\115"]["\112\101\116\108\101\97\115\104"]:GetPets())do if AvEtR8Y:HasTag("\98\101\110\103\98\101\110\103\98\117\110\110\121")and AvEtR8Y["\95\107\105\108\108\116\97\115\107"]==nil then AvEtR8Y["\95\107\105\108\108\116\97\115\107"]=AvEtR8Y:DoTaskInTime(math["\114\97\110\100\111\109"](),TqYJ4)end end eN0UMW:OnBarrier()if eN0UMW["\95\100\97\109\97\103\101\114\116\97\115\107"]~=nil then eN0UMW["\95\100\97\109\97\103\101\114\116\97\115\107"]:Cancel()eN0UMW["\95\100\97\109\97\103\101\114\116\97\115\107"]=nil end end local function dIZlrvD(rl3MMqfm,nQj) rl3MMqfm["\95\115\101\101\108\101\115\97\110\105\116\121\102\110"]=rl3MMqfm["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\99\117\115\116\111\109\95\114\97\116\101\95\102\110"] rl3MMqfm:ListenForEvent("\109\115\95\114\101\115\112\97\119\110\101\100\102\114\111\109\103\104\111\115\116",fa)rl3MMqfm:ListenForEvent("\109\115\95\98\101\99\97\109\101\103\104\111\115\116",M) E(rl3MMqfm) if nQj~=nil then if nQj["\114\101\115\116\114\105\99\116"]~=nil then rl3MMqfm["\114\101\115\116\114\105\99\116"]=nQj["\114\101\115\116\114\105\99\116"] end if nQj["\104\101\97\108\116\104"]~=nil and nQj["\104\101\97\108\116\104"]["\104\101\97\108\116\104"]~=nil then rl3MMqfm["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]:SetCurrentHealth(nQj["\104\101\97\108\116\104"]["\104\101\97\108\116\104"])end if nQj["\104\117\110\103\101\114"]~=nil and nQj["\104\117\110\103\101\114"]["\104\117\110\103\101\114"]~=nil then rl3MMqfm["\99\111\109\112\111\110\101\110\116\115"]["\104\117\110\103\101\114"]["\99\117\114\114\101\110\116"]=nQj["\104\117\110\103\101\114"]["\104\117\110\103\101\114"] end if nQj["\115\97\110\105\116\121"]~=nil and nQj["\115\97\110\105\116\121"]["\99\117\114\114\101\110\116"]~=nil then rl3MMqfm["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\99\117\114\114\101\110\116"]=nQj["\115\97\110\105\116\121"]["\99\117\114\114\101\110\116"] end rl3MMqfm["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]:DoDelta(0x0) rl3MMqfm["\99\111\109\112\111\110\101\110\116\115"]["\104\117\110\103\101\114"]:DoDelta(0x0) rl3MMqfm["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]:DoDelta(0x0)end if not rl3MMqfm:HasTag("\112\108\97\121\101\114\103\104\111\115\116")then fa(rl3MMqfm)end end local function jQgsATKd(Eq8jDq)dIZlrvD(Eq8jDq) Eq8jDq:DoTaskInTime(.85,function(Eq8jDq)Eq8jDq:OnSeeleTalk("\48\48\49")end)end local function aBbGg(LnQUN)return not LnQUN:HasTag("\115\101\101\108\101\95\115\119\105\109")end local D9=function(Gm1) Gm1:AddTag("\115\101\101\108\101")Gm1:AddTag("\114\101\97\100\101\114") Gm1["\77\105\110\105\77\97\112\69\110\116\105\116\121"]:SetIcon("\115\101\101\108\101\46\116\101\120") Gm1["\115\101\101\108\101\95\100\97\109\97\103\101"]=net_float(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\100\97\109\97\103\101","\115\101\101\108\101\100\97\109\97\103\101\100\105\114\116\121") Gm1["\115\101\101\108\101\95\108\101\118\101\108"]=net_smallbyte(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\108\101\118\101\108","\115\101\101\108\101\108\101\118\101\108\100\105\114\116\121") Gm1["\115\101\101\108\101\95\99\117\114\114\101\110\116"]=net_shortint(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\99\117\114\114\101\110\116","\115\101\101\108\101\99\117\114\114\101\110\116\100\105\114\116\121") Gm1["\115\101\101\108\101\95\98\97\110\113\117\101\116"]=net_smallbyte(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\98\97\110\113\117\101\116","\115\101\101\108\101\98\97\110\113\117\101\116\100\105\114\116\121") Gm1["\115\101\101\108\101\95\104\97\114\109\111\110\121"]=net_bool(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\104\97\114\109\111\110\121","\115\101\101\108\101\104\97\114\109\111\110\121\100\105\114\116\121") Gm1["\115\101\101\108\101\95\115\116\114\101\110\103\116\104"]=net_shortint(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\115\116\114\101\110\103\116\104","\115\101\101\108\101\115\116\114\101\110\103\116\104\100\105\114\116\121") Gm1["\115\101\101\108\101\98\111\111\107"]=net_shortint(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\98\111\111\107","\115\101\101\108\101\98\111\111\107\100\105\114\116\121") Gm1["\115\101\101\108\101\116\105\109\101"]=net_shortint(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\116\105\109\101","\115\101\101\108\101\116\105\109\101\100\105\114\116\121") Gm1["\112\101\114\115\111\110\97\108\105\116\121"]=net_string(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\112\101\114\115\111\110\97\108\105\116\121","\112\101\114\115\111\110\97\108\105\116\121\100\105\114\116\121") Gm1["\115\101\101\108\101\112\97\110\101\108"]=net_bool(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\112\97\110\101\108","\115\101\101\108\101\112\97\110\101\108\100\105\114\116\121")Gm1["\115\101\101\108\101\99\97\116\99\104"]=net_bool(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\99\97\116\99\104") Gm1["\115\101\101\108\101\115\116\117\110\116"]=net_bool(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\115\116\117\110\116") Gm1["\95\115\101\101\108\101\118\105\115\105\111\110"]=net_bool(Gm1["\71\85\73\68"],"\115\101\101\108\101\46\118\105\115\105\111\110","\115\101\101\108\101\118\105\115\105\111\110\100\105\114\116\121") Gm1:DoTaskInTime(0x0,function(Gm1)if not(Gm1["\114\101\112\108\105\99\97"]["\104\101\97\108\116\104"]:IsDead()or Gm1:HasTag("\112\108\97\121\101\114\103\104\111\115\116"))then _L6Bs(Gm1)end Gm1:ListenForEvent("\115\101\101\108\101\118\105\115\105\111\110\100\105\114\116\121",_L6Bs)end)Gm1:AddComponent("\115\101\101\108\101\107\101\121\104\97\110\100\108\101\114") Gm1["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\107\101\121\104\97\110\100\108\101\114"]:AddActionListener("\115\101\101\108\101",KEY_Z,"\115\101\101\108\101\97\119\97\114\101") Gm1["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\107\101\121\104\97\110\100\108\101\114"]:AddActionListener("\115\101\101\108\101",KEY_X,"\115\101\101\108\101\104\97\114\109\111\110\121") Gm1["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\107\101\121\104\97\110\100\108\101\114"]:AddActionListener("\115\101\101\108\101",KEY_R,"\115\101\101\108\101\117\105")Gm1:AddComponent("\102\108\111\97\116\101\114") Gm1["\99\111\109\112\111\110\101\110\116\115"]["\102\108\111\97\116\101\114"]:SetVerticalOffset(0.9)Gm1:AddComponent("\115\101\101\108\101\115\119\105\109") Gm1:ListenForEvent("\115\101\116\111\119\110\101\114",GGv)end AddModRPCHandler("\115\101\101\108\101","\115\101\101\108\101\97\119\97\114\101",E2NZK) AddModRPCHandler("\115\101\101\108\101","\115\101\101\108\101\104\97\114\109\111\110\121",WNWWe)AddModRPCHandler("\115\101\101\108\101","\115\101\101\108\101\117\105",zMzjn3lk) local G=function(Jp) Jp:AddComponent("\115\101\101\108\101\98\97\115\101")Jp["\109\97\120\95\108\101\118\101\108"]=0x1E Jp["\95\113\117\97\110\116\117\109"]=0x0 Jp["\114\101\115\116\114\105\99\116"]=false E(Jp)if not SeeleSound then Jp["\115\111\117\110\100\115\110\97\109\101"]="\119\101\110\100\121"end Jp:AddComponent("\114\101\97\100\101\114") local NwBqNl3C=Jp["\99\111\109\112\111\110\101\110\116\115"]["\114\101\97\100\101\114"]["\82\101\97\100"] Jp["\99\111\109\112\111\110\101\110\116\115"]["\114\101\97\100\101\114"]["\82\101\97\100"] = function(self,m4u) if m4u["\99\111\109\112\111\110\101\110\116\115"]["\98\111\111\107"]~=nil then if self["\105\110\115\116"]:HasTag("\105\110\115\97\110\101\108\121")then self["\105\110\115\116"]["\95\98\111\111\107\116\101\120\116"]="\84\65\76\69\83\70\65\73\76"return false elseif NwBqNl3C(self,m4u)then local StZ,C1NqzxY,T1gVrYq=self["\105\110\115\116"]["\84\114\97\110\115\102\111\114\109"]:GetWorldPosition() if m4u["\99\111\109\112\111\110\101\110\116\115"]["\115\116\97\99\107\97\98\108\101"]~=nil then if m4u["\99\111\109\112\111\110\101\110\116\115"]["\115\116\97\99\107\97\98\108\101"]:IsStack()then m4u["\99\111\109\112\111\110\101\110\116\115"]["\115\116\97\99\107\97\98\108\101"]:SetStackSize( m4u["\99\111\109\112\111\110\101\110\116\115"]["\115\116\97\99\107\97\98\108\101"]:StackSize()-0x1)else m4u:Remove()end end for P5G,JC in pairs(TheSim:FindEntities(StZ,C1NqzxY,T1gVrYq,0x9,{"\98\114\111\110\121\97\119\97\108\107"}))do if JC~=nil and JC~=self["\105\110\115\116"] and JC["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]~=nil then JC["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]:DoDelta(0x14,false)end end if self["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\108\101\118\101\108"]<0xA and not self["\105\110\115\116"]["\114\101\115\116\114\105\99\116"] then KMw7_i1s(self["\105\110\115\116"],TUNING["\83\69\69\76\69\68\65\84\65"]["\66\79\79\75\69\88\80"])end return true end end return false end local XuqjvYPF=Jp["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\82\101\99\97\108\99"] Jp["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]["\82\101\99\97\108\99"] = function(self,PDA) XuqjvYPF(self,PDA) if self["\105\110\115\116"]:HasTag("\110\111\116\109\111\105\115\116\117\114\101")then local Kqne5Stra=CO1["\105\110\83\105\110\101"](self["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\109\111\105\115\116\117\114\101"]:GetMoisture(),0x0,TUNING["\77\79\73\83\84\85\82\69\95\83\65\78\73\84\89\95\80\69\78\65\76\84\89\95\77\65\88"],self["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\109\111\105\115\116\117\114\101"]:GetMaxMoisture()) if Kqne5Stra<0x0 then Kqne5Stra=math["\97\98\115"](Kqne5Stra*self["\114\97\116\101\95\109\111\100\105\102\105\101\114"])self:DoDelta(Kqne5Stra*PDA,true)end end end local Trh=Jp["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]["\68\111\68\101\108\116\97"] Jp["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]["\68\111\68\101\108\116\97"] = function(self,FKLmmhnQ,F82,wJ6tY_,TNg,wO9T,QMcSUqdi) local sKy2P9i=FKLmmhnQ if self["\114\101\100\105\114\101\99\116"]~=nil and self["\114\101\100\105\114\101\99\116"](self["\105\110\115\116"],FKLmmhnQ,F82,wJ6tY_,TNg,wO9T,QMcSUqdi)then return 0x0 elseif not TNg and(self["\105\110\118\105\110\99\105\98\108\101"] or self["\105\110\115\116"]["\105\115\95\116\101\108\101\112\111\114\116\105\110\103"])then return 0x0 elseif FKLmmhnQ<0x0 and not QMcSUqdi then FKLmmhnQ=FKLmmhnQ* math["\99\108\97\109\112"](0x1- (self["\112\108\97\121\101\114\97\98\115\111\114\98"]~=0x0 and wO9T~=nil and wO9T:HasTag("\112\108\97\121\101\114")and self["\112\108\97\121\101\114\97\98\115\111\114\98"]+self["\97\98\115\111\114\98"] or self["\97\98\115\111\114\98"]),0x0,1)* math["\99\108\97\109\112"]( 0x1-self["\101\120\116\101\114\110\97\108\97\98\115\111\114\98\109\111\100\105\102\105\101\114\115"]:Get(),0x0,1)end if self["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]["\98\97\110\113\117\101\116"]==0x1 and self["\99\117\114\114\101\110\116\104\101\97\108\116\104"]+FKLmmhnQ<=0x0 then self["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\115\101\101\108\101\98\97\115\101"]:UseBanquet()self["\105\110\115\116"]:AddTag("\108\101\118\101\108\97\98\115\111\114\98") self["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114\115"]:SetModifier(self["\105\110\115\116"],1.5,"\108\101\118\101\108\95\100\97\109\97\103\101") self["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\116\97\107\101\110\109\117\108\116\105\112\108\105\101\114\115"]:SetModifier(self["\105\110\115\116"],.5,"\108\101\118\101\108\95\97\114\109\111\114")if self["\105\110\115\116"]["\95\104\117\114\116\116\97\115\107"]~=nil then self["\105\110\115\116"]["\95\104\117\114\116\116\97\115\107"]:Cancel()end self["\105\110\115\116"]["\95\104\117\114\116\116\97\115\107"]=self["\105\110\115\116"]:DoPeriodicTask(0x1,function(Jp,S,FKLmmhnQ) if not ( S["\105\110\115\116"]:HasTag("\112\108\97\121\101\114\103\104\111\115\116")or S["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]:IsDead())then S["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\104\101\97\108\116\104"]:DoDelta(FKLmmhnQ,true)else if S["\105\110\115\116"]["\95\111\118\101\114\116\97\115\107"]~=nil then S["\105\110\115\116"]["\95\111\118\101\114\116\97\115\107"]:Cancel()S["\105\110\115\116"]["\95\111\118\101\114\116\97\115\107"]= nil end S["\105\110\115\116"]:RemoveTag("\108\101\118\101\108\97\98\115\111\114\98") S["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114\115"]:RemoveModifier(S["\105\110\115\116"],"\108\101\118\101\108\95\100\97\109\97\103\101") S["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\116\97\107\101\110\109\117\108\116\105\112\108\105\101\114\115"]:RemoveModifier(S["\105\110\115\116"],"\108\101\118\101\108\95\97\114\109\111\114")S["\105\110\115\116"]["\95\104\117\114\116\116\97\115\107"]:Cancel()S["\105\110\115\116"]["\95\104\117\114\116\116\97\115\107"]=nil end end, nil,self,FKLmmhnQ*.25)if self["\105\110\115\116"]["\95\111\118\101\114\116\97\115\107"]~=nil then self["\105\110\115\116"]["\95\111\118\101\114\116\97\115\107"]:Cancel()end self["\105\110\115\116"]["\95\111\118\101\114\116\97\115\107"]=self["\105\110\115\116"]:DoTaskInTime(0xA,function(Jp,AD) AD["\105\110\115\116"]:RemoveTag("\108\101\118\101\108\97\98\115\111\114\98") AD["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\109\117\108\116\105\112\108\105\101\114\115"]:RemoveModifier(AD["\105\110\115\116"],"\108\101\118\101\108\95\100\97\109\97\103\101") AD["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\99\111\109\98\97\116"]["\101\120\116\101\114\110\97\108\100\97\109\97\103\101\116\97\107\101\110\109\117\108\116\105\112\108\105\101\114\115"]:RemoveModifier(AD["\105\110\115\116"],"\108\101\118\101\108\95\97\114\109\111\114")AD["\105\110\115\116"]["\95\104\117\114\116\116\97\115\107"]:Cancel() AD["\105\110\115\116"]["\95\104\117\114\116\116\97\115\107"]=nil AD["\105\110\115\116"]["\95\111\118\101\114\116\97\115\107"]=nil end,self)return 0x0 else return Trh(self,sKy2P9i,F82,wJ6tY_,TNg,wO9T,QMcSUqdi)end end local K=Jp["\99\111\109\112\111\110\101\110\116\115"]["\98\117\105\108\100\101\114"]["\68\111\66\117\105\108\100"] Jp["\99\111\109\112\111\110\101\110\116\115"]["\98\117\105\108\100\101\114"]["\68\111\66\117\105\108\100"] = function(self,AkxLdb66,aUR,c4,ZNXs3Bwd) local Ginn=GetValidRecipe(AkxLdb66) if Ginn~=nil and (self:IsBuildBuffered(AkxLdb66)or self:CanBuild(AkxLdb66))then if self["\105\110\115\116"]:HasTag("\113\117\97\110\116\117\109")then return false, "\81\85\65\78\84\85\77"else return K(self,AkxLdb66,aUR,c4,ZNXs3Bwd)end end end local uK=Jp["\99\111\109\112\111\110\101\110\116\115"]["\108\101\97\100\101\114"]["\65\100\100\70\111\108\108\111\119\101\114"] Jp["\99\111\109\112\111\110\101\110\116\115"]["\108\101\97\100\101\114"]["\65\100\100\70\111\108\108\111\119\101\114"] = function(self,h_pK)if self["\105\110\115\116"]:HasTag("\113\117\97\110\116\117\109")and self["\102\111\108\108\111\119\101\114\115"][h_pK]==nil and h_pK["\99\111\109\112\111\110\101\110\116\115"]["\102\111\108\108\111\119\101\114"]~=nil then Jp:OnChildish()end uK(self,h_pK)end local s0FU=Jp["\99\111\109\112\111\110\101\110\116\115"]["\116\101\109\112\101\114\97\116\117\114\101"]["\71\101\116\77\111\105\115\116\117\114\101\80\101\110\97\108\116\121"] Jp["\99\111\109\112\111\110\101\110\116\115"]["\116\101\109\112\101\114\97\116\117\114\101"]["\71\101\116\77\111\105\115\116\117\114\101\80\101\110\97\108\116\121"] = function(self) return self["\105\110\115\116"]:HasTag("\110\111\116\109\111\105\115\116\117\114\101")and 0x0 or s0FU(self)end local wQl=Jp["\99\111\109\112\111\110\101\110\116\115"]["\116\101\109\112\101\114\97\116\117\114\101"]["\71\101\116\73\110\115\117\108\97\116\105\111\110"] Jp["\99\111\109\112\111\110\101\110\116\115"]["\116\101\109\112\101\114\97\116\117\114\101"]["\71\101\116\73\110\115\117\108\97\116\105\111\110"] = function(self)local LvBKFXR3,FP3j=wQl(self) local fe= self["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121"]:EquipHasTag("\115\101\101\108\101\95\117\110\105\102\111\114\109")and 0x78 or 0x0 return LvBKFXR3+fe,FP3j+fe end local g=Jp["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121"]["\65\112\112\108\121\68\97\109\97\103\101"] Jp["\99\111\109\112\111\110\101\110\116\115"]["\105\110\118\101\110\116\111\114\121"]["\65\112\112\108\121\68\97\109\97\103\101"] = function(self,ggnA,KaD2ExEO,TpiFT) if self["\105\110\115\116"]:HasTag("\105\110\115\97\110\101\108\121\115\104\105\101\108\100")and self["\105\110\115\116"]:HasTag("\105\110\115\97\110\101\108\121\115\104\105\101\108\100\95\112\114\101")then self["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\115\97\110\105\116\121"]:DoDelta(-0x14,false) self["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\104\117\110\103\101\114"]:DoDelta(-0x1E,false) self["\105\110\115\116"]["\99\111\109\112\111\110\101\110\116\115"]["\116\97\108\107\101\114"]:Say(STRINGS["\83\69\69\76\69\95\85\83\69\69\86\65\68\69"])self["\105\110\115\116"]:OnSeeleTalk("\48\50\52") self["\105\110\115\116"]:RemoveTag("\105\110\115\97\110\101\108\121\115\104\105\101\108\100\95\112\114\101")SH(self["\105\110\115\116"]) self["\105\110\115\116"]:DoTaskInTime(.8,fFeQcIM)return 0x0 elseif self["\105\110\115\116"]:HasTag("\113\117\97\110\116\117\109\115\104\105\101\108\100")then return 0x0 end return g(self,ggnA,KaD2ExEO,TpiFT)end Jp:DoTaskInTime(0x0,function()if Jp["\99\111\109\112\111\110\101\110\116\115"]["\100\114\111\119\110\97\98\108\101"] then Jp["\99\111\109\112\111\110\101\110\116\115"]["\100\114\111\119\110\97\98\108\101"]:SetPersonalShouldDrown(aBbGg)end end) if Jp["\99\111\109\112\111\110\101\110\116\115"]["\112\101\116\108\101\97\115\104"]~=nil then Jp["\95\79\110\83\112\97\119\110\80\101\116"]=Jp["\99\111\109\112\111\110\101\110\116\115"]["\112\101\116\108\101\97\115\104"]["\111\110\115\112\97\119\110\102\110"] Jp["\95\79\110\68\101\115\112\97\119\110\80\101\116"]=Jp["\99\111\109\112\111\110\101\110\116\115"]["\112\101\116\108\101\97\115\104"]["\111\110\100\101\115\112\97\119\110\102\110"] Jp["\99\111\109\112\111\110\101\110\116\115"]["\112\101\116\108\101\97\115\104"]:SetMaxPets( Jp["\99\111\109\112\111\110\101\110\116\115"]["\112\101\116\108\101\97\115\104"]:GetMaxPets()+0x6)else Jp:AddComponent("\112\101\116\108\101\97\115\104") Jp["\99\111\109\112\111\110\101\110\116\115"]["\112\101\116\108\101\97\115\104"]:SetMaxPets(0x1)end Jp["\99\111\109\112\111\110\101\110\116\115"]["\112\101\116\108\101\97\115\104"]:SetOnSpawnFn(DI) Jp["\99\111\109\112\111\110\101\110\116\115"]["\112\101\116\108\101\97\115\104"]:SetOnDespawnFn(b)Jp["\79\110\83\97\118\101"]=ZIzh4Si Jp["\79\110\76\111\97\100"]=dIZlrvD Jp["\79\110\78\101\119\83\112\97\119\110"]=jQgsATKd Jp["\79\110\67\104\105\108\100\105\115\104"]=iq7ol Jp["\79\110\81\117\97\110\116\117\109"]=eMV Jp["\79\110\73\110\115\97\110\101\108\121"]=WDTNkTD Jp["\79\110\66\97\114\114\105\101\114"]=Oejsws Jp["\79\110\83\101\101\108\101\69\120\112"]=KMw7_i1s Jp["\79\110\83\101\101\108\101\84\97\108\107"]=CQi Jp["\95\79\110\65\99\116\105\111\110\70\97\105\108\101\100"]=Jp["\101\118\101\110\116\95\108\105\115\116\101\110\101\114\115"]["\97\99\116\105\111\110\102\97\105\108\101\100"][Jp][1] Jp:RemoveEventCallback("\97\99\116\105\111\110\102\97\105\108\101\100",Jp["\95\79\110\65\99\116\105\111\110\70\97\105\108\101\100"])Jp:ListenForEvent("\97\99\116\105\111\110\102\97\105\108\101\100",CkD73N0) Jp:WatchWorldState("\99\121\99\108\101\115",PlwhaRKJ) Jp:ListenForEvent("\101\110\116\105\116\121\95\100\101\97\116\104",function(J,CH)Caz4NM4Z(Jp,CH)end,TheWorld) Jp:ListenForEvent("\100\111\108\108\95\97\115\115\105\115\116",function(sJ05I,HrLCim)XVxxx(Jp,HrLCim)end,TheWorld)Jp:ListenForEvent("\97\116\116\97\99\107\101\100",hD) Jp:ListenForEvent("\107\105\108\108\101\100",G5BuU5)Jp:ListenForEvent("\104\101\97\108\116\104\100\101\108\116\97",AfwsY) Jp:ListenForEvent("\104\117\110\103\101\114\100\101\108\116\97",T)Jp:ListenForEvent("\115\97\110\105\116\121\100\101\108\116\97",WZs) Jp:ListenForEvent("\111\110\102\114\111\103\101\121\101",ITdz)Jp:ListenForEvent("\101\113\117\105\112",AjfoUo) Jp:ListenForEvent("\117\110\101\113\117\105\112",Er9zidsB)Jp:ListenForEvent("\104\97\114\118\101\115\116\115\111\109\101\116\104\105\110\103",X) Jp:ListenForEvent("\111\110\104\105\116\111\116\104\101\114",dR)Jp:ListenForEvent("\115\101\101\108\101\98\117\102\102",JFXtQwy) Jp:ListenForEvent("\111\110\101\97\116",uMV17h0)Jp:ListenForEvent("\97\112\112\108\121\114\101\97\112\101\114",SH)end return dijn4Ph("\115\101\101\108\101",SUn,RlZo,D9,G,Ib4) seele.lua Link to comment https://forums.kleientertainment.com/forums/topic/130236-obfuscated-lua-code-in-mods-cant-understand-how-to-recover-original-code/ Share on other sites More sharing options...
CarlZalph Posted May 24, 2021 Share Posted May 24, 2021 The process to deobfuscate a file is pretty straightforward if a bit time consuming when not automated. However, it's clear that the intent of the mod author is to dissuade people from copy-pasting their code into another mod. While I personally think using obfuscation in LUA is a complete joke, I will adhere to the author's intent and not deobfuscate the file for you. If you would like to learn how to do something in DST such as "how to perk" for something, then that would be best suited to ask that here in this subforum. Right now what you are asking us to do is to tear apart someone's work so you can make "edits" to it. I'd advise you to create new works instead. For transparency, I've already poked at the code there and there's nothing malicious inside of it. It appears to be the character itself with setting it up and all of its perks such as 'quantum' behaviour, 'level', swimming, etc. Link to comment https://forums.kleientertainment.com/forums/topic/130236-obfuscated-lua-code-in-mods-cant-understand-how-to-recover-original-code/#findComment-1463141 Share on other sites More sharing options...
Sharingan33 Posted May 24, 2021 Author Share Posted May 24, 2021 What i'm searching is an armor that automatically adds wetness to the character and i don't like that, i would like to remove that function from the mod, i guess the author of the mod made something like "inst.components.equippable.equippedmoisture" or "DoDelta(...)". The problem is that there aren't lua files in the prefab folder for armors, weapons, ecc. I thought the author put the prefab code all in the character lua file. Anyway i don't need you to decode everything for me: i already managed to break apart some of the code with "print" function in lua.exe Link to comment https://forums.kleientertainment.com/forums/topic/130236-obfuscated-lua-code-in-mods-cant-understand-how-to-recover-original-code/#findComment-1463145 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now