Advertisement
Guest User

Script Slaying

a guest
Mar 20th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.64 KB | None | 0 0
  1. -- made By ItzHxs YT
  2.  
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local title = Instance.new("TextLabel")
  7. local x = Instance.new("TextButton")
  8. local KLL = Instance.new("TextButton")
  9. local GD = Instance.new("TextButton")
  10.  
  11. -- initial variables
  12. hum = game.Players.LocalPlayer.Character.HumanoidRootPart
  13. thePlayer = game.Players.LocalPlayer.Character
  14.  
  15.  
  16. --Properties:
  17. ScreenGui.Parent = game.CoreGui
  18. ScreenGui.Active = true
  19.  
  20. Frame.Parent = ScreenGui
  21. Frame.BackgroundColor3 = Color3.new(0.0862745, 0.627451, 0.521569)
  22. Frame.BorderColor3 = Color3.new(0.152941, 0.682353, 0.376471)
  23. Frame.BorderSizePixel = 3
  24. Frame.Active = true
  25. Frame.Draggable = true
  26. Frame.Position = UDim2.new(0.283384293, 0, 0.228282824, 0)
  27. Frame.Size = UDim2.new(0, 405, 0, 223)
  28.  
  29. title.Name = "title"
  30. title.Parent = Frame
  31. title.BackgroundColor3 = Color3.new(0.0862745, 0.627451, 0.521569)
  32. title.BorderColor3 = Color3.new(0.152941, 0.682353, 0.376471)
  33. title.BorderSizePixel = 4
  34. title.Position = UDim2.new(0, 0, -0.00442997552, 0)
  35. title.Size = UDim2.new(0, 405, 0, 50)
  36. title.Font = Enum.Font.GothamBold
  37. title.Text = "Slaying Simulator"
  38. title.TextColor3 = Color3.new(0.172549, 0.243137, 0.313726)
  39. title.TextSize = 35
  40. title.TextWrapped = true
  41.  
  42. x.Name = "x"
  43. x.Parent = Frame
  44. x.BackgroundColor3 = Color3.new(1, 1, 1)
  45. x.BackgroundTransparency = 1
  46. x.Position = UDim2.new(0.923479378, 0, -0.00442997552, 0)
  47. x.Size = UDim2.new(0, 30, 0, 27)
  48. x.Font = Enum.Font.GothamBold
  49. x.Text = "X"
  50. x.TextColor3 = Color3.new(0.752941, 0.223529, 0.168627)
  51. x.TextScaled = true
  52. x.TextSize = 14
  53. x.TextWrapped = true
  54. x.MouseButton1Down:connect(function()
  55. Frame.Visible = false
  56. end)
  57.  
  58. KLL.Name = "KLL"
  59. KLL.Parent = Frame
  60. KLL.BackgroundColor3 = Color3.new(0.0862745, 0.627451, 0.521569)
  61. KLL.BorderColor3 = Color3.new(0.152941, 0.682353, 0.376471)
  62. KLL.BorderSizePixel = 4
  63. KLL.Position = UDim2.new(0.0247140378, 0, 0.331892878, 0)
  64. KLL.Size = UDim2.new(0, 152, 0, 44)
  65. KLL.Font = Enum.Font.GothamBold
  66. KLL.Text = "Auto Kill"
  67. KLL.TextColor3 = Color3.new(0.172549, 0.243137, 0.313726)
  68. KLL.TextSize = 21
  69. KLL.MouseButton1Down:connect(function()
  70.  
  71. if modifier == true then
  72. modifier = false
  73. KLL.BackgroundColor3 = Color3.new(0.0862745, 0.627451, 0.521569)
  74. else
  75. modifier = true
  76. KLL.BackgroundColor3 = Color3.new(40, 127, 71)
  77. kill()
  78. end
  79. end)
  80.  
  81.  
  82. GD.Name = "GD"
  83. GD.Parent = Frame
  84. GD.BackgroundColor3 = Color3.new(0.0862745, 0.627451, 0.521569)
  85. GD.BorderColor3 = Color3.new(0.152941, 0.682353, 0.376471)
  86. GD.BorderSizePixel = 4
  87. GD.Position = UDim2.new(0.600022674, 0, 0.331892878, 0)
  88. GD.Size = UDim2.new(0, 152, 0, 44)
  89. GD.Font = Enum.Font.GothamBold
  90. GD.Text = "INF. HEALTH"
  91. GD.TextColor3 = Color3.new(0.172549, 0.243137, 0.313726)
  92. GD.TextSize = 21
  93. GD.MouseButton1Down:connect(function()
  94.  
  95. if eak == true then
  96. eak = false
  97. GD.BackgroundColor3 = Color3.new(0.0862745, 0.627451, 0.521569)
  98. else
  99. eak = true
  100. GD.BackgroundColor3 = Color3.new(40, 127, 71)
  101. gode()
  102. end
  103. end)
  104.  
  105.  
  106. -- Scripts:
  107.  
  108. -- Kill
  109. function kill()
  110. while modifier do
  111. wait()
  112. if game.Workspace.Enemies["Deathspeaker"]:FindFirstChild(" ") ~= nil then
  113. if game.Workspace.Enemies["Deathspeaker"][" "]:FindFirstChild("UpperTorso") ~= nil then
  114. if game.Workspace.Enemies["Deathspeaker"][" "]:FindFirstChild("HumanoidRootPart") ~= nil then
  115. hum = game.Players.LocalPlayer.Character.HumanoidRootPart
  116. enemie = game.Workspace.Enemies["Deathspeaker"]:FindFirstChild(" ")
  117. hum.CFrame = enemie.HumanoidRootPart.CFrame * CFrame.new(-3.5,0,3)
  118. if enemie:FindFirstChild("DeathspeakerScythe") ~= nil then
  119. sword = enemie:FindFirstChild("DeathspeakerScythe")
  120. sword:Destroy()
  121. end
  122. char = game.Players.LocalPlayer.Character:GetChildren()
  123. for i = 1, #char do
  124. if char[i].ClassName == "Tool" then
  125. char[i].ControlFolder.PlayAnimation:FireServer()
  126. end
  127. end
  128. wait(0.3)
  129. if enemie.Humanoid.Health ~= enemie.Humanoid.MaxHealth and game.Workspace.Enemies:FindFirstChild("Deathspeaker") ~= nil then
  130. if enemie:FindFirstChild("UpperTorso") ~= nil then
  131. enemie.UpperTorso:Destroy()
  132. end
  133. end
  134. end
  135. end
  136. end
  137. end
  138. end
  139.  
  140. -- GOD
  141.  
  142. function gode()
  143. while eak do
  144. wait()
  145. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  146. end
  147. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement