From this article you will learn how you can make a run at any speed in Roblox Studio. To do this, you will need to use the standard Studio tools and add just one script.

  1. Start Roblox Studio, go to the VIEW tab and click on the Explorer button in the upper left corner to display this bar (the Explorer bar is on the right);
    How to make a run in Roblox Studio.
  1. In the Explorer pane, find StarterGui and add a LocalScript inside it (to add a LocalScript, hover your mouse over StarterGui and click Buttons in Roblox Studio)

How to make a run in Roblox Studio

  1. In LocalScript we write this code:

local Mos = game.Players.LocalPlayer:GetMouse()
–Если нажата
Mos.KeyDown:connect(function(key)
if key:lower() == string.char(48) then
game.Workspace.Camera.FieldOfView = game.Workspace.Camera.FieldOfView + 1.6
local Player1 = game.Players.LocalPlayer.Character.Humanoid
if Player1 then
Player1.WalkSpeed = 25
end
end
end)
–Если отпущена
Mos.KeyUp:connect(function(key)
if key:lower() == string.char(48) then –Если нажата
game.Workspace.Camera.FieldOfView = game.Workspace.Camera.FieldOfView – 1.6
local Player1 = game.Players.LocalPlayer.Character.Humanoid
if Player1 then
Player1.WalkSpeed = 16
end
end
end)

Running will be triggered by pressing the Shift key (key 48). You can change it to any other.

If you want to speed up your character even more, change the parameter Player1.WalkSpeed = 25 upwards, for example 50.

You can run the simulation and test running.