Forum > General >

How to "sendcommand" in V2 API

Posts: 85

Threads: 28

Joined: Jul, 2018

Reputation: 0

Posted

Sup devs
im back with another tutorial

In order to do this you will need:
- A textbox [input]
- V2 API setup

First step:
get the script ;)

This tutorial will be focusing on jumppower and walkspeed, because it is one of the most basic scripts in lua. If you do not have these scripts or no how to make them, i suggest learning some lua before making your FIRST exploit.

Anyway, here's the script. (No set command for other players due to FD being gone)

game.Players.LocalPlayer.Character.Humanoid.Walkspeed = x
game.Players.LocalPlayer.Character.Humanoid.Walkspeed = x

Lets convert it into your api ;)

SendLimitedLuaScript("game.Players.LocalPlayer.Character.Humanoid.Walkspeed = x")
SendLimitedLuaScript("game.Players.LocalPlayer.Character.Humanoid.JumpPower = x")

Make sure you have an INPUT textbox. Now replace x with..

SendLimitedLuaScript("game.Players.LocalPlayer.Character.Humanoid.Walkspeed = + inputtextbox.Text+")
SendLimitedLuaScript("game.Players.LocalPlayer.Character.Humanoid.JumpPower = +inputtextbox.Text+")

Basically the PLUS (+) before and after inputtextbox.Text is just like an addon (ill call it that for you guys to make it simpler).

inputtextbox is the textbox name.

.Text is a class of textbox, it takes the text from your textbox.

Now, inject your exploit and watch walkspeed and jumppower happen :)




  • 0

Posts: 401

Threads: 27

Joined: Jan, 2018

Reputation: 14

Replied

Thanks, now I am getting 30ms!

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )