Сontent continues after AD

Script – Generic roleplay gaem

Thank you for using our website
Your script:

				
					local playerfr = "USERNAME" --insert victim user (CASE SENSITIVE)
local plrfr = game.Players[playerfr]
local offsetfr = Vector3.new(0, 0, 0)
local function Attack(plr)
    for i,c in pairs(game.Players:GetChildren()) do
        if c.Name:lower()==plr and c.Character and game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Tool") then
            for i,v in pairs(c.Character:GetChildren()) do --would be super epic if i made it target legs first
                if (v.Name == "Head" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" or v.Name == "Torso" or v.Name == "HumanoidRootPart") then
                    game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Tool"):Activate()
                    firetouchinterest(game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Tool"):FindFirstChildWhichIsA("TouchTransmitter", true).Parent, v, 0)
                    firetouchinterest(game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Tool"):FindFirstChildWhichIsA("TouchTransmitter", true).Parent, v, 1)
                end
            end
        end
    end
end
local function fti(a,b)
    firetouchinterest(a,b,0)
    firetouchinterest(a,b,1)
end
local function Gotoplr(plr, offset)
    if game.Players.LocalPlayer.Team == "Doctor" then toucharea = game.workspace:FindFirstChild("GUARDONLY", true) else toucharea = game.workspace:FindFirstChild("DOCONLY", true) end
        if game.Players.LocalPlayer.Character then
        local hrp = game.Players.LocalPlayer.Character.HumanoidRootPart
        local plrhrp = game.Players[plr]:FindFirstChild("Character") and game.Players[plr].Character.HumanoidRootPart
        fti(hrp, toucharea)
        task.wait((game.Players.LocalPlayer:GetNetworkPing()+275)/1000)
        hrp.CFrame = CFrame.new((plrhrp.Position + offset))
    end
end
local function Gotopos(pos)
    if game.Players.LocalPlayer.Team == "Doctor" then toucharea = game.workspace:FindFirstChild("GUARDONLY", true) else toucharea = game.workspace:FindFirstChild("DOCONLY", true) end
        if game.Players.LocalPlayer.Character then
        local hrp = game.Players.LocalPlayer.Character.HumanoidRootPart
        fti(hrp, toucharea)
        task.wait((game.Players.LocalPlayer:GetNetworkPing()+275)/1000)
        hrp.CFrame = CFrame.new(pos)
    end
end
local function noclip()
    for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
        if v:IsA("BasePart") then
            v.CanCollide = false
        end
    end
end
local function clip()
    for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
        if v:IsA("BasePart") then
            v.CanCollide = true
        end
    end
end
local function GetPredictionPos(p,t)
    local pos = p.Position+p.Velocity*t
    local posfr = Vector3.new(pos.X, p.Y, pos.Z)
    return posfr
end
local function GetPredictionPos2(p,t)
    local pos = p.Position+p.Velocity*t
    local posfr = CFrame.new(pos.X, p.Position.Y, pos.Z) + offsetfr
    return posfr
end
local ab2=game:GetService("RunService").Stepped:Connect(function()game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = plrfr.Character.HumanoidRootPart.CFrame end)
local ab1=game:GetService("RunService").Stepped:Connect(function()task.wait(0.2)Attack(playerfr)end)
while game.Players.LocalPlayer.Character.HumanoidRootPart and game.Players[playerfr].Character do
    noclip()
    task.spawn(function()
        if game.Players.LocalPlayer.Team == "Doctor" then toucharea = game.workspace:FindFirstChild("GUARDONLY", true) else toucharea = game.workspace:FindFirstChild("DOCONLY", true) end
            local hrp = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
            local plrhrp = plrfr.Character and plrfr.Character:FindFirstChild("HumanoidRootPart")
            fti(hrp, toucharea)
            task.wait(0.25)
    end)
    task.wait()
end
clip()
ab2:Disconnect()
ab1:Disconnect()



      
				
			

if the script does not work, try other scripts on our website