|
| 30 Jun 2017 11:36 PM |
| I made a script that will set the player's speed to true if they own the gamepass, which will, in turn, increase their speed. I "made" a script that will set speed to true when they purchase the gamepass. But I can't test it out because my account automatically owns the gamepass, and if I make another account I will have to purchase robux to test it. |
|
|
| Report Abuse |
|
|
|
| 30 Jun 2017 11:37 PM |
| How do I reliably test the gamepass to see what happens if I purchase it in-game? |
|
|
| Report Abuse |
|
|
|
| 01 Jul 2017 02:26 AM |
First make sure that your other account is friends with your main account and the gamepass can be purchased in-game. Then go to your place in studio and enable team create. Now invite your other account. Now enter your other account and test the game in studio. Use the purchase in-game feature while testing in your other account. Then it will say this is a test purchase. Then you can buy the gamepass for free in studio in your other account (You will need re-do the test purchase in every studio season you want to use it for free)
Not sure if it will work. I cant test it because my studio is broken :c
-Delicous Tuna Fish
|
|
|
| Report Abuse |
|
|
|
| 01 Jul 2017 02:39 AM |
local gpid=1234567--gamepassid local function a(char) char:WaitForChild("Humanoid",1.5).WalkSpeed=25 end local Players=game:GetService"Players" local function onPlayerAdded(player) coroutine.wrap(function() local GamePassService=game:GetService"GamePassService" while not GamePassService:PlayerHasPass(player,gpid)do wait(8)end local char=player.Character if char then a(char)end player.CharacterAdded:Connect(a) char=nil;player=nil end)() end Players.PlayerAdded:Connect(onPlayerAdded) |
|
|
| Report Abuse |
|
|
|
| 01 Jul 2017 02:44 AM |
local gpid=1234567--gamepassid local function a(char) char:WaitForChild("Humanoid",1.5).WalkSpeed=25 end local Players=game:GetService"Players" local function onPlayerAdded(player) coroutine.wrap(function() local GamePassService=game:GetService"GamePassService" while player.Parent and not GamePassService:PlayerHasPass(player,gpid)do wait(8)end if player.Parent then local char=player.Character if char then a(char)end player.CharacterAdded:Connect(a) char=nil;player=nil;end end)() end Players.PlayerAdded:Connect(onPlayerAdded) |
|
|
| Report Abuse |
|
|
cabbler
|
  |
| Joined: 19 Jun 2015 |
| Total Posts: 735 |
|
| |
|