I created this gui that is designed to replace the current GUI of roblox with the same gui name and delete the old one. This new gui has a reset and question button which both reset and pop a question thingy above your head in studio. But it won't work in game. Not sure why. heres the scripts: Question script:
script.Parent.MouseButton1Down:connect(function() if script.Parent.Parent.Parent.Value.Value == 0 then local g = Instance.new("BillboardGui") g.Parent = script.Parent.Parent.Parent.Parent.Parent.Character.Head g.Size = UDim2.new(4,0,2,0) g.Name = "Q" local t = Instance.new("TextBox") t.Parent = script.Parent.Parent.Parent.Parent.Parent.Character.Head.Q t.Text = "Question" t.BackgroundTransparency = 1 t.TextColor3 = Color3.new(0/255, 170/255, 0/255) t.FontSize = "Size12" t.Size = UDim2.new(1,0,1,0) g.StudsOffset = Vector3.new(0, 3, 0) script.Parent.Parent.Parent.Value.Value = 1 else script.Parent.Parent.Parent.Value.Value = 0 script.Parent.Parent.Parent.Parent.Parent.Character.Head.Q.TextBox:Remove() script.Parent.Parent.Parent.Parent.Parent.Character.Head.Q:Remove() end end)
Reset Script:
script.Parent.MouseButton1Down:connect(function() script.Parent.Parent.Parent.Parent.Parent.Character.Torso:Destroy() end)
The console has no errors.