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
 

Re: Why does the only work in Studio

Previous Thread :: Next Thread 
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
03 Apr 2017 04:20 AM
it works fine in studio but when i play the game it doesn't work, someone help? local player = game.Players.LocalPlayer local passId = ######### local ################## = game:GetService("MarketplaceService") local gun = game.ServerStorage.Radio:Clone() function isAuthenticated(player) return game:GetService("MarketplaceService"):PlayerOwnsAsset(player, passId) end script.Parent.MouseButton1Click:connect(function() if isAuthenticated(player) then gun.Parent = player.Backpack else game:GetService("MarketplaceService"):PromptPurchase(player, passId) end end)
Report Abuse
KidNoobly is not online. KidNoobly
Joined: 15 Apr 2014
Total Posts: 107
03 Apr 2017 04:53 AM
Please add spaces so it's easier and what is very good to do is go to studio and test then start a server and check for any errors then try to fix them
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
03 Apr 2017 05:06 AM
i did have spaces but roblox's filters don't allow it.
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
03 Apr 2017 05:07 AM
Use pastebin
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
03 Apr 2017 01:15 PM
k help someone?
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
03 Apr 2017 07:59 PM
helpo?
Report Abuse
Gomlsauresrex is not online. Gomlsauresrex
Joined: 25 Mar 2016
Total Posts: 3588
03 Apr 2017 08:00 PM
Paste the script on pastebin cuz its filtered.
Report Abuse
Robloxinaterr is not online. Robloxinaterr
Joined: 26 Jul 2014
Total Posts: 14824
03 Apr 2017 08:01 PM
the filtered word is marketplaceserviceTAGS*
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
04 Apr 2017 04:58 AM
Post the script in pastebin so we can see it properly formatted.
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