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 » Roblox » All Things ROBLOX
Home Search
 

What is wrong with my script

Previous Thread :: Next Thread 
ethanlaj is not online. ethanlaj
Joined: 17 Nov 2015
Total Posts: 922
25 Jul 2016 08:32 AM
Im trying to make it so that when someone buys my gamepass, their max view distance changes from 15 to 400

Heres what I have so far

Players = game:GetService("Players")
GamePassService = game:GetService("MarketplaceService")
PassId = 463912717
Players.PlayerAdded:connect(function(Player)
Player.CharacterAdded:connect(function(Character)
if GamePassService:PlayerHasPass(Player.userId, PassId) then
Spawn (function())
script.Parent.Parent.CameraMaxZoomDistance=400
end)
end)
end)
Report Abuse
OfficerBrah is not online. OfficerBrah
Joined: 13 Mar 2015
Total Posts: 377
25 Jul 2016 08:33 AM
Woah money hungry much..
Report Abuse
HiTechTroller is not online. HiTechTroller
Joined: 31 Jul 2012
Total Posts: 15163
25 Jul 2016 08:33 AM
this is your third thread, GO ASK THE SCRIPTERS FORUM


Welcome to ATR, may I take your order? https://www.roblox.com/ITS-JUST-A-PRANK-BRO-item?id=318480818
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » All Things ROBLOX
   
 
   
  • 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