Advertisement
DE_Speedruns

Untitled

Jan 12th, 2023
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.51 KB | None | 0 0
  1. local Functions = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Functions.lua"))()
  2. local CustomShop = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Custom%20Shop%20Items/Source.lua"))()
  3. local Candle = game:GetObjects("rbxassetid://11630702537")[1]
  4. Candle.Parent = game.Players.LocalPlayer.Backpack
  5. local plr = game.Players.LocalPlayer
  6. local Char = plr.Character or plr.CharacterAdded:Wait()
  7. local Hum = Char:FindFirstChild("Humanoid")
  8. local RightArm = Char:FindFirstChild("RightUpperArm")
  9. local LeftArm = Char:FindFirstChild("LeftUpperArm")
  10. local RightC1 = RightArm.RightShoulder.C1
  11. local LeftC1 = LeftArm.LeftShoulder.C1
  12. local AnimIdle = Instance.new("Animation")
  13. AnimIdle.AnimationId = "rbxassetid://9982615727"
  14. AnimIdle.Name = "IDleloplolo"
  15. local cam = workspace.CurrentCamera
  16. Candle.Handle.Top.Flame.GuidingLighteffect.EffectLight.LockedToPart = true
  17. Candle.Handle.Material = Enum.Material.Salt
  18. local track = Hum.Animator:LoadAnimation(AnimIdle)
  19. track.Looped = true
  20. local Equipped = false
  21. for i, v in pairs(Candle:GetDescendants()) do
  22. if v:IsA("BasePart") then
  23. v.CanCollide = false
  24. end
  25. end
  26. Candle.Equipped:Connect(function()
  27. for _, v in next, Hum:GetPlayingAnimationTracks() do
  28. v:Stop()
  29. end
  30. Equipped = true
  31. -- RightArm.Name = "R_Arm"
  32. track:Play()
  33. -- RightArm.RightShoulder.C1 = RightC1 * CFrame.Angles(math.rad(-90), math.rad(-15), 0)
  34. end)
  35. Candle.Unequipped:Connect(function()
  36. RightArm.Name = "RightUpperArm"
  37. track:Stop()
  38. Equipped = false
  39. -- RightArm.RightShoulder.C1 = RightC1
  40. end)
  41. cam.ChildAdded:Connect(function(screech)
  42. if screech.Name == "Screech" and math.random(1, 400) ~= 1 then
  43. if not Equipped then
  44. return
  45. end
  46. if Equipped then
  47. game:GetService("Debris"):AddItem(screech, 0.05)
  48. end
  49. end
  50. end)
  51. Candle.TextureId = "rbxassetid://11622366799"
  52. -- Create custom shop item
  53. if plr.PlayerGui.MainUI.ItemShop.Visible then
  54. CustomShop.CreateItem(Candle, {
  55. Title = "Guiding Candle",
  56. Desc = "קг๏ςєє๔ คՇ ץ๏ยг ๏ฬภгเรк.",
  57. Image = "rbxassetid://11622366799",
  58. Price = 75,
  59. Stack = 1,
  60. })
  61. else
  62. Candle.Parent = game.Players.LocalPlayer.Backpack
  63. end
  64.  
  65. -- Sounds
  66. game.Workspace.Ambience_Figure.SoundId = game.Workspace.Ambience_FigureIntense.SoundId
  67. game.Workspace.Ambience_Figure.Volume = "0.7"
  68. game.Workspace.Ambience_Seek.SoundId = "rbxassetid://1846862303"
  69. if game.ReplicatedStorage.GameData.LatestRoom.Value == "50" then
  70. game.Workspace.Ambience_Seek.SoundId = "rbxassetid://1848156876"
  71. end
  72. -- Settings
  73. firesignal(game.ReplicatedStorage.Bricks.Caption.OnClientEvent, "I dont feel right, i must escape this place quickly..")
  74. game.Players.LocalPlayer.PlayerGui.MainUI.Statistics.Frame["Floors Escaped"].Text = "Floors Escaped (2)"
  75.  
  76. -- Lighting Setup
  77. game.Lighting.Caves.Enabled = true
  78. game.Lighting.Bloom.Enabled = true
  79. game.Lighting.FogEnd = "75"
  80. game.Lighting.FogStart = "10"
  81.  
  82. -- Figure Room Setup (50)
  83. if game.ReplicatedStorage.GameData.LatestRoom.Value == 50 then
  84. firesignal(game.ReplicatedStorage.Bricks.UseEventModule.OnClientEvent, "breakLights", workspace.CurrentRooms["50"], 0.416, 60)
  85. workspace.Ambience_Dark:Play()
  86. end
  87.  
  88. -- Figure Room Setup (100)
  89. if game.ReplicatedStorage.GameData.LatestRoom.Value == 100 then
  90. warn("Player reached room 100")
  91. game.Players.LocalPlayer.PlayerGui.MainUI.ToBeContinued.Visible = true
  92. wait(7)
  93. 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!")
  94. end
  95.  
  96. -- Room Setup (Loop)
  97. while task.wait(0.000005) do
  98. game.Players.LocalPlayer.PlayerGui.MainUI.Statistics.Frame["Floors Escaped"].Text = "Floors Escaped (2)" -- if you escaped it will make it floors escaped 2
  99. for i,v in pairs(workspace.CurrentRooms[game.ReplicatedStorage.GameData.LatestRoom.Value].Parts:GetDescendants()) do
  100. if v:IsA("BasePart") then
  101. v.Material = Enum.Material.Limestone
  102. v.Color = Color3.new(0.243137, 0.25098, 0.278431) -- sets the color
  103. end
  104. end
  105. -- Door Setup
  106. local roomdoor = game.Workspace.CurrentRooms[game.ReplicatedStorage.GameData.LatestRoom.Value].Door.Door
  107. roomdoor.Material = "Slate"
  108. roomdoor.Sign.Material = "Slate"
  109. game.Lighting.FogEnd = "75"
  110. game.Lighting.FogStart = "10"
  111. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement