sonywalker

Samurai Assainate

May 8th, 2019 (edited)
1,036
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.72 KB | None | 0 0
  1. local SamuraiApi = {}
  2.     -- Vars
  3.     local HS = game:GetService('RunService').Heartbeat
  4.     local plr = game.Players.LocalPlayer
  5.     local Slice = plr.Character.swrdhandle.Slice
  6.     local Slice2 = plr.Character.swrdhandle.Slice2
  7.     local Cancel =  plr.PlayerGui.QuestHandler.ScreenGui.Frame.TextButton
  8.     -- Cock n Ball Torture
  9.     getgenv().GodMode = true
  10.     getgenv().infStamina = true
  11.     function SamuraiApi:getQuest2()
  12.         repeat HS:wait()
  13.             for i,v in pairs(game:GetService("Workspace").builds.map.Board:GetDescendants()) do
  14.                 if v.Name == 'Hitbox' and v.Parent.Name == 'Paper' and v.name.Value == 'Assassinate' and v:IsA('Part') then
  15.                     game.Players.LocalPlayer.Character:WaitForChild('HumanoidRootPart').CFrame = v.CFrame + v.CFrame.lookVector * -2.5
  16.                     fireclickdetector(v.ClickDetector)
  17.                 end
  18.             end
  19.         until #game.Players.LocalPlayer.Missions:GetChildren() ~= 0
  20.     end
  21.     --
  22.     function SamuraiApi:god()
  23.         while GodMode do wait(1)
  24.             pcall(function()
  25.                 game.Players.LocalPlayer.Character.Blocking:Destroy()
  26.             end)
  27.         end
  28.     end
  29.     --
  30.     function SamuraiApi:infStamina()
  31.         while infStamina do wait(1)
  32.             pcall(function()
  33.                 game.Players.LocalPlayer.Character.MaxStamina:Destroy()
  34.             end)
  35.         end
  36.     end
  37.     --
  38.     function SamuraiApi:killTarget(name)
  39.         local Target = game.Players:FindFirstChild(name)
  40.         while Target.Character:WaitForChild("Humanoid").Health > 0 and game.Players:FindFirstChild(name) do  HS:wait()  
  41.             if  Target.Character.Humanoid.Health > 6 then
  42.                 Slice:FireServer()
  43.                 plr.Character:WaitForChild('HumanoidRootPart').CFrame = Target.Character:WaitForChild('HumanoidRootPart').CFrame * CFrame.new(0,5,0) *  CFrame.Angles(math.rad(-90),0,0)
  44.             elseif Target.Character.Humanoid.Health <= 6 then
  45.                 Slice2:FireServer(1)
  46.                 plr.Character:WaitForChild('HumanoidRootPart').CFrame = Target.Character:WaitForChild('HumanoidRootPart').CFrame + Target.Character:WaitForChild('HumanoidRootPart').CFrame.lookVector * -1
  47.             end
  48.         end
  49.         firesignal(Cancel.MouseButton1Click)
  50.     end
  51.     --
  52.     function SamuraiApi:HideYaShit()
  53.         pcall(function()
  54.         plr.Character:WaitForChild('HumanoidRootPart').CFrame = game:GetService("Workspace").builds.map.Board.Object.Main.CFrame * CFrame.new(0,-8,0)
  55.         plr.Character:WaitForChild('Torso').Anchored = true
  56.     wait(1)
  57.         plr.Character:WaitForChild('HumanoidRootPart').RootJoint:Destroy()
  58.         wait(2)
  59.         end)
  60.     end
  61. return SamuraiApi
Add Comment
Please, Sign In to add comment