function onTouched()
game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame:TweenPosition(UDim2.new(0.5, -250,0, 0))
end
script.Parent.Touched:connect(onTouched)

1 comment

0

Do not post the same question twice please. Also, please post explanation with your code. Not just the code itself.