xvc200

Insane Elevator Testing

Apr 30th, 2025 (edited)
936
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. local l = workspace:FindFirstChild("Lobby")
  2. if l then
  3. for _, name in ipairs({"PremiumDoor", "VIPDoor", "Timer1", "Timer2"}) do
  4. local p = l:FindFirstChild(name)
  5. if p then p:Destroy() end
  6. end
  7. for _, v in ipairs(l:GetChildren()) do
  8. if v:IsA("MeshPart") and v.Name == "Premium" then
  9. v:Destroy()
  10. end
  11. end
  12. end
  13.  
  14. local pos = Vector3.new(-110516.914, 8343.58203, 179.823822)
  15. for _, v in ipairs(workspace:GetDescendants()) do
  16. if v:IsA("BasePart") and v.Name == "aaaaaa" and (v.Position - pos).Magnitude < 0.01 then
  17. v:Destroy()
  18. end
  19. end
  20.  
  21. local StarterGui = game:GetService("StarterGui")
  22. StarterGui:SetCore("SendNotification", {
  23. Title = "All Doors Deleted",
  24. Text = "",
  25. Duration = 5
  26. })
Advertisement
Add Comment
Please, Sign In to add comment