I was writing a script and I tested it and my Text Button was there. Then I tried adding a Reset script to it and I tested it. And the button was gone. Please help me fix this, the script showed no errors. But what did I really not do right?
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = script.Parent
local textButton = Instance.new("TextButton")
textButton.Parent = screenGui
textButton.Position = UDim2.new(0, 25, 0, 50)
textButton.Size = UDim2.new(0, 150, 0, 50)
textButton.BackgroundColor3 = BrickColor.White().Color
textButton.Text = "Click Me To Reset!"
textButton.MoustButton1Down:connect(function()
Health.Humaniod = 0
textButton.MouseButton1Down:connect(function()
textButton.Text = "I've been clicked!"
end)
