I have absolutely no idea why this happens. Here’s my UI.
As you can see, I tried multiple things.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Remotes = ReplicatedStorage:WaitForChild("Remotes")
local Remote_MORPH = Remotes:WaitForChild("Morphify")
local Morphs = ReplicatedStorage:WaitForChild("Morphs")
local GUI = script:WaitForChild("UI_Morphs")
local AcceptedIDs = {855322628}
function AddUI(Player)
if table.find(AcceptedIDs, Player.UserId) and not Player:WaitForChild("PlayerGui"):FindFirstChild(GUI.Name) then
GUI:Clone().Parent = Player:WaitForChild("PlayerGui")
end
end
game:GetService("Players").PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
AddUI(Player)
end)
end)
game:GetService("Players").ChildAdded:Connect(function(Player)
AddUI(Player)
end)