
Key RequiredUniversal

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = Players.LocalPlayer
for _, v in next, Players:GetPlayers() do
local Rank = v:GetRankInGroup(5479316)
if Rank == (2 or 4 or 6) then
LocalPlayer:Kick("Staff detected! Username: ".. v.Name .. " Rank: ".. Rank)
end
end
Players.PlayerAdded:Connect(function(player)
local Rank = player:GetRankInGroup(5479316)
if Rank == (2 or 4 or 6) then
LocalPlayer:Kick("Staff detected! Username: ".. player.Name .. " Rank: ".. Rank)
end
end)
getgenv().haha = true
while true do
if getgenv().haha then
for i, v in next, Players:GetPlayers() do
if v ~= LocalPlayer and LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") ~= nil and v.Character ~= nil and not v.Character:FindFirstChildOfClass("ForceField") and v.Character:FindFirstChild("HumanoidRootPart") ~= nil then
local ray = Ray.new(LocalPlayer.Character.Head.Position, (v.Character.Head.Position - LocalPlayer.Character.Head.Position))
local part = workspace:FindPartOnRayWithIgnoreList(ray, {LocalPlayer.Character, v.Character})
if not part then
local args = {
[1] = v.Character.Head.Position,
[2] = {
[1] = LocalPlayer.Character.Head.Position
},
[3] = {
[1] = v.Character.Head
},
[4] = {
[1] = v.Character
},
[5] = 303,
[6] = true,
[7] = {
["ImageSize"] = UDim2.new({0, 80}, {0, 80}),
["Image"] = "rbxassetid://3926307971"
},
[8] = true,
[9] = true,
[10] = "AWP",
[11] = math.huge,
[12] = 0
}
game:GetService("Players").LocalPlayer.Character.GunLocalNew.Shoot:FireServer(unpack(args))
end
end
task.wait(0.2)
end
else
break
end
end



is there any way you could only make it so it doesnt NOT autokill but it still gives 10k xp?
@airedbyanze yes
17:45:13 -- GunLocalNew is not a valid member of Model "Workspace.nrdz_z" Stack Begin Script '', Line 56 Stack End