I am making a zombie game and at the last part of the game there is a tank and I wanna know how to do it so that the when everyone kills the tank victory music plays. The tank already has a script that destroys it from the workspace and also I don't want any while true do scripts :)
You can put a script inside the tank that runs a Humanoid.Died function
local Humanoid = script.Parent.Humanoid Humanoid.Died:Connect(function() --play the victory music end)
Closed as Not Constructive by Leamir and youtubemasterWOW
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?