Jump to content

Trying to change walking speed in Volcano


Recommended Posts

Hello everyone!

Since i hate cheating, i feel that the bug causing super speed in the Volcano after approaching it with a fast boat should be gone.

Is there anyone who can point me to how to write a function that reset the walking speed after entering the Volcano?

I tried a function with:

local function resetspeed(self)

    if GLOBAL.GetWorld():IsVolcano() then
    
    self.components.locomotor.runspeed=1
    self.components.locomotor.walkspeed=1    
    end
end

How exactly am i supposed to do? Sorry i'm totally new at coding. Any help is highly appreciated.

Thanks

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...