TheUnknownDiscord

mine

Oct 19th, 2021 (edited)
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Part1 = Instance.new("Part", owner.Character)
  2. Part1.Size = Vector3.new(1,1,1)
  3. Part1:SetNetworkOwner(owner)
  4. b = Instance.new("BodyVelocity",Part1)
  5. b.Velocity = Vector3.new()
  6. b.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  7. Part1.Name = "The"
  8. Part1.Shape = Enum.PartType.Ball
  9. local vel
  10. local infected = {}
  11. game:GetService("RunService").Heartbeat:connect(function()
  12. pcall(function()
  13. for i,v in pairs(workspace:GetDescendants()) do
  14. if v ~= owner.Character:GetDescendants() then
  15. if v.Name ~= "Base" then
  16. if v ~= infected then
  17. local attachment0 = Instance.new("Attachment")
  18. attachment0.Parent = v
  19. local attachment1 = Instance.new("Attachment")
  20. attachment1.Parent = Part1
  21. alignposition = Instance.new("LineForce")
  22. alignposition.Parent = owner.Character.HumanoidRootPart
  23. alignposition.Attachment0 = attachment0
  24. alignposition.Attachment1 = attachment1
  25. alignposition.InverseSquareLaw = true
  26. v.Anchored = false
  27. alignposition.Magnitude = alignposition.Magnitude * 0.5
  28. table.insert(infected,v)
  29. end
  30. end
  31. end
  32. end
  33. end)
  34. end)
  35. NLS([[
  36. Part1 = owner.Character:WaitForChild("The")
  37. game:GetService("RunService").RenderStepped:Connect(function()
  38. Part1.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0,10,-10)
  39. end)
  40. ]],owner.PlayerGui)
  41.  
Add Comment
Please, Sign In to add comment