local script:
local speed = 6451920
game.Players.PlayerAdded:Connect(function(player)
local bought = game:GetService("MarketplaceService")
if bought:UserOwnsGamePassAsync(player.UserId,speed) then
print(player.Name.." got the gamepass")
game:GetService("UserInputService").InputBegan:connect(function(input,gameprocesed)
if input.KeyCode == Enum.KeyCode.LeftShift then
for i = 1,16 do
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 60
game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
end
end
end)
game:GetService("UserInputService").InputEnded:connect(function(input,gameprocesed)
if input.KeyCode == Enum.KeyCode.LeftShift then
for i = 1,16 do
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
end
end
end)
else
print("dont got it")
end
end)
i get no output or anything from this so im guessing i need to do it in a server script but the server script cant see into the local player all the time

1 comment
Ur stupid