Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---====== Define spawner ======---
- local Spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Entity%20Spawner/V1/Source.lua"))()
- ---====== Create entity ======---
- local entity = Spawner.createEntity({
- CustomName = "Depth",
- Model = "https://github.com/munciseek/DOORS-entity-models/blob/main/Nightmare/Depth.rbxm?raw=true",
- Speed = 350,
- MoveDelay = 5,
- HeightOffset = 0,
- CanKill = true,
- KillRange = 100,
- SpawnInFront = false,
- ShatterLights = true,
- FlickerLights = {
- Enabled = true,
- Duration = 6
- },
- Cycles = {
- Min = 2,
- Max = 10,
- Delay = 2
- },
- CamShake = {
- Enabled = true,
- Values = {5, 15, 0.1, 1},
- Range = 100
- },
- ResistCrucifix = false,
- BreakCrucifix = true,
- DeathMessage = {"Custom", "death", "message", "goes", "here."},
- IsCuriousLight = false
- })
- ---====== Debug ======---
- entity.Debug.OnEntitySpawned = function()
- end
- entity.Debug.OnEntityDespawned = function()
- end
- entity.Debug.OnEntityStartMoving = function()
- end
- entity.Debug.OnEntityFinishedRebound = function()
- end
- entity.Debug.OnEntityEnteredRoom = function(room)
- end
- entity.Debug.OnLookAtEntity = function()
- end
- entity.Debug.OnDeath = function()
- loadstring(game:HttpGet("https://pastebin.com/raw/2cYnhW8a"))()
- local func, setupval, getinfo, typeof, getgc, next = nil, debug.setupvalue or setupvalue, debug.getinfo or getinfo, typeof, getgc, next
- for i,v in next, getgc(false) do
- if typeof(v) == "function" then
- local info = getinfo(v)
- if info.currentline == 54 and info.nups == 2 and info.is_vararg == 0 then
- func = v
- break
- end
- end
- end
- local function DeathHint(hints, type: string)
- setupval(func, 1, hints)
- if type ~= nil then
- setupval(func, 2, type)
- end
- end
- DeathHint({
- "You died to Depth",
- "Depth, is not rare at all..",
- "He can rebound too",
- "use what you leared from Ambush and rush tho",
- "Try again"
- }, "Blue") -- "Blue" or "Yellow"
- end
- ---====== Run entity ======---
- Spawner.runEntity(entity)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement