x = script.Parent.Parent.Terminal
if script.Parent.Humanoid.Health < 1 then
msg = Instance.new("Message")
msg.Parent = game.Workspace
msg.Text = "The (Team Name) Has Won!"
x:remove()
wait(5)
msg:remove()
script.Parent:remove()
end
What about this isn't working?
