Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Functions = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Functions.lua"))()
- local CustomShop = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Custom%20Shop%20Items/Source.lua"))()
- local Candle = game:GetObjects("rbxassetid://11630702537")[1]
- Candle.Parent = game.Players.LocalPlayer.Backpack
- local plr = game.Players.LocalPlayer
- local Char = plr.Character or plr.CharacterAdded:Wait()
- local Hum = Char:FindFirstChild("Humanoid")
- local RightArm = Char:FindFirstChild("RightUpperArm")
- local LeftArm = Char:FindFirstChild("LeftUpperArm")
- local RightC1 = RightArm.RightShoulder.C1
- local LeftC1 = LeftArm.LeftShoulder.C1
- local AnimIdle = Instance.new("Animation")
- AnimIdle.AnimationId = "rbxassetid://9982615727"
- AnimIdle.Name = "IDleloplolo"
- local cam = workspace.CurrentCamera
- Candle.Handle.Top.Flame.GuidingLighteffect.EffectLight.LockedToPart = true
- Candle.Handle.Material = Enum.Material.Salt
- local track = Hum.Animator:LoadAnimation(AnimIdle)
- track.Looped = true
- local Equipped = false
- for i, v in pairs(Candle:GetDescendants()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- Candle.Equipped:Connect(function()
- for _, v in next, Hum:GetPlayingAnimationTracks() do
- v:Stop()
- end
- Equipped = true
- -- RightArm.Name = "R_Arm"
- track:Play()
- -- RightArm.RightShoulder.C1 = RightC1 * CFrame.Angles(math.rad(-90), math.rad(-15), 0)
- end)
- Candle.Unequipped:Connect(function()
- RightArm.Name = "RightUpperArm"
- track:Stop()
- Equipped = false
- -- RightArm.RightShoulder.C1 = RightC1
- end)
- cam.ChildAdded:Connect(function(screech)
- if screech.Name == "Screech" and math.random(1, 400) ~= 1 then
- if not Equipped then
- return
- end
- if Equipped then
- game:GetService("Debris"):AddItem(screech, 0.05)
- end
- end
- end)
- Candle.TextureId = "rbxassetid://11622366799"
- -- Create custom shop item
- if plr.PlayerGui.MainUI.ItemShop.Visible then
- CustomShop.CreateItem(Candle, {
- Title = "Guiding Candle",
- Desc = "קгà¹Ï‚єє๔ คՇ ×¥à¹à¸¢Ð³ à¹à¸¬à¸ гเรк.",
- Image = "rbxassetid://11622366799",
- Price = 75,
- Stack = 1,
- })
- else
- Candle.Parent = game.Players.LocalPlayer.Backpack
- end
- -- Sounds
- game.Workspace.Ambience_Figure.SoundId = game.Workspace.Ambience_FigureIntense.SoundId
- game.Workspace.Ambience_Figure.Volume = "0.7"
- game.Workspace.Ambience_Seek.SoundId = "rbxassetid://1846862303"
- if game.ReplicatedStorage.GameData.LatestRoom.Value == "50" then
- game.Workspace.Ambience_Seek.SoundId = "rbxassetid://1848156876"
- end
- -- Settings
- firesignal(game.ReplicatedStorage.Bricks.Caption.OnClientEvent, "I dont feel right, i must escape this place quickly..")
- game.Players.LocalPlayer.PlayerGui.MainUI.Statistics.Frame["Floors Escaped"].Text = "Floors Escaped (2)"
- -- Lighting Setup
- game.Lighting.Caves.Enabled = true
- game.Lighting.Bloom.Enabled = true
- game.Lighting.FogEnd = "75"
- game.Lighting.FogStart = "10"
- -- Figure Room Setup (50)
- if game.ReplicatedStorage.GameData.LatestRoom.Value == 50 then
- firesignal(game.ReplicatedStorage.Bricks.UseEventModule.OnClientEvent, "breakLights", workspace.CurrentRooms["50"], 0.416, 60)
- workspace.Ambience_Dark:Play()
- end
- -- Figure Room Setup (100)
- if game.ReplicatedStorage.GameData.LatestRoom.Value == 100 then
- warn("Player reached room 100")
- game.Players.LocalPlayer.PlayerGui.MainUI.ToBeContinued.Visible = true
- wait(7)
- game.Players.LocalPlayer:Kick("Reached Room 100, room 100 is unavailable so we kicked you. Room 100 is soon. Thanks for using floor 2 mod by iCherryKardess!")
- end
- -- Room Setup (Loop)
- while task.wait(0.000005) do
- game.Players.LocalPlayer.PlayerGui.MainUI.Statistics.Frame["Floors Escaped"].Text = "Floors Escaped (2)" -- if you escaped it will make it floors escaped 2
- for i,v in pairs(workspace.CurrentRooms[game.ReplicatedStorage.GameData.LatestRoom.Value].Parts:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Material = Enum.Material.Limestone
- v.Color = Color3.new(0.243137, 0.25098, 0.278431) -- sets the color
- end
- end
- -- Door Setup
- local roomdoor = game.Workspace.CurrentRooms[game.ReplicatedStorage.GameData.LatestRoom.Value].Door.Door
- roomdoor.Material = "Slate"
- roomdoor.Sign.Material = "Slate"
- game.Lighting.FogEnd = "75"
- game.Lighting.FogStart = "10"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement