Skip to content

Latest commit

 

History

History
37 lines (37 loc) · 1018 Bytes

README.md

File metadata and controls

37 lines (37 loc) · 1018 Bytes

SimpleDoor

image

API:

Loading the API:

local api = loadstring(game:HttpGet("https://raw.githubusercontent.com/Alexplayrus2/SimpleDoor/main/main.lua", true))()

Create a Rush-like entity:

api:createrushent(Decal Id *REQUIRED*, Audio Id *REQUIRED*)

Jumpscare the player

api:jumpscare(Decal Id *REQUIRED*, Audio Id *REQUIRED*)

Flicker the lights

api:flickerlights()

Give the player a crucifix which can be used to banish the custom entities:

api:givecrucifix()

Activate subtitles (gets the audio's name from the roblox library)

api:createsubtitles()

Detect if the player entered a new room

function newroom()
print("a new room has been created!")
end
api:onnewroom(newroom)

Spawn a slower rush-like entity (useful for chase scenes)

api:createchaseent(decal id *REQUIRED*, audio id *REQUIRED*)