-- name: Save Pos -- description: SAVE SAVE SAVE dunn = 0 if dunn == 0 then isadiasydus = 0 dunn = 1 end function mario_update(m) if (m.controller.buttonPressed & X_BUTTON) ~= 0 then X = 1 Y = 2 Z = 3 thisvariscool = math.floor(m.pos.x) thisvarisalsocool = math.floor(m.pos.y) thisvarisevenmorecool = math.floor(m.pos.z) isadiasydus = isadiasydus + 1 isadiasydus2 = isadiasydus + 1 isadiasydus3 = isadiasydus + 2 mod_storage_save(tostring(X), tostring(thisvariscool)) mod_storage_save(tostring(Y), tostring(thisvarisalsocool)) mod_storage_save(tostring(Z), tostring(thisvarisevenmorecool)) end end hook_event(HOOK_MARIO_UPDATE, mario_update)