Advertisement
mjv2023

ambush script

Aug 25th, 2023 (edited)
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. -- FULLBRIGHT by ricey#7090
  2. pcall(function()
  3. local lighting = game:GetService("Lighting");
  4. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  5. lighting.Brightness = 1;
  6. lighting.FogEnd = 1e10;
  7. for i, v in pairs(lighting:GetDescendants()) do
  8. if v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
  9. v.Enabled = false;
  10. end;
  11. end;
  12. lighting.Changed:Connect(function()
  13. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  14. lighting.Brightness = 1;
  15. lighting.FogEnd = 1e10;
  16. end);
  17. spawn(function()
  18. local character = game:GetService("Players").LocalPlayer.Character;
  19. while wait() do
  20. repeat wait() until character ~= nil;
  21. if not character.HumanoidRootPart:FindFirstChildWhichIsA("PointLight") then
  22. local headlight = Instance.new("PointLight", character.HumanoidRootPart);
  23. headlight.Brightness = 1;
  24. headlight.Range = 60;
  25. end;
  26. end;
  27. end);
  28. end)
  29. for i = 1, 1000 do
  30. ---====== Define spawner ======---
  31.  
  32. local Spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Entity%20Spawner/Source.lua"))()
  33.  
  34. ---====== Create entity ======---
  35.  
  36. local entity = Spawner.createEntity({
  37. CustomName = "Ambush",
  38. Model = "rbxassetid://11327312794",
  39. Speed = 10,
  40. MoveDelay = 2,
  41. HeightOffset = 0,
  42. CanKill = true,
  43. KillRange = 50,
  44. SpawnInFront = false,
  45. ShatterLights = true,
  46. FlickerLights = {
  47. Enabled = true,
  48. Duration = 1
  49. },
  50. Cycles = {
  51. Min = 1,
  52. Max = 1,
  53. Delay = 0
  54. },
  55. CamShake = {
  56. Enabled = true,
  57. Values = {1.5, 20, 0.1, 1},
  58. Range = 100
  59. },
  60. ResistCrucifix = false,
  61. BreakCrucifix = true,
  62. DeathMessage = {"Oh hey! ", "u died to ambush!", "made in china", "when light flicker hide in colset"},
  63. IsCuriousLight = false
  64. })
  65.  
  66. ---====== Debug ======---
  67.  
  68. entity.Debug.OnEntitySpawned = function()
  69. print("Entity has spawned")
  70. end
  71.  
  72. entity.Debug.OnEntityDespawned = function()
  73. print("Entity has despawned")
  74. end
  75.  
  76. entity.Debug.OnEntityStartMoving = function()
  77. print("Entity started moving")
  78. end
  79.  
  80. entity.Debug.OnEntityFinishedRebound = function()
  81. print("Entity finished rebound")
  82. end
  83.  
  84. entity.Debug.OnEntityEnteredRoom = function(room)
  85. print("Entity entered room:", room)
  86. end
  87.  
  88. entity.Debug.OnLookAtEntity = function()
  89. print("Player looking at entity")
  90. end
  91.  
  92. entity.Debug.OnDeath = function()
  93. print("Player has died")
  94. end
  95.  
  96.  
  97.  
  98. Spawner.runEntity(entity)
  99.  
  100. end
  101.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement