This is my code
local button = script.Parent.StartButtonFrame.StartButton
local edgingSizeX = script.Parent.StartButtonFrame.Edging.Size.X
local edgingSizeY = script.Parent.StartButtonFrame.Edging.Size.Y
local edgingPosY = script.Parent.StartButtonFrame.Edging.Position.Y
local edgingPosX = script.Parent.StartButtonFrame.Edging.Position.X
while true do
wait(0.1)
button.Size.X. = edgingSizeX
if button.Size.X = edgingSizeX then
print("X size is the same")
end
button.Size.Y = edgingSizeY
if button.Size.Y = edgingSizeY then
print("Y size is the same")
end
end
while true do
wait(0.1)
button.Size.X = edgingPosX
if button.Size.X = edgingPosX then
print("X pos is the same")
end
button.Size.Y = edgingPosY
if button.Size.Y = edgingPosY then
print("Y pos is the same")
end
end
When I run the script nothing gets outputted in the Logs. I put the script in the StarterPlayer scripts under the startbuttonscript for the start button in the infinite runner template on roblox studio.

1 comment
Apologies but if you just send me that script, I wouldn't of been able to tell anything as you aren't adding any edging in my eyes. Again, I could be mistaken.