Today I started making mods for Widdle Pets and decided to make the Geometry Dash cube. The character works, but the audio doesn't, and it says there are script errors. Here are some screenshots and the .lua code.
And this is the Main.lua
- name: [PET] Cube-- description: The Geometry Dash cube in coop dxif not _G.wpets then return endlocal E_MODEL_CUBE = smlua_model_util_get_id('cube_geo')local ID_CUBE = _G.wpets.add_pet({ name = "Cube", credit = "Tails Gamer", description = "The Geometry Dash cube in coop dx!", modelID = E_MODEL_CUBE, scale = 1.0, yOffset = 0, flying = false})_G.wpets.set_pet_anims_head(DASH)_G.wpets.set_pet_sounds(ID_CUBE, { spawn = nil, happy = nil, vanish = 'vanish_effect.ogg', step = nil,})