From venuslockscript, 6 Months ago, written in C++.
Embed
  1. for i,v in pairs(game.Workspace.NPCs:GetDescendants()) do
  2.     local args = {
  3.         [1] = v,
  4.         [2] = game:GetService("Players").LocalPlayer
  5.     }
  6.    
  7.     game:GetService("ReplicatedStorage").Events.Network.SetNetworkOwnership:FireServer(unpack(args))
  8. end
  9.  
  10. for i,v in pairs(game.Workspace.Items:GetDescendants()) do
  11.     local args = {
  12.         [1] = v,
  13.         [2] = game:GetService("Players").LocalPlayer
  14.     }
  15.    
  16.     game:GetService("ReplicatedStorage").Events.Network.SetNetworkOwnership:FireServer(unpack(args))
  17. end
  18. --[[ FE Unanchored Parts Follow
  19.     Script made by Cyclically | Credits to dhruvil123 for a few parts of the script
  20.     also credits to "Discordgotbanned" in discord for giving me motivation to fix this script
  21.     https://v3rmillion.net/member.php?action=profile&uid=785986
  22.     Don't edit script unless you know what you're doing. If you wanna add this into a script
  23.  
  24.     the floating unanchored parts around u will stop floating when a player is near but it will come back when they get far away again, this is due roblox's gay ass networkownershit
  25. ]]
  26. local LocalPlayer = game:GetService("Players").LocalPlayer
  27. local charcframe = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
  28. local unanchoredparts = {}
  29. local movers = {}
  30. for index, part in pairs(workspace:GetDescendants()) do
  31.    if part:IsA("Part") and part.Anchored == false and part:IsDescendantOf(LocalPlayer.Character) == false then
  32.        table.insert(unanchoredparts, part)
  33.        part.Massless = true
  34.        part.CanCollide = false
  35.        if part:FindFirstChildOfClass("BodyPosition") ~= nil then
  36.            part:FindFirstChildOfClass("BodyPosition"):Destroy()
  37.        end
  38.    end
  39. end
  40. for index, part in pairs(unanchoredparts) do
  41.    local mover = Instance.new("BodyPosition", part)
  42.    table.insert(movers, mover)
  43.    mover.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  44. end
  45. repeat
  46.    for index, mover in pairs(movers) do
  47.        mover.Position = charcframe:PointToWorldSpace(Vector3.new(math.random(0, 20), math.random(0, 20), math.random(0, 20)))
  48.    end
  49.    wait(0.5)
  50. until LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0
  51. for _, mover in pairs(movers) do
  52.    mover:Destroy()
  53. end