Wutnoob
|
  |
| Joined: 28 May 2016 |
| Total Posts: 2365 |
|
|
| 25 Nov 2017 07:28 PM |
| A gamepass that gives fire particles when you buy it |
|
|
| Report Abuse |
|
|
Wutnoob
|
  |
| Joined: 28 May 2016 |
| Total Posts: 2365 |
|
| |
|
Vulkarin
|
  |
| Joined: 17 Mar 2013 |
| Total Posts: 282 |
|
|
| 25 Nov 2017 07:35 PM |
http://wiki.roblox.com/index.php?title=Game_pass#Giving_the_Game_Pass_an_effect
|
|
|
| Report Abuse |
|
|
Wutnoob
|
  |
| Joined: 28 May 2016 |
| Total Posts: 2365 |
|
| |
|
Vulkarin
|
  |
| Joined: 17 Mar 2013 |
| Total Posts: 282 |
|
|
| 25 Nov 2017 07:43 PM |
...okay im going to literally copy and change the wiki's code
local passId = 0000 --change this to your GamePass Id local marketplaceService = game:GetService("MarketplaceService") marketplaceService.PromptPurchaseFinished:connect(function(player,assetId,isPurchased) if isPurchased then --if the player did pay if assetId == passId then --if what they bought is the pass print(player.Name .. " bought the pass (" .. passId .. ")") flamey = Instance.new("ParticleEmitter",player.Character) flamey.Name = "YAY U WASTED ROBUX" end end end)
|
|
|
| Report Abuse |
|
|
Wutnoob
|
  |
| Joined: 28 May 2016 |
| Total Posts: 2365 |
|
| |
|
WAHJH
|
  |
| Joined: 10 Mar 2017 |
| Total Posts: 1006 |
|
|
| 25 Nov 2017 08:37 PM |
--put the tools inside the script and put the script inside ServerScriptService --use a Script not a LocalScript and make sure to put the right gamepassid bellow: local gpid=1234567--gamepassid local Players=game:GetService"Players" local a do local GamePassService=game:GetService"GamePassService" function a(char)wait(.1) local player=Players:GetPlayerFromCharacter(char) if GamePassService:PlayerHasPass(player,gpid)then for i,v in ipairs(script:GetChildren())do v:Clone().Parent=player:FindFirstChildOfClass"Backpack" end end end end Players.PlayerAdded:Connect(function(player) local char=player.Character if char then a(char)end player.CharacterAdded:Connect(a) end) 😉😉😉😉😉😉😉😉 |
|
|
| Report Abuse |
|
|
Wutnoob
|
  |
| Joined: 28 May 2016 |
| Total Posts: 2365 |
|
|
| 26 Nov 2017 10:42 AM |
| but I want it to give fire particles. |
|
|
| Report Abuse |
|
|