Advertisement
Guest User

No problems for this please; Rathiega

a guest
Jun 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. --by Rathiega
  2. -- AntiExploit For Brandon_RBX
  3. -- these hackers need to fuck off
  4. --unpatchable
  5. -- Started June 19th, 2018. Ended: June 20th, 2018.
  6.  
  7. function scanBadInstance(e)
  8. for i,v in pairs(e:children()) do
  9. 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
  10. v:Destroy()
  11. else
  12. if v:IsA('BasePart') then v.CanCollide = true end
  13. scanBadInstance(v)
  14. end
  15. end
  16. end
  17.  
  18. local b=nil
  19. local h=Instance.new('Hint',workspace)
  20. h.Text="This server has been saved using Rathiega’s anti-exploit script."
  21.  
  22. function createBasePart()
  23. b = Instance.new('Part', workspace)
  24. b.Anchored=true
  25. b.Size = Vector3.new(256,256,256)
  26. b.Position = Vector3.new(0,0,0)
  27. b.Material = 'Grass'
  28. b.TopSurface = Enum.SurfaceType.Smooth
  29. b.BrickColor = BrickColor.new("Bright green")
  30. end
  31. while (true) do
  32. game:service('Lighting').FogEnd = 9999
  33. game:service('Lighting').FogStart = 1
  34. game:service('Lighting').Ambient = Color3.new(1,1,1)
  35. game:service('Lighting').Brightness = 3
  36.  
  37. for i,v in pairs(game:service('Lighting'):children()) do
  38. 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
  39. v:Destroy()
  40. end
  41. end
  42.  
  43. scanBadInstance(workspace)
  44.  
  45. if b==nil then
  46. createBasePart()
  47. elseif b.Parent~=workspace then
  48. createBasePart()
  49. elseif b.Position.Y < 0 then
  50. createBasePart()
  51. end
  52. wait(0)
  53. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement