I'd like to know if there's an event for TextButtons/ImageButtons that fire when the left mouse button is held down, as in you hold it down for a couple of seconds. I know MouseButton1Down, but that's not suiting for what I'm trying to do. What I'm trying to do is while the left mouse button is held down, a dummy model is rotated. The current script only fires when the mouse is clicked and not held down.
local dummy = workspace.Dummy
script.Parent.MouseButton1Click:Connect(function()
dummy:SetPrimaryPartCFrame(dummy.PrimaryPart.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(3),0))
end)

2 comments
Alternatively you set a value to true/false and do while that value. Set true when MouseButton1Down, and set false when MouseButton1Up
Hadn't thought about that, good idea!