Advertisement
Guest User

Anti Kick Not Bait WIth a GUI

a guest
May 20th, 2018
462
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.52 KB | None | 0 0
  1. --Made by <-[Tohru]->#6917 Gui made by Pete#0002
  2. --Enjoy!
  3. --Works against all kicks including IYkick
  4. --Give credit if used and dont abuse!
  5. --Works Best with Synapse!
  6. wait(1)
  7. print("Checking if Anti_Kick is already running.")
  8. wait(2)
  9. table.foreach(workspace:GetChildren(),function(a,b) if b.Name=="Anti_Kicklul" then game:GetService("Workspace").Anti_Kicklul:Destroy() end end)
  10. wait(1)
  11. warn("Initializing Anti Kick... DM <-[Tohru]->#6917 via Discord for questions...")
  12. wait(1.5)
  13. Instance.new("BoolValue",workspace).Name="Anti_Kicklul"
  14. AK=math.random(1,2)
  15. if AK==1 then
  16.     game.Workspace.Anti_Kicklul.Value = true
  17. elseif AK==2 then
  18.     game.Workspace.Anti_Kicklul.Value = false
  19. end
  20. wait(2.5)
  21. AntiKick = game.Workspace.Anti_Kicklul.Value
  22. if AntiKick == true then
  23. print("Anti kick has loaded and is now running. Took [10] Seconds!")
  24. elseif AntiKick == false then
  25. print("Anti kick failed to run! Run Script again")
  26. end
  27. wait(1)
  28. if AntiKick ==true then
  29. game:GetService("Players").LocalPlayer.Character.Humanoid.Health = 0
  30. print("Character Respawned. Anti Kick Should Work Fine Now!")
  31. end
  32.  -- Objects (Pete#0002)
  33.  
  34. local ScreenGui = Instance.new("ScreenGui")
  35. local Main = Instance.new("Frame")
  36. local AgreeOverlay = Instance.new("TextButton")
  37. local Status = Instance.new("TextLabel")
  38. local SynapseLogo = Instance.new("Frame")
  39. local LOGO = Instance.new("ImageLabel")
  40. local UIListLayout = Instance.new("UIListLayout")
  41.  
  42. function close()
  43.     if not ScreenGui then return end
  44.     Main:TweenPosition(UDim2.new(-0.15, 0, 0.200000003, 0), "In", "Quint", 0.5, false)
  45.     game:GetService("Debris"):AddItem(ScreenGui, 10)
  46. end
  47. wait(1)
  48.  
  49. -- Properties
  50.  
  51. ScreenGui.Parent = game.CoreGui
  52. ScreenGui.Name = "AntiKickGUI"
  53.  
  54. Main.Name = "Main"
  55. Main.Parent = ScreenGui
  56. Main.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  57. Main.BorderSizePixel = 0
  58. Main.Position = UDim2.new(-0.15, 0, 0.200000003, 0)
  59. Main.Size = UDim2.new(0.150000006, 0, 0.150000006, 0)
  60.  
  61. AgreeOverlay.Name = "OverrideTimerBTN"
  62. AgreeOverlay.Parent = Main
  63. AgreeOverlay.Size = UDim2.new(1, 0, 1, 0)
  64. AgreeOverlay.ZIndex = 2
  65. AgreeOverlay.BackgroundTransparency = 1
  66. AgreeOverlay.TextTransparency = 1
  67. AgreeOverlay.MouseButton1Click:connect(close)
  68.  
  69. Status.Name = "Status"
  70. Status.Parent = Main
  71. Status.BackgroundColor3 = Color3.new(1, 1, 1)
  72. Status.BackgroundTransparency = 1
  73. Status.Position = UDim2.new(0.0500000007, 0, 0, 50)
  74. Status.Size = UDim2.new(0.899999976, 0, 0.5, 0)
  75. Status.Font = Enum.Font.Code
  76. if AntiKick == true then
  77. Status.Text = "Anti kick has loaded and is now running. Click to dismimss."
  78. else
  79. Status.Text = "Anti kick failed to run! Run Script again. Click to dismiss."
  80. end
  81. Status.TextColor3 = Color3.new(1, 1, 1)
  82. Status.TextSize = 14
  83. Status.TextWrapped = true
  84. Status.TextYAlignment = Enum.TextYAlignment.Top
  85.  
  86. SynapseLogo.Name = "SynapseLogo"
  87. SynapseLogo.Parent = Main
  88. SynapseLogo.BackgroundColor3 = Color3.new(1, 1, 1)
  89. SynapseLogo.BackgroundTransparency = 1
  90. SynapseLogo.Position = UDim2.new(0, 0, 0.100000001, 0)
  91. SynapseLogo.Size = UDim2.new(1, 0, 0.300000012, 0)
  92.  
  93. LOGO.Name = "LOGO"
  94. LOGO.Parent = SynapseLogo
  95. LOGO.BackgroundColor3 = Color3.new(1, 1, 1)
  96. LOGO.BackgroundTransparency = 1
  97. LOGO.Position = UDim2.new(0.0500000007, 0, 0.0500000007, 10)
  98. LOGO.Selectable = true
  99. LOGO.Size = UDim2.new(0, 150, 0, 30)
  100. LOGO.Image = "rbxassetid://1188953704"
  101.  
  102. UIListLayout.Parent = SynapseLogo
  103. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  104.  
  105. Main:TweenPosition(UDim2.new(0, 0, 0.200000003, 0), "Out", "Quint", 0.5, false)
  106. wait(9)
  107.  
  108. close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement