Advertisement
VirusGuy99

possible testing

Oct 18th, 2020 (edited)
2,098
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.69 KB | None | 0 0
  1. function fakechar()
  2.     game.Players.LocalPlayer.Character:ClearAllChildren()
  3.     local model = Instance.new("Model", workspace)
  4.     local torso = Instance.new("Part", model)
  5.     torso.Name = "Torso1"
  6.     torso.Transparency = 1
  7.     local head = Instance.new("Part", model)
  8.     head.Name = "Head1"
  9.     head.Transparency = 1
  10.     local hum = Instance.new("Humanoid", model)
  11.     hum.Name = "Humanoid"
  12.     game.Players.LocalPlayer.Character = model
  13. end
  14. function kill(tar)
  15.     if game.Players.LocalPlayer.Character ~= nil and game.Players[tar].Character ~= nil then
  16.         game.Players.LocalPlayer.Character:BreakJoints()
  17.         fakechar()
  18.         game.Players.LocalPlayer.CharacterAdded:Wait()
  19.         game['RunService'].RenderStepped:wait()
  20.         if game.Players.LocalPlayer.Character ~= nil and tar ~= nil and game.Players[tar].Character ~= nil then
  21.             local arg1 = game.Players.LocalPlayer.Character:WaitForChild('Humanoid')
  22.             local arg2 = game.Players.LocalPlayer.Character:WaitForChild('HumanoidRootPart')
  23.             local arg3 = game.Players[tar].Character:FindFirstChild('Torso')
  24.             local arg4 = game.Players[tar].Character:FindFirstChild('Humanoid')
  25.             if arg1 ~= nil and arg2 ~= nil and arg3 ~= nil and arg4.Health ~= 0 then
  26.                 arg1:UnequipTools()
  27.                 local arg5 = game.Players.LocalPlayer.Backpack:FindFirstChildWhichIsA('Tool')
  28.                 if arg5 ~= nil then
  29.                     arg1.Name = ""
  30.                     local arg6 = arg1:Clone()
  31.                     arg6.Parent = game.Players.LocalPlayer.Character
  32.                     arg6.Name = arg6.ClassName
  33.                     arg1:Destroy()
  34.                     arg6.DisplayDistanceType = "None"
  35.                     workspace.Camera.CameraSubject = game.Players.LocalPlayer.Character
  36.                     wait(0.1)
  37.                     if arg5 ~= nil and game.Players.LocalPlayer.Character ~= nil then
  38.                         arg5.Parent = game.Players.LocalPlayer.Character
  39.                         repeat
  40.                             arg2.CFrame = arg3.CFrame + arg3.CFrame.rightVector * -2
  41.                             game['RunService'].RenderStepped:wait()
  42.                         until game.Players.LocalPlayer.Character == nil or arg4.Health == 0 or or arg4 == nil or arg5.Parent == game.Players.LocalPlayer.Character
  43.                         arg6.Health = 0
  44.                         game.Players.LocalPlayer.Character.Parent == nil
  45.                     end
  46.                 end
  47.             end
  48.         end
  49.     end
  50. end
  51. game.Players.LocalPlayer.Chatted:Connect(function(m)
  52.     if m:sub(1, 3) == '.k ' then
  53.         local target = m:sub(4)
  54.         kill(target)
  55.     end
  56. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement