Advertisement
SkyProductions

Project Lazarus 💀 LVL ?

Mar 25th, 2019
5,442
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- NOTE FROM DEV (me): I do not know how to press the buttons you figure it out or find and get the scripts :) enjoy!
  2. function Introduction()
  3. -- Objects
  4.  
  5. local Intro = Instance.new("ScreenGui")
  6. local Intro_2 = Instance.new("Frame")
  7. local Letter = Instance.new("Frame")
  8. local Frame = Instance.new("Frame")
  9. local Frame_2 = Instance.new("Frame")
  10. local Frame_3 = Instance.new("Frame")
  11. local Frame_4 = Instance.new("Frame")
  12. local Frame_5 = Instance.new("Frame")
  13. local Top = Instance.new("Frame")
  14.  
  15. -- Properties
  16.  
  17. Intro.Name = "Intro"
  18. Intro.Parent = game.Players.LocalPlayer.PlayerGui
  19.  
  20. Intro_2.Name = "Intro"
  21. Intro_2.Parent = Intro
  22. Intro_2.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  23. Intro_2.BorderColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  24. Intro_2.BorderSizePixel = 0
  25. Intro_2.Size = UDim2.new(1, 0, 1, 0)
  26.  
  27. Letter.Name = "Letter"
  28. Letter.Parent = Intro_2
  29. Letter.BackgroundColor3 = Color3.new(248,0,0)
  30. Letter.BackgroundTransparency = 1
  31. Letter.BorderColor3 = Color3.new(248,0,0)
  32. Letter.BorderSizePixel = 0
  33. Letter.Position = UDim2.new(0.5, -100, 0.5, -100)
  34. Letter.Size = UDim2.new(0, 200, 0, 200)
  35.  
  36. Frame.Parent = Letter
  37. Frame.BackgroundColor3 = Color3.new(0, 1, 1)
  38. Frame.BorderSizePixel = 0
  39. Frame.Size = UDim2.new(0, 200, 0, 40)
  40.  
  41. Frame_2.Parent = Letter
  42. Frame_2.BackgroundColor3 = Color3.new(0, 1, 1)
  43. Frame_2.BorderSizePixel = 0
  44. Frame_2.Position = UDim2.new(0, 0, 0, 40)
  45. Frame_2.Size = UDim2.new(0, 40, 0, 80)
  46.  
  47. Frame_3.Parent = Letter
  48. Frame_3.BackgroundColor3 = Color3.new(0, 1, 1)
  49. Frame_3.BorderSizePixel = 0
  50. Frame_3.Position = UDim2.new(0, 160, 0, 120)
  51. Frame_3.Size = UDim2.new(0, 40, 0, 80)
  52.  
  53. Frame_4.Parent = Letter
  54. Frame_4.BackgroundColor3 = Color3.new(0, 1, 1)
  55. Frame_4.BorderSizePixel = 0
  56. Frame_4.Position = UDim2.new(0, 0, 0, 90)
  57. Frame_4.Size = UDim2.new(0, 200, 0, 40)
  58.  
  59. Frame_5.Parent = Letter
  60. Frame_5.BackgroundColor3 = Color3.new(0, 1, 1)
  61. Frame_5.BorderSizePixel = 0
  62. Frame_5.Position = UDim2.new(0, 0, 0, 180)
  63. Frame_5.Size = UDim2.new(0, 200, 0, 40)
  64.  
  65. Top.Name = "Top"
  66. Top.Parent = Intro_2
  67. Top.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  68. Top.BorderSizePixel = 0
  69. Top.Position = UDim2.new(0, 0, 0, -100)
  70. Top.Size = UDim2.new(1, 0, 0, 100)
  71.  
  72. local TextLabel = Instance.new("TextLabel")
  73.  
  74. -- Properties
  75.  
  76. TextLabel.Parent = Intro_2
  77. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  78. TextLabel.BackgroundTransparency = 1
  79. TextLabel.BorderSizePixel = 0
  80. TextLabel.LayoutOrder = 5
  81. TextLabel.Position = UDim2.new(1, 0, 0.699999988, 0)
  82. TextLabel.Size = UDim2.new(1, 0, 0, 50)
  83. TextLabel.Font = Enum.Font.SciFi
  84. TextLabel.FontSize = Enum.FontSize.Size14
  85. TextLabel.Text = "Sky Production!"
  86. TextLabel.TextColor3 = Color3.new(0.101961, 0.988235, 1)
  87. TextLabel.TextScaled = true
  88. TextLabel.TextSize = 14
  89. TextLabel.TextWrapped = true
  90.  
  91. local top = 255
  92. while Intro == nil do wait() end
  93. local intro_frame = Intro_2
  94. intro_frame.Visible = true
  95. wait(1) --A fail proof wait, yisss
  96.  
  97. local flies = Instance.new("Sound")
  98. flies.Name = "Flies"
  99. flies.SoundId = "rbxassetid://258663133"
  100. flies.MaxDistance = "10000.000"
  101. flies.Parent = Intro
  102.  
  103. local Intro1 = Instance.new("Sound")
  104. Intro1.Name = "Intro"
  105. Intro1.SoundId = "rbxassetid://258666677"
  106. Intro1.MaxDistance = "10000.000"
  107. Intro1.Parent = Intro
  108.  
  109. local snd_flies = flies
  110. local snd_intro = Intro1
  111.  
  112.  
  113. local camera = game.Workspace.CurrentCamera
  114. local RenderStepped = game:GetService("RunService").RenderStepped
  115.  
  116. local letter = Letter
  117. letter:ClearAllChildren()
  118.  
  119.  
  120. local function V2Interp(v1, v2, t)
  121. return v1 + (v2 - v1) * t
  122. end
  123.  
  124. local function FollowInterp(v1, v2, max_dist, speed, delta)
  125. local mag = (v1 - v2).magnitude
  126. if mag > max_dist then
  127. v1 = V2Interp(v1, v2, (mag - max_dist) / mag)
  128. end
  129. return V2Interp(v1, v2, math.min(1, 1 - (1 - speed) ^ delta))
  130. end
  131.  
  132. function Shake2D(speed, speed2, radius)
  133. local old_radius = radius
  134.  
  135. local function GetNextPos()
  136. local roll = Vector2.new(math.random() - 0.5, math.random() - 0.5)
  137. if roll.x == 0 and roll.y == 0 then
  138. return Vector2.new(0, 1) * radius * (math.random() - 0.5) * 2
  139. else
  140. return roll.unit * radius * (math.random() - 0.5) * 2
  141. end
  142. end
  143.  
  144. local start = nil
  145. local pos1 = Vector2.new(0, 0)
  146. local pos2 = GetNextPos()
  147. local time_req = (pos2 - pos1).magnitude / speed
  148.  
  149. local shaker_pos = pos1
  150.  
  151. local last_update = nil
  152. local function Update(force_radius)
  153. if force_radius ~= nil then
  154. radius = force_radius
  155. end
  156. if start == nil then
  157. start = tick()
  158. last_update = tick()
  159. end
  160. local delta = tick() - last_update
  161. last_update = tick()
  162.  
  163. local amm = (tick() - start) / time_req
  164. local over_time = tick() - start - time_req
  165.  
  166. local follow_pos = V2Interp(pos1, pos2, math.min(1, amm))
  167. shaker_pos = FollowInterp(shaker_pos, follow_pos, old_radius, speed2, math.max(0, delta - math.max(0, over_time)))
  168. if over_time > 0 then
  169. pos1 = pos2
  170. pos2 = GetNextPos()
  171. local new_time_req = (pos2 - pos1).magnitude / speed
  172.  
  173. start = math.min(start + time_req, tick() + new_time_req)
  174. time_req = new_time_req
  175.  
  176. local amm = (tick() - start) / time_req
  177. local follow_pos = V2Interp(pos1, pos2, math.min(1, amm))
  178. shaker_pos = FollowInterp(shaker_pos, follow_pos, old_radius, speed2, over_time)
  179. end
  180.  
  181. return shaker_pos
  182. end
  183.  
  184. return {Update = Update}
  185. end
  186.  
  187. local neon_list = {
  188. Vector3.new(248, 0, 0),
  189. Vector3.new(248, 0, 0),
  190. Vector3.new(248, 0, 0),
  191. Vector3.new(248, 0, 0),
  192. Vector3.new(248, 0 / 0, 0),
  193. Vector3.new(248, 0, 0),
  194. }
  195.  
  196. local m_code = {
  197. "1111111111",
  198. "1111111111",
  199. "1100000000",
  200. "1100000000",
  201. "1111111111",
  202. "1111111111",
  203. "0000000011",
  204. "0000000011",
  205. "1111111111",
  206. "1111111111",
  207. }
  208.  
  209. local m_partics = {}
  210. for y, str_lin in pairs(m_code) do
  211. for x = 1, str_lin:len() do
  212. if str_lin:sub(x, x) == "1" then
  213. local n_p = Instance.new("Frame")
  214. n_p.BorderSizePixel = 0
  215. n_p.Size = UDim2.new(0, 20, 0, 20)
  216. n_p.BackgroundColor3 = Color3.new(0, 0, 0)
  217. n_p.Position = UDim2.new(0, (x - 1) * 20, 0, (y - 1) * 20)
  218. n_p.Parent = letter
  219.  
  220. local orig_pos = Vector2.new((x - 1) * 20, (y - 1) * 20)
  221. local shaker = Shake2D(1000, 0.95, 400)
  222. TextLabel:TweenPosition(UDim2.new(0, 0, 0.69998, 0), 'In', 'Elastic', 10)
  223.  
  224. table.insert(m_partics, {n_p, orig_pos, shaker})
  225. end
  226. end
  227. end
  228.  
  229. local BEAT = 0.476
  230.  
  231. local start = tick()
  232. snd_flies:Play()
  233.  
  234. local intro_played = false
  235. local last_swap = 0
  236. local curr_neon = 9--neon_list
  237.  
  238. while true do
  239. local amm = math.min(1 , (tick() - start) / 10)
  240. if amm < 0.1 then
  241. snd_flies.Volume = amm * 10
  242. elseif amm > 0.1 and amm < 0.4 then
  243. snd_flies.Volume = 1
  244. else
  245. snd_flies.Volume = 0
  246. end
  247.  
  248. if amm > 0.4 then
  249. if not intro_played then
  250. snd_intro:Play()
  251. intro_played = true
  252. end
  253. if tick() - last_swap > BEAT or last_swap == 0 then
  254. if last_swap == 0 then
  255. last_swap = tick()
  256. else
  257. last_swap = last_swap + BEAT
  258. end
  259. curr_neon = curr_neon + 1
  260. if curr_neon > #neon_list then
  261. curr_neon = 1
  262. end
  263. end
  264. local gen_col = neon_list[curr_neon]
  265.  
  266. end
  267.  
  268.  
  269. for _, p in pairs(m_partics) do
  270. local gen_pos
  271. if amm < 0.5 then
  272. gen_pos = p[2] + p[3].Update()
  273. else
  274. gen_pos = p[2] + p[3].Update(math.max(0, 400 - ((amm - 0.5) * 1000)))
  275. end
  276. p[1].Position = UDim2.new(0, gen_pos.x, 0, gen_pos.y)
  277. p[1].BackgroundColor3 = Color3.new(0,255,255)
  278. end
  279.  
  280. if tick() - start > 10 then break end
  281. RenderStepped:wait()
  282. end
  283.  
  284. local start2 = tick()
  285. while true do
  286. if tick() - last_swap > BEAT then
  287. last_swap = last_swap + BEAT
  288. curr_neon = curr_neon + 1
  289. if curr_neon > #neon_list then
  290. curr_neon = 1
  291. end
  292. end
  293. local gen_col = neon_list[curr_neon]
  294.  
  295. if tick() - start2 > 9 then break end
  296. RenderStepped:wait()
  297. end
  298.  
  299. --------------------------------
  300. wait(0.1)
  301.  
  302. snd_flies:Stop()
  303. snd_intro:Stop()
  304.  
  305. --The end
  306. TextLabel:TweenPosition(UDim2.new(-1, 0, 0.699999988, 0), 'Out', 'Elastic', 1)
  307. wait(1)
  308. Intro_2:TweenPosition(UDim2.new(0, 0, -1.2, 0), 'Out', 'Elastic', 1.2)
  309. end
  310. Introduction()
  311. -- Objects
  312. local ScreenGui = Instance.new("ScreenGui")
  313. local Frame = Instance.new("Frame")
  314. local S = Instance.new("TextButton")
  315. local P = Instance.new("TextButton")
  316. local TextLabel = Instance.new("TextLabel")
  317. local Toggle = false
  318.  
  319. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  320. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  321.  
  322. Frame.Parent = ScreenGui
  323. Frame.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  324. Frame.BorderColor3 = Color3.new(0, 0, 0)
  325. Frame.BorderSizePixel = 2
  326. Frame.Position = UDim2.new(0.45, 0, 0.19, 0)
  327. Frame.Size = UDim2.new(0, 100, 0, 109)
  328.  
  329. S.Name = "S"
  330. S.Parent = Frame
  331. S.BackgroundColor3 = Color3.new(1, 1, 1)
  332. S.Position = UDim2.new(0.169999838, 0, 0.12844038, 0)
  333. S.Size = UDim2.new(0, 72, 0, 21)
  334. S.Font = Enum.Font.SourceSans
  335. S.Text = "Spawn Box"
  336. S.TextColor3 = Color3.new(0, 0, 0)
  337. S.TextSize = 14
  338. S.MouseButton1Click:connect(function()
  339. local pos = 5,0,5
  340.  
  341. local zomb = workspace.Baddies:GetChildren()
  342. for i = 1 ,#zomb do
  343. zomb[i].HeadBox.Transparency = 0
  344. zomb[i].HeadBox.Material = "Neon"
  345. zomb[i].HeadBox.CanCollide = false
  346. zomb[i].HeadBox.Anchored = true
  347. zomb[i].HeadBox.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position+Vector3.new(pos)
  348. end
  349. end)
  350.  
  351. P.Name = "P"
  352. P.Parent = Frame
  353. P.BackgroundColor3 = Color3.new(1, 1, 1)
  354. P.Position = UDim2.new(0.169999838, 0, 0.532110095, 0)
  355. P.Size = UDim2.new(0, 72, 0, 21)
  356. P.Font = Enum.Font.SourceSans
  357. P.Text = "Forever Box"
  358. P.TextColor3 = Color3.new(0, 0, 0)
  359. P.TextSize = 14
  360. P.MouseButton1Click:connect(function()
  361. while true do
  362. wait (0.001)
  363. local pos = 5,0,5
  364.  
  365. local zomb = workspace.Baddies:GetChildren()
  366. for i = 1 ,#zomb do
  367. zomb[i].HeadBox.Transparency = 0
  368. zomb[i].HeadBox.Material = "Neon"
  369. zomb[i].HeadBox.CanCollide = false
  370. zomb[i].HeadBox.Anchored = true
  371. zomb[i].HeadBox.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position+Vector3.new(pos)
  372. end
  373. end
  374. end)
  375.  
  376. TextLabel.Parent = Frame
  377. TextLabel.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  378. TextLabel.BorderColor3 = Color3.new(0, 0, 0)
  379. TextLabel.BorderSizePixel = 2
  380. TextLabel.Position = UDim2.new(1.05999994, 0, 0, 0)
  381. TextLabel.Size = UDim2.new(0, 147, 0, 109)
  382. TextLabel.Font = Enum.Font.GothamBlack
  383. TextLabel.Text = "Spawn Box: Spawns Limited Time Shoot Into Box Forever Box: Stays If You Stay Still Shoot Into Box"
  384. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  385. TextLabel.TextSize = 14
  386. TextLabel.TextWrapped = true
  387. -- NOTE FROM DEV (me): I do not know how to press the buttons you figure it out or find and get the scripts :) enjoy!
Advertisement
RAW Paste Data Copied
Advertisement