Character stops when equipping a tool in second slot while runningšŸ˜”

Achieve: I wanna be able to equip the tool in second slot while the character is running without the character stopping.

Problem: Whenever I am running and try to equip the tool in the second slot, no matter the kind of tool, the character just stops and goes into chock-like mode for 3-5 seconds then returns to normal.

Solutions Iā€™ve tried: Looked through custom tool UI script aswell as the run script. Nothing seems out of the ordinary with second slot compared to the other slots.
Created a new tool object and transfered the contents from the old to new.

Run Script:

-- Input Began
UIS.InputBegan:Connect(function(input)
	if (input.KeyCode == Enum.KeyCode.LeftShift) then
		
		RunTrack:Play()
		Character.Humanoid.WalkSpeed = 25
	end
end)

-- Input Ended
UIS.InputEnded:Connect(function(input)
	if (input.KeyCode == Enum.KeyCode.LeftShift) then
		
		RunTrack:Stop()
		Character.Humanoid.WalkSpeed = 14
	end
end)

Note: This occured before the custom tool UI was implemented, so I donā€™t think that is the issue.

2 Likes

So ofc the obvious went past my nose, for anyone having the same issue you just need to edit the Shift+2 Shortcut in Studio located at: File ā†’ Advanced ā†’ Customize Shortcuts
To delete current shortcut, just right click it and click ā€œClear shortcutā€

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.