#Why doesn't this work?
92 messages · Page 1 of 1 (latest)
if DiscoBall.BrickColor == "Black" then
** You are now Level 3! **
Make sure the name of that part is the name you put in your script for that item
Do you know how to script at all?
Or make the color plum "#C2938D" or R . G . B "194, 147, 141" or L.C.h "65, 32, 19°"
Try that with the HEX first
But what exactly isn't working is the color of the DiscoBall not changing?
I think there is a lot not working with that script
Me too
Or try removing the "Wait" function out of it so it will do it automatic or lower the time
O wait
The reflectance and black changing to plum with the brick color all is just messy
Fix the reflectance
uhhh
Ye?
** You are now Level 1! **
What?
So your just gonna say "uhhh" and nothing else?
accident
They have logs yk
oh ok
are you a scriper or modeler
I wish I had the patience to learn both
I don't really know scripting much but I'm not that dumb
I only learned scripting
Oh sorry guys I forgot abou that. I'm reading your replies rn
I'm a starter
Wdym by that?
@tender hatchSo I basically made it too complicated?
Does not work at all :1
The color does not even change
type the code in and ill fix it
Oh
local DiscoBall = game.Workspace.DiscoBall
DiscoBall.BrickColor = "Black"
DiscoBall.Reflectance = 0.4
if DiscoBall.BrickColor. == "Black" then
wait(1)
DiscoBall.BrickColor = "Plum"
end
Thanks man
local DiscoBall = game.Workspace.DiscoBall
DiscoBall.BrickColor = BrickColor.Black()
DiscoBall.Reflectance = 0.4
if DiscoBall.BrickColor ==BrickColor.Black() then
wait(1)
DiscoBall.BrickColor = BrickColor.new("Plum")
end
I will try it
It becomes glass@tender hatch
How so?
And the reflectance does not seem to work
Is this normal?
it looks like glass because you turned reflectance up
that's what that does
did you want to change transparency?
Yes I did. To 0.4
But why does it changes after everything if the sentence is before the "if" about DiscoBall
it doesnt lol
it starts by changing the color to black then the reflectance and then it changes the color again
but it doesn't change the Reflectance back since you didn't ask it to all you asked it to change was color
local DiscoBall = game.Workspace.DiscoBall
DiscoBall.BrickColor = BrickColor.Black()
DiscoBall.Reflectance = 0.4
if DiscoBall.BrickColor ==BrickColor.Black() then
wait(1)
DiscoBall.BrickColor = BrickColor.new("Plum")
DiscoBall.Reflectance = 0 -- turns it back to normal
end
Bro I just need help stop being toxic. Why would I be 10 years old because I don't know how to script?
This man eats humans or what?
** You are now Level 5! **
Lol
that looks odd and kinda bad
local Disco = workspace.DiscoBall
function Change(Part, BrickColor, Color, newColor)
Part.BrickColor = BrickColor
if BrickColor == Color then
wait(1)
Part.BrickColor = newColor
Part.Reflectance = 0
end
end
Change(Disco, BrickColor.new("Black"), BrickColor.new("Black"), BrickColor.new("Plum"))```all better
\
Prove it
👍
That just was very impolite
Ok
Why?
i dont know
we still talking here?
You got warned for being toxic take that lesson for being toxic/mean and stop
.
omfg
Ok
What did he said?
You know you replied to it and said "That just was very impolite"
.
yea im a changed man 👍