Seenay
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 56 |
|
|
| 29 Jul 2014 04:14 PM |
I am probably entirely wrong q_q, sorry if that's the case.
local button = script.Parent local button2 = button.MouseEnter:connect(function(x, y) if button2 == true then button.BorderColor3 = Color3.new(215,005,122) end end) |
|
|
| Report Abuse |
|
|
Krypticon
|
  |
| Joined: 12 Feb 2014 |
| Total Posts: 680 |
|
|
| 29 Jul 2014 04:22 PM |
You're missing a closing bracket in line 2. It should be like:
local button2 = button.MouseEnter:connect(function(x, y))
:) |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 29 Jul 2014 04:24 PM |
local button = script.Parent
button.MouseEnter:connect(function() button.BorderColor3 = Color3.new(215,005,122) end) |
|
|
| Report Abuse |
|
|
Seenay
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 56 |
|
|
| 29 Jul 2014 04:27 PM |
Ahh, thanks :).
I changed the script and I think this should work!
Button = script.Parent
Button.MouseEnter:connect(function() Button.BorderColor3 = Color3.new(0, 0, 0) end)
Button.MouseLeave:connect(function() Button.BorderColor3 = Color3.new(255, 255, 255) end)
Button.MouseEnter(MouseEnter) Button.MouseLeave(MouseLeave)
Thanks anyway though :P, xD. |
|
|
| Report Abuse |
|
|