Advertisement
Ninja_Camper

Omega Flowey (basic boss)

Jun 5th, 2018
5,092
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.72 KB | None | 0 0
  1. -- [[[
  2. --000000[[====================================================================================\\
  3. --000000[[ DEIVIS97 EDIT
  4. --000000[[====================================================================================//
  5. -- [[[
  6.  
  7. function sandbox(var,func)
  8. local env = getfenv(func)
  9. local newenv = setmetatable({},{
  10. __index = function(self,k)
  11. if k=="script" then
  12. return var
  13. else
  14. return env[k]
  15. end
  16. end,
  17. })
  18. setfenv(func,newenv)
  19. return func
  20. end
  21. cors = {}
  22. mas = Instance.new("Model",game:GetService("Lighting"))
  23. Model0 = Instance.new("Model")
  24. Part1 = Instance.new("Part")
  25. Decal2 = Instance.new("Decal")
  26. Decal3 = Instance.new("Decal")
  27. Decal4 = Instance.new("Decal")
  28. Decal5 = Instance.new("Decal")
  29. Decale = Instance.new("Decal")
  30. Decalee = Instance.new("Decal")
  31. Part6 = Instance.new("Part")
  32. Decal7 = Instance.new("Decal")
  33. Part8 = Instance.new("Part")
  34. Script9 = Instance.new("Script")
  35. Sound10 = Instance.new("Sound")
  36. Sound11 = Instance.new("Sound")
  37. Sound12 = Instance.new("Sound")
  38. Sound13 = Instance.new("Sound")
  39. Sound14 = Instance.new("Sound")
  40. Sound15 = Instance.new("Sound")
  41. Sound16 = Instance.new("Sound")
  42. Sound17 = Instance.new("Sound")
  43. Sound18 = Instance.new("Sound")
  44. Sound19 = Instance.new("Sound")
  45. Sound20 = Instance.new("Sound")
  46. Sound21 = Instance.new("Sound")
  47. Model0.Name = "leppie"
  48. Model0.Parent = mas
  49. Model0.PrimaryPart = Part6
  50. Part1.Name = "Screen"
  51. Part1.Parent = Model0
  52. Part1.BrickColor = BrickColor.new("Maroon")
  53. Part1.Rotation = Vector3.new(-180, 0, -180)
  54. Part1.Anchored = true
  55. Part1.Size = Vector3.new(400.8799591, 400.930027, 1.35998762)
  56. Part1.CFrame = CFrame.new(13.20014, -1.7921829, -39.5804062, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  57. Part1.BottomSurface = Enum.SurfaceType.Smooth
  58. Part1.TopSurface = Enum.SurfaceType.Smooth
  59. Part1.Color = Color3.new(0.458824, 0, 0)
  60. Part1.Position = Vector3.new(13.20014, 200.7921829, -509.5804062)
  61. Part1.Orientation = Vector3.new(0, 180, 0)
  62. Part1.Transparency = 1
  63. Decal2.Name = "face"
  64. Decal2.Parent = Part1
  65. Decal2.Texture = "rbxassetid://421653951"
  66. Decal3.Name = "eyes"
  67. Decal3.Parent = Part1
  68. Decal3.Texture = ""
  69. Decal4.Name = "mouth"
  70. Decal4.Parent = Part1
  71. Decal5.Name = "breek"
  72. Decal5.Parent = Part1
  73. Decal5.Transparency = 1
  74. Decal5.Texture = ""
  75. Part6.Name = "Keyboard"
  76. Part6.Parent = Model0
  77. Part6.BrickColor = BrickColor.new("Really black")
  78. Part6.Rotation = Vector3.new(-180, 0, -180)
  79. Part6.Anchored = true
  80. Part6.Size = Vector3.new(3000.1299744, 1, 3000.2299881)
  81. Part6.CFrame = CFrame.new(13.20014, -62.288559, -4.82504272, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  82. Part6.BottomSurface = Enum.SurfaceType.Smooth
  83. Part6.TopSurface = Enum.SurfaceType.Smooth
  84. Part6.Material = "Grass"
  85. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  86. Part6.Position = Vector3.new(13.20014, -62.288559, -4.82504272)
  87. Part6.Orientation = Vector3.new(0, 180, 0)
  88. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  89. Decal7.Face = Enum.NormalId.Top
  90. Part8.Name = "Toppart"
  91. Part8.Parent = Model0
  92. Part8.BrickColor = BrickColor.new("Really black")
  93. Part8.Rotation = Vector3.new(-180, 0, 0)
  94. Part8.Anchored = true
  95. Part8.CanCollide = false
  96. Part8.Size = Vector3.new(79.1299744, 60.3200264, 1.35998762)
  97. Part8.CFrame = CFrame.new(13.20014, -31.7921829, -39.7079086, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  98. Part8.BottomSurface = Enum.SurfaceType.Smooth
  99. Part8.TopSurface = Enum.SurfaceType.Smooth
  100. Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  101. Part8.Position = Vector3.new(13.20014, -31.7921829, -39.7079086)
  102. Part8.Orientation = Vector3.new(0, 180, 180)
  103. Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  104. Part8.Transparency = 1
  105. Script9.Parent = Model0
  106. table.insert(cors,sandbox(Script9,function()
  107. leppie = script.Parent
  108. keyboard = script.Parent.Keyboard
  109. screen = script.Parent.Screen
  110. top = script.Parent.Toppart
  111. eyes = leppie.Screen.eyes
  112. face = leppie.Screen.face
  113. mouth = leppie.Screen.mouth
  114.  
  115. local killsky = Instance.new("Sky", game:GetService'Lighting')
  116. killsky.SkyboxBk = "rbxassetid://102397435"
  117. killsky.SkyboxDn = "rbxassetid://102397435"
  118. killsky.SkyboxFt = "rbxassetid://102397435"
  119. killsky.SkyboxLf = "rbxassetid://102397435"
  120. killsky.SkyboxRt = "rbxassetid://102397435"
  121. killsky.SkyboxUp = "rbxassetid://102397435"
  122. killsky.StarCount = 0
  123. killsky.SunAngularSize = 0
  124. killsky.MoonAngularSize = 0
  125. killsky.MoonTextureId = ""
  126. killsky.CelestialBodiesShown = false
  127. game.Lighting.FogColor = Color3.new(0.1,0.1,0.1)
  128. game.Lighting.FogEnd = 0
  129.  
  130.  
  131. local puddle = Instance.new("Part", workspace)
  132. puddle.Transparency = 1
  133. puddle.Anchored = true
  134. puddle.CanCollide = false
  135. puddle.Locked = true
  136. puddle.Position = Vector3.new(13.2, 0.386, -4.825)
  137. puddle.BrickColor = BrickColor.new("Really red")
  138. puddle.Shape = "Cylinder"
  139. puddle.Size = Vector3.new(0.6, 129.53, 132.12)
  140. puddle.Orientation = Vector3.new(0,0,90)
  141. puddle.Material = "Neon"
  142.  
  143. script.Parent.quake:Play()
  144. wait(1)
  145. script.Parent.intro:Play()
  146.  
  147. for i = 1,550 do
  148. leppie:SetPrimaryPartCFrame(leppie:GetPrimaryPartCFrame() * CFrame.new(0,0.125,0))
  149. wait()
  150. end
  151. script.Parent.quake:Stop()
  152. wait(1)
  153. wait()
  154. puddle.Transparency = 0
  155. wait()
  156. puddle.Transparency = 1
  157. wait()
  158. puddle.Transparency = 1
  159. wait()
  160. puddle.Transparency = 1
  161. wait()
  162. puddle.Transparency = 1
  163. wait()
  164. puddle.Transparency = 1
  165. wait()
  166. puddle.Transparency = 1
  167. wait()
  168. puddle.Transparency = 1
  169. wait()
  170. puddle.Transparency = 1
  171. wait()
  172. puddle.Transparency = 1
  173. wait()
  174. puddle.Transparency = 1
  175. wait()
  176. puddle:Destroy()
  177. killsky.Parent = game.Players
  178. game.Lighting.FogEnd = 10000
  179. local sky = Instance.new('Sky', game:GetService'Lighting')
  180. sky.SkyboxBk = "rbxassetid://2083667"
  181. sky.SkyboxDn = "rbxassetid://2083667"
  182. sky.SkyboxFt = "rbxassetid://2083667"
  183. sky.SkyboxLf = "rbxassetid://2083667"
  184. sky.SkyboxRt = "rbxassetid://2083667"
  185. sky.SkyboxUp = "rbxassetid://2083667"
  186. sky.SunAngularSize = 0
  187. sky.MoonAngularSize = 0
  188. sky.MoonTextureId = ""
  189. sky.CelestialBodiesShown = false
  190. wait(1)
  191. leppie.fite1:Play()
  192.  
  193. for kek = 1,20 do
  194. local etecc = Instance.new("Part", leppie)
  195. etecc.BrickColor = BrickColor.Random()
  196. etecc.Size = Vector3.new(5.59, 4.4, 4.71)
  197. etecc.Anchored = false
  198. etecc.CanCollide = true
  199. etecc.Shape = "Ball"
  200. etecc.Position = Vector3.new(math.random(-300,300),300, math.random(-300, 300))
  201. local etecc2 = Instance.new("Part", leppie)
  202. etecc2.BrickColor = BrickColor.Random()
  203. etecc2.Size = Vector3.new(5.59, 4.4, 4.71)
  204. etecc2.Anchored = false
  205. etecc2.CanCollide = true
  206. etecc2.Shape = "Ball"
  207. etecc2.Position = Vector3.new(math.random(-250,250),300, math.random(-250, 250))
  208. local etecc3 = Instance.new("Part", leppie)
  209. etecc3.BrickColor = BrickColor.Random()
  210. etecc3.Size = Vector3.new(5.59, 4.4, 4.71)
  211. etecc3.Anchored = false
  212. etecc3.CanCollide = true
  213. etecc3.Shape = "Ball"
  214. etecc3.Position = Vector3.new(math.random(-100,100),300, math.random(-100,100))
  215. local etecc4 = Instance.new("Part", leppie)
  216. etecc4.BrickColor = BrickColor.Random()
  217. etecc4.Size = Vector3.new(5.59, 4.4, 4.71)
  218. etecc4.Anchored = false
  219. etecc4.CanCollide = true
  220. etecc4.Shape = "Ball"
  221. etecc4.Position = Vector3.new(math.random(-50,50),300, math.random(-50,50))
  222. wait(2)
  223. local boom = Instance.new("Explosion", etecc)
  224. boom.Position = etecc.Position
  225. boom.BlastRadius = 30
  226. local boom2 = Instance.new("Explosion", etecc2)
  227. boom2.Position = etecc2.Position
  228. boom2.BlastRadius = 30
  229. local boom3 = Instance.new("Explosion", etecc3)
  230. boom3.Position = etecc3.Position
  231. boom3.BlastRadius = 30
  232. local boom4 = Instance.new("Explosion", etecc4)
  233. boom4.Position = etecc4.Position
  234. boom4.BlastRadius = 30
  235. wait(0.5)
  236. etecc:Destroy()
  237. etecc2:Destroy()
  238. etecc3:Destroy()
  239. etecc4:Destroy()
  240. end
  241.  
  242.  
  243. local weakspot = Instance.new("Part", keyboard)
  244. weakspot.BrickColor = BrickColor.new("New Yeller")
  245. weakspot.Position = keyboard.Position
  246. weakspot.Size = Vector3.new(0.85, 9.96, 12.03)
  247. weakspot.Anchored = true
  248. weakspot.CanCollide = true
  249. weakspot.Orientation = Vector3.new(0,0.3,0)
  250. weakspot.Transparency = 1
  251. print("Weak spot has appeared!")
  252. Decale.Name = "face"
  253. Decale.Parent = weakspot
  254. Decale.Texture = "rbxassetid://311212183"
  255. Decale.Face = "Left"
  256. Decalee.Name = "face"
  257. Decalee.Parent = weakspot
  258. Decalee.Texture = "rbxassetid://311212183"
  259. Decalee.Face = "Right"
  260. function onTouch(hit)
  261. print("weakspot has been attacked!")
  262. weakspot:Destroy()
  263. leppie.intro:Stop()
  264. leppie.pain.Pitch = 0.5
  265. leppie.pain:Play()
  266. leppie.crash:Play()
  267. wait(5)
  268.  
  269. local puddle = Instance.new("Part", workspace)
  270. puddle.Transparency = 1
  271. puddle.Anchored = true
  272. puddle.CanCollide = false
  273. puddle.Locked = true
  274. puddle.Position = Vector3.new(13.2, 0.386, -4.825)
  275. puddle.BrickColor = BrickColor.new("Really red")
  276. puddle.Shape = "Cylinder"
  277. puddle.Size = Vector3.new(0.6, 129.53, 132.12)
  278. puddle.Orientation = Vector3.new(0,0,90)
  279. puddle.Material = "Neon"
  280.  
  281. leppie.quake:Play()
  282. local victori = Instance.new("Sound", workspace)
  283. victori.SoundId = "http://www.roblox.com/asset/?id=926451629"
  284. victori.Volume = 10
  285. victori.TimePosition = 0
  286. victori.Looped = false
  287. victori:Play()
  288. for i = 1,500 do
  289. leppie:SetPrimaryPartCFrame(leppie:GetPrimaryPartCFrame() * CFrame.new(0,-25,0))
  290. wait()
  291. end
  292. leppie.quake:Stop()
  293. sky:Remove()
  294. leppie:Destroy()
  295. end
  296.  
  297. weakspot.Touched:connect(onTouch)
  298.  
  299. end))
  300. Sound10.Name = "portal"
  301. Sound10.Parent = Model0
  302. Sound10.SoundId = "rbxassetid://956585775"
  303. Sound10.Volume = 10
  304. Sound11.Name = "quake"
  305. Sound11.Parent = Model0
  306. Sound11.SoundId = "rbxassetid://1444622148"
  307. Sound11.Volume = 5
  308. Sound12.Name = "intro"
  309. Sound12.Parent = Model0
  310. Sound12.SoundId = "rbxassetid://511174008"
  311. Sound12.Volume = 10
  312. Sound13.Name = "taunt"
  313. Sound13.Parent = Model0
  314. Sound13.SoundId = "rbxassetid://135017578"
  315. Sound13.Volume = 10
  316. Sound14.Name = "laugh"
  317. Sound14.Parent = Model0
  318. Sound14.SoundId = "rbxassetid://357906328"
  319. Sound14.Volume = 10
  320. Sound15.Name = "static"
  321. Sound15.Parent = Model0
  322. Sound15.SoundId = "rbxassetid://132081621"
  323. Sound15.Volume = 10
  324. Sound16.Name = "milkncereal"
  325. Sound16.Parent = Model0
  326. Sound16.SoundId = "rbxassetid://172144294"
  327. Sound16.Volume = 10
  328. Sound17.Name = "reee"
  329. Sound17.Parent = Model0
  330. Sound17.SoundId = "rbxassetid://1286168545"
  331. Sound17.Volume = 10
  332. Sound18.Name = "tooterals"
  333. Sound18.Parent = Model0
  334. Sound18.SoundId = "rbxassetid://647462622"
  335. Sound18.Volume = 10
  336. Sound19.Name = "fite1"
  337. Sound19.Parent = Model0
  338. Sound19.SoundId = "rbxassetid://"
  339. Sound19.Volume = 10
  340. Sound20.Name = "pain"
  341. Sound20.Parent = Model0
  342. Sound20.SoundId = "rbxassetid://406913243"
  343. Sound20.Volume = 10
  344. Sound21.Name = "crash"
  345. Sound21.Parent = Model0
  346. Sound21.SoundId = "rbxassetid://747351124"
  347. Sound21.Volume = 10
  348. for i,v in pairs(mas:GetChildren()) do
  349. v.Parent = game:GetService("Players").LocalPlayer.Character
  350. pcall(function() v:MakeJoints() end)
  351. end
  352. mas:Destroy()
  353. for i,v in pairs(cors) do
  354. spawn(function()
  355. pcall(v)
  356. end)
  357. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement