My TweenPosition script is not working and I have no idea why.
function hide(name)
name:TweenPosition(UDim2.new(0, 0, 1, -50), 'Out', 'Bounce', 1)
end
script.Parent.Parent.Players.PlayerAdded:connect(function(player)
local SMGuiC = script.Parent.Parent.ServerStorage:WaitForChild("SMGui"):Clone()
local smtext = SMGuiC:WaitForChild("SM").SMText
smtext.Text = "You joined the server with Rank "..player:GetRankInGroup(3583996)
SMGuiC.Parent = script.Parent.Parent.StarterGui
SMGuiC.SM.Visible = true
wait(3)
print("you got mail")
hide(SMGuiC.SM)
wait(1)
end)

2 comments
You don't exactly use hide() in this script... u make it a function and name isn't really defined
Do you know how functions work?