generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

gamepass walk speed

Previous Thread :: Next Thread 
RogerDaily is not online. RogerDaily
Joined: 10 Mar 2017
Total Posts: 69
16 Sep 2017 12:05 AM
i made a game pass and its called Walk Speed 50, so how do i make the ppl that buys the game pass and have the speed???????????????
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
16 Sep 2017 12:06 AM
local ms = game:GetService("MarketplaceService")

game.Players.PlayerAdded:connect(function(player)
local fastRun = ms:PlayerOwnsAsset(player,12341234) -- put in the ID of your gamepass
player.CharacterAdded:connect(function(char)
if fastRun then
char:WaitForChild("Humanoid").WalkSpeed = 50
end
end)
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image