You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? A safe ending
-
What is the issue? Explosion still kills me even if I am inside the vault
-
What solutions have you tried so far? I found no errors
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
Kill script;
workspace.B.Touched:Connect(function(hit)
if hit.Parent.Humanoid then
if hit.Parent.W.Value == true then
script.Parent.Parent.Enabled = true
hit.Parent.Humanoid:TakeDamage(100000)
script.Parent.A.Disabled = false
script.Parent.Parent.A.LocalScript.Disabled = false
end
end
end)
Check safe script:
workspace.T.Touched:Connect(function(hit)
if hit.Parent.Humanoid then
hit.Parent.W.Value = true
end
end)```
Please do not ask people to write entire scripts or design entire systems for you. If you can't answer the three questions above, you should probably pick a different category.