Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

How to make an anti-ban script is it possible?

Asked by 10 years ago

For script Builder. Fight againset those trolls

2 answers

Log in to vote
2
Answered by 10 years ago

You can make your player nil to prevent getting banned. This is in a local script.

Not going to take credit for this script so here is the model http://www.roblox.com/Nil-Player-Script-item?id=122285042

Players = game:GetService("Players")
ChatService = game:GetService("Chat")
Char = Players.LocalPlayer.Character
CloneName = "The Awesome King"
Char.Archivable = true
Clone = Char:clone()
Clone.Archivable = true
Clone.Humanoid.MaxHealth = math.huge
Clone.Humanoid.Health = math.huge
Clone.Name = CloneName
Players.LocalPlayer :Destroy()
Clone2 = Clone:clone()
Clone2.Parent = Workspace
Players.LocalPlayer.Character = Clone2
Workspace.CurrentCamera.CameraSubject = Clone2.Head

DieDetector = coroutine.create(function()
    while true do
        wait()
        Players.LocalPlayer.Character.Humanoid.Died:connect(function()
            Clone2 :Destroy()
            Clone2 = Clone:clone()
            Clone2.Parent = Workspace
            Players.LocalPlayer.Character = Clone2
            Workspace.CurrentCamera.CameraSubject = Clone2.Head
        end)
    end
end)

RemovedDetector = coroutine.create(function()
    while true do
        wait()
        Workspace.ChildRemoved:connect(function(item)
            if item.Name == CloneName then
                Clone2 :Destroy()
                Clone2 = Clone:clone()
                Clone2.Parent = Workspace
                Players.LocalPlayer.Character = Clone2
                Workspace.CurrentCamera.CameraSubject = Clone2.Head
            end
        end)
    end
end)

coroutine.resume(DieDetector)
coroutine.resume(RemovedDetector)

Players.LocalPlayer.Chatted:connect(function(msg, plr)
    ChatService:Chat(Clone2.Head, msg , Enum.ChatColor.Red)
end)
0
does this work? Crushy_Bulls 0 — 4y
Ad
Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

DoEs ThE sCrIpT wOrK?

Answer this question