So when i click my button, there is huge delay, and it is super annoying. Can someone tell how to fix that?
function onButtonClicked() script.Parent.Position= UDim2.new(0,0,0.007,0) script.Sound:Play() wait(0.2) script.Parent.Position= UDim2.new(0,0,0.0,0) end script.Parent.MouseButton1Click:connect(onButtonClicked)