Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Thanks for using this script
- This script was made by Joriangames/BloxianCode
- Want to know how to use this and script explanation?
- Check the video here: https://youtu.be/o80VXacZP9o
- ]]
- local frame = script.Parent.Parent.Frame
- script.Parent.MouseButton1Click:Connect(function()
- if frame.Position == UDim2.new(0.5, 0,0.5, 0) then
- frame:TweenPosition(UDim2.new(0.5,0,-0.5,0), Enum.EasingDirection.In, Enum.EasingStyle.Sine, true)
- else
- frame:TweenPosition(UDim2.new(0.5,0,0.5,0), Enum.EasingDirection.Out, Enum.EasingStyle.Sine, true)
- end
- end)
Add Comment
Please, Sign In to add comment