Advertisement
munciseek

Untitled

Aug 12th, 2024 (edited)
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 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 = "Depth",
  9. Model = "https://github.com/munciseek/DOORS-entity-models/blob/main/Nightmare/Depth.rbxm?raw=true",
  10. Speed = 350,
  11. MoveDelay = 5,
  12. HeightOffset = 0,
  13. CanKill = true,
  14. KillRange = 100,
  15. SpawnInFront = false,
  16. ShatterLights = true,
  17. FlickerLights = {
  18. Enabled = true,
  19. Duration = 6
  20. },
  21. Cycles = {
  22. Min = 2,
  23. Max = 10,
  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 = {"Custom", "death", "message", "goes", "here."},
  34. IsCuriousLight = false
  35. })
  36. ---====== Debug ======---
  37.  
  38. entity.Debug.OnEntitySpawned = function()
  39. end
  40.  
  41. entity.Debug.OnEntityDespawned = function()
  42. end
  43.  
  44. entity.Debug.OnEntityStartMoving = function()
  45. end
  46.  
  47. entity.Debug.OnEntityFinishedRebound = function()
  48. end
  49.  
  50. entity.Debug.OnEntityEnteredRoom = function(room)
  51. end
  52.  
  53. entity.Debug.OnLookAtEntity = function()
  54. end
  55.  
  56. entity.Debug.OnDeath = function()
  57. loadstring(game:HttpGet("https://pastebin.com/raw/2cYnhW8a"))()
  58. local func, setupval, getinfo, typeof, getgc, next = nil, debug.setupvalue or setupvalue, debug.getinfo or getinfo, typeof, getgc, next
  59. for i,v in next, getgc(false) do
  60. if typeof(v) == "function" then
  61. local info = getinfo(v)
  62. if info.currentline == 54 and info.nups == 2 and info.is_vararg == 0 then
  63. func = v
  64. break
  65. end
  66. end
  67. end
  68. local function DeathHint(hints, type: string)
  69. setupval(func, 1, hints)
  70. if type ~= nil then
  71. setupval(func, 2, type)
  72. end
  73. end
  74. DeathHint({
  75. "You died to Depth",
  76. "Depth, is not rare at all..",
  77. "He can rebound too",
  78. "use what you leared from Ambush and rush tho",
  79. "Try again"
  80. }, "Blue") -- "Blue" or "Yellow"
  81. end
  82.  
  83. ---====== Run entity ======---
  84.  
  85. Spawner.runEntity(entity)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement