Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --by Rathiega
- -- AntiExploit For Brandon_RBX
- -- these hackers need to fuck off
- --unpatchable
- -- Started June 19th, 2018. Ended: June 20th, 2018.
- function scanBadInstance(e)
- for i,v in pairs(e:children()) do
- if (v:IsA('Sound') or v:IsA('Fire') or v:IsA('Smoke') or v:IsA('Decal') or v:IsA('Sparkles') or v:IsA('ParticleEmitter')) then
- v:Destroy()
- else
- if v:IsA('BasePart') then v.CanCollide = true end
- scanBadInstance(v)
- end
- end
- end
- local b=nil
- local h=Instance.new('Hint',workspace)
- h.Text="This server has been saved using Rathiega’s anti-exploit script."
- function createBasePart()
- b = Instance.new('Part', workspace)
- b.Anchored=true
- b.Size = Vector3.new(256,256,256)
- b.Position = Vector3.new(0,0,0)
- b.Material = 'Grass'
- b.TopSurface = Enum.SurfaceType.Smooth
- b.BrickColor = BrickColor.new("Bright green")
- end
- while (true) do
- game:service('Lighting').FogEnd = 9999
- game:service('Lighting').FogStart = 1
- game:service('Lighting').Ambient = Color3.new(1,1,1)
- game:service('Lighting').Brightness = 3
- for i,v in pairs(game:service('Lighting'):children()) do
- if v:IsA('ColorCorrectionEffect') or v:IsA('SkyBox') or v:IsA('Sky') or v:IsA('BloomEffect') or v:IsA('BlurEffect') or v:IsA('SunRaysEffect') then
- v:Destroy()
- end
- end
- scanBadInstance(workspace)
- if b==nil then
- createBasePart()
- elseif b.Parent~=workspace then
- createBasePart()
- elseif b.Position.Y < 0 then
- createBasePart()
- end
- wait(0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement