Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i=2,#game.Players:GetPlayers() do
- v=game.Players:GetPlayers()[i]
- local args = {
- [1] = v.Character:WaitForChild("Humanoid"),
- [2] = v.Character:WaitForChild("HumanoidRootPart"),
- [3] = math.huge,
- }
- pcall(function()
- if not game.Players.LocalPlayer.Backpack:FindFirstChild("Pistol") then
- game:GetService("Players").LocalPlayer.Character.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
- else
- game:GetService("Players").LocalPlayer.Backpack.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
- end
- end)
- end
Advertisement
Comments
-
- local Mod_Menu = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
- local Menu = Instance.new("Frame",Mod_Menu)
- local localPlayer = game:GetService("Players").LocalPlayer
- local Button = Instance.new("TextButton",Mod_Menu)
- Button.Text = "Close"
- Button.Name = "Close/Open"
- Button.Position = UDim2.new(0.092, 0,0.119, 0)
- Button.Size = UDim2.new(0, 200,0, 50)
- Button.BorderSizePixel = 0
- local s = false
- Button.MouseButton1Up:Connect(function()
- if s == false then
- Menu.Visible = false
- Button.Text = "Open"
- s = true
- else
- Menu.Visible = true
- Button.Text = "Close"
- s = false
- end
- end)
- print("Loading")
- pcall(function()
- print("Done")
- local Remotes = game.ReplicatedStorage.Remotes
- Menu.Name = "Menu"
- Mod_Menu.Name = "Mod Menu"
- Menu.BackgroundColor3 = Color3.new(155, 0, 0)
- Menu.Size = UDim2.new(0, 607,0, 346)
- Menu.Position = UDim2.new(0.252, 0,0.119, 0)
- Menu.BorderSizePixel = 0
- local ColorButton = Color3.new(255,255,255)
- local ButtonSize = UDim2.new(0, 200,0, 50)
- local GivemeCure = Instance.new("TextButton",Menu)
- GivemeCure.Text = "Give me Cure"
- GivemeCure.Name = "Give me Cure"
- GivemeCure.BackgroundColor3 = ColorButton
- GivemeCure.Size = ButtonSize
- GivemeCure.Position = UDim2.new(0, 0,0.162, 0)
- GivemeCure.BorderSizePixel = 0
- GivemeCure.MouseButton1Up:Connect(function()
- Remotes.GiveCure:FireServer();
- end)
- local GivemeVirus = Instance.new("TextButton",Menu)
- GivemeVirus.Text = "Give me Virus"
- GivemeVirus.Size = ButtonSize
- GivemeVirus.BackgroundColor3 = ColorButton
- GivemeVirus.Position = UDim2.new(0, 0,0.344, 0)
- GivemeVirus.Name = "Give me Virus"
- GivemeVirus.BorderSizePixel = 0
- GivemeVirus.MouseButton1Up:Connect(function()
- Remotes.GiveVirus:FireServer();
- end)
- local Damgehigh = Instance.new("TextButton",Menu)
- Damgehigh.Text = "Damge high"
- Damgehigh.Size = ButtonSize
- Damgehigh.BackgroundColor3 = ColorButton
- Damgehigh.Name = "Damge high"
- Damgehigh.Position = UDim2.new(0, 0,0.52, 0)
- Damgehigh.BorderSizePixel = 0
- Damgehigh.MouseButton1Up:Connect(function()
- require(localPlayer.Backpack:WaitForChild("Pistol"):WaitForChild("Setting")).BaseDamage = 1000
- end)
- local ESP = Instance.new("TextButton",Menu)
- ESP.Name = "ESP"
- ESP.BackgroundColor3 = ColorButton
- ESP.Size = ButtonSize
- ESP.Text = "ESP"
- ESP.Position = UDim2.new(0, 0,0.691, 0)
- ESP.BorderSizePixel = 0
- ESP.MouseButton1Up:Connect(function()
- while wait(0.1) do
- for i,v in ipairs(game:GetService("Players"):GetPlayers()) do
- local TeamColor = v.Team.TeamColor.Color
- local R = TeamColor.R
- local G = TeamColor.G
- local B = TeamColor.B
- local Highlight = Instance.new("Highlight",v.Character)
- Highlight.FillColor = Color3.new(R,G,B)
- Highlight.OutlineColor = Color3.new(R,G,B)
- end
- game.Players.ChildAdded:Connect(function(v) -- not PlayerAdded only Script
- local TeamColor = v.Team.TeamColor.Color
- local R = TeamColor.R
- local G = TeamColor.G
- local B = TeamColor.B
- local Highlight = Instance.new("Highlight",v.Character)
- Highlight.FillColor = Color3.new(R,G,B)
- Highlight.OutlineColor = Color3.new(R,G,B)
- end)
- end
- end)
- local KillallZombie = Instance.new("TextButton",Menu)
- KillallZombie.Name = "Kill all Zombie"
- KillallZombie.Text = 'Kill all Zombie'
- KillallZombie.BackgroundColor3 = ColorButton
- KillallZombie.Size = ButtonSize
- KillallZombie.Position = UDim2.new(0.359, 0,0.162, 0)
- KillallZombie.BorderSizePixel = 0
- KillallZombie.MouseButton1Up:Connect(function()
- for i=2,#game.Players:GetPlayers() do
- local v=game.Players:GetPlayers()[i]local args = {
- [1] = v.Character:WaitForChild("Humanoid"),
- [2] = v.Character:WaitForChild("HumanoidRootPart"),
- [3] = math.huge,
- }
- pcall(function()
- if not game.Players.LocalPlayer.Backpack:FindFirstChild("Pistol") then
- game:GetService("Players").LocalPlayer.Character.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
- else
- game:GetService("Players").LocalPlayer.Backpack.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
- end
- end)
- end
- end)
- local SetWalkSpeed = Instance.new("TextButton",Menu)
- SetWalkSpeed.Text = "Set WalkSpeed"
- SetWalkSpeed.Name = "Set WalkSpeed"
- SetWalkSpeed.BackgroundColor3 = ColorButton
- SetWalkSpeed.Size = ButtonSize
- SetWalkSpeed.BorderSizePixel = 0
- SetWalkSpeed.Position = UDim2.new(0.359, 0,0.344, 0)
- local NumberWalkSpeed = Instance.new("TextBox",Menu)
- NumberWalkSpeed.Text = "Number WalkSpeed"
- NumberWalkSpeed.Name = "Number WalkSpeed"
- NumberWalkSpeed.BackgroundColor3 = ColorButton
- NumberWalkSpeed.Size = ButtonSize
- NumberWalkSpeed.BorderSizePixel = 0
- NumberWalkSpeed.Position = UDim2.new(0.359, 0,0.52, 0)
- SetWalkSpeed.MouseButton1Up:Connect(function()
- local Player = game:GetService("Players")[localPlayer.Name]
- Player.Character.Humanoid.WalkSpeed = ""..NumberWalkSpeed.Text
- end)
- local KillNPCZombie = Instance.new("TextButton",Menu)
- KillNPCZombie.Text = "Kill All Zombie NPC"
- KillNPCZombie.Name = 'Kill All Zombie NPC'
- KillNPCZombie.Size = ButtonSize
- KillNPCZombie.BackgroundColor3 = ColorButton
- KillNPCZombie.BorderSizePixel = 0
- KillNPCZombie.Position = UDim2.new(0.359, 0,0.691, 0)
- KillNPCZombie.MouseButton1Up:Connect(function()
- for i, v in ipairs(workspace.Zombies:GetChildren()) do
- local args = {
- [1] = v:WaitForChild("Humanoid"),
- [2] = v:WaitForChild("HumanoidRootPart"),
- [3] = math.huge,
- }
- if not game.Players.LocalPlayer.Backpack:FindFirstChild("Pistol") then
- game:GetService("Players").LocalPlayer.Character.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
- else
- game:GetService("Players").LocalPlayer.Backpack.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
- end
- end
- end)
- local NamePlayer = Instance.new("TextBox",Menu)
- NamePlayer.Text = "Name Player"
- NamePlayer.Size = ButtonSize
- NamePlayer.BackgroundColor3 = ColorButton
- NamePlayer.BorderSizePixel = 0
- NamePlayer.Position = UDim2.new(0.708, 0,0.162, 0)
- NamePlayer.Name = "Name Player"
- local KillNamePlayer = Instance.new("TextButton",Menu)
- KillNamePlayer.Text = "Kill Zombie"
- KillNamePlayer.Name = "Kill Zombie"
- KillNamePlayer.Size = ButtonSize
- KillNamePlayer.BackgroundColor3 = ColorButton
- KillNamePlayer.BorderSizePixel = 0
- KillNamePlayer.Position = UDim2.new(0.708, 0,0.344, 0)
- KillNamePlayer.MouseButton1Up:Connect(function()
- print("Killed "..NamePlayer.Text.." Zombie")
- local Kill = NamePlayer.Text
- local v = game.Players[Kill]
- local args = {
- [1] = v.Character:WaitForChild("Humanoid"),
- [2] = v.Character:WaitForChild("HumanoidRootPart"),
- [3] = math.huge,
- }
- if not game.Players.LocalPlayer.Backpack:FindFirstChild("Pistol") then
- game:GetService("Players").LocalPlayer.Character.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
- else
- game:GetService("Players").LocalPlayer.Backpack.Pistol.GunScript_Server.InflictTarget:FireServer(unpack(args))
- end
- end)
- local MedicalKitnocooldown = Instance.new("TextButton",Menu)
- MedicalKitnocooldown.Text = "MedicalKit no cooldown"
- MedicalKitnocooldown.Name = "MedicalKit no cooldown"
- MedicalKitnocooldown.Size = ButtonSize
- MedicalKitnocooldown.BackgroundColor3 = ColorButton
- MedicalKitnocooldown.BorderSizePixel = 0
- MedicalKitnocooldown.Position = UDim2.new(0.708, 0,0.52, 0)
- MedicalKitnocooldown.MouseButton1Up:Connect(function()
- workspace.MedicalKit.ProximityPrompt.HoldDuration = 0
- end)
- local GunnocooldownandAuto = Instance.new("TextButton",Menu)
- GunnocooldownandAuto.Size = ButtonSize
- GunnocooldownandAuto.Text = "Gun no cooldown and Auto"
- GunnocooldownandAuto.Name = "Gun no cooldown and Auto"
- GunnocooldownandAuto.BorderSizePixel = 0
- GunnocooldownandAuto.Position = UDim2.new(0.708, 0,0.691, 0)
- GunnocooldownandAuto.MouseButton1Up:Connect(function()
- local Setting = require(localPlayer.Backpack:WaitForChild("Pistol"):WaitForChild("Setting"))
- Setting.BulletSpeed = 50
- Setting.ShotgunClipinAnimationSpeed = 100
- Setting.Auto = true
- end)
- end)
- print("working")
Add Comment
Please, Sign In to add comment
Advertisement