Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I change a selection box's color?

Asked by 10 years ago
p = script.Parent
s = p.SelectionBox
k = p.Kill

while true do
    s.Color = BrickColor.new("Bright blue")
    p.BrickColor = BrickColor.new("Bright blue")
    k.Disabled = true
        wait(5)
    s.Color = BrickColor.new("Bright red")
    p.BrickColor = BrickColor.new("Bright red")
    k.Disbaled = false
        wait(5)
end

Nothing happens in-game. How do I make it work? I've already checked the wiki, and that's how it said to do it.

1 answer

Log in to vote
1
Answered by
Spectrobz 140
10 years ago

"Disbaled" > Change it to Disabled first.

0
I'm an idiot sometimes. I'm not so good at proof-reading. Lightdrago 95 — 10y
Ad

Answer this question