---====== Load spawner ======--- local spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Entity%20Spawner/V2/Source.lua"))() ---====== Create entity ======--- game.Lighting.MainColorCorrection.TintColor = Color3.fromRGB(92, 103, 255) game.Lighting.MainColorCorrection.Contrast = 1 local tween = game:GetService("TweenService") tween:Create(game.Lighting.MainColorCorrection, TweenInfo.new(2.5), {Contrast = 0}):Play() local TweenService = game:GetService("TweenService") local TW = TweenService:Create(game.Lighting.MainColorCorrection, TweenInfo.new(80),{TintColor = Color3.fromRGB(255, 255, 255)}) TW:Play() local entity = spawner.Create({ Entity = { Name = "Cease", Asset = "rbxassetid://12262854624", HeightOffset = 0 }, Lights = { Flicker = { Enabled = true, Duration = 1 }, Shatter = true, Repair = false }, CameraShake = { Enabled = false, Range = 100, Values = {1.5, 20, 0.1, 1} -- Magnitude, Roughness, FadeIn, FadeOut }, Movement = { Speed = 60, Delay = 2, Reversed = false }, Rebounding = { Enabled = false, Type = "Ambush", -- "Blitz" Min = 1, Max = 1, Delay = 2 }, Damage = { Enabled = false, Range = 40, Amount = 125 }, Crucifixion = { Enabled = true, Range = 40, Resist = true, Break = true }, Death = { Type = "Guiding", -- "Curious" Hints = {"You died to Cease..", "He appears when the room turns blue", "You just have to stand there and don't move until it disappears. ", "And if you move, he will kill you."}, Cause = "" } }) ---====== Debug entity ======--- entity:SetCallback("OnSpawned", function() print("Entity has spawned") end) entity:SetCallback("OnStartMoving", function() print("Entity has started moving") end) entity:SetCallback("OnReachNode", function(node) print("Entity has reached node:", node) end) entity:SetCallback("OnEnterRoom", function(room, firstTime) if firstTime == true then print("Entity has entered room: ".. room.Name.. " for the first time") else print("Entity has entered room: ".. room.Name.. " again") end end) entity:SetCallback("OnLookAt", function(lineOfSight) if lineOfSight == true then print("Player is looking at entity") else print("Player view is obstructed by something") local ReSt = game.ReplicatedStorage local Plr = game.Players.LocalPlayer ReSt.GameStats["Player_".. Plr.Name].Total.DeathCause.Value = "Cease" end end) entity:SetCallback("OnRebounding", function(startOfRebound) if startOfRebound == true then print("Entity has started rebounding") else print("Entity has finished rebounding") end end) entity:SetCallback("OnDespawning", function() print("Entity is despawning") end) entity:SetCallback("OnDespawned", function() print("Entity has despawned") end) entity:SetCallback("OnDamagePlayer", function(newHealth) if newHealth == 0 then print("Entity has killed the player") else print("Entity has damaged the player") end end) --[[ DEVELOPER NOTE: By overwriting 'CrucifixionOverwrite' the defaultu crucifixion callback will be replaced with your custom callback. entity:SetCallback("CrucifixionOverwrite", function() print("Custom crucifixion callback") end) ]]-- ---====== Run entity ======--- entity:Run() -- entity:Pause() -- entity:Resume() -- entity:IsPaused() -- entity:Despawn()