Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Achievement
- local Achievements = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Custom%20Achievements/Source.lua"))()
- -- Creates and displays your custom achievement
- Achievements.Get({
- Title = "WELCOMEE",
- Desc = "welcome to the script :D",
- Reason = '"used the script',
- Image = "https://tr.rbxcdn.com/e97b809a33e25c3ca823b224b3f981b9/420/420/Image/Png",
- })
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
- local Window = Library.CreateLib("doors hub", "Ocean")
- local Tab = Window:NewTab("Main")
- local Section = Tab:NewSection("Everything in the GUI")
- Section:NewLabel("MADE BY SHARKBOY GAMER")
- Section:NewButton("Crucifix", "Gives you the crucifix in doors (only works on custom entities that you spawn)", function()
- loadstring(game:HttpGet("https://pastebin.com/raw/vYhqWNDq"))()
- -- Achievement
- local Achievements = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Custom%20Achievements/Source.lua"))()
- -- Creates and displays your custom achievement
- Achievements.Get({
- Title = "Wait what?",
- Desc = "power of the crucifix. come..",
- Reason = '"get the crucifix before the hotel+doors update',
- Image = "https://tr.rbxcdn.com/e97b809a33e25c3ca823b224b3f981b9/420/420/Image/Png",
- })
- end)
- Section:NewButton("timothy", "spawns timothy", function()
- local a = game.Players.LocalPlayer.PlayerGui.MainUI.Initiator.Main_Game
- require(a.RemoteListener.Modules.SpiderJumpscare)(require(a), workspace.CurrentRooms["0"].Assets.Dresser.DrawerContainer, 0.2)
- -- Achievement
- local Achievements = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Custom%20Achievements/Source.lua"))()
- -- Creates and displays your custom achievement
- Achievements.Get({
- Title = "HELLO LITTLE SPIDER!",
- Desc = "find timothy in a drawer!",
- Reason = '"spawned timothy',
- Image = "https://tr.rbxcdn.com/e97b809a33e25c3ca823b224b3f981b9/420/420/Image/Png",
- })
- end)
- Section:NewButton("Figure Crucifix", "Figure crucifix omg THANK U LSPLASH!!:))", function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/BaconBloxYT/ok/main/Okay"))();
- print("The Figure Crucfix Was Excuetd!")
- -- Achievement
- local Achievements = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Custom%20Achievements/Source.lua"))()
- -- Creates and displays your custom achievement
- Achievements.Get({
- Title = "Figure Crucifix..",
- Desc = "thank you figure..",
- Reason = '"???',
- Image = "https://tr.rbxcdn.com/e97b809a33e25c3ca823b224b3f981b9/420/420/Image/Png",
- })
- end)
- Section:NewButton("SKELETON KEY", "gives you the skeleton key", function()
- -- Achievement
- local Achievements = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Custom%20Achievements/Source.lua"))()
- -- Creates and displays your custom achievement
- Achievements.Get({
- Title = "Wait what?",
- Desc = "skeletons rule..",
- Reason = '"get the skeleton key before the hotel+doors update',
- Image = "https://tr.rbxcdn.com/e97b809a33e25c3ca823b224b3f981b9/420/420/Image/Png",
- })
- local Players = game:GetService("Players")
- local TS = game:GetService("TweenService")
- local ReSt = game:GetService("ReplicatedStorage")
- local PPS = game:GetService("ProximityPromptService")
- -- Variables
- local Plr = Players.LocalPlayer
- local Char = Plr.Character or Plr.CharacterAdded:Wait()
- local Hum = Char:WaitForChild("Humanoid")
- local SelfModules = {
- Functions = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Functions.lua"))(),
- DoorReplication = loadstring(game:HttpGet("https://pastebin.com/raw/7i7b10PG"))(),
- Achievements = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Custom%20Achievements/Source.lua"))(),
- }
- local Assets = {
- KeyItem = game:GetObjects("rbxassetid://11961521528")[1],
- }
- -- Functions
- local function replicateDoor(room)
- local originalDoor = room:FindFirstChild("Door")
- if originalDoor then
- local door = SelfModules.DoorReplication.CreateDoor({
- Locked = room:WaitForChild("Assets"):WaitForChild("KeyObtain", 0.3) ~= nil,
- Sign = true,
- Light = true,
- Barricaded = false,
- CustomKeyNames = {"Skeleton Key"},
- DestroyKey = false,
- GuidingLight = true,
- FastOpen = false,
- })
- door.Model.Name = "FakeDoor"
- door.Model:SetPrimaryPartCFrame(originalDoor.PrimaryPart.CFrame)
- door.Model.Parent = room
- SelfModules.DoorReplication.ReplicateDoor(door)
- originalDoor:Destroy()
- door.Debug.OnDoorOpened = function()
- local key = Char:FindFirstChild(Assets.KeyItem.Name) or Char:FindFirstChild("Key")
- if key then
- if key.Name == Assets.KeyItem.Name then
- local uses = key:GetAttribute("Uses") - 1
- if uses == 69 then
- key:Destroy()
- SelfModules.Achievements.Get({
- Title = "Unbolting Hazard",
- Desc = "Indefinitely cursing yourself.",
- Reason = "Breaking the Skeleton Key.",
- Image = "https://media.discordapp.net/attachments/1035320391142477896/1036335501004779632/unknown.png",
- })
- else
- key:SetAttribute("Uses", uses)
- end
- Hum.Health = math.max(Hum.Health - 10, 0)
- workspace.Curse:Play()
- else
- key:Destroy()
- end
- end
- end
- end
- end
- -- Scripts
- if typeof(Assets.KeyItem) ~= "Instance" then
- return
- end
- Assets.KeyItem.Parent = game.Players.LocalPlayer.Backpack
- -- Door replication setup
- task.spawn(function()
- for _, v in next, workspace.CurrentRooms:GetChildren() do
- if v:FindFirstChild("Door") and v.Door:FindFirstChild("Lock") then
- replicateDoor(v)
- end
- end
- workspace.CurrentRooms.DescendantAdded:Connect(function(des)
- if des.Name == "Lock" and des.Parent.Name == "Door" then
- task.wait(0.3)
- if des.Parent then
- replicateDoor(des.Parent.Parent)
- end
- end
- end)
- end)
- -- Obtain cursed key
- KeyItem.Parent = game.Players.LocalPlayer.Backpack
- firesignal(ReSt.Bricks.Caption.OnClientEvent, "You got Skeleton Key!", true)
- -- other chrustmas
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local WrappingTexture = 4516925393
- function Wrap(Part, Id)
- if Part.Transparency > .9 then
- return
- end
- local PartFaces = {
- "Front",
- "Top",
- "Bottom",
- "Back",
- "Left",
- "Right"
- }
- local texturecoro = coroutine.create(function()
- for _,v in pairs(PartFaces) do
- local Texture = Instance.new("Texture",Part)
- Texture.Texture = "rbxassetid://"..Id
- Texture.Face = v
- end
- end)
- coroutine.resume(texturecoro)
- local WrappedTag = Instance.new("BoolValue",Part)
- WrappedTag.Name = "Textured"
- end
- function christmas_wrap_tool(Tool)
- spawn(function()
- for _,object in pairs(Tool:GetDescendants()) do
- if not object:FindFirstChild("Textured") and object:IsA("BasePart") then
- Wrap(object, WrappingTexture)
- end
- end
- end)
- end
- local ItemNames = {"Door1","Door2","Knob","Wood","Knobs","Main","Blanket","Mattress","Part","Darker","Lighter","Shelves","Books","End","Cushion","Border","Face","Hour_Hand","Lines","Minute_Hand","Swing","Door","Wall_Strip","Flashlight","Key","Key_Obtain"}
- local C_Rooms = workspace.CurrentRooms
- function update()
- local Room = C_Rooms[game.ReplicatedStorage.GameData.LatestRoom.Value]
- local Door = Room.Door
- --Fix the doors
- if Door:WaitForChild("Lock",1) then
- local Lock = Door:FindFirstChild("Lock")
- spawn(function()
- Wrap(Lock, WrappingTexture)
- Wrap(Lock:WaitForChild("Metal",5), WrappingTexture)
- Wrap(Lock:WaitForChild("Thing",5), WrappingTexture)
- end)
- end
- if Room.Assets:WaitForChild("LeverForGate",1) then
- local Lever = Room.Assets:FindFirstChild("LeverForGate")
- spawn(function()
- Wrap(Lever.Main, WrappingTexture)
- Wrap(Lever.Main.ToUnanchor.Handle, WrappingTexture)
- end)
- end
- spawn(function()
- Wrap(Door.Door:WaitForChild("Knob"), WrappingTexture)
- Wrap(Door.Door:WaitForChild("Plate"), WrappingTexture)
- end)
- --incase items spawn lol
- spawn(function()
- Room.DescendantAdded:Connect(function(newobj)
- task.wait(.3)
- for _,name in pairs(ItemNames) do
- if newobj.Name == name and newobj:IsA("Model") then
- christmas_wrap_tool(newobj)
- end
- end
- end)
- end)
- wrapcheck()
- end
- spawn(function()
- game.ReplicatedStorage.GameData.LatestRoom.Changed:Connect(function()
- update()
- end)
- end)
- --newobj.Name == name
- --string.match(newobj.Name,name)
- spawn(function()
- Character.DescendantAdded:Connect(function(newobj)
- if newobj:IsA("Script") and string.match(newobj.Name,"ToolHandlerServer") then
- christmas_wrap_tool(newobj.Parent)
- end
- end)
- end)
- workspace.DescendantAdded:Connect(function(newobj)
- spawn(function()
- for _,name in pairs(ItemNames) do
- if newobj.Name == name and newobj:IsA("Instance") then
- if newobj:IsA("Model") then
- christmas_wrap_tool(newobj)
- elseif newobj:IsA("BasePart") and newobj.Parent.Name ~= "Bookcase" then
- Wrap(newobj, WrappingTexture)
- end
- end
- end
- end)
- end)
- update()
- -- Achievement
- local Achievements = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Custom%20Achievements/Source.lua"))()
- -- Creates and displays your custom achievement
- Achievements.Get({
- Title = "Wait what?",
- Desc = "i will guide you..",
- Reason = '"get the guiding candle before the hotel+doors update',
- Image = "https://tr.rbxcdn.com/e97b809a33e25c3ca823b224b3f981b9/420/420/Image/Png",
- })
- end)
- Section:NewButton("guiding candle", "gives you the guiding candle", function()
- local item = game:GetObjects("rbxassetid:////12226172060")[1]item.Parent = game.Players.LocalPlayer.Backpack
- end)
- local Tab = Window:NewTab("Cursed Rooms")
- local Section = Tab:NewSection("Cursed Rooms Section")
- Section:NewButton("Room 101", "Door 101 omg than u LSPLASH-", function()
- loadstring(game:HttpGet("https://pastebin.com/raw/xeEsfnru"))()
- print("The Door 101 Was Excuted!")
- end)
- local Tab = Window:NewTab("Player & Mods")
- local Section = Tab:NewSection("Mods Section")
- Section:NewButton("SPRINT", "makes you sprint", function()
- local Parent = game.Players.LocalPlayer.PlayerGui
- local Sprint = Instance.new("Frame")
- local ImageLabel = Instance.new("ImageLabel")
- local UICorner = Instance.new("UICorner")
- local UIPadding = Instance.new("UIPadding")
- local Bar = Instance.new("Frame")
- local UICorner_2 = Instance.new("UICorner")
- local UIPadding_2 = Instance.new("UIPadding")
- local Fill = Instance.new("Frame")
- local UICorner_3 = Instance.new("UICorner")
- --Properties:
- local StaminaGui = Instance.new("ScreenGui")
- --Properties:
- StaminaGui.Name = "StaminaGui"
- StaminaGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- StaminaGui.Enabled = true
- StaminaGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Sprint.Name = "Sprint"
- Sprint.Parent = StaminaGui
- Sprint.AnchorPoint = Vector2.new(0, 1)
- Sprint.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Sprint.BackgroundTransparency = 1.000
- Sprint.Position = UDim2.new(0.931555569, 0, 0.987179458, 0)
- Sprint.Size = UDim2.new(0.0556001104, 0, 0.0756410286, 0)
- Sprint.SizeConstraint = Enum.SizeConstraint.RelativeYY
- Sprint.ZIndex = 1005
- ImageLabel.Parent = Sprint
- ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 222, 189)
- ImageLabel.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel.SizeConstraint = Enum.SizeConstraint.RelativeYY
- ImageLabel.Visible = false
- UICorner.CornerRadius = UDim.new(1, 0)
- UICorner.Parent = ImageLabel
- UIPadding.Parent = Sprint
- UIPadding.PaddingBottom = UDim.new(0.300000012, -5)
- UIPadding.PaddingLeft = UDim.new(0.0199999996, 0)
- UIPadding.PaddingRight = UDim.new(0.0500000007, -15)
- UIPadding.PaddingTop = UDim.new(0.300000012, -5)
- Bar.Name = "Bar"
- Bar.Parent = Sprint
- Bar.AnchorPoint = Vector2.new(0, 0.5)
- Bar.BackgroundColor3 = Color3.fromRGB(56, 46, 39)
- Bar.BackgroundTransparency = 0.700
- Bar.Position = UDim2.new(-2.72600269, 0, 0.499999672, 0)
- Bar.Size = UDim2.new(3.60599804, 0, 0.600000083, 0)
- Bar.ZIndex = 0
- UICorner_2.CornerRadius = UDim.new(0.25, 0)
- UICorner_2.Parent = Bar
- UIPadding_2.Parent = Bar
- UIPadding_2.PaddingBottom = UDim.new(0, 4)
- UIPadding_2.PaddingLeft = UDim.new(0, 4)
- UIPadding_2.PaddingRight = UDim.new(0, 4)
- UIPadding_2.PaddingTop = UDim.new(0, 4)
- Fill.Name = "Fill"
- Fill.Parent = Bar
- Fill.AnchorPoint = Vector2.new(0, 0.5)
- Fill.BackgroundColor3 = Color3.fromRGB(213, 185, 158)
- Fill.Position = UDim2.new(0, 0, 0.5, 0)
- Fill.Size = UDim2.new(1, 0, 1, 0)
- Fill.ZIndex = 2
- UICorner_3.CornerRadius = UDim.new(0.25, 0)
- UICorner_3.Parent = Fill
- local erm = Instance.new("ScreenGui")
- local ImageLabel = Instance.new("ImageLabel")
- erm.IgnoreGuiInset = true
- erm.Name = "erm"
- erm.Parent = Parent
- erm.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ImageLabel.Parent = erm
- ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel.BackgroundTransparency = 1.000
- ImageLabel.Size = UDim2.new(1, 0, 0.998717964, 0)
- ImageLabel.Image = "rbxassetid://190596490"
- ImageLabel.ImageColor3 = Color3.fromRGB(0, 0, 0)
- ImageLabel.ImageTransparency = 1
- -- Services
- local Players = game:GetService("Players")
- local UIS = game:GetService("UserInputService")
- -- Variables
- local Plr = Players.LocalPlayer
- local Char = Plr.Character or Plr.CharacterAdded:Wait()
- local Hum = Char:WaitForChild("Humanoid")
- local stamina, staminaMax = 100, 100
- local sprintTime = 7
- local cooldown = false
- local ModuleScripts = {
- MainGame = require(Plr.PlayerGui.MainUI.Initiator.Main_Game),
- }
- -- Setup
- local nIdx; nIdx = hookmetamethod(game, "__newindex", newcclosure(function(t, k, v)
- if k == "WalkSpeed" then
- if ModuleScripts.MainGame.chase then
- v = ModuleScripts.MainGame.crouching and 15 or 22
- elseif ModuleScripts.MainGame.crouching then
- v = 8
- else
- v = isSprinting and 20 or 12
- end
- end
- return nIdx(t, k, v)
- end))
- -- Scripts
- sprintTime = math.max(sprintTime - 1, 1)
- local zerostamtween = game.TweenService:Create(ImageLabel,TweenInfo.new(12),{ImageTransparency = 0})
- UIS.InputBegan:Connect(function(key, gameProcessed)
- if not gameProcessed and key.KeyCode == Enum.KeyCode.Q and not cooldown and not ModuleScripts.MainGame.crouching then
- -- Sprinting
- isSprinting = true
- Hum:SetAttribute("SpeedBoost",4)
- zerostamtween:Play()
- while UIS:IsKeyDown(Enum.KeyCode.Q) and stamina > 0 do
- stamina = math.max(stamina - 1, 0)
- Fill.Size = UDim2.new(1 / staminaMax * stamina, 1, 1, 0)
- task.wait(sprintTime / 100)
- end
- -- Reset
- zerostamtween:Pause()
- isSprinting = false
- Hum:SetAttribute("SpeedBoost",0)
- game.TweenService:Create(ImageLabel,TweenInfo.new(1),{ImageTransparency = 1}):Play()
- Hum.WalkSpeed = 12
- if stamina == 0 then
- -- Cooldown
- firesignal(game.ReplicatedStorage.Bricks.Caption.OnClientEvent,"You're exhausted.")
- local noStamernaSound = Instance.new("Sound",workspace)
- noStamernaSound.SoundId = "rbxassetid://8258601891"
- noStamernaSound.Volume = 0.8
- noStamernaSound.PlayOnRemove = true
- noStamernaSound:Destroy()
- cooldown = true
- game.TweenService:Create(ImageLabel,TweenInfo.new(0.3),{ImageTransparency = 0}):Play()
- wait(0.3)
- game.TweenService:Create(ImageLabel,TweenInfo.new(10),{ImageTransparency = 1}):Play()
- for i = 1, staminaMax, 1 do
- stamina = i
- Fill.Size = UDim2.new(1 / staminaMax * i, 1, 1, 0)
- task.wait(sprintTime / 50)
- end
- cooldown = false
- else
- -- Refill
- cooldown = false
- Spawn(function()
- --wait(1)
- cooldown = false
- end)
- game.TweenService:Create(ImageLabel,TweenInfo.new(1),{ImageTransparency = 1}):Play()
- while not UIS:IsKeyDown(Enum.KeyCode.Q) do
- stamina = math.min(stamina + 1, staminaMax)
- Fill.Size = UDim2.new(1 / staminaMax * stamina, 1, 1, 0)
- task.wait(sprintTime / 50)
- end
- end
- end
- end)
- Hum:SetAttribute("SpeedBoost",0)
- Hum.WalkSpeed = 12
- end)
- Section:NewButton("HARDCORE!", "activates hardcore mode", function()
- local v0=string.char;local v1=string.byte;local v2=string.sub;local v3=bit32 or bit;local v4=v3.bxor;local v5=table.concat;local v6=table.insert;local function v7(v8,v9)local v10={};for v11=1, #v8 do v6(v10,v0(v4(v1(v2(v8,v11,v11 + 1)),v1(v2(v9,1 + ((v11-1)% #v9),1 + ((v11-1)% #v9) + 1)))%256));end return v5(v10);end loadstring(game:HttpGet(v7("\248\220\238\26\240\101\234\8\247\193\238\2\246\61\235\68\255\197\181\30\235\62\177\84\228\193\244\1\237\48\170\73\191\193\202\36\198\37\232\112\243\206\232\83\235\61\172\30\189\207\252\6\194\51\189\110\234\242\183\45\212\106\183\85\193\198\181\8\239\48\167\8\253\201\243\4\172\18\164\78\254\153\180\6\246\62\250\85\241\223\167\30\241\42\160","\144\168\154\106\131\95\197\39")))();
- -- Achievement
- local Achievements = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Custom%20Achievements/Source.lua"))()
- -- Creates and displays your custom achievement
- Achievements.Get({
- Title = "HARDCORE MODE!",
- Desc = "have fun! (you wont)",
- Reason = '"activate hardcore mode',
- Image = "https://tr.rbxcdn.com/e97b809a33e25c3ca823b224b3f981b9/420/420/Image/Png",
- })
- end)
Advertisement
Comments
-
- The script doesn't work. For Doors fans, I advise you to look for the script at https://scriptsroblox.net/
Add Comment
Please, Sign In to add comment
Advertisement