No its purely done on clicks, the mouse hovering there does nothing until you click (which you cant do until enough time has passed for the tween to complete first)
Heres the script for it:
Clicking the streak button:
sbutton.MouseButton1Click:Connect(function()
if sbutton.Active == true then
print("clicked 2")
script.Parent.Killstreak.Visible = true
script.Parent.Deploy:TweenPosition(
UDim2.new(0.747, 0,0.82, 0), -- end pos
"Out",-- easing direction
"Quad", -- style
1, -- time in seconds
false, -- override tweens
nil
)
script.Parent.adfr:TweenPosition(
UDim2.new(0.747, 0,0, -195), -- end pos
"Out",-- easing direction
"Quad", -- style
1, -- time in seconds
false, -- override tweens
nil
)
wait(0.2)
script.Parent.Killstreak:TweenPosition( --{1.155, 0},{0.229, 0}
UDim2.new(0.747, 0,0.229, 0), -- end pos
"Out",-- easing direction
"Quad", -- style
1.2, -- time in seconds
false, -- override tweens
nil
)
framed(2)
else
end
end)
elseif val == 2 then --sbutton
print("clicked 2 confirmed")
sframe.Visible = true
script.Parent.weaponsb.weaponsb1.TextButton.Active = false
script.Parent.caseb.caseb1.TextButton.Active = false
script.Parent.streaksb.streaksb2:TweenPosition(
UDim2.new(0.027, 0,0.233, 0), -- end pos
"Out",-- easing direction
"Quad", -- style
0.7, -- time in seconds
false, -- override tweens
nil
)
script.Parent.streaksb.streaksb1:TweenPosition(
UDim2.new(0.027, 0,-1.033, 0), -- end pos
"Out",-- easing direction
"Quad", -- style
0.7, -- time in seconds
false, -- override tweens
nil
)
script.Parent.weaponsb.weaponsb2:TweenPosition(
UDim2.new(0.027, 0,1.193, 0), -- end pos
"Out",-- easing direction
"Quad", -- style
0.7, -- time in seconds
false, -- override tweens
nil
)
script.Parent.weaponsb.weaponsb1:TweenPosition(
UDim2.new(0.027, 0,0.233, 0), -- end pos
"Out",-- easing direction
"Quad", -- style
0.7, -- time in seconds
false, -- override tweens
nil
)
wait(1)
cframe.Visible = false
wframe.Visible = false
wait(0.6)
script.Parent.weaponsb.weaponsb1.TextButton.Active = true
script.Parent.caseb.caseb1.TextButton.Active = true