All the Gui's in my recent game (Platforms) take 3-5 rapid clicks to register. I don't think it has anything to do with the code but I'll put it here anyway. I have it coded so that the frame is tweened. (It slides out from off the screen to the center of the screen, when button is pressed) If anyone could help me out here that would be great! Script:
IsOpened = false Moving = false script.Parent.playbutton.MouseButton1Click:Connect(function() if Moving == false then if IsOpened == true then IsOpened = false Moving = true script.Parent.playmenu:TweenPosition(UDim2.new(0.615, 0,0.5, 0), "InOut","Quart", 0.5, true) wait(0.5) Moving = false else Moving = true IsOpened = true script.Parent.playmenu:TweenPosition(UDim2.new(-0.615, 0,0.5, 0), "InOut","Quart", 0.5, true) wait(0.5) Moving = false end end end)