I am making another game called 'Code Hunters 3' and I really need to get to work on it, but I tried to fix this for about a month and no progress. I tried several scripts with UDim2.new, but the screen opens for every single player on the server.
How I want it:
What's Happening:
I tried using script.Parent.Parent:TweenPosition(UDim2.new(0, 0.5, 0, 0.2), "In", "Bounce", 2, true)
I also tried using game.Players.LocalPlayer.PlayerGui.Screen.Frame:TweenPosition(0, 0.5, 0, 0.2), "In", "Bounce", 2, true)
Of course I use to open the frame:
script.Parent.MouseButton1Click:Connect(function(onClick) end)
Full script:
script.Parent.MouseButton1Click:Connect(function(onClick) game.Players.LocalPlayer.PlayerGui.Collections.Open:TweenPosition(UDim2.new(0, 0, 0.4, 0), "Out", "Bounce", 2, true) game.Players.LocalPlayer.PlayerGui.Collections.Hint:TweenPosition(UDim2.new(-1, 0, 0.4, 0), "Out", "Bounce", 2, false) --Hint Restarts game.Players.LocalPlayer.PlayerGui.Collections.Frame:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Bounce", 2, false) --Frame Shrinking... wait(1.9) game.Players.LocalPlayer.PlayerGui.Collections.Frame.BorderSizePixel = 0 wait(2) game.Players.LocalPlayer.PlayerGui.Collections.Frame:TweenPosition(UDim2.new(0.3, 0, -1, 0), "Out", "Bounce", 2, false) --Frame Returning to its wait(2) game.Players.LocalPlayer.PlayerGui.Collections.Frame:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Bounce", 2, false) end)