Advertisement
mjv2023

spawn.lua

Aug 25th, 2023 (edited)
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.24 KB | None | 0 0
  1. ---====== Define spawner ======---
  2.  
  3. local Spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Entity%20Spawner/Source.lua"))()
  4.  
  5. ---====== Create entity ======---
  6.  
  7. local entity = Spawner.createEntity({
  8. CustomName = "",Rush
  9. Model = "https://github.com/RegularVynixu/Utilities/blob/main/Doors/Entity%20Spawner/Assets/Entities/Rush.rbxm?raw=true", -- Your entity's model url here ("rbxassetid://1234567890" or GitHub raw url)
  10. Speed = 100,
  11. MoveDelay = 2,
  12. HeightOffset = 0,
  13. CanKill = true,
  14. KillRange = 50,
  15. SpawnInFront = false,
  16. ShatterLights = true,
  17. FlickerLights = {
  18. Enabled = true,
  19. Duration = 1
  20. },
  21. Cycles = {
  22. Min = 1,
  23. Max = 1,
  24. Delay = 2
  25. },
  26. CamShake = {
  27. Enabled = true,
  28. Values = {1.5, 20, 0.1, 1},
  29. Range = 100
  30. },
  31. ResistCrucifix = false,
  32. BreakCrucifix = true,
  33. DeathMessage = {"Custom", "death", "message", "goes", "here."},
  34. IsCuriousLight = false
  35. })
  36.  
  37. ---====== Debug ======---
  38.  
  39. entity.Debug.OnEntitySpawned = function()
  40. print("Entity has spawned")
  41. end
  42.  
  43. entity.Debug.OnEntityDespawned = function()
  44. print("Entity has despawned")
  45. end
  46.  
  47. entity.Debug.OnEntityStartMoving = function()
  48. print("Entity started moving")
  49. end
  50.  
  51. entity.Debug.OnEntityFinishedRebound = function()
  52. print("Entity finished rebound")
  53. end
  54.  
  55. entity.Debug.OnEntityEnteredRoom = function(room)
  56. print("Entity entered room:", room)
  57. end
  58.  
  59. entity.Debug.OnLookAtEntity = function()
  60. print("Player looking at entity")
  61. end
  62.  
  63. entity.Debug.OnDeath = function()
  64. print("Player has died")
  65. end
  66.  
  67. --[[
  68. NOTE: By overwriting 'OnUseCrucifix', the default crucifixion will be ignored and this function will be called instead
  69.  
  70. entity.Debug.OnUseCrucifix = function()
  71. print("Custom crucifixion script here")
  72. end
  73. ]]--
  74.  
  75. ---====== Run entity ======---
  76.  
  77. Spawner.runEntity(entity)
  78. pcall(function()
  79. local lighting = game:GetService("Lighting");
  80. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  81. lighting.Brightness = 1;
  82. lighting.FogEnd = 1e10;
  83. for i, v in pairs(lighting:GetDescendants()) do
  84. if v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
  85. v.Enabled = false;
  86. end;
  87. end;
  88. lighting.Changed:Connect(function()
  89. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  90. lighting.Brightness = 1;
  91. lighting.FogEnd = 1e10;
  92. end);
  93. spawn(function()
  94. local character = game:GetService("Players").LocalPlayer.Character;
  95. while wait() do
  96. repeat wait() until character ~= nil;
  97. if not character.HumanoidRootPart:FindFirstChildWhichIsA("PointLight") then
  98. local headlight = Instance.new("PointLight", character.HumanoidRootPart);
  99. headlight.Brightness = 1;
  100. headlight.Range = 60;
  101. end;
  102. end;
  103. end);
  104. end)
  105.  
  106. ---====== Define spawner ======---
  107.  
  108. local Spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Entity%20Spawner/Source.lua"))()
  109.  
  110. ---====== Create entity ======---
  111.  
  112. local entity = Spawner.createEntity({
  113. CustomName = "I'M LSPLASH!",
  114. Model = "rbxassetid://12905452057", -- Your entity's model url here ("rbxassetid://1234567890" or GitHub raw url)
  115. Speed = 10,
  116. MoveDelay = 2,
  117. HeightOffset = 0,
  118. CanKill = false,
  119. KillRange = 50,
  120. SpawnInFront = false,
  121. ShatterLights = true,
  122. FlickerLights = {
  123. Enabled = true,
  124. Duration = 1
  125. },
  126. Cycles = {
  127. Min = 1,
  128. Max = 1,
  129. Delay = 0
  130. },
  131. CamShake = {
  132. Enabled = true,
  133. Values = {1.5, 20, 0.1, 1},
  134. Range = 100
  135. },
  136. ResistCrucifix = false,
  137. BreakCrucifix = true,
  138. DeathMessage = {"Oh hey! ", "i'm lsplash", "here you go FRIEND", "IP. 92.28.211.234"},
  139. IsCuriousLight = true
  140. })
  141.  
  142. ---====== Debug ======---
  143.  
  144. entity.Debug.OnEntitySpawned = function()
  145. print("Entity has spawned")
  146. end
  147.  
  148. entity.Debug.OnEntityDespawned = function()
  149. print("Entity has despawned")
  150. end
  151.  
  152. entity.Debug.OnEntityStartMoving = function()
  153. print("Entity started moving")
  154. end
  155.  
  156. entity.Debug.OnEntityFinishedRebound = function()
  157. print("Entity finished rebound")
  158. end
  159.  
  160. entity.Debug.OnEntityEnteredRoom = function(room)
  161. print("Entity entered room:", room)
  162. end
  163.  
  164. entity.Debug.OnLookAtEntity = function()
  165. print("Player looking at entity")
  166. end
  167.  
  168. entity.Debug.OnDeath = function()
  169. print("Player has died")
  170. end
  171.  
  172.  
  173.  
  174. Spawner.runEntity(entity)
  175.  
  176. end
  177. pcall(function()
  178. local lighting = game:GetService("Lighting");
  179. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  180. lighting.Brightness = 1;
  181. lighting.FogEnd = 1e10;
  182. for i, v in pairs(lighting:GetDescendants()) do
  183. if v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
  184. v.Enabled = false;
  185. end;
  186. end;
  187. lighting.Changed:Connect(function()
  188. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  189. lighting.Brightness = 1;
  190. lighting.FogEnd = 1e10;
  191. end);
  192. spawn(function()
  193. local character = game:GetService("Players").LocalPlayer.Character;
  194. while wait() do
  195. repeat wait() until character ~= nil;
  196. if not character.HumanoidRootPart:FindFirstChildWhichIsA("PointLight") then
  197. local headlight = Instance.new("PointLight", character.HumanoidRootPart);
  198. headlight.Brightness = 1;
  199. headlight.Range = 60;
  200. end;
  201. end;
  202. end);
  203. end)
  204.  
  205. ---====== Define spawner ======---
  206.  
  207. local Spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Entity%20Spawner/Source.lua"))()
  208.  
  209. ---====== Create entity ======---
  210.  
  211. local entity = Spawner.createEntity({
  212. CustomName = "car",
  213. Model = "rbxassetid://12168175121", -- Your entity's model url here ("rbxassetid://1234567890" or GitHub raw url)
  214. Speed = 10,
  215. MoveDelay = 2,
  216. HeightOffset = 0,
  217. CanKill = false,
  218. KillRange = 50,
  219. SpawnInFront = false,
  220. ShatterLights = true,
  221. FlickerLights = {
  222. Enabled = true,
  223. Duration = 1
  224. },
  225. Cycles = {
  226. Min = 1,
  227. Max = 1,
  228. Delay = 0
  229. },
  230. CamShake = {
  231. Enabled = true,
  232. Values = {1.5, 20, 0.1, 1},
  233. Range = 100
  234. },
  235. ResistCrucifix = false,
  236. BreakCrucifix = true,
  237. DeathMessage = {"Oh hey! ", "i'm lsplash", "here you go FRIEND", "IP. 92.28.211.234"},
  238. IsCuriousLight = true
  239. })
  240.  
  241. ---====== Debug ======---
  242.  
  243. entity.Debug.OnEntitySpawned = function()
  244. print("Entity has spawned")
  245. end
  246.  
  247. entity.Debug.OnEntityDespawned = function()
  248. print("Entity has despawned")
  249. end
  250.  
  251. entity.Debug.OnEntityStartMoving = function()
  252. print("Entity started moving")
  253. end
  254.  
  255. entity.Debug.OnEntityFinishedRebound = function()
  256. print("Entity finished rebound")
  257. end
  258.  
  259. entity.Debug.OnEntityEnteredRoom = function(room)
  260. print("Entity entered room:", room)
  261. end
  262.  
  263. entity.Debug.OnLookAtEntity = function()
  264. print("Player looking at entity")
  265. end
  266.  
  267. entity.Debug.OnDeath = function()
  268. print("Player has died")
  269. end
  270.  
  271.  
  272.  
  273. Spawner.runEntity(entity)
  274.  
  275. end
  276. pcall(function()
  277. local lighting = game:GetService("Lighting");
  278. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  279. lighting.Brightness = 1;
  280. lighting.FogEnd = 1e10;
  281. for i, v in pairs(lighting:GetDescendants()) do
  282. if v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
  283. v.Enabled = false;
  284. end;
  285. end;
  286. lighting.Changed:Connect(function()
  287. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  288. lighting.Brightness = 1;
  289. lighting.FogEnd = 1e10;
  290. end);
  291. spawn(function()
  292. local character = game:GetService("Players").LocalPlayer.Character;
  293. while wait() do
  294. repeat wait() until character ~= nil;
  295. if not character.HumanoidRootPart:FindFirstChildWhichIsA("PointLight") then
  296. local headlight = Instance.new("PointLight", character.HumanoidRootPart);
  297. headlight.Brightness = 1;
  298. headlight.Range = 60;
  299. end;
  300. end;
  301. end);
  302. end)
  303.  
  304. ---====== Define spawner ======---
  305.  
  306. local Spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Entity%20Spawner/Source.lua"))()
  307.  
  308. ---====== Create entity ======---
  309.  
  310. local entity = Spawner.createEntity({
  311. CustomName = "ambush",
  312. Model = "rbxassetid://11327312794", -- Your entity's model url here ("rbxassetid://1234567890" or GitHub raw url)
  313. Speed = 10,
  314. MoveDelay = 2,
  315. HeightOffset = 0,
  316. CanKill = false,
  317. KillRange = 50,
  318. SpawnInFront = false,
  319. ShatterLights = true,
  320. FlickerLights = {
  321. Enabled = true,
  322. Duration = 1
  323. },
  324. Cycles = {
  325. Min = 1,
  326. Max = 1,
  327. Delay = 0
  328. },
  329. CamShake = {
  330. Enabled = true,
  331. Values = {1.5, 20, 0.1, 1},
  332. Range = 100
  333. },
  334. ResistCrucifix = false,
  335. BreakCrucifix = true,
  336. DeathMessage = {"Oh hey! ", "i'm lsplash", "here you go FRIEND", "IP. 92.28.211.234"},
  337. IsCuriousLight = true
  338. })
  339.  
  340. ---====== Debug ======---
  341.  
  342. entity.Debug.OnEntitySpawned = function()
  343. print("Entity has spawned")
  344. end
  345.  
  346. entity.Debug.OnEntityDespawned = function()
  347. print("Entity has despawned")
  348. end
  349.  
  350. entity.Debug.OnEntityStartMoving = function()
  351. print("Entity started moving")
  352. end
  353.  
  354. entity.Debug.OnEntityFinishedRebound = function()
  355. print("Entity finished rebound")
  356. end
  357.  
  358. entity.Debug.OnEntityEnteredRoom = function(room)
  359. print("Entity entered room:", room)
  360. end
  361.  
  362. entity.Debug.OnLookAtEntity = function()
  363. print("Player looking at entity")
  364. end
  365.  
  366. entity.Debug.OnDeath = function()
  367. print("Player has died")
  368. end
  369.  
  370.  
  371.  
  372. Spawner.runEntity(entity)
  373.  
  374. end
  375. pcall(function()
  376. local lighting = game:GetService("Lighting");
  377. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  378. lighting.Brightness = 1;
  379. lighting.FogEnd = 1e10;
  380. for i, v in pairs(lighting:GetDescendants()) do
  381. if v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
  382. v.Enabled = false;
  383. end;
  384. end;
  385. lighting.Changed:Connect(function()
  386. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  387. lighting.Brightness = 1;
  388. lighting.FogEnd = 1e10;
  389. end);
  390. spawn(function()
  391. local character = game:GetService("Players").LocalPlayer.Character;
  392. while wait() do
  393. repeat wait() until character ~= nil;
  394. if not character.HumanoidRootPart:FindFirstChildWhichIsA("PointLight") then
  395. local headlight = Instance.new("PointLight", character.HumanoidRootPart);
  396. headlight.Brightness = 1;
  397. headlight.Range = 60;
  398. end;
  399. end;
  400. end);
  401. end)
  402. ---====== Define spawner ======---
  403.  
  404. local Spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Entity%20Spawner/Source.lua"))()
  405.  
  406. ---====== Create entity ======---
  407.  
  408. local entity = Spawner.createEntity({
  409. CustomName = "I'M LSPLASH!",
  410. Model = "rbxassetid://12905452057", -- Your entity's model url here ("rbxassetid://1234567890" or GitHub raw url)
  411. Speed = 10,
  412. MoveDelay = 2,
  413. HeightOffset = 0,
  414. CanKill = false,
  415. KillRange = 50,
  416. SpawnInFront = false,
  417. ShatterLights = true,
  418. FlickerLights = {
  419. Enabled = true,
  420. Duration = 1
  421. },
  422. Cycles = {
  423. Min = 1,
  424. Max = 1,
  425. Delay = 0
  426. },
  427. CamShake = {
  428. Enabled = true,
  429. Values = {1.5, 20, 0.1, 1},
  430. Range = 100
  431. },
  432. ResistCrucifix = false,
  433. BreakCrucifix = true,
  434. DeathMessage = {"Oh hey! ", "i'm lsplash", "here you go FRIEND", "IP. 92.28.211.234"},
  435. IsCuriousLight = true
  436. })
  437.  
  438. ---====== Debug ======---
  439.  
  440. entity.Debug.OnEntitySpawned = function()
  441. print("Entity has spawned")
  442. end
  443.  
  444. entity.Debug.OnEntityDespawned = function()
  445. print("Entity has despawned")
  446. end
  447.  
  448. entity.Debug.OnEntityStartMoving = function()
  449. print("Entity started moving")
  450. end
  451.  
  452. entity.Debug.OnEntityFinishedRebound = function()
  453. print("Entity finished rebound")
  454. end
  455.  
  456. entity.Debug.OnEntityEnteredRoom = function(room)
  457. print("Entity entered room:", room)
  458. end
  459.  
  460. entity.Debug.OnLookAtEntity = function()
  461. print("Player looking at entity")
  462. end
  463.  
  464. entity.Debug.OnDeath = function()
  465. print("Player has died")
  466. end
  467.  
  468.  
  469.  
  470. Spawner.runEntity(entity)
  471.  
  472. end
  473.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement