LatviaCPI

mhm 2

May 20th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.22 KB | None | 0 0
  1. -- Made by LuaCritic | FE GUI for Wild Savannah.
  2.  
  3. repeat wait() until game.Players.LocalPlayer.Character
  4.  
  5. --
  6.  
  7. local Player = game:GetService("Players").LocalPlayer
  8. local Mouse = Player:GetMouse()
  9.  
  10. local KillEvent = workspace.RemoteServer.Death
  11.  
  12. local CKToggle = false
  13. local KVToggle = false
  14. local KAToggle = false
  15.  
  16. --
  17.  
  18. local function CreateInstance(Object,Properties)
  19. local NewInstance = Instance.new(Object)
  20. for i,v in pairs(Properties) do
  21.     NewInstance[i] = v
  22. end
  23.     return NewInstance
  24. end
  25.  
  26. --
  27.  
  28. local MainGui = CreateInstance("ScreenGui", {Name = "MainGui", ResetOnSpawn = true, Enabled = true, Parent = game:GetService("Players").LocalPlayer.PlayerGui})
  29. local MainFrame = CreateInstance("Frame", {Name = "MainFrame", Size = UDim2.new(0, 220, 0, 160), Position = UDim2.new(0.5, -125, 0.5, -125), BackgroundColor3 = Color3.fromRGB(50, 18, 46), BackgroundTransparency = 0, BorderSizePixel = 0, Parent = MainGui, Active = true, Draggable = true})
  30. local Notice = CreateInstance("TextLabel", {Name = "Notice", Text = "Fuck yeah", BorderSizePixel = 0, BackgroundColor3 = Color3.fromRGB(15, 15, 15), BackgroundTransparency = 1, Parent = MainFrame, TextSize = 18, Size = UDim2.new(1, 0, 0, 15), Position = UDim2.new(0, 0, 0, 20), Font = Enum.Font.SourceSansLight, TextColor3 = Color3.fromRGB(255, 255, 255)})
  31. local ClickKill = CreateInstance("TextButton", {Name = "ClickKill", Text = "Click Kill", BorderSizePixel = 0, BackgroundColor3 = Color3.fromRGB(15, 15, 15), BackgroundTransparency = 0.8, Parent = MainFrame, TextSize = 18, Size = UDim2.new(1, 0, 0, 15), Position = UDim2.new(0, 0, 0, 50), Font = Enum.Font.SourceSansLight, TextColor3 = Color3.fromRGB(255, 255, 255)})
  32. local Victim = CreateInstance("TextBox", {Name = "VictimName", Text = "Victim's Name Here", BorderSizePixel = 0, BackgroundColor3 = Color3.fromRGB(15, 15, 15), BackgroundTransparency = 0.8, Parent = MainFrame, TextSize = 18, Size = UDim2.new(0, 180, 0, 15), Position = UDim2.new(0, 0, 0, 70), Font = Enum.Font.SourceSansLight, TextColor3 = Color3.fromRGB(255, 255, 255)})
  33. local KillVictim = CreateInstance("TextButton", {Name = "KillVictim", Text = "❌", BorderSizePixel = 0, BackgroundColor3 = Color3.fromRGB(25, 25, 25), BackgroundTransparency = 0.8, Parent = MainFrame, TextSize = 18, Size = UDim2.new(0, 70, 0, 15), Position = UDim2.new(0, 180, 0, 70), Font = Enum.Font.SourceSansLight, TextColor3 = Color3.fromRGB(255, 255, 255)})
  34. local KillAll = CreateInstance("TextButton", {Name = "KillAll", Text = "Kill All Players!", BorderSizePixel = 0, BackgroundColor3 = Color3.fromRGB(15, 15, 15), BackgroundTransparency = 0.8, Parent = MainFrame, TextSize = 18, Size = UDim2.new(1, 0, 0, 15), Position = UDim2.new(0, 0, 0, 90), Font = Enum.Font.SourceSansLight, TextColor3 = Color3.fromRGB(255, 255, 255)})
  35.  
  36.  
  37. --
  38.  
  39. Victim.FocusLost:Connect(function()
  40.     if Victim.Text == "" then
  41.         Victim.Text = "Victim's Name Here"
  42.     end
  43. end)
  44.  
  45. ClickKill.MouseButton1Down:Connect(function()
  46.     CKToggle = not CKToggle
  47.     if CKToggle == true then ClickKill.BackgroundColor3 = Color3.fromRGB(83, 121, 74) else ClickKill.BackgroundColor3 = Color3.fromRGB(15, 15, 15) end
  48.     Mouse.Button1Down:connect(function()
  49.         if CKToggle == true then
  50.             Mouse.TargetFilter = workspace.Water
  51.             print(Mouse.Target)
  52.             KillEvent:FireServer(game.Players[Mouse.Target.Parent.Name].Character)
  53.         else
  54.             print(nil)
  55.         end
  56.     end)
  57. end)
  58.  
  59. KillVictim.MouseButton1Down:Connect(function()
  60.     KVToggle = not KVToggle
  61.     if KVToggle == true then KillVictim.BackgroundColor3 = Color3.fromRGB(83, 121, 74) else KillVictim.BackgroundColor3 = Color3.fromRGB(15, 15, 15) end
  62.     while wait() do
  63.         if KVToggle == true then
  64.             local Char = game.Players[Victim.Text].Character
  65.             KillEvent:FireServer(Char)
  66.         else
  67.             print(nil)
  68.         end
  69.     end
  70. end)
  71.  
  72. KillAll.MouseButton1Click:Connect(function()
  73.     KAToggle = not KAToggle
  74.     if KAToggle == true then KillAll.BackgroundColor3 = Color3.fromRGB(83, 121, 74) else KillAll.BackgroundColor3 = Color3.fromRGB(15, 15, 15) end
  75.     while wait() do
  76.     if KAToggle == true then
  77.     for i,v in pairs(game.Players:GetChildren()) do
  78.         if v.Name ~= Player.Name and not v:IsFriendsWith(Player.UserId) then
  79.                 KillEvent:FireServer(v.Character)
  80.                     print("Ded: "..v.Name)
  81.         else
  82.             print(nil)
  83.                 end
  84.             end
  85.         end
  86.     end
  87. end)
Advertisement
Add Comment
Please, Sign In to add comment