I am making a simulator game and when you click with the tool a star is meant to appear with a TextLabel under it. The problem is the star won't appear but the TextLabel will. Both the star and TextLabel is parented by the same Frame. The variable for the frame is called 'AddMagicStrengthGui' Thanks for reading.
Mouse.Button1Down:Connect(function() if WandTool then if debounce == true then return end debounce = true if Character:FindFirstChild(""..WandTool.Name) then local WandMovementAnimTrack = Animator:LoadAnimation(WandMovement) WandMovementAnimTrack:Play() AddMagicStrengthGui.Visible = true GenerateRandomPosition() RotateGui(AddedMagicGui) AddMagicStrengthGui.TextLabel.Text = "+"..WandTool.AddMagicValue.Value * game:GetService("ReplicatedStorage").StatsMultiplier.Value game.Players.LocalPlayer:WaitForChild("leaderstats"):WaitForChild("Magic").Value = math.min(MagicPoints.Value + WandTool.AddMagicValue.Value * game:GetService("ReplicatedStorage").StatsMultiplier.Value, MaxMagic) _G.AddStoredMagicToBackPack() end wait(0.7) debounce = false AddMagicStrengthGui.Visible = false end end)