Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Part1 = Instance.new("Part", owner.Character)
- Part1.Size = Vector3.new(1,1,1)
- Part1:SetNetworkOwner(owner)
- b = Instance.new("BodyVelocity",Part1)
- b.Velocity = Vector3.new()
- b.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- Part1.Name = "The"
- Part1.Shape = Enum.PartType.Ball
- local vel
- local infected = {}
- game:GetService("RunService").Heartbeat:connect(function()
- pcall(function()
- for i,v in pairs(workspace:GetDescendants()) do
- if v ~= owner.Character:GetDescendants() then
- if v.Name ~= "Base" then
- if v ~= infected then
- local attachment0 = Instance.new("Attachment")
- attachment0.Parent = v
- local attachment1 = Instance.new("Attachment")
- attachment1.Parent = Part1
- alignposition = Instance.new("LineForce")
- alignposition.Parent = owner.Character.HumanoidRootPart
- alignposition.Attachment0 = attachment0
- alignposition.Attachment1 = attachment1
- alignposition.InverseSquareLaw = true
- v.Anchored = false
- alignposition.Magnitude = alignposition.Magnitude * 0.5
- table.insert(infected,v)
- end
- end
- end
- end
- end)
- end)
- NLS([[
- Part1 = owner.Character:WaitForChild("The")
- game:GetService("RunService").RenderStepped:Connect(function()
- Part1.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0,10,-10)
- end)
- ]],owner.PlayerGui)
Add Comment
Please, Sign In to add comment