Right, the problem is that it won’t tween out but it would tween in. Sorry, I’m not the best with scripting.
game.ReplicatedStorage.Slock.OnClientEvent:Connect(function(plr)
script.Parent.TextLabel.Text = 'Server locked by '..plr.Name..', please contact staff on our commuincations server if you disconect.'
script.Parent:TweenPosition(UDim2.new(0, 290,0, 16),'Out','Quint',2)
wait(3)
script.Parent:TweenPosition(UDim2.new(0, 290,-0.6, 16)'Out','Quint',2)
end)
game.ReplicatedStorage.Slock.OnClientEvent:Connect(function(plr)
script.Parent.TextLabel.Text = 'Server locked by '..plr.Name..', please contact staff on our commuincations server if you disconect.'
script.Parent:TweenPosition(UDim2.new(0, 290,0, 16),'Out','Quint',2)
wait(3)
script.Parent:TweenPosition(UDim2.new(0, 290,-0.6, 16),'Out','Quint',2)
end)