Jump to content

How do i do it


Recommended Posts

shadow_team = createTeam("shadow",255,0,0)	

function shadow_func(player)

    	local px,py,pz = getElementPosition(player)
	setPlayerTeam ( player, shadow_team )

	triggerClientEvent(player, "onClientSoundEvent", player)

 shuk = exports [ "slothbot" ]:spawnBot ( px, py - 3, pz, 0, 164, 0, 0, getPlayerTeam(player), 10, "hunting", true )


setTimer (
        function ( )
            destroyElement(shuk)
        end
        ,500000, 1
 )

outputChatBox("Kuchiyose Shadow Mini!", l_1_0, 255, 0, 0, false)

end
addCommandHandler("shadow-master-obito", shadow_func)

How do I make the bot faster and have more life

I will leave my code

Link to comment
  1. shadow_team = createTeam("shadow",255,0,0)
    
    function shadow_func(player)
    
    local px,py,pz = getElementPosition(player)
    setPlayerTeam ( player, shadow_team )
    
    triggerClientEvent(player, "onClientSoundEvent", player)
    
    shuk = exports [ "slothbot" ]:spawnBot ( px, py - 3, pz, 0, 164, 0, 0, getPlayerTeam(player), 10, "hunting", true )
      setElementVelocity ( shuk, speedX, speedY, speedZ ) --for the speed x and y and z choose numbers as you like.
    
    
    setTimer (
    function ( )
    destroyElement(shuk)
    end
    ,500000, 1
    )
    
    outputChatBox("Kuchiyose Shadow Mini!", l_1_0, 255, 0, 0, false)
    
    end
    addCommandHandler("shadow-master-obito", shadow_func)
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...