Please Help!
I am trying to make my game a well scripted game, but the script below is when you click a button the frame comes bouncing down and when you click the X button it bounces right back to the original position. Why when my friend opens the button it appears for him and myself. I want the frame to only open with tweenposition for the player clicking it... not for the whole server! Please Help!
Frame Current Position when it's invisible = {0.3, 0},{-1, 0}
Open Script:
script.Parent.MouseButton1Click:Connect(function(onClick) script.Parent:TweenPosition(UDim2.new(-1, 0, 0.5, 0), "Out", "Bounce", 2, true) script.Parent.Parent.Frame:TweenPosition(UDim2.new(0.3, 0, 0.3, 0), "Out", "Bounce", 2, true) end)
Close Script:
script.Parent.MouseButton1Click:Connect(function(onClick) script.Parent.Parent.Parent.Open:TweenPosition(UDim2.new(0, 0, 0.5, 0), "Out", "Bounce", 2, true) script.Parent.Parent:TweenPosition(UDim2.new(0.3, 0, -1, 0), "Out", "Bounce", 2, true) end)
Remember, I do not want to make the script Visible and Invisible I want it to go high up where you cannot see it and down where you can. I am trying to make it where it opens for the player who clicks it for their screen ONLY!