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