Trying to make a Tower Defense game

I want to try and make a Tower Defenders game, except you need to use a morph to get a weapon then you touch a button to start the game

I have everything prepared but the issue is, the waves wont continue when a boss has died

Script for when the boss is dead
(my skills are very basic)

while true do
if game.Workspace.BossOne.Humanoid.Health = 0 then
game.Workspace.BossOne:Destroy()
game.Workspace.Message.Disabled = false --there's actually a script that disables it
game.StarterGui.Wave.Text = "Wave 2 starting next"
game.Workspace.WaveOneScript:Destroy() --WaveOneScript is the name of this script
end

Script of the message:

game.StarterGui.Wave.Text  = "Wave 2 out of 5"
game.Workspace.WaveTwoSTARTScript.Disabled = false -- once again there is another script disabling it

Script of wave 2:

while true do
game.ServerStorage.BossTwo.Parent = game.Workspace
game.WaveTwoScript.Disabled = false
end

and of course, WaveTwoScript is

while true do
if game.Workspace.BossTwo.Humanoid.Health = 0 then
game.Workspace.BossTwo:Destroy()
game.Workspace.Message2.Disabled = false --there's actually a script that disables it
game.StarterGui.Wave.Text = "Wave 3 starting next"
game.Workspace.WaveTwoSTARTScript:Destroy() --WaveTwoSTARTScript is the name of this script
end

Message 2 is basically like the same as Message but wave 3 next
(I cant send a video for now)
I think you can get the idea

Just add an extra equals sign:

if game.Workspace.BossTwo.Humanoid.Health == 0 then
1 Like