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 » Scripting Helpers
Home Search
 

Re: Whats wrong?

Previous Thread :: Next Thread 
blocklover16 is online. blocklover16
Joined: 03 Feb 2013
Total Posts: 403
03 Jul 2014 11:35 AM
local players = game.Players:GetChildren()
local names = players.name
local characters game.Workspace:FindFirstChild(names)

characters.Humanoid.AutoRotate = false
Report Abuse
blocklover16 is online. blocklover16
Joined: 03 Feb 2013
Total Posts: 403
03 Jul 2014 11:41 AM
bump
Report Abuse
Hakupa is not online. Hakupa
Joined: 03 Sep 2011
Total Posts: 5375
03 Jul 2014 11:49 AM
One thing that is wrong is that you wrote players.name. First of all, name should be capitalized. Second, players includes multiple objects. Also, you didn't put an equals sign between characters and game. Also, there are no "" in the parentheses for FindFirstChild. I don't think you can put a set variable in those parentheses for FindFirstChild. It has to be an object in workspace. I'm not even sure if that's everything.
Report Abuse
LordGan is not online. LordGan
Joined: 23 Dec 2010
Total Posts: 1366
03 Jul 2014 11:53 AM
Try this:

local players = game.Players:GetChildren()
local names = players.name
local characters = game.Workspace:FindFirstChild("names")
characters.Humanoid.AutoRotate = false
Report Abuse
LegitimateBuisness is not online. LegitimateBuisness
Joined: 18 Feb 2014
Total Posts: 34
03 Jul 2014 12:03 PM
for _, v in pairs(game.Players:getPlayers()) do
if v.Character then
v.Character.Humanoid.AutoRotate = false;
end;
end;
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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