ShoccessX

rec fps boost

Sep 15th, 2024 (edited)
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. -- LocalScript placed in StarterPlayerScripts or StarterCharacterScripts
  2.  
  3. -- Function to delete the specified paths
  4. local function deletePaths()
  5. local map = workspace:FindFirstChild("Map")
  6. if map then
  7. -- Delete Building
  8. local building = map:FindFirstChild("Building")
  9. if building then
  10. building:Destroy()
  11. print("Building deleted.")
  12. else
  13. print("Building not found.")
  14. end
  15.  
  16. -- Delete Fans
  17. local fans = map:FindFirstChild("Fans")
  18. if fans then
  19. fans:Destroy()
  20. print("Fans deleted.")
  21. else
  22. print("Fans not found.")
  23. end
  24.  
  25. -- Delete Banners
  26. local banners = map:FindFirstChild("Banners")
  27. if banners then
  28. banners:Destroy()
  29. print("Banners deleted.")
  30. else
  31. print("Banners not found.")
  32. end
  33.  
  34. -- Delete NeonLights
  35. local neonLights = map:FindFirstChild("NeonLights")
  36. if neonLights then
  37. neonLights:Destroy()
  38. print("NeonLights deleted.")
  39. else
  40. print("NeonLights not found.")
  41. end
  42. else
  43. print("Map not found.")
  44. end
  45. end
  46.  
  47. -- Call the function to delete the paths
  48. deletePaths()
Add Comment
Please, Sign In to add comment