Advertisement
satyajitsrichandan

🧊 The Vault Scripts (Anti-AFK, Fly, Freeze)

Jun 25th, 2025
5
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. -- 🧊 Grow a Garden - The Vault Utility Script (2025)
  2. -- Anti-AFK, Fly, Freeze, Server Rejoin, and more tools in one.
  3.  
  4. local player = game.Players.LocalPlayer
  5. local rs = game:GetService("ReplicatedStorage")
  6.  
  7. -- 🔒 Anti-AFK
  8. game:GetService("VirtualUser").Button2Down = Vector2.new(0,0)
  9. game:GetService("Players").LocalPlayer.Idled:Connect(function()
  10. game:GetService("VirtualUser"):ClickButton2(Vector2.new())
  11. end)
  12.  
  13. -- 🕊️ Fly Toggle
  14. local flying = false
  15. local UIS = game:GetService("UserInputService")
  16. UIS.InputBegan:Connect(function(input)
  17. if input.KeyCode == Enum.KeyCode.F then
  18. flying = not flying
  19. local hrp = player.Character:FindFirstChild("HumanoidRootPart")
  20. if flying then
  21. game:GetService("RunService").Heartbeat:Connect(function()
  22. if flying and hrp then
  23. hrp.Velocity = Vector3.new(0, 30, 0)
  24. end
  25. end)
  26. end
  27. end
  28. end)
  29.  
  30. -- 🧊 Freeze Character
  31. function freeze()
  32. player.Character.HumanoidRootPart.Anchored = true
  33. end
  34.  
  35. function unfreeze()
  36. player.Character.HumanoidRootPart.Anchored = false
  37. end
  38.  
  39. -- 🔁 Rejoin Server
  40. function rejoinServer()
  41. game:GetService("TeleportService"):TeleportToPlaceInstance(
  42. game.PlaceId,
  43. game.JobId,
  44. player
  45. )
  46. end
  47.  
  48. -- 🔄 Server Hop
  49. function serverHop()
  50. local HttpService = game:GetService("HttpService")
  51. local servers = HttpService:JSONDecode(
  52. game:HttpGet("https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100")
  53. )
  54. for _, server in pairs(servers.data) do
  55. if server.playing < server.maxPlayers then
  56. game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, server.id)
  57. break
  58. end
  59. end
  60. end
  61.  
  62. print("✅ Vault Utility Tools Loaded – Press F to Fly")
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement