I believe this has something to do with math and I do not currently have the knowledge to understand that, in terms of lua, yet. That being said, how could I make this script work more smoothly?
while true do
script.Parent.BorderSizePixel = 0
wait(0.1)
script.Parent.BorderSizePixel = 0.5
wait(0.1)
script.Parent.BorderSizePixel = 1
wait(0.1)
script.Parent.BorderSizePixel = 1.5
wait(0.1)
script.Parent.BorderSizePixel = 2
wait(0.1)
script.Parent.BorderSizePixel = 2.5
wait(0.1)
script.Parent.BorderSizePixel = 3
wait(0.1)
script.Parent.BorderSizePixel = 2.5
wait(0.1)
script.Parent.BorderSizePixel = 2
wait(0.1)
script.Parent.BorderSizePixel = 1.5
wait(0.1)
script.Parent.BorderSizePixel = 1
wait(0.1)
script.Parent.BorderSizePixel = 0.5
wait(0.1)
script.Parent.BorderSizePixel = 0
wait(0.1)
end

3 comments
Edited your title to not sound so opinion based. Thank me later (you won't get your Q closed as opinion based)
Also BorderSizePixel can only be an integer.
Oh, thanks