How do i apply a color script from a value?
Sorry for the title, i can't really explain it from a title.
What i'm trying to say is that im trying to make:
01 | mouse.KeyDown:connect( function (keys) |
03 | if mouse.Target ~ = nil then |
04 | if mouse.Target.Material = = Enum.Material.Pebble then |
05 | local SelectBox = Instance.new( "SelectionBox" , mouse.Target) |
07 | SelectBox.Adornee = mouse.Target |
08 | SelectBox.Color 3 = Color 3. fromRGB(script.Parent.Color.Value) |
The Color Value is a color3 value, but when i use the script the selectionbox appears to be black?