SHOW:
|
|
- or go back to the newest paste.
| 1 | - | Name="yfc" |
| 1 | + | local plr = game:service'Players'.LocalPlayer |
| 2 | - | pcall(function() workspace.hotboybilly.Droid:remove() end) |
| 2 | + | local char = plr.Character |
| 3 | - | player = game.Players.hotboybilly |
| 3 | + | local mouse = plr:GetMouse() |
| 4 | - | char = player.Character |
| 4 | + | local humanoid = char:findFirstChild("Humanoid")
|
| 5 | - | char.Humanoid.MaxHealth = math.huge |
| 5 | + | local torso = char:findFirstChild("Torso")
|
| 6 | - | wait(0.5) |
| 6 | + | local head = char.Head |
| 7 | - | char.Humanoid.Health = char.Humanoid.MaxHealth |
| 7 | + | local cam = workspace.CurrentCamera |
| 8 | - | |
| 8 | + | mouse.Button1Down:connect(function() |
| 9 | - | Time=500000 |
| 9 | + | hit = mouse.Target |
| 10 | - | |
| 10 | + | if hit ~= nil and hit.Name ~= "Base" then |
| 11 | - | r=tick() |
| 11 | + | hit:BreakJoints() |
| 12 | - | wait() |
| 12 | + | hit.Anchored = false |
| 13 | - | print("Your life span is: ~"..math.floor((Time/(tick()-r))*(tick()-r)))
|
| 13 | + | local bp = Instance.new("BodyPosition", hit)
|
| 14 | - | |
| 14 | + | bp.maxForce = Vector3.new(hit:GetMass()*196.2, hit:GetMass()*196.2,hit:GetMass()*196.2) |
| 15 | - | function Infect(char) |
| 15 | + | bp.D = 500 |
| 16 | - | Color=BrickColor.new("Brown")
|
| 16 | + | for _ = 0, 2 do |
| 17 | - | Color2=BrickColor.new("Grime")
|
| 17 | + | local p = Instance.new("Part", char)
|
| 18 | - | local model = Instance.new("Model")
|
| 18 | + | p.BrickColor = BrickColor.random() |
| 19 | - | model.Parent = char |
| 19 | + | p.Shape = "Ball" |
| 20 | - | model.Name = "Droid" |
| 20 | + | p.FormFactor = "Custom" |
| 21 | - | char.Humanoid.WalkSpeed=12 |
| 21 | + | p.CFrame = hit.CFrame * CFrame.new(math.random(-1, 1),math.random(-1, 1),math.random(-1, 1)) |
| 22 | - | fake=char.Head:clone() |
| 22 | + | local bp2 = Instance.new("BodyPosition", p)
|
| 23 | - | pcall(function() fake.face:remove() char.Head.face:remove() |
| 23 | + | bp2.maxForce = Vector3.new(p:GetMass()*196.2, p:GetMass()*196.2,p:GetMass()*196.2) |
| 24 | - | char.Head.Transparency=1 |
| 24 | + | bp2.D = 3000 |
| 25 | - | fake.Parent=model |
| 25 | + | bp2.position = head.Position |
| 26 | - | fake.Transparency=0 |
| 26 | + | p.Size = Vector3.new(0.5, 0.5, 0.5) |
| 27 | - | w=Instance.new("Weld")
|
| 27 | + | game:service'Debris':AddItem(p, 1) |
| 28 | - | w.Part1=fake |
| 28 | + | |
| 29 | - | w.Part0=char.Head |
| 29 | + | while hit ~= nil and wait() do |
| 30 | - | w.Parent=char |
| 30 | + | if bp ~= nil then |
| 31 | - | fake.Mesh.Scale=fake.Mesh.Scale+Vector3.new(-0.01,-0.01,-0.01) |
| 31 | + | bp.position = torso.Position |
| 32 | - | fake.BrickColor=Color2 |
| 32 | + | |
| 33 | - | for _,v in pairs(char:children()) do |
| 33 | + | if (hit.Position - torso.Position).magnitude < 4 then |
| 34 | - | if v.className=="Part" then |
| 34 | + | hit:Destroy() |
| 35 | - | v.TopSurface="Smooth" |
| 35 | + | break |
| 36 | - | v.BottomSurface="Smooth" |
| 36 | + | |
| 37 | - | elseif v.className=="Hat" then |
| 37 | + | |
| 38 | - | v:remove() |
| 38 | + | |
| 39 | end) |