Advertisement
munciseek

Untitled

Aug 12th, 2024
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. ---====== Define spawner ======---
  2.  
  3. local Spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Entity%20Spawner/V1/Source.lua"))()
  4.  
  5. ---====== Create entity ======---
  6.  
  7. local entity = Spawner.createEntity({
  8. CustomName = "A-200",
  9. Model = "https://github.com/munciseek/DOORS-entity-models/blob/main/Nightmare/A-200.rbxm?raw=true",
  10. Speed = 700,
  11. MoveDelay = 10,
  12. HeightOffset = 0,
  13. CanKill = true,
  14. KillRange = 100,
  15. SpawnInFront = true,
  16. ShatterLights = true,
  17. FlickerLights = {
  18. Enabled = true,
  19. Duration = 6
  20. },
  21. Cycles = {
  22. Min = 4,
  23. Max = 4,
  24. Delay = 2
  25. },
  26. CamShake = {
  27. Enabled = true,
  28. Values = {5, 15, 0.1, 1},
  29. Range = 100
  30. },
  31. ResistCrucifix = false,
  32. BreakCrucifix = true,
  33. DeathMessage = {"You died to A-200.", "Don't even try to out-run him.", "Hide when you hear it"},
  34. IsCuriousLight = false
  35. })
  36.  
  37. ---====== Debug ======---
  38.  
  39. entity.Debug.OnEntitySpawned = function()
  40. end
  41.  
  42. entity.Debug.OnEntityDespawned = function()
  43. end
  44.  
  45. entity.Debug.OnEntityStartMoving = function()
  46. end
  47.  
  48. entity.Debug.OnEntityFinishedRebound = function()
  49. end
  50.  
  51. entity.Debug.OnEntityEnteredRoom = function(room)
  52. end
  53.  
  54. entity.Debug.OnLookAtEntity = function()
  55. end
  56.  
  57. entity.Debug.OnDeath = function()
  58. loadstring(game:HttpGet("https://pastebin.com/raw/Jp1BwDnD"))()
  59. local func, setupval, getinfo, typeof, getgc, next = nil, debug.setupvalue or setupvalue, debug.getinfo or getinfo, typeof, getgc, next
  60. for i,v in next, getgc(false) do
  61. if typeof(v) == "function" then
  62. local info = getinfo(v)
  63. if info.currentline == 54 and info.nups == 2 and info.is_vararg == 0 then
  64. func = v
  65. break
  66. end
  67. end
  68. end
  69. local function DeathHint(hints, type: string)
  70. setupval(func, 1, hints)
  71. if type ~= nil then
  72. setupval(func, 2, type)
  73. end
  74. end
  75. DeathHint({
  76. "You died to A-200",
  77. "Don't even try to out-run him",
  78. "Hide when you hear it"
  79. }, "Blue") -- "Blue" or "Yellow"
  80. end
  81.  
  82. ---====== Run entity ======---
  83.  
  84. Spawner.runEntity(entity)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement