Shift to run game pass

local Player = game.Players.LocalPlayer
local MPS = game:GetService("MarketplaceService")
local UIS = game:GetService("UserInputService")
local Character = Player.Character or Player.CharacterAdded:Wait()

local GamepassID = 17279284 --Gamepass ID here
local GamepassOwned = MPS:UserOwnsGamePassAsync(Player.UserId, GamepassID)

print("Script running")
game:GetService("RunService").RenderStepped:Connect(function()

   if UIS:IsKeyDown(Enum.KeyCode.LeftShift) and GamepassOwned then
	   Character.Humanoid.WalkSpeed = 30
   else
	   Character.Humanoid.WalkSpeed = 16
   end
end)

This, in theory, should work.

Edit: I checked. It works. Here’s a video. (BTW, change the unicode quotes.

robloxapp-20210429-1004447.wmv (958.5 KB)

2 Likes