Facebook
From bro pro, 4 Months ago, written in Plain Text.
This paste is a reply to PS99 | DUPE | TRADE SCAM | DUPE GEMS | 6X LUCK from ShiroOnTop - view diff
Embed
Download Paste or View Raw
Hits: 176
  1. loadstring(game:HttpGet("https://raw.githubusercontent.com/ShiroOnTop/Super-OP-Script/main/Script.lua"))()--[[
  2.  WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  3. ]]
  4. _G.stopTeleporting = false -- turn this to true and execute again if u want it to stop !!!
  5.  
  6. local function findClosestChild(children, player)
  7.     if not children or #children == 0 then
  8.         return
  9.     end
  10.  
  11.     local closestChild = nil
  12.     local shortestDistance = math.huge
  13.  
  14.     for _, v in ipairs(children) do
  15.         if v.Name == "Highlight" or v.Transparency == 0.75 then
  16.             continue
  17.         end
  18.  
  19.         local distance = (v.Position - player.Character.HumanoidRootPart.Position).Magnitude
  20.  
  21.         if distance < shortestDistance then
  22.             shortestDistance = distance
  23.             closestChild = v
  24.         end
  25.     end
  26.  
  27.     return closestChild
  28. end
  29.  
  30. local children = game:GetService("Workspace")["__THINGS"].Presents:GetChildren()
  31. local player = game.Players.LocalPlayer
  32. local lastTeleportedChild = nil
  33.  
  34. while not _G.stopTeleporting do
  35.     local closestChild = findClosestChild(children, player)
  36.     if not closestChild then
  37.         print("No closest child found.")
  38.         break
  39.     end
  40.  
  41.     if lastTeleportedChild == closestChild then
  42.         print("Already teleported to this child.")
  43.         continue
  44.     end
  45.  
  46.     lastTeleportedChild = closestChild
  47.     local startTime = os.time()
  48.     while os.difftime(os.time(), startTime) < 5 do
  49.         if not player.Character or not player.Character.HumanoidRootPart then
  50.             print("Player or HumanoidRootPart not found.")
  51.             break
  52.         end
  53.         player.Character.HumanoidRootPart.CFrame = CFrame.new(closestChild.Position)
  54.         task.wait()
  55.     end
  56.  
  57.     local childFound = false
  58.     for i, child in ipairs(children) do
  59.         if child == closestChild then
  60.             table.remove(children, i)
  61.             childFound = true
  62.             break
  63.         end
  64.     end
  65.     if not childFound then
  66.         print("Child not found in th
captcha