So basically I have a speed simulator game and need help with some scripts. So I have 2 gamepasses 1 is 2x Speed and 2 is x2 Rebirths. Basically every step you gain 1 "step" and each step increases your speed a set amount. I can give more details if needed I have the script for these already just would like help with linking the gamepasses and making them work
#Gamepass scripts
7 messages · Page 1 of 1 (latest)
local ms = game:GetService("MarketplaceService")
StepStepped:Connect(function() -- fires when step, adjust it as how your script works
speed += 1
if ms:UserOwnsGamePassAsync(Player.UserId, GamepassID) then -- add the user id and the gamepass id here
speed += 1 -- Adds an aditional Speed
end)
@elder flax
Free model + already fixed