Hey, Ive had trouble with my gui queue system for the past 2 minutes but i honestly dont know what i did wrong and too lazy to investigate, i need my sleeps,
So i did a (i though was) smart system, where it clones the same da- im not gonna explain it lol too long
bassicly the event is a bindable event
heres the first script
script.Parent.make.MouseButton1Click:Connect(function()
game.ReplicatedStorage.CreateEvent:Fire(script.Parent.Desc.Text, script.Parent.Miss.Text, script.Parent.Difficuloty.Text, game.Players.LocalPlayer)
end)
heres the second most important one
game.ReplicatedStorage.CreateEvent.Event:Connect(function(Description, Mission, Difficulty, Owner)
local clone = game.ReplicatedStorage.Lobbies.Template:Clone()
clone.Description.Text = Description
clone.Mission.Text = Mission
clone.Difficulty.Text = Difficulty
clone.Title.Text = Owner.Name.."'s Lobby"
local thumbType = Enum.ThumbnailType.HeadShot
local thumbSize = Enum.ThumbnailSize.Size420x420
local content, isReady = game.Players:GetUserThumbnailAsync(Owner.UserId, thumbType, thumbSize)
clone.PlayerImage.Image = content
clone.Visible = true
clone.Parent = script.Parent.MainFrame
clone.Name = Owner.UserId
end)
i though i was smart but im not