Advertisement
Bendy928443534

Untitled

Aug 2nd, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.80 KB | None | 0 0
  1. ArtificialHB = Instance.new("BindableEvent", script)
  2. ArtificialHB.Name = "ArtificialHB"
  3.  
  4. script:WaitForChild("ArtificialHB")
  5. Frame_Speed = 1 / 60
  6. frame = Frame_Speed
  7. tf = 0
  8. allowframeloss = false
  9. tossremainder = false
  10. lastframe = tick()
  11.  
  12. game:GetService("RunService").Heartbeat:connect(function(s, p)
  13. tf = tf + s
  14. if tf >= frame then
  15. if allowframeloss then
  16. ArtificialHB:Fire()
  17. lastframe = tick()
  18. else
  19. for i = 1, math.floor(tf / frame) do
  20. ArtificialHB:Fire()
  21. end
  22. lastframe = tick()
  23. end
  24. if tossremainder then
  25. tf = 0
  26. else
  27. tf = tf - frame * math.floor(tf / frame)
  28. end
  29. end
  30. end)
  31.  
  32. ------------------
  33. function swait(num)
  34. if num == 0 or num == nil then
  35. ArtificialHB.Event:wait()
  36. else
  37. for i = 1, num do
  38. ArtificialHB.Event:wait()
  39. end
  40. end
  41. end
  42. Create=function(obj)
  43. local inst = Instance.new(obj)
  44. return function(props)
  45. for prop,valu in next, props do
  46. inst[prop]=valu
  47. end
  48. return inst
  49. end
  50. end
  51. Echo = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  52. local Sas = Create("Sound"){
  53. Volume = vol,
  54. Name = "EffectSoundo",
  55. Pitch = pit or 1,
  56. SoundId = id,
  57. TimePosition = timepos,
  58. Parent = par or workspace,
  59. }
  60. local E = Create("EchoSoundEffect"){
  61. Delay = echodelay,
  62. Name = "Echo",
  63. Feedback = fedb,
  64. DryLevel = dryl,
  65. Parent = Sas,
  66. }
  67. wait()
  68. Sas:play()
  69. game:GetService("Debris"):AddItem(Sas, delays)
  70. end
  71.  
  72. script:WaitForChild'NewDialog'
  73. local r = 255
  74. local g = 0
  75. local b = 0
  76. coroutine.resume(coroutine.create(function()
  77. while wait() do
  78. for i = 0, 254/5 do
  79. swait()
  80. g = g + 5
  81. end
  82. for i = 0, 254/5 do
  83. swait()
  84. r = r - 5
  85. end
  86. for i = 0, 254/5 do
  87. swait()
  88. b = b + 5
  89. end
  90. for i = 0, 254/5 do
  91. swait()
  92. g = g - 5
  93. end
  94. for i = 0, 254/5 do
  95. swait()
  96. r = r + 5
  97. end
  98. for i = 0, 254/5 do
  99. swait()
  100. b = b - 5
  101. end
  102. end
  103. end))
  104. v=game:service'Players'.localPlayer
  105. function newbosschatfunc(kan,ModeOfGlitch,modet,text,color,color2,watval)
  106. coroutine.resume(coroutine.create(function()
  107. if v.PlayerGui:FindFirstChild("NewDialog")~= nil then
  108. v.PlayerGui:FindFirstChild("NewDialog"):destroy()
  109. end
  110. local Bruh=script.NewDialog:Clone()
  111. Bruh.Parent=v.PlayerGui
  112. local Bruh2=Bruh.H
  113. local bruh3 = Bruh.H.H1
  114. local bruh4 = Bruh2.H1
  115. game:GetService("Debris"):AddItem(Bruh,120)
  116. --local scrg = Instance.new("ScreenGui",v.PlayerGui)
  117. Echo("rbxassetid://525200869", Bruh, 0.5, 1,0,10,0.1,0.25,1)
  118.  
  119. --V bad code - salvo
  120. coroutine.resume(coroutine.create(function()
  121. while true do
  122. swait()
  123. Bruh2.BackgroundColor3=color
  124. bruh4.BackgroundColor3=color
  125. Bruh2.H12.BackgroundColor3=color
  126. Bruh2.H13.BackgroundColor3=color
  127. Bruh2.H14.BackgroundColor3=color
  128. bruh4.BorderColor3=Color3.new(r/255,g/255,b/255)
  129. Bruh2.H12.BorderColor3=Color3.new(r/255,g/255,b/255)
  130. Bruh2.H13.BorderColor3=Color3.new(r/255,g/255,b/255)
  131. Bruh2.H14.BorderColor3=Color3.new(r/255,g/255,b/255)
  132. Bruh2.H.TextColor3=color
  133. Bruh2.H.TextStrokeColor3=Color3.new(r/255,g/255,b/255)
  134. Bruh2.H.BackgroundColor3=Color3.new(r/255,g/255,b/255)
  135. bruh4.BackgroundColor3=Color3.new(r/255,g/255,b/255)
  136. Bruh2.H.H2.BackgroundColor3=Color3.new(r/255,g/255,b/255)
  137. Bruh2.H.H3.BackgroundColor3=Color3.new(r/255,g/255,b/255)
  138. Bruh2.US.TextColor3=Color3.new(r/255,g/255,b/255)
  139. Bruh2.US.TextStrokeColor3=color
  140. Bruh2.PULSE.BackgroundColor3=Color3.new(r/255,g/255,b/255)
  141. end
  142. end))
  143.  
  144.  
  145. Bruh2.H.Text=text
  146.  
  147. Bruh2.US.Text=modet
  148.  
  149. Bruh2:TweenPosition(UDim2.new(0,0,.8,0), "Out", "Quad", .2,true)
  150.  
  151.  
  152. local function pul()
  153. Bruh2.PULSE:TweenSize(UDim2.new(1.1,0,1.3,0), "Out", "Quint", 1,true)
  154. Bruh2.PULSE.BackgroundTransparency=0
  155. end
  156.  
  157. local dah=false
  158. coroutine.resume(coroutine.create(function(aaaa)
  159. for i = 1,string.len(text),1 do
  160. swait()
  161. aaaa.Text = string.sub(text,1,i)
  162. end
  163. end),Bruh2.H)
  164. coroutine.resume(coroutine.create(function(t1,t2,t3,t4)
  165. local mo1=1
  166. local mo2=10
  167. local mo3=0
  168. repeat
  169.  
  170. local hahahaaa={"Black","Crimson","Maroon","Bright red","Cocoa","Really red"}
  171. t1.Rotation=t1.Rotation+1
  172. t2.Rotation=t2.Rotation+1.6
  173. t3.Rotation=t3.Rotation+2.6
  174. t4.Rotation=t4.Rotation+3.8
  175. t1:TweenPosition(UDim2.new(.02+.01*math.sin((tick()*100) / 47),0,-.2+.01*math.cos((tick()*100) / 50),0), "Out", "Quint", .1,true)
  176. t2:TweenPosition(UDim2.new(.1-.01*math.cos((tick()*100) / 48),0,-.14-.01*math.sin((tick()*100) / 49),0), "Out", "Quint", .1,true)
  177. t3:TweenPosition(UDim2.new(.18-.01*math.sin((tick()*100) / 49),0,-.07-.01*math.cos((tick()*100) / 48),0), "Out", "Quint", .1,true)
  178. t4:TweenPosition(UDim2.new(.23+.01*math.cos((tick()*100) / 50),0,-.04+.01*math.sin((tick()*100) / 47),0), "Out", "Quint", .1,true)
  179. if ModeOfGlitch==5 then
  180. local MAINRUINCOLOR = hahahaaa[math.random(1,#hahahaaa)]
  181. local SECONDRUINCOLOR = hahahaaa[math.random(1,#hahahaaa)]
  182. Bruh2.BackgroundColor3=MAINRUINCOLOR.Color
  183. bruh4.BackgroundColor3=MAINRUINCOLOR.Color
  184. Bruh2.H12.BackgroundColor3=MAINRUINCOLOR.Color
  185. Bruh2.H13.BackgroundColor3=MAINRUINCOLOR.Color
  186. Bruh2.H14.BackgroundColor3=MAINRUINCOLOR.Color
  187. Bruh2.H1.BorderColor3=SECONDRUINCOLOR.Color
  188. Bruh2.H12.BorderColor3=SECONDRUINCOLOR.Color
  189. Bruh2.H13.BorderColor3=SECONDRUINCOLOR.Color
  190. Bruh2.H14.BorderColor3=SECONDRUINCOLOR.Color
  191. Bruh2.H.TextColor3=MAINRUINCOLOR.Color
  192. Bruh2.H.TextStrokeColor3=SECONDRUINCOLOR.Color
  193. Bruh2.H.BackgroundColor3=SECONDRUINCOLOR.Color
  194. Bruh2.H.H1.BackgroundColor3=SECONDRUINCOLOR.Color
  195. Bruh2.H.H2.BackgroundColor3=SECONDRUINCOLOR.Color
  196. Bruh2.H.H3.BackgroundColor3=SECONDRUINCOLOR.Color
  197. Bruh2.US.TextColor3=SECONDRUINCOLOR.Color
  198. Bruh2.US.TextStrokeColor3=MAINRUINCOLOR.Color
  199. Bruh2.PULSE.BackgroundColor3=SECONDRUINCOLOR.Color
  200. else
  201. Bruh2.BackgroundColor3=color
  202. bruh4.BackgroundColor3=color
  203. Bruh2.H12.BackgroundColor3=color
  204. Bruh2.H13.BackgroundColor3=color
  205. Bruh2.H14.BackgroundColor3=color
  206. bruh4.BorderColor3=Color3.new(r/255,g/255,b/255)
  207. Bruh2.H12.BorderColor3=Color3.new(r/255,g/255,b/255)
  208. Bruh2.H13.BorderColor3=Color3.new(r/255,g/255,b/255)
  209. Bruh2.H14.BorderColor3=Color3.new(r/255,g/255,b/255)
  210. Bruh2.H.TextColor3=color
  211. Bruh2.H.TextStrokeColor3=Color3.new(r/255,g/255,b/255)
  212. Bruh2.H.BackgroundColor3=Color3.new(r/255,g/255,b/255)
  213. bruh4.BackgroundColor3=Color3.new(r/255,g/255,b/255)
  214. Bruh2.H.H2.BackgroundColor3=Color3.new(r/255,g/255,b/255)
  215. Bruh2.H.H3.BackgroundColor3=Color3.new(r/255,g/255,b/255)
  216. Bruh2.US.TextColor3=Color3.new(r/255,g/255,b/255)
  217. Bruh2.US.TextStrokeColor3=color
  218. Bruh2.PULSE.BackgroundColor3=Color3.new(r/255,g/255,b/255)
  219. end
  220. Bruh2.PULSE.BackgroundTransparency=Bruh2.PULSE.BackgroundTransparency+.04
  221. mo1=mo1+2
  222. mo2=mo2-2
  223. mo3=mo3+1
  224. if mo1>=10 then
  225. mo1=1
  226. end
  227. if mo2<=1 then
  228. mo2=10
  229. end
  230. if mo3>=69 then
  231. mo3=0
  232. Bruh2.PULSE.Size=UDim2.new(1,0,1,0)
  233. pul()
  234. end
  235. for i,ss in pairs(Bruh2.H:GetChildren()) do
  236. if ss:IsA("Frame") then
  237. if ss.Name=="V"..mo1 then
  238. ss:TweenSize(UDim2.new(0+(kan.PlaybackLoudness/650),0,.1,0), "Out", "Quart", .2,true)
  239. elseif ss.Name=="V"..mo2 then
  240. ss:TweenSize(UDim2.new(0+(kan.PlaybackLoudness/650),0,.1,0), "Out", "Quart", .2,true)
  241. end
  242. end
  243. end
  244.  
  245. if dah then
  246. Bruh2.Rotation=Bruh2.Rotation-.2
  247. end
  248.  
  249. swait()
  250. until t1.Parent==nil or t2.Parent==nil or t3.Parent==nil or t4.Parent==nil
  251. end),bruh4,Bruh2.H12,Bruh2.H13,Bruh2.H14)
  252.  
  253. pcall(function()
  254. for i=1,watval do
  255. swait()
  256. Bruh2:TweenPosition(UDim2.new(0,0,.8+.02*math.cos((tick()*100) / 61),0), "Out", "Quad", .2,true)
  257. if Bruh.Parent==nil then
  258. break
  259. end
  260. end
  261.  
  262. if Bruh.Parent~=nil and Bruh2.Parent~=nil then
  263. Bruh2:TweenPosition(UDim2.new(-.1,0,2,0), "In", "Quart", 1.6,true)
  264. dah=true
  265. swait(180)
  266. game.Debris:AddItem(Bruh,0)
  267.  
  268. end
  269. end)
  270.  
  271. script:destroy()
  272. end))
  273. end
  274.  
  275. --(kan,ModeOfGlitch,modet,text,color,color2,watval)
  276. newbosschatfunc(script.Music.Value,script.Mode.Value,script.ModeName.Value,script.Text.Value,script.Color1.Value,script.Color2.Value,script.Ghghghghgh.Value)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement