I’m new to scripting, so apologies if this post is structured poorly as it is my first ever.
Basically, I’m trying to have it so when a player joins the game, they see an intro gui that slides out of the way after a little bit.
Problem is though, it just doesn’t move. I’ve watched dozens of tutorials, gone over several similar questions, and changed the code a bunch. I’ve made sure that the coordinates are right, as well. It’s probably some little thing that I didn’t notice, so please help.
As @IEnforce_Lawz mentioned, my script should work fine for your needs, I don’t believe it requires any changes. If you want it to work after the player’s character has been added, I could you can use this instead
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
wait(1)
script.Parent.Frame:TweenPosition(UDim2.new(-2,0,0,0),"Out","Quad",2,false)
local player = game.Players.LocalPlayer
repeat wait(0.5) until player:FindFirstChild("PlayerGui")
wait(1)
script.Parent.Frame:TweenPosition(UDim2.new(-2,0,0,0),"Out","Quad",2,false)