I hope you love this tutorial! This is my first time doing this.
The video doesn't explain much but I hope it still helped.
The Script: https://ghostbin.com/4CflL
once again the script (if you dont want to go to the link):
--------------------------------------------------
--This Script Was Made By: XxXGDXxX_Master2017--
-------On the Youtube channel: 8BloxDev---------
--------------------------------------------------
local player = game:GetService("Players").LocalPlayer
local UIS = game:GetService("UserInputService")
function ShiftPressed()
local ShiftHeld = UIS:IsKeyDown(Enum.KeyCode.LeftShift)
if ShiftHeld then
player.Character.Humanoid.WalkSpeed = 24 --The 24 is the speed YOU want! change it to whatever you would like.
end
end
function ShiftReleased()
local ShiftHeld = UIS:IsKeyDown(Enum.KeyCode.LeftShift)
if ShiftHeld == false then
player.Character.Humanoid.WalkSpeed = 16 -- 16 is the default walkspeed!!!
end
end
UIS.InputBegan:Connect(ShiftPressed)
UIS.InputEnded:Connect(ShiftReleased)
--Tutorial / Showcase:
-https://www.youtube.com/channel/UCIU9...
------------------------------------------------------------------------------------------------------------------
Like and Subscribe! #robloxdevelopment
On this page of the site you can watch the video online Roblox Lua shift to sprint script tutorial with a duration of hours minute second in good quality, which was uploaded by the user 8BloxDev 28 November 2021, share the link with friends and acquaintances, this video has already been watched 198 times on youtube and it was liked by 9 viewers. Enjoy your viewing!