Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---====== Load spawner ======---
- local spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Entity%20Spawner/V2/Source.lua"))()
- ---====== Create entity ======---
- local entity = spawner.Create({
- Entity = {
- Name = "Mile",
- Asset = "rbxassetid://123807593638768",
- HeightOffset = 1
- },
- Lights = {
- Flicker = {
- Enabled = true,
- Duration = 15
- },
- Shatter = true,
- Repair = false
- },
- Earthquake = {
- Enabled = false
- },
- CameraShake = {
- Enabled = true,
- Range = 100,
- Values = {1.5, 20, 0.1, 1} -- Magnitude, Roughness, FadeIn, FadeOut
- },
- Movement = {
- Speed = 800,
- Delay = 15,
- Reversed = false
- },
- Rebounding = {
- Enabled = true,
- Type = "Ambush", -- "Blitz"
- Min = 3,
- Max = 5,
- Delay = 3
- },
- Damage = {
- Enabled = true,
- Range = 100,
- Amount = 99999
- },
- Crucifixion = {
- Enabled = true,
- Range = 100,
- Resist = false,
- Break = true
- },
- Death = {
- Type = "Guiding", -- "Curious"
- Hints = {"You have died to Mile", "You only have 15 seconds to hide when it appears", "Please find the hiding spot as soon as possible", " Try again and Keep going!"},
- Cause = ""
- }
- })
- ---====== Debug entity ======---
- entity:SetCallback("OnSpawned", function()
- local caption = game.Players.LocalPlayer:WaitForChild("PlayerGui").MainUI.MainFrame.Caption
- caption.TextColor3 = Color3.fromRGB(255, 0, 0)
- require(game.Players.LocalPlayer.PlayerGui.MainUI.Initiator.Main_Game).caption("You have 15 seconds to hide",true)
- wait(5)
- caption.TextColor3 = Color3.fromRGB(255, 222, 189)
- end)
- entity:SetCallback("OnDamagePlayer", function(newHealth)
- if newHealth == 0 then
- local jumpscare = loadstring(game:HttpGet("https://pastebin.com/raw/MwNSDg7E"))()
- local JS = jumpscare.Create({
- image = {
- Asset = "rbxassetid://9002021052"
- },
- Audio = {
- Asset = "rbxassetid://9043345011",
- AC = false
- }
- })
- JS:Run()
- end
- end)
- ---====== Run entity ======---
- entity:Run()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement