#Make black frame move faster each time space is pressed

1 messages · Page 1 of 1 (latest)

obsidian flare
#
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
#

this is the tween that i use

plucky jetty
#

modifying speed

obsidian flare
#

i guess i can try it again i mean i tried it before but it didnt work

#

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