function module._MakePresserMove(speed : number)
if module.tween then
module.tween:Cancel()
end
local presser = Players.LocalPlayer.PlayerGui:WaitForChild("ScreenGui"):WaitForChild("Presser")
module.tween = TweenService:Create(presser, TweenInfo.new(speed, Enum.EasingStyle.Linear, Enum.EasingDirection.In, -1, true), {Position = UDim2.new(0.664, 0, 0.818, 0)})
module.currentSpeed = module.tween.TweenInfo.Time
module.tween:Play()
end
#Make black frame move faster each time space is pressed
1 messages · Page 1 of 1 (latest)
try cancel tween and create a new one
modifying speed
i guess i can try it again i mean i tried it before but it didnt work
now it just reverses to where it was played
i kept the code the same because it already is cancelling and creating a new one
like it only reverses to the position it was at when the tween began, instead of the start of the big white frame