hey ! i wrote this code in a local script in a tool but …
local cloned = game.Players.LocalPlayer.PlayerGui.cooldowns.list.CooldownTemplate:Clone()
cloned.Parent = game.Players.LocalPlayer.PlayerGui.cooldowns.list
cloned.Visible = true
cloned.AttackName.Text = "Sugar Shot"
well, when i play the game and press the thing that activates the code, the gui doesnt shows up. but if i go into the player gui of the character its there! can anyone help