-
-
Save C00LBOZO/d68176e4f2135b8833c6d06c3909a3bb to your computer and use it in GitHub Desktop.
C00L'S DOORS HUB V2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local Rayfield = loadstring(game:HttpGet('https://raw.githubusercontent.com/shlexware/Rayfield/main/source'))() | |
local Data = require(game.Players.LocalPlayer.PlayerGui.MainUI.Initiator.Main_Game) | |
local Window = Rayfield:CreateWindow({ | |
Name = "C00L's Doors Hub -Mobile (V2)", LoadingTitle = "Loading...", | |
LoadingSubtitle = "99%...Successfully Loaded! Enjoy", | |
ConfigurationSaving = { | |
Enabled = true, | |
FolderName = "Rayfield Interface Suite", | |
FileName = "Big Hub" | |
}, | |
KeySystem = false, -- Set this to true to use our key system | |
}) | |
local SpawnTab = Window:CreateTab("Entity Spawner", 11372950109) | |
local OtherTab = Window:CreateTab("Other", 11461622669) | |
local CrucifixButton = OtherTab:CreateButton({ | |
Name = "Give Crucifix", | |
Callback = function() | |
loadstring(game:HttpGet('https://raw.githubusercontent.com/Johnny39871/assets/main/crucifixo'))() | |
end, | |
}) | |
local ScreechButton = SpawnTab:CreateButton({ | |
Name = "Spawn Screech", | |
Callback = function() | |
require(game.Players.LocalPlayer.PlayerGui.MainUI.Initiator.Main_Game.RemoteListener.Modules.Screech)(Data) | |
end, | |
}) | |
local RushButton = SpawnTab:CreateButton({ | |
Name = "Spawn Rush", | |
Callback = function() | |
local Creator = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors%20Entity%20Spawner/Source.lua"))() | |
-- Create entity | |
local entity = Creator.createEntity({ | |
CustomName = "Rush", -- Custom name of your entity | |
Model = "https://github.com/Johnny39871/assets/blob/main/Rush.rbxm?raw=true", -- Can be GitHub file or rbxassetid | |
Speed = 100, -- Percentage, 100 = default Rush speed | |
DelayTime = 2, -- Time before starting cycles (seconds) | |
HeightOffset = 0, | |
CanKill = true, | |
KillRange = 25, | |
BreakLights = true, | |
BackwardsMovement = false, | |
FlickerLights = { | |
true, -- Enabled/Disabled | |
1, -- Time (seconds) | |
}, | |
Cycles = { | |
Min = 1, | |
Max = 1, | |
WaitTime = 2, | |
}, | |
CamShake = { | |
true, -- Enabled/Disabled | |
{3.5, 20, 0.1, 1}, -- Shake values (don't change if you don't know) | |
100, -- Shake start distance (from Entity to you) | |
}, | |
Jumpscare = { | |
true, -- Enabled/Disabled | |
{ | |
Image1 = "rbxassetid://10483855823", -- Image1 url | |
Image2 = "rbxassetid://10483999903", -- Image2 url | |
Shake = true, | |
Sound1 = { | |
10483790459, -- SoundId | |
{ Volume = 0.5 }, -- Sound properties | |
}, | |
Sound2 = { | |
10483837590, -- SoundId | |
{ Volume = 0.5 }, -- Sound properties | |
}, | |
Flashing = { | |
true, -- Enabled/Disabled | |
Color3.fromRGB(0, 0, 255), -- Color | |
}, | |
Tease = { | |
true, -- Enabled/Disabled | |
Min = 4, | |
Max = 4, | |
}, | |
}, | |
}, | |
CustomDialog = {"You died to Rush...", "your balls look dry", "Can I put some lotion on them?"}, -- Custom death message | |
}) | |
-----[[ Advanced ]]----- | |
entity.Debug.OnEntitySpawned = function(entityTable) | |
print("Entity has spawned:", entityTable.Model) | |
end | |
entity.Debug.OnEntityDespawned = function(entityTable) | |
print("Entity has despawned:", entityTable.Model) | |
end | |
entity.Debug.OnEntityStartMoving = function(entityTable) | |
print("Entity has started moving:", entityTable.Model) | |
end | |
entity.Debug.OnEntityFinishedRebound = function(entityTable) | |
print("Entity has finished rebound:", entityTable.Model) | |
end | |
entity.Debug.OnEntityEnteredRoom = function(entityTable, room) | |
print("Entity:", entityTable.Model, "has entered room:", room) | |
end | |
entity.Debug.OnLookAtEntity = function(entityTable) | |
print("Player has looked at entity:", entityTable.Model) | |
end | |
entity.Debug.OnDeath = function(entityTable) | |
warn("Player has died.") | |
end | |
------------------------ | |
-- Run the created entity | |
Creator.runEntity(entity) | |
end, | |
}) | |
local HaltButton = SpawnTab:CreateButton({ | |
Name = "Spawn Halt", | |
Callback = function() | |
require(game.ReplicatedStorage.ClientModules.EntityModules.Shade).stuff(Data, workspace.CurrentRooms[tostring(game.ReplicatedStorage.GameData.LatestRoom.Value)]) | |
end, | |
}) | |
local GlitchButton = SpawnTab:CreateButton({ | |
Name = "Spawn Glitch", | |
Callback = function() | |
require(game.ReplicatedStorage.ClientModules.EntityModules.Glitch).stuff(Data, workspace.CurrentRooms[tostring(game.ReplicatedStorage.GameData.LatestRoom.Value)]) | |
end, | |
}) | |
local RoomActionsDropdown = SpawnTab:CreateDropdown({ | |
Name = "Next Room Actions", | |
Options = {"Hallway Jack","Shadow", "Eyes"}, | |
CurrentOption = "Input", | |
Flag = "Dropdown1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps | |
Callback = function(Option) | |
if Option == "Hallway Jack" then | |
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait() | |
local currentLoadedRoom=workspace.CurrentRooms[game:GetService("ReplicatedStorage").GameData.LatestRoom.Value] | |
local shadow=game:GetObjects("rbxassetid://11499539790")[1] | |
firesignal(game.ReplicatedStorage.Bricks.UseEventModule.OnClientEvent, "flickerLights", game.ReplicatedStorage.GameData.LatestRoom.Value, 1) | |
shadow:PivotTo(currentLoadedRoom.RoomStart.CFrame) | |
wait(0.2) | |
shadow.Parent=workspace | |
shadow.Sound:Play() | |
task.wait(0.3) | |
shadow:Destroy() | |
firesignal(game.ReplicatedStorage.Bricks.UseEventModule.OnClientEvent, "tryp", workspace.CurrentRooms[game.ReplicatedStorage.GameData.LatestRoom.Value], 10) | |
elseif Option == "Shadow" then | |
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait() | |
wait(0.2) | |
local currentLoadedRoom=workspace.CurrentRooms[game:GetService("ReplicatedStorage").GameData.LatestRoom.Value] | |
local shadow=game:GetObjects("rbxassetid://11454656473")[1] | |
local num=math.floor(#currentLoadedRoom.Nodes:GetChildren()/2) | |
shadow.CFrame=( | |
num==0 and currentLoadedRoom.Base or currentLoadedRoom.Nodes[num] | |
).CFrame+Vector3.new(0,4,0) | |
firesignal(game.ReplicatedStorage.Bricks.UseEventModule.OnClientEvent, "flickerLights", game.ReplicatedStorage.GameData.LatestRoom.Value, 1) | |
wait(0.2) | |
shadow.Parent=workspace | |
shadow.Initiate:Play() | |
task.wait(0.3) | |
shadow:Destroy() | |
elseif Option == "Eyes" then | |
game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait() | |
local enableDamage = true | |
repenttimes = 0 | |
local deadeyescrucifix = false | |
local repentcomplete = false | |
local currentLoadedRoom = workspace.CurrentRooms[game:GetService("ReplicatedStorage").GameData.LatestRoom.Value] | |
local eyes = game:GetObjects("rbxassetid://11488518082")[1] | |
local num = math.floor(#currentLoadedRoom.Nodes:GetChildren() / 2) | |
eyes.CFrame = (num == 0 and currentLoadedRoom.Base or currentLoadedRoom.Nodes[num]).CFrame + Vector3.new(0, 7, 0) | |
eyes.Parent = workspace | |
eyes.Initiate:Play() | |
task.wait(0.5) | |
eyes.Attachment.Eyes.Enabled = true | |
eyes.whisper:Play() | |
eyes.whisper.Looped = true | |
function EyesHell() | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local camara = game.Workspace.CurrentCamera | |
local camShake = CameraShaker.new(Enum.RenderPriority.Camera.Value, function(shakeCf) | |
camara.CFrame = camara.CFrame * shakeCf | |
end) | |
camShake:Start() | |
camShake:ShakeOnce(10,30,0.7,0.1) | |
ts = game:GetService("TweenService") | |
wait(0.2) | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local camara = game.Workspace.CurrentCamera | |
local camShake = CameraShaker.new(Enum.RenderPriority.Camera.Value, function(shakeCf) | |
camara.CFrame = camara.CFrame * shakeCf | |
end) | |
camShake:Start() | |
camShake:ShakeOnce(2,30,5,2) | |
wait(3) | |
eyes.Scream:Play() | |
ts:Create(eyes,TweenInfo.new(5),{CFrame = eyes.CFrame - Vector3.new(0,12,0)}):Play() | |
wait(7) | |
eyes:Destroy() | |
end | |
local hum = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid") | |
local function IsVisible(part) | |
local vec, found=workspace.CurrentCamera:WorldToViewportPoint(part.Position) | |
local onscreen = found and vec.Z > 0 | |
local cfg = RaycastParams.new(); | |
cfg.FilterType = Enum.RaycastFilterType.Blacklist | |
cfg.FilterDescendantsInstances = {part}; | |
local cast = workspace:Raycast(part.Position, (game.Players.LocalPlayer.Character.UpperTorso.Position - part.Position), cfg); | |
return (onscreen and true) and ((cast and cast.Instance).Parent==game.Players.LocalPlayer.Character and true) | |
end | |
while true do | |
if workspace.CurrentRooms[game:GetService("ReplicatedStorage").GameData.LatestRoom.Value] ~= currentLoadedRoom then | |
enableDamage = false | |
task.wait(0.2) | |
eyes:Destroy() | |
end | |
if enableDamage then | |
if (IsVisible(eyes)) and not game.Players.LocalPlayer.Character:FindFirstChild("Crucifix") and deadeyescrucifix == false then | |
game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.Health - 10 | |
wait(0.2) | |
elseif (IsVisible(eyes)) and game.Players.LocalPlayer.Character:FindFirstChild("Crucifix") and repenttimes < 5 and deadeyescrucifix == false then | |
print("GET THAT AWAY FROM ME") | |
eyes.Repent:Play() | |
eyes.Attachment.Angry.Enabled = true | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local camara = game.Workspace.CurrentCamera | |
local camShake = CameraShaker.new(Enum.RenderPriority.Camera.Value, function(shakeCf) | |
camara.CFrame = camara.CFrame * shakeCf | |
end) | |
camShake:Start() | |
camShake:ShakeOnce(5,50,0.7,0.2) | |
wait(0.7) | |
repenttimes = repenttimes + 1 | |
print(repenttimes) | |
eyes.Attachment.Angry.Enabled = false | |
wait(0.4) | |
elseif game.Players.LocalPlayer.Character:FindFirstChild("Crucifix") and repenttimes == 5 and deadeyescrucifix == false then | |
local hi = game.Players.LocalPlayer.Character:FindFirstChild("Crucifix").Handle:Clone() | |
hi.Anchored = true | |
hi.Parent = workspace | |
hi:PivotTo(game.Players.LocalPlayer.Character:FindFirstChild("Crucifix").Handle.CFrame) | |
game.Players.LocalPlayer.Character:FindFirstChild("Crucifix"):Destroy() | |
EyesHell() | |
enableDamage = false | |
if hum.Health <= 0 then | |
game:GetService("ReplicatedStorage").GameStats["Player_" .. game.Players.LocalPlayer.Name].Total.DeathCause.Value = | |
"Eyes" | |
debug.setupvalue( | |
getconnections(game:GetService("ReplicatedStorage").Bricks.DeathHint.OnClientEvent)[1].Function, | |
1, | |
{ | |
"You died to the Eyes...", | |
"They don't like to be stared at.", | |
} | |
) | |
end | |
end | |
end | |
task.wait(0.2) | |
end | |
end | |
end, | |
}) | |
local Paragraph = SpawnTab:CreateParagraph({Title = "NOTICE", Content = "The Crucifix works on the eyes."}) | |
local EyesButton = SpawnTab:CreateButton({ | |
Name = "Spawn Eyes", | |
Callback = function() | |
local enableDamage = true | |
repenttimes = 0 | |
local deadeyescrucifix = false | |
local repentcomplete = false | |
local currentLoadedRoom = workspace.CurrentRooms[game:GetService("ReplicatedStorage").GameData.LatestRoom.Value] | |
local eyes = game:GetObjects("rbxassetid://11488518082")[1] | |
local num = math.floor(#currentLoadedRoom.Nodes:GetChildren() / 2) | |
eyes.CFrame = (num == 0 and currentLoadedRoom.Base or currentLoadedRoom.Nodes[num]).CFrame + Vector3.new(0, 7, 0) | |
eyes.Parent = workspace | |
eyes.Initiate:Play() | |
task.wait(0.5) | |
eyes.Attachment.Eyes.Enabled = true | |
eyes.whisper:Play() | |
eyes.whisper.Looped = true | |
function EyesHell() | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local camara = game.Workspace.CurrentCamera | |
local camShake = CameraShaker.new(Enum.RenderPriority.Camera.Value, function(shakeCf) | |
camara.CFrame = camara.CFrame * shakeCf | |
end) | |
camShake:Start() | |
camShake:ShakeOnce(10,30,0.7,0.1) | |
ts = game:GetService("TweenService") | |
wait(0.2) | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local camara = game.Workspace.CurrentCamera | |
local camShake = CameraShaker.new(Enum.RenderPriority.Camera.Value, function(shakeCf) | |
camara.CFrame = camara.CFrame * shakeCf | |
end) | |
camShake:Start() | |
camShake:ShakeOnce(2,30,5,2) | |
wait(3) | |
eyes.Scream:Play() | |
ts:Create(eyes,TweenInfo.new(5),{CFrame = eyes.CFrame - Vector3.new(0,12,0)}):Play() | |
wait(7) | |
eyes:Destroy() | |
end | |
local hum = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid") | |
local function IsVisible(part) | |
local vec, found=workspace.CurrentCamera:WorldToViewportPoint(part.Position) | |
local onscreen = found and vec.Z > 0 | |
local cfg = RaycastParams.new(); | |
cfg.FilterType = Enum.RaycastFilterType.Blacklist | |
cfg.FilterDescendantsInstances = {part}; | |
local cast = workspace:Raycast(part.Position, (game.Players.LocalPlayer.Character.UpperTorso.Position - part.Position), cfg); | |
return (onscreen and true) and ((cast and cast.Instance).Parent==game.Players.LocalPlayer.Character and true) | |
end | |
while true do | |
if workspace.CurrentRooms[game:GetService("ReplicatedStorage").GameData.LatestRoom.Value] ~= currentLoadedRoom then | |
enableDamage = false | |
task.wait(0.2) | |
eyes:Destroy() | |
end | |
if enableDamage then | |
if (IsVisible(eyes)) and not game.Players.LocalPlayer.Character:FindFirstChild("Crucifix") and deadeyescrucifix == false then | |
game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.Health - 10 | |
wait(0.2) | |
elseif (IsVisible(eyes)) and game.Players.LocalPlayer.Character:FindFirstChild("Crucifix") and repenttimes < 5 and deadeyescrucifix == false then | |
print("GET THAT AWAY FROM ME") | |
eyes.Repent:Play() | |
eyes.Attachment.Angry.Enabled = true | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local CameraShaker = require(game.ReplicatedStorage.CameraShaker) | |
local camara = game.Workspace.CurrentCamera | |
local camShake = CameraShaker.new(Enum.RenderPriority.Camera.Value, function(shakeCf) | |
camara.CFrame = camara.CFrame * shakeCf | |
end) | |
camShake:Start() | |
camShake:ShakeOnce(5,50,0.7,0.2) | |
wait(0.7) | |
repenttimes = repenttimes + 1 | |
print(repenttimes) | |
eyes.Attachment.Angry.Enabled = false | |
wait(0.4) | |
elseif game.Players.LocalPlayer.Character:FindFirstChild("Crucifix") and repenttimes == 5 and deadeyescrucifix == false then | |
local hi = game.Players.LocalPlayer.Character:FindFirstChild("Crucifix").Handle:Clone() | |
hi.Anchored = true | |
hi.Parent = workspace | |
hi:PivotTo(game.Players.LocalPlayer.Character:FindFirstChild("Crucifix").Handle.CFrame) | |
game.Players.LocalPlayer.Character:FindFirstChild("Crucifix"):Destroy() | |
EyesHell() | |
enableDamage = false | |
if hum.Health <= 0 then | |
game:GetService("ReplicatedStorage").GameStats["Player_" .. game.Players.LocalPlayer.Name].Total.DeathCause.Value = | |
"Eyes" | |
debug.setupvalue( | |
getconnections(game:GetService("ReplicatedStorage").Bricks.DeathHint.OnClientEvent)[1].Function, | |
1, | |
{ | |
"You died to the Eyes...", | |
"They don't like to be stared at.", | |
} | |
) | |
end | |
end | |
end | |
task.wait(0.2) | |
end | |
end, | |
}) | |
local SeekEyesButton = SpawnTab:CreateButton({ | |
Name = "Spawn Seek Eyes", | |
Callback = function() | |
require(game.ReplicatedStorage.ClientModules.EntityModules.Seek).tease(nil, workspace.CurrentRooms[game.Players.LocalPlayer:GetAttribute("CurrentRoom")], 100) | |
end, | |
}) | |
local TimothyButton = SpawnTab:CreateButton({ | |
Name = "Spawn Timothy", | |
Callback = function() | |
local a = game.Players.LocalPlayer.PlayerGui.MainUI.Initiator.Main_Game | |
require(a.RemoteListener.Modules.SpiderJumpscare)(require(a), workspace.CurrentRooms[tostring(game.ReplicatedStorage.GameData.LatestRoom.Value)].Assets.Table.DrawerContainer, 0.2) | |
end, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment