Advertisement
DoorsHubSpawnermm

Untitled

Mar 15th, 2023 (edited)
4,699
6
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.49 KB | None | 6 0
  1. local Reboundcolor = Instance.new("ColorCorrectionEffect",game.Lighting) game.Debris:AddItem(Reboundcolor,24)
  2. Reboundcolor.Name = "Warn"
  3. Reboundcolor.TintColor = Color3.fromRGB(65, 138, 255) Reboundcolor.Saturation = -0.7 Reboundcolor.Contrast = 0.2
  4. game.TweenService:Create(Reboundcolor,TweenInfo.new(15),{TintColor = Color3.fromRGB(255, 255, 255),Saturation = 0, Contrast = 0}):Play()
  5. local TweenService = game:GetService("TweenService")
  6. local TW = TweenService:Create(game.Lighting.MainColorCorrection, TweenInfo.new(5),{TintColor = Color3.fromRGB(255, 255, 255)})
  7. TW:Play()
  8. local cue1 = Instance.new("Sound")
  9. cue1.Parent = game.Workspace
  10. cue1.Name = "Scream"
  11. cue1.SoundId = "rbxassetid://9114397505"
  12. local distort = Instance.new("DistortionSoundEffect")
  13. distort.Parent = cue1
  14. distort.Level = 1
  15. local distort2 = Instance.new("DistortionSoundEffect")
  16. distort2.Parent = cue1
  17. distort2.Level = 1
  18. local pitch = Instance.new("PitchShiftSoundEffect")
  19. pitch.Parent = cue1
  20. pitch.Octave = 0.5
  21. local pitch2 = Instance.new("PitchShiftSoundEffect")
  22. pitch2.Parent = cue1
  23. pitch2.Octave = 0.5
  24. local pitch3 = Instance.new("PitchShiftSoundEffect")
  25. pitch3.Parent = cue1
  26. pitch3.Octave = 0.5
  27. cue1.Volume = 0.1
  28. cue1:Play()
  29. local cue2 = Instance.new("Sound")
  30. cue2.Parent = game.Workspace
  31. cue2.Name = "Spawn"
  32. cue2.SoundId = "rbxassetid://9114221327"
  33. cue2.Volume = 3
  34. cue2:Play()
  35. local CameraShaker = require(game.ReplicatedStorage.CameraShaker)
  36. local camara = game.Workspace.CurrentCamera
  37. local camShake = CameraShaker.new(Enum.RenderPriority.Camera.Value, function(shakeCf)
  38. camara.CFrame = camara.CFrame * shakeCf
  39. end)
  40. camShake:Start()
  41. camShake:ShakeOnce(10,3,0.1,6,2,0.5)
  42. wait(2.8)
  43.  
  44. function GetGitSound(GithubSnd,SoundName)
  45. local url=GithubSnd
  46. if not isfile(SoundName..".mp3") then
  47. writefile(SoundName..".mp3", game:HttpGet(url))
  48. end
  49. local sound=Instance.new("Sound")
  50. sound.SoundId=(getcustomasset or getsynasset)(SoundName..".mp3")
  51. return sound
  52. end
  53.  
  54. local scare = Instance.new("Sound")
  55. scare.Parent = game.Workspace
  56. scare.Name = "MyEarsBurn"
  57. scare.SoundId = "rbxassetid://5567523008"
  58. scare.PlaybackSpeed = 3
  59. scare.Volume = 1
  60.  
  61. local shift = Instance.new("PitchShiftSoundEffect")
  62. shift.Octave = 0.5
  63. shift.Parent = scare
  64.  
  65. local distort = Instance.new("DistortionSoundEffect")
  66. distort.Parent = scare
  67. distort.Level = 1
  68.  
  69. local TweenService = game:GetService("TweenService")
  70. local spookee = TweenService:Create(scare, TweenInfo.new(0.3),{Volume = 0})
  71.  
  72. local Creator = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors%20Entity%20Spawner/Source.lua"))()
  73.  
  74. -- Create entity
  75.  
  76. local entity = Creator.createEntity({
  77. CustomName = "Rebound", -- Custom name of your entity
  78. Model = "rbxassetid://12403179451", -- Can be GitHub file or rbxassetid
  79. Speed = 100, -- Percentage, 100 = default Rush speed
  80. DelayTime = 1.4, -- Time before starting cycles (seconds)
  81. HeightOffset = 0,
  82. CanKill = true,
  83. BreakLights = false,
  84. KillRange = 40,
  85. BackwardsMovement = true,
  86. FlickerLights = {
  87. false, -- Enabled
  88. 2.5, -- Time (seconds)
  89. },
  90. Cycles = {
  91. Min = 1,
  92. Max = 1
  93. },
  94. CamShake = {
  95. true, -- Enabled
  96. {5, 15, 0.1, 1}, -- Shake values (don't change if you don't know)
  97. 100, -- Shake start distance (from Entity to you)
  98. },
  99. Jumpscare = {
  100. false, -- Enabled ('false' if you don't want jumpscare)
  101. {
  102. Image1 = "https://www.roblox.com/library/11862656491", -- Image1 url
  103. Image2 = "https://www.roblox.com/library/11862656491", -- Image2 url
  104. Shake = false,
  105. Sound1 = {
  106. 0, -- SoundId
  107. { Volume = 0.5 }, -- Sound properties
  108. },
  109. Sound2 = {
  110. 5567523008, -- SoundId
  111. { Volume = 0.5 }, -- Sound properties
  112. },
  113. Flashing = {
  114. true, -- Enabled
  115. Color3.fromRGB(6, 38, 135), -- Color
  116. },
  117. Tease = {
  118. false, -- Enabled ('false' if you don't want tease)
  119. Min = 1,
  120. Max = 3,
  121. },
  122. },
  123. },
  124. CustomDialog = {"You died to Rebound...", "It appears at the next door and has a chance to stay there or run back to the latest door.", "He will come back many times after his initial spawn", "so hide every next door until it is safe.."}, -- Custom death message (can be as long as you want)
  125. })
  126.  
  127. -----[[ Advanced ]]-----
  128.  
  129. entity.Debug.OnEntityEnteredRoom = function(room)
  130. print("Entity:", entity, "has entered room:", room)
  131. Speed = 0
  132. wait(2)
  133. Speed = 170
  134. end
  135.  
  136. entity.Debug.OnEntitySpawned = function(entityModel)
  137. print("Entity has spawned:", entityModel)
  138. workspace.Rebound.Rebound_Cue:Destroy()
  139. workspace.Rebound.Rebound_Cue2:Destroy()
  140. workspace.Rebound.Torso.Idle:Destroy()
  141. workspace.Rebound.Torso.Footsteps:Destroy()
  142. local bruh = workspace.Rebound.Torso
  143. local TweenService = game:GetService("TweenService")
  144. local spawn = Instance.new("Sound")
  145. spawn.Parent = bruh
  146. spawn.Name = "ReboundSpawn"
  147. spawn.SoundId = "rbxassetid://9114221327"
  148. spawn.Volume = 5
  149. spawn.RollOffMaxDistance = 10000
  150. spawn.RollOffMinDistance = 450
  151. spawn:Play()
  152. local move = GetGitSound("https://github.com/check78/worldcuuuup/blob/main/DoomBegin.mp3?raw=true","Reboun")
  153. move.Parent = bruh
  154. move.Name = "ReboundMoving"
  155. move.Volume = 0
  156. move.Looped = true
  157. local vroom = TweenService:Create(move, TweenInfo.new(2),{Volume = 0.2})
  158. local distort = Instance.new("DistortionSoundEffect")
  159. distort.Level = 0.75
  160. distort.Parent = move
  161. move.RollOffMaxDistance = 200
  162. move.RollOffMinDistance = 100
  163. local tree = Instance.new("TremoloSoundEffect")
  164. tree.Depth = 1
  165. tree.Duty = 1
  166. tree.Frequency = 5
  167. tree.Parent = move
  168. local eq = Instance.new("EqualizerSoundEffect")
  169. eq.HighGain = -60
  170. eq.MidGain = 10
  171. eq.LowGain = 10
  172. eq.Parent = move
  173. wait(1)
  174. vroom:Play()
  175. move:Play()
  176. end
  177.  
  178. entity.Debug.OnEntityDespawned = function(entityModel)
  179. print("Entity has despawned:", entityModel)
  180. end
  181.  
  182. entity.Debug.OnEntityStartMoving = function(entityModel)
  183. print("Entity has started moving:", entityModel)
  184. end
  185.  
  186. entity.Debug.OnEntityFinishedRebound = function(entityModel)
  187. print("Entity finished rebound:", entityModel)
  188. end
  189.  
  190. entity.Debug.OnDeath = function()
  191. warn("You died.")
  192.  
  193. firesignal(game.ReplicatedStorage.EntityInfo.DeathHint.OnClientEvent, {"You died to Rebound...", "It appears at the next door and has a chance to stay there or run back to the latest door.", "He will come back many times after his initial spawn", "so hide every next door until it is safe.."}, "Blue")
  194.  
  195. local ReSt = game.ReplicatedStorage
  196. local Plr = game.Players.LocalPlayer
  197.  
  198. scare:Play()
  199. ReSt.GameStats["Player_".. Plr.Name].Total.DeathCause.Value = "Rebound"
  200. wait(0.5)
  201. scare:Destroy()
  202.  
  203. end
  204.  
  205. ------------------------
  206.  
  207. -- Run the created entity
  208. Creator.runEntity(entity)
  209.  
  210. local randomnumber = math.random(3,5)
  211. print(randomnumber)
  212.  
  213. for i = 3,randomnumber do
  214. game.ReplicatedStorage.GameData.LatestRoom.Changed:Wait()
  215. wait(1)
  216.  
  217. function GetGitSound(GithubSnd,SoundName)
  218. local url=GithubSnd
  219. if not isfile(SoundName..".mp3") then
  220. writefile(SoundName..".mp3", game:HttpGet(url))
  221. end
  222. local sound=Instance.new("Sound")
  223. sound.SoundId=(getcustomasset or getsynasset)(SoundName..".mp3")
  224. return sound
  225. end
  226.  
  227. local scare = Instance.new("Sound")
  228. scare.Parent = game.Workspace
  229. scare.Name = "MyEarsBurn"
  230. scare.SoundId = "rbxassetid://5567523008"
  231. scare.PlaybackSpeed = 3
  232. scare.Volume = 1
  233.  
  234. local shift = Instance.new("PitchShiftSoundEffect")
  235. shift.Octave = 0.5
  236. shift.Parent = scare
  237.  
  238. local distort = Instance.new("DistortionSoundEffect")
  239. distort.Parent = scare
  240. distort.Level = 1
  241.  
  242. local TweenService = game:GetService("TweenService")
  243.  
  244. local Creator = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors%20Entity%20Spawner/Source.lua"))()
  245.  
  246. -- Create entity
  247.  
  248. local entity = Creator.createEntity({
  249. CustomName = "Rebound", -- Custom name of your entity
  250. Model = "rbxassetid://12403179451", -- Can be GitHub file or rbxassetid
  251. Speed = 100, -- Percentage, 100 = default Rush speed
  252. DelayTime = 1.4, -- Time before starting cycles (seconds)
  253. HeightOffset = 0,
  254. CanKill = true,
  255. BreakLights = false,
  256. KillRange = 40,
  257. BackwardsMovement = true,
  258. FlickerLights = {
  259. false, -- Enabled
  260. 2.5, -- Time (seconds)
  261. },
  262. Cycles = {
  263. Min = 1,
  264. Max = 1
  265. },
  266. CamShake = {
  267. true, -- Enabled
  268. {5, 15, 0.1, 1}, -- Shake values (don't change if you don't know)
  269. 100, -- Shake start distance (from Entity to you)
  270. },
  271. Jumpscare = {
  272. false, -- Enabled ('false' if you don't want jumpscare)
  273. {
  274. Image1 = "https://www.roblox.com/library/11862656491", -- Image1 url
  275. Image2 = "https://www.roblox.com/library/11862656491", -- Image2 url
  276. Shake = false,
  277. Sound1 = {
  278. 0, -- SoundId
  279. { Volume = 0.5 }, -- Sound properties
  280. },
  281. Sound2 = {
  282. 5567523008, -- SoundId
  283. { Volume = 0.5 }, -- Sound properties
  284. },
  285. Flashing = {
  286. true, -- Enabled
  287. Color3.fromRGB(6, 38, 135), -- Color
  288. },
  289. Tease = {
  290. false, -- Enabled ('false' if you don't want tease)
  291. Min = 1,
  292. Max = 3,
  293. },
  294. },
  295. },
  296. CustomDialog = {"You died to Rebound...", "It appears at the next door and has a chance to stay there or run back to the latest door.", "He will come back many times after his initial spawn", "so hide every next door until it is safe.."}, -- Custom death message (can be as long as you want)
  297. })
  298.  
  299. -----[[ Advanced ]]-----
  300.  
  301. entity.Debug.OnEntityEnteredRoom = function(room)
  302. print("Entity:", entity, "has entered room:", room)
  303. Speed = 0
  304. wait(2)
  305. Speed = 170
  306. end
  307.  
  308. entity.Debug.OnEntitySpawned = function(entityModel)
  309. print("Entity has spawned:", entityModel)
  310. workspace.Rebound.Rebound_Cue:Destroy()
  311. workspace.Rebound.Rebound_Cue2:Destroy()
  312. workspace.Rebound.Torso.Idle:Destroy()
  313. workspace.Rebound.Torso.Footsteps:Destroy()
  314. local bruh = workspace.Rebound.Torso
  315. local TweenService = game:GetService("TweenService")
  316. local spawn = Instance.new("Sound")
  317. spawn.Parent = bruh
  318. spawn.Name = "ReboundSpawn"
  319. spawn.SoundId = "rbxassetid://9114221327"
  320. spawn.Volume = 5
  321. spawn.RollOffMaxDistance = 10000
  322. spawn.RollOffMinDistance = 450
  323. spawn:Play()
  324. local move = GetGitSound("https://github.com/check78/worldcuuuup/blob/main/DoomBegin.mp3?raw=true","Reboun")
  325. move.Parent = bruh
  326. move.Name = "ReboundMoving"
  327. move.Volume = 0
  328. move.Looped = true
  329. local vroom = TweenService:Create(move, TweenInfo.new(2),{Volume = 0.2})
  330. local distort = Instance.new("DistortionSoundEffect")
  331. distort.Level = 0.75
  332. distort.Parent = move
  333. move.RollOffMaxDistance = 200
  334. move.RollOffMinDistance = 100
  335. local tree = Instance.new("TremoloSoundEffect")
  336. tree.Depth = 1
  337. tree.Duty = 1
  338. tree.Frequency = 5
  339. tree.Parent = move
  340. local eq = Instance.new("EqualizerSoundEffect")
  341. eq.HighGain = -60
  342. eq.MidGain = 10
  343. eq.LowGain = 10
  344. eq.Parent = move
  345. wait(1)
  346. vroom:Play()
  347. move:Play()
  348. end
  349.  
  350. entity.Debug.OnEntityDespawned = function(entityModel)
  351. print("Entity has despawned:", entityModel)
  352. end
  353.  
  354. entity.Debug.OnEntityStartMoving = function(entityModel)
  355. print("Entity has started moving:", entityModel)
  356. end
  357.  
  358. entity.Debug.OnEntityFinishedRebound = function(entityModel)
  359. print("Entity finished rebound:", entityModel)
  360. end
  361.  
  362. entity.Debug.OnDeath = function()
  363. warn("You died.")
  364.  
  365. firesignal(game.ReplicatedStorage.EntityInfo.DeathHint.OnClientEvent, {"You died to Rebound...", "It appears at the next door and has a chance to stay there or run back to the latest door.", "He will come back many times after his initial spawn", "so hide every next door until it is safe.."}, "Blue")
  366.  
  367. local ReSt = game.ReplicatedStorage
  368. local Plr = game.Players.LocalPlayer
  369.  
  370. scare:Play()
  371. ReSt.GameStats["Player_".. Plr.Name].Total.DeathCause.Value = "Rebound"
  372. wait(0.5)
  373. scare:Destroy()
  374.  
  375. end
  376.  
  377. ------------------------
  378.  
  379. -- Run the created entity
  380. Creator.runEntity(entity)
  381. end
  382. print("Laps ended. Done.")
  383. part:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement