What am I doing wrong?
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
while wait() do
if Mouse.Target ~=nil and Mouse.Target.Name == 'HoverBrick' then
script.Parent.BorderSizePixel = 5
else
script.Parent.BorderSizePixel = 1
end
end
