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: Debug Pls

Previous Thread :: Next Thread 
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
26 Apr 2013 06:22 PM
if owner.name = stevendoan09
script.Parent.BrickColor = Alder

What did I do wrong?
Its a Brick in the starterpack that floats around you.But for stevendoan09 I want it to be Alder
Report Abuse
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
26 Apr 2013 06:23 PM
Bump I'm sorta new at scripting
Report Abuse
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
26 Apr 2013 06:25 PM
Bump Anyone?
Report Abuse
Circuitous is not online. Circuitous
Joined: 04 Aug 2009
Total Posts: 121
26 Apr 2013 06:26 PM

script.Parent.BrickColor = BrickColor.new"Alder"
Report Abuse
RoyStanford is not online. RoyStanford
Joined: 21 Oct 2008
Total Posts: 2222
26 Apr 2013 06:27 PM
Please don't bump... :/

when u has if statements use operators. the equal to operator is == so

if owner.name == stevendoan09 then
script.Parent.BrickColor = BrickColor.new("Bright blue")
end
Report Abuse
UnBuild is not online. UnBuild
Joined: 22 Mar 2013
Total Posts: 3233
26 Apr 2013 06:27 PM
= BrickColor.new("Alder")

Is Alder a color?
Report Abuse
Circuitous is not online. Circuitous
Joined: 04 Aug 2009
Total Posts: 121
26 Apr 2013 06:28 PM
Yes, its the pastelish purple near the middle bottom.
Report Abuse
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
26 Apr 2013 06:31 PM
Not working
*Sobs*
Report Abuse
KanataIzumi7 is not online. KanataIzumi7
Joined: 08 May 2011
Total Posts: 949
26 Apr 2013 06:32 PM
Post the entire script in that case?
Report Abuse
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
26 Apr 2013 06:33 PM
Yeah Alder is a color its Light Purple
Report Abuse
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
26 Apr 2013 06:33 PM
I did in my first post.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
26 Apr 2013 06:34 PM
What is owner? stevendoan09 should also be a string.

(╯°д°)> KMXD
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
26 Apr 2013 06:34 PM
if script.Parent.Name == "NAMEY" then
script.Parent.BrickColor = BrickColor.new("Alder")
end
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
26 Apr 2013 06:34 PM
Yea O-o what is owner.
Report Abuse
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
26 Apr 2013 06:41 PM
I'll try that.
Report Abuse
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
26 Apr 2013 06:46 PM
Still not Working


*Sobs*
Report Abuse
KanataIzumi7 is not online. KanataIzumi7
Joined: 08 May 2011
Total Posts: 949
26 Apr 2013 06:46 PM
Ok, post the script AS IT IS, and tell us what it is inside.
Report Abuse
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
26 Apr 2013 06:47 PM
I need more info.

What is the script inside?
What does the Output say?
Is there more to this script?
Report Abuse
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
26 Apr 2013 06:49 PM
O_O Killer you Joindate is my birthdate

Mmk
Theres noting more to the script for people names like stevendoan09,and maybe other people I put in there for the Parents color to turn to Alder
Report Abuse
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
26 Apr 2013 06:50 PM
That answers 1 of 3.

What is the script inside? Workspace? A Brick? What?

What does the Output say?
Report Abuse
KanataIzumi7 is not online. KanataIzumi7
Joined: 08 May 2011
Total Posts: 949
26 Apr 2013 06:51 PM
Copy and Paste the contents of the script in here. We can't help you much with what you're telling us.
Report Abuse
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
26 Apr 2013 06:51 PM
A brick
Ands whats the Output?
Report Abuse
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
26 Apr 2013 06:53 PM
View > Output window

When you open that, run the script again.
Report Abuse
KanataIzumi7 is not online. KanataIzumi7
Joined: 08 May 2011
Total Posts: 949
26 Apr 2013 06:53 PM
Ok, this is what I've gathered from you:

Location;
StarterPack.Brick.script


Script;
if owner.name = stevendoan09
script.Parent.BrickColor = Alder
Report Abuse
blackshockwave is not online. blackshockwave
Joined: 16 Mar 2012
Total Posts: 1381
26 Apr 2013 06:55 PM
Whats you mean by run?
Sorry I'm new
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