How does it look for other players? Not sure if its onesync related but i’ve tested something like this before and it caused really bad stutters for my ped model in other player games.
Hulkfig.Variables = {
usingCustomPed = true,
model = `Hulk`,
useScreenEffect = 1,
usingInteractSound = true, -- you must add the sounds to interact-sound\client\html\sounds
soundEffects = {
'hulkfling', -- set
'transform', -- set
'scream1', -- dynamic
'scream2', -- dynamic
'scream3', -- dynamic
}
}
Hulkfig.Controls = {
SuperRun = 21, -- Left Shift
StillJump = 22, -- SpaceBar
HulkSmash = 24, -- Left Click
ToggleCrosshair = 217, -- Toggle Hulk Crosshair for abilities
RightSwitch = 175, -- Switch Ability
LeftSwitch = 174, -- Switch Ability
}
function onBecomeHulk()
-- code to execute when transforming
-- here is where you could save your current ped before transforming to use when you leave
end
function onStopBeingHulk()
-- code to return ped to last outfit
end
function CustomAbilities() -- looped
--you could add misc stuff here
end