Advertisement
XiByteGam123457890

LandMine Script

May 10th, 2024 (edited)
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. Land Mine Script
  2. -------------------------------------
  3. local respawnTime = 2
  4.  
  5. script.Parent.Touched:Connect(function(hit)
  6. if script.Parent.Transparency == 1 then return end
  7. script.Parent.Transparency = 1
  8.  
  9. local explosion = Instance.new("Explosion", script.Parent)
  10. explosion.Position = script.Parent.Position
  11. game:GetService("Debris"):AddItem(explosion, 2)
  12.  
  13. wait(respawnTime)
  14. script.Parent.Transparency = 0
  15. end)
  16. -------------------------------------
  17. PLAY MY ROBLOX GAME - https://www.roblox.com/games/16800723712/WARSHIP-UPDATE-TD-WARS -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement