Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GetPlayer(String)
- local Found = {}
- local strl = String:lower()
- if strl == "all" then
- for i,v in pairs(game.Players:GetPlayers()) do
- table.insert(Found,v.Name)
- end
- elseif strl == "others" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name ~= game.Players.LocalPlayer.Name then
- table.insert(Found,v.Name)
- end
- end
- elseif strl == "me" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name == game.Players.LocalPlayer.Name then
- table.insert(Found,v.Name)
- end
- end
- else
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:lower():sub(1, #String) == String:lower() then
- table.insert(Found,v.Name)
- end
- end
- end
- return Found
- end
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextBox = Instance.new("TextBox")
- local killbtn = Instance.new("TextButton")
- local burnbtn = Instance.new("TextButton")
- local firebtn = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.Active = true
- Frame.Draggable = true
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BackgroundTransparency = 0.40000000596046
- Frame.Position = UDim2.new(0.356390983, 0, 0.270417422, 0)
- Frame.Size = UDim2.new(0, 247, 0, 181)
- TextBox.Parent = Frame
- TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox.BackgroundTransparency = 0.5
- TextBox.Position = UDim2.new(0.0275043678, 0, 0.197065845, 0)
- TextBox.Size = UDim2.new(0, 232, 0, 34)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.new(0, 0, 0)
- TextBox.TextSize = 14
- killbtn.Name = "killbtn"
- killbtn.Parent = Frame
- killbtn.BackgroundColor3 = Color3.new(1, 1, 1)
- killbtn.BackgroundTransparency = 0.40000000596046
- killbtn.Position = UDim2.new(0.0639416128, 0, 0.43975535, 0)
- killbtn.Size = UDim2.new(0, 91, 0, 35)
- killbtn.Font = Enum.Font.SourceSans
- killbtn.Text = "Kill"
- killbtn.TextColor3 = Color3.new(0, 0, 0)
- killbtn.TextScaled = true
- killbtn.TextSize = 14
- killbtn.TextWrapped = true
- burnbtn.Name = "burnbtn"
- burnbtn.Parent = Frame
- burnbtn.BackgroundColor3 = Color3.new(1, 1, 1)
- burnbtn.BackgroundTransparency = 0.40000000596046
- burnbtn.Position = UDim2.new(0.0639416128, 0, 0.733974755, 0)
- burnbtn.Size = UDim2.new(0, 205, 0, 36)
- burnbtn.Font = Enum.Font.SourceSans
- burnbtn.Text = "Burn"
- burnbtn.TextColor3 = Color3.new(0, 0, 0)
- burnbtn.TextScaled = true
- burnbtn.TextSize = 14
- burnbtn.TextWrapped = true
- firebtn.Name = "firebtn"
- firebtn.Parent = Frame
- firebtn.BackgroundColor3 = Color3.new(1, 1, 1)
- firebtn.BackgroundTransparency = 0.40000000596046
- firebtn.Position = UDim2.new(0.529250145, 0, 0.43975535, 0)
- firebtn.Size = UDim2.new(0, 91, 0, 35)
- firebtn.Font = Enum.Font.SourceSans
- firebtn.Text = "Fire"
- firebtn.TextColor3 = Color3.new(0, 0, 0)
- firebtn.TextScaled = true
- firebtn.TextSize = 14
- firebtn.TextWrapped = true
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 0.60000002384186
- TextLabel.Size = UDim2.new(0, 247, 0, 25)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Military Warfare Tycoon GUI - ScriptX#3145"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextSize = 14
- -- Scripts:
- function SCRIPT_WZDO88_FAKESCRIPT() -- killbtn.killscript
- local script = Instance.new('LocalScript')
- script.Parent = killbtn
- script.Parent.MouseButton1Click:Connect(function()
- if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
- game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Backpack
- end
- wait()
- local target = GetPlayer(script.Parent.Parent.TextBox.Text)
- for i,v in pairs(target) do
- spawn(function()
- local tbl_main =
- {
- game.Players[v].Character.Humanoid,
- game.Players[v].Character.HumanoidRootPart,
- 1000,
- Vector3.new(0,0,0),
- 0,
- 0,
- false
- }
- game:GetService("Players").LocalPlayer.Backpack.Handgun["GunScript_Server"].InflictTarget:FireServer(unpack(tbl_main))
- end)
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_WZDO88_FAKESCRIPT))
- function SCRIPT_QLVE78_FAKESCRIPT() -- burnbtn.burnscript
- local script = Instance.new('LocalScript')
- script.Parent = burnbtn
- script.Parent.MouseButton1Click:Connect(function()
- if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
- game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Backpack
- end
- wait()
- local target = GetPlayer(script.Parent.Parent.TextBox.Text)
- for i,v in pairs(target) do
- spawn(function()
- for i=0,10 do
- wait(0.5)
- local tbl_main =
- {
- game.Players[v].Character.Humanoid,
- game.Players[v].Character.HumanoidRootPart,
- 10,
- Vector3.new(0,0,0),
- 0,
- 0,
- true
- }
- game:GetService("Players").LocalPlayer.Backpack.Handgun["GunScript_Server"].InflictTarget:FireServer(unpack(tbl_main))
- end
- end)
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_QLVE78_FAKESCRIPT))
- function SCRIPT_KCRN73_FAKESCRIPT() -- firebtn.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = firebtn
- script.Parent.MouseButton1Click:Connect(function()
- if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
- game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Parent = game.Players.LocalPlayer.Backpack
- end
- wait()
- local target = GetPlayer(script.Parent.Parent.TextBox.Text)
- for i,v in pairs(target) do
- spawn(function()
- local tbl_main =
- {
- game.Players[v].Character.Humanoid,
- game.Players[v].Character.HumanoidRootPart,
- 0,
- Vector3.new(0,0,0),
- 0,
- 0,
- true
- }
- game:GetService("Players").LocalPlayer.Backpack.Handgun["GunScript_Server"].InflictTarget:FireServer(unpack(tbl_main))
- end)
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_KCRN73_FAKESCRIPT))
Add Comment
Please, Sign In to add comment