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
 

Simple ~ not working

Previous Thread :: Next Thread 
mulJR is not online. mulJR
Joined: 25 Dec 2012
Total Posts: 305
30 Jan 2015 08:26 PM
Script doesn't work. Help?
Report Abuse
mulJR is not online. mulJR
Joined: 25 Dec 2012
Total Posts: 305
30 Jan 2015 08:45 PM
b1
Report Abuse
mulJR is not online. mulJR
Joined: 25 Dec 2012
Total Posts: 305
30 Jan 2015 08:47 PM
Should make a new post but last attempt bump
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
01 Feb 2015 05:53 AM
Use this:

local id = 208731388
local speed = 25
game.Players.PlayerAdded:connect(function(plr)
if game:GetService("MarketPlaceService"):PlayerHasPass(plr, id) then
plr.Character.Humanoid.WalkSpeed = speed
end
end)
Report Abuse
epicbreaker is not online. epicbreaker
Joined: 23 Apr 2011
Total Posts: 2791
01 Feb 2015 05:59 AM
^ Only works on first spawn, also it's MarketplaceService, not MarketPlaceService.

local gpid = 208731388
local speed = 25

game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(char)
if game:GetService("MarketplaceService"):PlayerOwnsAsset(player, gpid) then
char:WaitForChild("Humanoid").WalkSpeed = speed
end
end)
end)
Report Abuse
Previous Thread :: Next Thread 
Page 2 of 2Go to page: 1, [2] Prev
 
 
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