Forum > Coding >

How to set walkspeed with api.setwalkspeed

Theo339

Theo339

Posts: 20

Threads: 8

Joined: Mar, 2019

Reputation: 0

Posted

I dont know how to use int to set the walkspeed can someone help me and sorry for my bad english im from germany

  • 0

I Love Unity and C#

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

I'm new to programming so I MAY BE WRONG. I believe you could do it as:

api.SendLimitedLuaScript("game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=INSERTNUMBERHERE");

  • 0

Theo339

Theo339

Posts: 20

Threads: 8

Joined: Mar, 2019

Reputation: 0

Replied

its right but i want to use api.setwalkspeed(); and then int

  • 0

I Love Unity and C#

WRD

Owner

admin

Posts: 990

Threads: 33

Joined: Dec, 2016

Reputation: 106

Replied

api.SetWalkSpeed("me", 100)

 

This will set your walkspeed to 100.

 

Just some information, "me" is only there because you used to be able to change other people's walk speed. You can't do that anymore due to FE. You can only change it to "me" now. I left the parameter so code from old YouTube tutorials won't break. 

  • 0

I'm just a chill guy fr 🤙

Users viewing this thread:

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