|
| 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 |
|
|
|
| 26 Apr 2013 06:23 PM |
| Bump I'm sorta new at scripting |
|
|
| Report Abuse |
|
|
| |
|
|
| 26 Apr 2013 06:26 PM |
script.Parent.BrickColor = BrickColor.new"Alder"
|
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 22 Mar 2013 |
| Total Posts: 3233 |
|
|
| 26 Apr 2013 06:27 PM |
= BrickColor.new("Alder")
Is Alder a color? |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2013 06:28 PM |
| Yes, its the pastelish purple near the middle bottom. |
|
|
| Report Abuse |
|
|
| |
|
|
| 26 Apr 2013 06:32 PM |
| Post the entire script in that case? |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2013 06:33 PM |
| Yeah Alder is a color its Light Purple |
|
|
| Report Abuse |
|
|
| |
|
|
| 26 Apr 2013 06:34 PM |
What is owner? stevendoan09 should also be a string.
(╯°д°)> KMXD |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2013 06:34 PM |
if script.Parent.Name == "NAMEY" then script.Parent.BrickColor = BrickColor.new("Alder") end |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 26 Apr 2013 06:46 PM |
| Ok, post the script AS IT IS, and tell us what it is inside. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 26 Apr 2013 06:51 PM |
A brick Ands whats the Output? |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2013 06:53 PM |
View > Output window
When you open that, run the script again. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 26 Apr 2013 06:55 PM |
Whats you mean by run? Sorry I'm new |
|
|
| Report Abuse |
|
|