Advertisement
joe201501

Bowser's Time Stop

Jul 5th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.61 KB | None | 0 0
  1. local plr = game:GetService("Players").LocalPlayer
  2. local deb = false
  3.  
  4. while not plr.Character do wait() end
  5. wait(0.1)
  6.  
  7. warn("Timestop loaded. R to toggle time.")
  8.  
  9. MegaloStrikesBack = Instance.new("Sound",plr.Character)
  10. MegaloStrikesBack.Looped = true
  11. MegaloStrikesBack.SoundId = "http://www.roblox.com/asset?id=347143833"
  12. MegaloStrikesBack.Volume = 50
  13. MegaloStrikesBack:Play()
  14.  
  15.  
  16.  
  17. local tstab = {}
  18. local tsstab = {}
  19. local ignlist = {}
  20. local stab = {}
  21.  
  22. function plrIgnore(char)
  23. for i,v in pairs(char:GetChildren()) do
  24. if #v:GetChildren() >= 1 then
  25. plrIgnore(v)
  26. end
  27. table.insert(ignlist,v)
  28. end
  29. end
  30.  
  31. function timeStop(target)
  32. sound = Instance.new("Sound",plr.Character)
  33. sound.Looped = false
  34. sound.SoundId = "http://www.roblox.com/asset?id=891918584"
  35. sound.Volume = 50
  36. sound:Play()
  37. wait(4)
  38. rarrrrr = Instance.new("Sound",plr.Character)
  39. rarrrrr.Looped = false
  40. rarrrrr.SoundId = "http://www.roblox.com/asset?id=138474143"
  41. rarrrrr.Volume = 50
  42. rarrrrr:Play()
  43.  
  44. for i,v in pairs(target:GetChildren()) do
  45. if #v:GetChildren() >= 1 then
  46. timeStop(v)
  47. end
  48. local isinign = false
  49. for i,b in pairs(ignlist) do
  50. if b == v then
  51. isinign = true
  52. end
  53. end
  54. if isinign == false then
  55. if v:IsA("Part") or v:IsA("WedgePart") or v:IsA("UnionOperation") then
  56. if v.Anchored == false then
  57. table.insert(tstab,v)
  58. v.Anchored = true
  59. end
  60. end
  61. if v:IsA("Sound") then
  62. local isintab = false
  63. for i,b in pairs(stab) do
  64. if v == b[1] then
  65. isintab = true
  66. end
  67. end
  68. if isintab == false then
  69. table.insert(stab,{v,v.Pitch})
  70. end
  71. end
  72. --[[if v:IsA("Script") or v:IsA("LocalScript") then
  73. if v.Disabled == false then
  74. table.insert(tsstab,v)
  75. v.Disabled = true
  76. end
  77. end]]
  78. end
  79. end
  80. local isinign = false
  81. for i,b in pairs(ignlist) do
  82. if b == target then
  83. isinign = true
  84. end
  85. end
  86. if isinign == false then
  87. if target:IsA("Part") or target:IsA("WedgePart") or target:IsA("UnionOperation") then
  88. if target.Anchored == false then
  89. table.insert(tstab,target)
  90. target.Anchored = true
  91. end
  92. end
  93. if target:IsA("Sound") then
  94. table.insert(stab,{target,target.Pitch})
  95. end
  96. end
  97. end
  98.  
  99. plr:GetMouse().KeyDown:connect(function(key)
  100. if key == "r" then
  101. if deb == true then
  102. deb = false
  103. else
  104. deb = true
  105. local cc = Instance.new("ColorCorrectionEffect",game:GetService("Lighting"))
  106. spawn(function()
  107. plr.Character.Humanoid.WalkSpeed = 0
  108. plr.Character.Humanoid.JumpPower = 0
  109. local p = Instance.new("Part",plr.Character)
  110. p.Transparency = 0.5
  111. p.BrickColor = BrickColor.new("Institutional white")
  112. p.Size = Vector3.new(0.2,0.2,0.2)
  113. p.Anchored = true
  114. p.CanCollide = false
  115. p.CFrame = plr.Character.Torso.CFrame
  116. local m = Instance.new("SpecialMesh",p)
  117. m.MeshType = Enum.MeshType.Sphere
  118.  
  119. local r = 255
  120. local g = 255
  121. local b = 255
  122. local contrast = 0
  123.  
  124. for i=1,50 do
  125. m.Scale = m.Scale + Vector3.new(50,50,50)
  126. p.Transparency = p.Transparency + 0.5/50
  127. r = r - ((255-42)/50)
  128. g = g - ((255-0)/50)
  129. b = b - ((255-255)/50)
  130. contrast = contrast - 2/50
  131. --cc.TintColor = Color3.fromRGB(r,g,b)
  132. cc.Contrast = contrast
  133. for i,v in pairs(stab) do
  134. v[1].Pitch = v[1].Pitch - (v[2]/50)
  135. end
  136. wait()
  137. end
  138. p:Destroy()
  139. plr.Character.Humanoid.WalkSpeed = 16
  140. plr.Character.Humanoid.JumpPower = 50
  141. end)
  142.  
  143. local aNew = game:GetService("Workspace").ChildAdded:connect(function(c)
  144. timeStop(c)
  145. end)
  146.  
  147. for i,v in pairs(ignlist) do
  148. table.remove(ignlist,1)
  149. end
  150. plrIgnore(plr.Character)
  151. timeStop(game:GetService("Workspace"))
  152. while deb ~= false do wait() end
  153. --spawn(function()
  154. local r = 42
  155. local g = 0
  156. local b = 255
  157. local contrast = -2
  158. for i=1,50 do
  159. r = r + ((255-42)/50)
  160. g = g + ((255-0)/50)
  161. b = b + ((255-255)/50)
  162. contrast = contrast + 2/50
  163. --cc.TintColor = Color3.fromRGB(r,g,b)
  164. cc.Contrast = contrast
  165. for i,v in pairs(stab) do
  166. v[1].Pitch = v[1].Pitch + (v[2]/50)
  167. end
  168. wait()
  169. end
  170. cc:Destroy()
  171. --end)
  172. for i,v in pairs(tstab) do
  173. v.Anchored = false
  174. end
  175. for i,v in pairs(tstab) do
  176. table.remove(tstab,1)
  177. end
  178. --table.foreach(stab,print)
  179. for i,v in pairs(stab) do
  180. table.remove(stab,1)
  181. end
  182. --print("---------")
  183. --table.foreach(stab,print)
  184. --[[for i,v in pairs(tsstab) do
  185. v.Disabled = false
  186. end
  187. for i,v in pairs(tsstab) do
  188. table.remove(tsstab,1)
  189. end]]
  190. aNew:disconnect()
  191. deb = false
  192. end
  193. end
  194. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement