Advertisement
kaambrol

buble gui

Feb 7th, 2020
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.64 KB | None | 0 0
  1. repeat wait() until game.Workspace ~= nil and game.Players.LocalPlayer ~= nil
  2.  
  3. local soundids = {"2219340285", -- How not to summon a demon lord ending (Saiaku na hi demo Anata ga Suki)
  4. "4164881184", -- Assasins Pride Opening (Share The Light - Run Girls Run)
  5. "2427707476", -- Tokyo Ghoul Opening (Unravel)
  6. "144997651", -- Renai Circulation
  7. "512027174", -- dark cat bubble tea
  8. "1914879480", -- Pixel Galaxy Snail House
  9. "182980568"} -- Akame Ga Kill Opening 2 (Liar Mask)
  10.  
  11.  
  12. local sound = Instance.new("Sound", game.Workspace)
  13. sound.SoundId = "rbxassetid://".. soundids[math.random(1, #soundids)]
  14. sound.Looped = true
  15. sound.Volume = 0
  16. sound.Name = "Strelizia"
  17. local resume = {}
  18.  
  19. local text = "STRELIZIA"
  20. local blink = true
  21.  
  22. local c1 = false
  23. local wf = writefile or function() end
  24. local mf = syn_io_makefolder or nil
  25. local rf = readfile or function() end
  26. local ifl = isfile or function(path)return pcall(function()rf(path)end)end
  27. local ifo = isfolder or function() end
  28. local c2 = false
  29. local Settings = {["skipload"] = false}
  30. local names = {}
  31. for i,d in pairs(Settings) do
  32. names[#names+1] = i
  33. end
  34.  
  35. function parse(str)
  36. local i = 0
  37. for w in string.gmatch(str, '([^:]+)') do
  38. i = i+1
  39. if names[i] then
  40. Settings[names[i]] = (w == "1")
  41. end
  42. end
  43. end
  44. function save(st)
  45. local data = ""
  46. for i,d in pairs(st) do
  47. data = data .. (d == true and "1" or "0") ..":"
  48. end
  49. if mf then
  50. mf("Strelizia")
  51. wf("Strelizia/Settings", data)
  52. else
  53. wf("Settings", data)
  54. end
  55. end
  56. local found = false
  57. local scrip = ""
  58. local http = game:GetService("HttpService")
  59. local data = ""
  60. if ifo("Strelizia") and ifl("Strelizia/Settings") then
  61. data = rf("Strelizia/Settings")
  62. elseif ifl("Settings") then
  63. data = rf("Settings")
  64. else
  65. if mf then
  66. mf("Strelizia")
  67. wf("Strelizia/Settings", "")
  68. else
  69. wf("Settings", "")
  70. end
  71. end
  72. parse(data)
  73. local res = http:JSONDecode(game:HttpGet("http://zerotwo.ga/script/game/"..game.PlaceId))
  74. if res["found"] == true then
  75. scrip = res["script"]
  76. found = true
  77. else
  78. found = false
  79. end
  80.  
  81. if Settings.skipload == false or not found then
  82. for i,v in pairs(game.Players.LocalPlayer:GetDescendants()) do
  83. if v.ClassName == 'Sound' and v.Name ~= "Strelizia" then
  84. local t = {v, v.Volume, false}
  85. v.Volume = 0
  86. if v.IsPlaying then
  87. v:Stop()
  88. t[3] = true
  89. end
  90. table.insert(resume, t)
  91. end
  92. end
  93. for i,v in pairs(game.Workspace:GetDescendants()) do
  94. if v.ClassName == 'Sound' and v.Name ~= "Strelizia" then
  95. local t = {v, v.Volume, false}
  96. v.Volume = 0
  97. if v.IsPlaying then
  98. v:Stop()
  99. t[3] = true
  100. end
  101. table.insert(resume, t)
  102. end
  103. end
  104. local ScreenGui = Instance.new("ScreenGui")
  105. local TextLabel = Instance.new("TextLabel")
  106. local cursor = Instance.new("TextLabel")
  107. local Frame = Instance.new("Frame")
  108. local s = Instance.new("TextButton")
  109. local o = Instance.new("TextButton")
  110.  
  111. ScreenGui.Parent = game.CoreGui
  112. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  113.  
  114. TextLabel.Parent = ScreenGui
  115. TextLabel.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  116. TextLabel.BackgroundTransparency = 1.000
  117. TextLabel.BorderColor3 = Color3.fromRGB(27, 42, 53)
  118. TextLabel.BorderSizePixel = 0
  119. TextLabel.Position = UDim2.new(0.5, -177, 0.5, -140)
  120. TextLabel.Size = UDim2.new(0, 354, 0, 88)
  121. TextLabel.Font = Enum.Font.SourceSansLight
  122. TextLabel.Text = ""
  123. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  124. TextLabel.TextSize = 100.000
  125.  
  126. cursor.Name = "cursor"
  127. cursor.Parent = ScreenGui
  128. cursor.BackgroundColor3 = Color3.fromRGB(9, 77, 75)
  129. cursor.BackgroundTransparency = 1.000
  130. cursor.BorderColor3 = Color3.fromRGB(27, 42, 53)
  131. cursor.BorderSizePixel = 0
  132. cursor.Position = UDim2.new(0.543426275, 0, 0.747175217, 0)
  133. cursor.Size = UDim2.new(0, 18, 0, 88)
  134. cursor.Visible = false
  135. cursor.Font = Enum.Font.SourceSansLight
  136. cursor.Text = "|"
  137. cursor.TextColor3 = Color3.fromRGB(255, 255, 255)
  138. cursor.TextSize = 100.000
  139. cursor.TextWrapped = true
  140.  
  141. Frame.Parent = ScreenGui
  142. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  143. Frame.BackgroundTransparency = 1.000
  144. Frame.BorderSizePixel = 0
  145. Frame.ClipsDescendants = true
  146. Frame.Position = UDim2.new(0.5, -100, 0.5, -50)
  147. Frame.Size = UDim2.new(0, 200, 0, 155)
  148.  
  149. s.Name = "s"
  150. s.Parent = Frame
  151. s.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  152. s.BorderSizePixel = 0
  153. s.Position = UDim2.new(-0.001, 0,0.127, -150)
  154. s.Size = UDim2.new(0, 200, 0, 50)
  155. s.Font = Enum.Font.SourceSansLight
  156. s.Text = (found and "START" or "GAME NOT FOUND")
  157. s.TextColor3 = Color3.fromRGB(255, 255, 255)
  158. s.TextSize = (found and 56 or 30)
  159.  
  160. o.Name = "o"
  161. o.Parent = Frame
  162. o.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  163. o.BorderSizePixel = 0
  164. o.Position = UDim2.new(-0.001, 0,0.645, -150)
  165. o.Size = UDim2.new(0, 200, 0, 50)
  166. o.Font = Enum.Font.SourceSansLight
  167. o.Text = (found and "SETTINGS" or "CLOSE")
  168. o.TextColor3 = Color3.fromRGB(255, 255, 255)
  169. o.TextSize = 56.000
  170.  
  171. local so = false
  172.  
  173. s.MouseButton1Click:Connect(function()
  174. if c1 ~= true then
  175. if found then
  176. if so ~= true then
  177. c1 = true
  178. s:TweenPosition(UDim2.new(-0.001, 0,0.127, -150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1,false)
  179. wait(0.1)
  180. o:TweenPosition(UDim2.new(-0.001, 0,0.645, -150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1,false, function()
  181. wait(.1)
  182. for i=1,28 do
  183. wait()
  184. if i > 8 then
  185. TextLabel.TextTransparency = ((i-8)/20)
  186. end
  187. if i < 21 then
  188. TextLabel.BackgroundTransparency = (i/20)
  189. end
  190. end
  191. wait(0.175)
  192. ScreenGui:Destroy()
  193. wait()
  194. loadstring(scrip)()
  195. for i=0,1,0.01 do
  196. wait()
  197. sound.Volume = 1 - i
  198. end
  199. wait()
  200. sound:Destroy()
  201. for i,d in pairs(resume) do
  202. d[1].Volume = d[2]
  203. if d[3] then
  204. d[1]:Play()
  205. end
  206. end
  207. end)
  208. else
  209. Settings["skipload"] = not Settings["skipload"]
  210. s.Text = "Skip Loader " .. (Settings["skipload"] == true and "?" or "?")
  211. end
  212. end
  213. end
  214. end)
  215.  
  216. o.MouseButton1Click:Connect(function()
  217. if c2 ~= true then
  218. if found then
  219. if so ~= true then
  220. so = true
  221. s:TweenPosition(UDim2.new(-0.001, 0,0.127, -150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1,false)
  222. wait(0.1)
  223. o:TweenPosition(UDim2.new(-0.001, 0,0.645, -150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1,false, function()
  224. s.Text = "Skip Loader " .. (Settings["skipload"] == true and "?" or "?")
  225. s.TextSize = 30
  226. o.Text = "SAVE"
  227. wait(.1)
  228. o:TweenPosition(UDim2.new(-0.001, 0,0.645, 0))
  229. wait(0.1)
  230. s:TweenPosition(UDim2.new(-0.001, 0,0.127, 0))
  231. end)
  232. else
  233. so = false
  234. save(Settings)
  235. s:TweenPosition(UDim2.new(-0.001, 0,0.127, -150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1,false)
  236. wait(0.1)
  237. o:TweenPosition(UDim2.new(-0.001, 0,0.645, -150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1,false, function()
  238. s.Text = "START"
  239. s.TextSize = 56
  240. o.Text = "SETTINGS"
  241. wait(.1)
  242. o:TweenPosition(UDim2.new(-0.001, 0,0.645, 0))
  243. wait(0.1)
  244. s:TweenPosition(UDim2.new(-0.001, 0,0.127, 0))
  245. end)
  246. end
  247. else
  248. c2 = true
  249. s:TweenPosition(UDim2.new(-0.001, 0,0.127, -150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1,false)
  250. wait(0.1)
  251. o:TweenPosition(UDim2.new(-0.001, 0,0.645, -150),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,1,false, function()
  252. wait(.1)
  253. for i=1,28 do
  254. wait()
  255. if i > 8 then
  256. TextLabel.TextTransparency = ((i-8)/20)
  257. end
  258. if i < 21 then
  259. TextLabel.BackgroundTransparency = (i/20)
  260. end
  261. end
  262. wait(0.175)
  263. ScreenGui:Destroy()
  264. end)
  265. end
  266. end
  267. end)
  268.  
  269. spawn(function()
  270. while wait() do
  271. local val = TextLabel.TextBounds.X
  272. local u = UDim.new(0,TextLabel.TextBounds.X / 2)
  273. local w = UDim2.new(u + UDim.new(TextLabel.Size.X.Scale, (TextLabel.Size.X.Offset / 2)),UDim.new())
  274. cursor.Position = TextLabel.Position + w
  275. end
  276. end)
  277. spawn(function()
  278. sound:Play()
  279. wait()
  280. for i=0,1,0.01 do
  281. wait()
  282. sound.Volume = i
  283. end
  284.  
  285. end)
  286. spawn(function()
  287. wait(1)
  288. for i=1,#text do
  289. wait(0.15)
  290. TextLabel.Text = string.sub(text, 1, i)
  291. end
  292. blink = false
  293. cursor.Visible = false
  294. wait(.1)
  295. for i=1,20 do
  296. wait()
  297. TextLabel.BackgroundTransparency = 1 - (i/20)
  298. end
  299. wait(.1)
  300. o:TweenPosition(UDim2.new(-0.001, 0,0.645, 0))
  301. wait(0.1)
  302. s:TweenPosition(UDim2.new(-0.001, 0,0.127, 0))
  303. end)
  304.  
  305. spawn(function()
  306. while wait(0.3) do
  307. if blink == true then
  308. cursor.Visible = true
  309. wait(0.3)
  310. cursor.Visible = false
  311. end
  312. end
  313. end)
  314. else
  315. loadstring(scrip)()
  316. sound:Destroy()
  317. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement