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: omg i dont know whats wrong...

Previous Thread :: Next Thread 
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:01 AM
local P = game.Players:GetChildren()
for i = 1, #P do
if P[i]:IsA("Player") and P[i].TeamColor == BrickColor.new("Really red") then
game.Lighting:findFirstChild("Superball"):clone().Parent = P[i].Backpack

local P = game.Players:GetChildren()
for i = 1, #P do
if P[i]:IsA("Player") and P[i].TeamColor == BrickColor.new("Bright blue") then
game.Lighting:findFirstChild("Superball"):clone().Parent = P[i].Backpack

doesnt work .-.
Report Abuse
tuxedoman23 is not online. tuxedoman23
Joined: 24 Apr 2009
Total Posts: 4670
05 Jan 2014 12:03 AM
:Clone()
Report Abuse
Azarth is not online. Azarth
Joined: 17 Aug 2012
Total Posts: 2760
05 Jan 2014 12:04 AM


for i,v in pairs(game.Players:GetPlayers()) do
if v.TeamColor == BrickColor.new("Really red") or v.TeamColor == BrickColor.new("Bright blue") then
game.Lighting:findFirstChild("Superball"):Clone().Parent = v.Backpack
end
end
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:09 AM
somethings still wrong
Report Abuse
Azarth is not online. Azarth
Joined: 17 Aug 2012
Total Posts: 2760
05 Jan 2014 12:10 AM
look @ the ouput
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:10 AM
bump :L
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:13 AM
01:11:08.509 - Successfully opened file - C:/Users/User/AppData/Local/Roblox/visit.rbxl
logging probability 0.74446852015748
not logging
01:11:08.610 - [string "code = {27,76,117,97,81,0,1,4,4,4,8,0,29,14..."]:1: attempt to call a nil value
01:11:08.617 - Script '[string "code = {27,76,117,97,81,0,1,4,4,4,8,0,29,14..."]', Line 1
01:11:08.617 - Script 'Workspace.AI.Daviidi's AI script!', Line 1
01:11:08.618 - stack end
01:11:14.851 - httpGet http://www.roblox.com/Asset/?id=100808216&serverplaceid=0 failed. Trying again. Error: Asset is not trusted for this place. Elapsed time: 0.174692
01:11:14.852 - Content failed for http://www.roblox.com/Asset/?id=100808216&serverplaceid=0 because Asset is not trusted for this place
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:17 AM
some one help D:
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:18 AM
my brain is gonna explode
Report Abuse
ninjasamuraiux is not online. ninjasamuraiux
Joined: 23 Aug 2011
Total Posts: 5405
05 Jan 2014 12:18 AM
if statements without ending them?
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:19 AM
i put all the ends at the very end of the script
theres no red squigly lines anywhere so i think theres enough ends
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:20 AM
bump
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:22 AM
bumpp
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:25 AM
omg
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:25 AM
bumps
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:27 AM
THIS IS SO FREAKING FRUSTRATING
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:29 AM
:L
Report Abuse
IcyForever is not online. IcyForever
Joined: 27 Dec 2013
Total Posts: 696
05 Jan 2014 12:47 AM
Omfg
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