|
| 28 Aug 2016 05:07 AM |
Hello, Scripters. I have a question that needs to be solved for my game.
How do you give a player the speedboost once he/she has bought the gamepass?
I have been searching for answers on google, youtube, etc. but instead they gave me only the instructions of giving the player the stuff I did not want.
So I came here to let you people help me with this script.
memes out.
|
|
|
| Report Abuse |
|
|
gIoam
|
  |
| Joined: 23 Jul 2015 |
| Total Posts: 310 |
|
|
| 28 Aug 2016 05:11 AM |
game.Players.PlayerAdded:connect(function(plr) ply.CharacterAdded:connect(function(char) if game:GetService("MarketplaceService"):PlayerOwnsAsset(plr,id) then char:WaitForChild('Humanoid').WalkSpeed = 1000000000000000000000000000000 end end) end) |
|
|
| Report Abuse |
|
|
gIoam
|
  |
| Joined: 23 Jul 2015 |
| Total Posts: 310 |
|
|
| 28 Aug 2016 05:12 AM |
UGH
ply.CharacterAdded:connect(function(char) should be plr.CharacterAdded:connect(function(char) |
|
|
| Report Abuse |
|
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 28 Aug 2016 05:50 AM |
| Gloam, Sonic doesn't even wanna go that fast, man. |
|
|
| Report Abuse |
|
|
gIoam
|
  |
| Joined: 23 Jul 2015 |
| Total Posts: 310 |
|
| |
|
|
| 28 Aug 2016 06:40 AM |
Just check the wiki Any examples involving microtransactions are written personally by the rocrap team and are tested daily to ensure they work |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2016 08:37 AM |
@gloam should I place that first on my script?
|
|
|
| Report Abuse |
|
|