Eshaanopn

Untitled

Jul 5th, 2023
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. while true do
  2. task.wait(25)
  3. local Spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors%20Entity%20Spawner/Source.lua"))()
  4.  
  5.  
  6. -- Create entity
  7. local entityTable = Spawner.createEntity({
  8. CustomName = "Ambush", -- Custom name of your entity
  9. Model = "rbxassetid://11652567875", -- Can be GitHub file or rbxassetid
  10. Speed = 250, -- Percentage, 100 = default Rush speed
  11. DelayTime = 2, -- Time before starting cycles (seconds)
  12. HeightOffset = 0,
  13. CanKill = true,
  14. KillRange = 50,
  15. BackwardsMovement = false,
  16. BreakLights = true,
  17. FlickerLights = {
  18. true, -- Enabled/Disabled
  19. 1, -- Time (seconds)
  20. },
  21. Cycles = {
  22. Min = 1,
  23. Max = 4,
  24. WaitTime = 2,
  25. },
  26. CamShake = {
  27. true, -- Enabled/Disabled
  28. {3.5, 20, 0.1, 1}, -- Shake values (don't change if you don't know)
  29. 100, -- Shake start distance (from Entity to you)
  30. },
  31. Jumpscare = {
  32. true, -- Enabled/Disabled
  33. {
  34. Image1 = "rbxassetid://10483855823", -- Image1 url
  35. Image2 = "rbxassetid://10483999903", -- Image2 url
  36. Shake = true,
  37. Sound1 = {
  38. 10483790459, -- SoundId
  39. { Volume = 0.5 }, -- Sound properties
  40. },
  41. Sound2 = {
  42. 10483837590, -- SoundId
  43. { Volume = 0.5 }, -- Sound properties
  44. },
  45. Flashing = {
  46. true, -- Enabled/Disabled
  47. Color3.fromRGB(255, 255, 255), -- Color
  48. },
  49. Tease = {
  50. true, -- Enabled/Disabled
  51. Min = 1,
  52. Max = 3,
  53. },
  54. },
  55. },
  56. CustomDialog = {"Well u died to him", "by eshaanopn", "but", "KEEP TRYING"}, -- Custom death message
  57. })
  58.  
  59.  
  60. -----[[ Debug -=- Advanced ]]-----
  61. entityTable.Debug.OnEntitySpawned = function()
  62. print("Entity has spawned:", entityTable)
  63. end
  64.  
  65. entityTable.Debug.OnEntityDespawned = function()
  66. print("Entity has despawned:", entityTable)
  67. end
  68.  
  69. entityTable.Debug.OnEntityStartMoving = function()
  70. print("Entity has started moving:", entityTable)
  71. end
  72.  
  73. entityTable.Debug.OnEntityFinishedRebound = function()
  74. print("Entity has finished rebound:", entityTable)
  75. end
  76.  
  77. entityTable.Debug.OnEntityEnteredRoom = function(room)
  78. print("Entity:", entityTable, "has entered room:", room)
  79. end
  80.  
  81. entityTable.Debug.OnLookAtEntity = function()
  82. print("Player has looked at entity:", entityTable)
  83. end
  84.  
  85. entityTable.Debug.OnDeath = function()
  86. warn("Player has died.")
  87. end
  88. ------------------------------------
  89.  
  90.  
  91. -- Run the created entity
  92. Spawner.runEntity(entityTable)
  93. end
Advertisement
Add Comment
Please, Sign In to add comment