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 » Game Design
Home Search
 

What is wrong with this script

Previous Thread :: Next Thread 
ethanlaj is not online. ethanlaj
Joined: 17 Nov 2015
Total Posts: 922
25 Jul 2016 06:59 AM
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
zzxWarrior is not online. zzxWarrior
Joined: 18 Aug 2010
Total Posts: 3730
25 Jul 2016 07:01 AM
You are forgetting some of the brackets (Not an expert scripter, but I have noticed that.)


Join the unofficial game design group, https://www.roblox.com/My/Groups.aspx?gid=2862545
Report Abuse
ethanlaj is not online. ethanlaj
Joined: 17 Nov 2015
Total Posts: 922
25 Jul 2016 07:05 AM
Which ones
Report Abuse
zzxWarrior is not online. zzxWarrior
Joined: 18 Aug 2010
Total Posts: 3730
25 Jul 2016 07:12 AM
Isn't it obvious, you haven't closed them.


Join the unofficial game design group, https://www.roblox.com/My/Groups.aspx?gid=2862545
Report Abuse
Interjecti0n is not online. Interjecti0n
Joined: 08 Dec 2013
Total Posts: 257
25 Jul 2016 07:23 AM
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
Interjecti0n is not online. Interjecti0n
Joined: 08 Dec 2013
Total Posts: 257
25 Jul 2016 07:24 AM

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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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