Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(math.random(0, 200) / 200)
- if _G.Ignore_Code then
- if (not game.Workspace:FindFirstChild("Ignore_Model_".._G.Ignore_Code)) then
- local Ignore_Model = Instance.new("Model")
- Ignore_Model.Name = "Ignore_Model_".._G.Ignore_Code
- Ignore_Model.Parent = game.Workspace
- spawn(function()
- while true do
- Ignore_Model.Parent = game.Workspace
- wait(1 / 20)
- end
- end)
- end
- script.Parent:WaitForChild("Gun_Main"):WaitForChild("Ignore_Code").Value = _G.Ignore_Code
- else
- _G.Ignore_Code = math.random(1, 1e4)
- if (not game.Workspace:FindFirstChild("Ignore_Model_".._G.Ignore_Code)) then
- local Ignore_Model = Instance.new("Model")
- Ignore_Model.Name = "Ignore_Model_".._G.Ignore_Code
- Ignore_Model.Parent = game.Workspace
- spawn(function()
- while true do
- Ignore_Model.Parent = game.Workspace
- wait(1 / 20)
- end
- end)
- end
- script.Parent:WaitForChild("Gun_Main"):WaitForChild("Ignore_Code").Value = _G.Ignore_Code
- end
- spawn(function()
- repeat wait() until _G.Ignore_Code
- local Ignore_Model = game.Workspace:WaitForChild("Ignore_Model_".._G.Ignore_Code)
- while true do
- for _, Gun_Ignore in pairs(Ignore_Model:GetChildren()) do
- if (not game.Players:FindFirstChild(Gun_Ignore.Name:sub(12))) then
- Gun_Ignore:Destroy()
- end
- end
- wait(1 / 20)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment