here is the image:
local UserInput = game:GetService('UserInputService') local Players = game:GetService('Players')
local sprint speed = 32 local walk speed = 16
local players = Players.LocalPlayer
local function beginsprint(input, gameProcessed) if not gameProcessed then if input.UserInputType == Enum.UserInputType.Keyboard then local keycode = input.KeyCode if keycode == Enum .Keycode.Leftshift then player.Character.Humanoid.WalkSpeed = sprintSpeed end end end end
local function endsprint(input, gameProcessed) if not gameProcessed then if input.UserImputType == Enum.UserInputType.Keyboard then local keycode = input.KeyCode if keycode == Enum .Keycode.Leftshift then player.Character.Humanoid.WalkSpeed = walkSpeed end end end end
It also dosent giva.output if someone could explain ty idk whats wrong and this is happening for a lot of my scripts??

2 comments
Please put your code in a codeblock
ohh srry