Advertisement
TheClassicMeme

Untitled

May 23rd, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tooth = Instance.new("Tool", game.Workspace)
  2. tooth.Name = "Time Freeze"
  3. wait(1)
  4. tooth.Parent = game.Workspace.deadpoo5666
  5. Sphere = Instance.new("SpecialMesh",tooth)
  6. Sphere.Name = "SphereMesh"
  7. Sphere.MeshId = "http://www.roblox.com/asset/?id=94736101"
  8. Bandle = Instance.new("Part",tooth)
  9. Bandle.Name = "Handle"
  10. Round = Instance.new("Sound",Bandle)
  11. Round.Name = "Sound"
  12. Round.SoundId = "rbxassetid://274698941"
  13. LimeResume = Instance.new("Sound",Bandle)
  14. LimeResume.Name = "TimeResume"
  15. LimeResume.SoundId = "rbxassetid://274699177"
  16. Bessage = Instance.new("Message",tooth)
  17.  
  18. --The broken as fuck script
  19.  
  20. freez = true
  21. players = game:GetService("Players")
  22. local froze = {}
  23. function VisualEffect(part)
  24. local EffectLength = 1.5
  25. local StartSphereScale = Vector3.new(.1,.1,.1)
  26. local EndSphereScale = Vector3.new(40,40,40)
  27.  
  28. local sphere = Instance.new('Part')
  29. sphere.CanCollide = false
  30. sphere.Anchored = true
  31. sphere.Transparency = 0.5
  32. sphere.Reflectance = 99
  33. sphere.FormFactor = Enum.FormFactor.Custom
  34. sphere.Shape = Enum.PartType.Ball
  35. sphere.Size = Vector3.new(0.2, 0.2, 0.2)
  36. sphere.CFrame = CFrame.new(part.CFrame.p)
  37. sphere.TopSurface = Enum.SurfaceType.Smooth
  38. sphere.BottomSurface = Enum.SurfaceType.Smooth
  39. sphere.Name = 'water' --LOL-CANO
  40. sphere.BrickColor=BrickColor.Gray()
  41. sphere.Transparency = 0.1
  42.  
  43. -- Add 0.2 for the wait below
  44. game.Debris:AddItem(sphere, EffectLength + 1)
  45. sphere.Parent = game.Workspace
  46.  
  47. local sphereMesh = Sphere:Clone()
  48. sphereMesh.VertexColor=Vector3.new(1,1,1)
  49. sphereMesh.Scale = Vector3.new(.1,.1,.1)
  50. sphereMesh.Parent = sphere
  51.  
  52.  
  53.  
  54. sphere.Transparency = 0
  55. local startTime=time()
  56. while time()-startTime<EffectLength do
  57. sphere.CFrame = CFrame.new(part.CFrame.p)
  58. sphereMesh.Scale=StartSphereScale:Lerp(EndSphereScale,(time()-startTime)/EffectLength)+Vector3.new(math.random(),math.random(),math.random())
  59. sphere.Transparency=(time()-startTime)/EffectLength
  60. wait()
  61. end
  62. end
  63. local function freeze(p)
  64. if p:IsA("BasePart") and p.Anchored == false then
  65. p.Anchored = true
  66. table.insert(froze,p)
  67. end
  68. for key, value in pairs(game.Players:GetChildren()) do
  69. rl = value.Character:FindFirstChild("Right Leg") -- If you use Game.* I will be mad
  70. ll = value.Character:FindFirstChild("Left Leg")
  71. ra = value.Character:FindFirstChild("Right Arm")
  72. la = value.Character:FindFirstChild("Left Arm")
  73. t = value.Character:FindFirstChild("Torso")
  74.  
  75. rl.Anchored = true
  76. ll.Anchored = true
  77. ra.Anchored = true
  78. la.Anchored = true
  79. t.Anchored = true
  80. local Tool = tooth
  81. local character = Tool.Parent
  82. local player = game.Players.LocalPlayer
  83. local Torso = character:FindFirstChild("Torso")
  84. local RightArm = character:FindFirstChild("Right Arm")
  85. local LeftArm = character:FindFirstChild("Left Arm")
  86. local RightLeg = character:FindFirstChild("Right Leg")
  87. local LeftLeg = character:FindFirstChild("Left Leg")
  88. local Head = character:FindFirstChild("Head")
  89. if script.Parent.Parent.Name == "Backpack" then
  90. Torso = script.Parent.Parent.Parent.Character:FindFirstChild("Torso")
  91. RightArm = script.Parent.Parent.Parent.Character:FindFirstChild("Right Arm")
  92. LeftArm = script.Parent.Parent.Parent.Character:FindFirstChild("Left Arm")
  93. RightLeg = script.Parent.Parent.Parent.Character:FindFirstChild("Right Leg")
  94. LeftLeg = script.Parent.Parent.Parent.Character:FindFirstChild("Left Leg")
  95. Head = script.Parent.Parent.Parent.Character:FindFirstChild("Head")
  96. end
  97. if Torso ~= nil then
  98.  
  99. Torso.Anchored = false
  100. Head.Anchored = false
  101. RightArm.Anchored = false
  102. LeftArm.Anchored = false
  103. RightLeg.Anchored = false
  104. LeftLeg.Anchored = false
  105. end
  106. end
  107. if not game.Players:GetPlayerFromCharacter(p) then
  108. for _,v in pairs(p:GetChildren())do
  109. freeze(v)
  110. end
  111. end
  112. end
  113. local function unfreeze()
  114. for key, value in pairs(game.Players:GetChildren()) do
  115. rl = value.Character:FindFirstChild("Right Leg") -- If you use Game.* I will be mad
  116. ll = value.Character:FindFirstChild("Left Leg")
  117. ra = value.Character:FindFirstChild("Right Arm")
  118. la = value.Character:FindFirstChild("Left Arm")
  119. t = value.Character:FindFirstChild("Torso")
  120.  
  121. rl.Anchored = false
  122. ll.Anchored = false
  123. ra.Anchored = false
  124. la.Anchored = false
  125. t.Anchored = false
  126.  
  127. end
  128. for _,v in pairs(froze)do
  129. v.Anchored = false
  130. end
  131. froze = {}
  132. end
  133. tooth.Activated:connect(function()
  134. if freez == true then
  135. freez = false
  136. Bessage.Text = "Za Wardo! (The World!)"
  137. Bandle.Transparency = 1
  138. Round:Play()
  139. wait(1.55)
  140. VisualEffect(Bandle)
  141. Bessage.Parent = nil
  142. freeze(workspace)
  143. wait(1.63)
  144. local amount = 0
  145. while amount <= 300 do
  146. freeze(workspace)
  147. amount = amount + 1
  148. wait(0.03)
  149. end
  150. local texty = Instance.new("Message",game.Workspace)
  151. LimeResume:Play()
  152. texty.Text = "Time Flows Again!"
  153. wait(2.429)
  154. Bandle.Transparency = 0
  155. texty:remove()
  156. unfreeze()
  157. wait(.1)
  158. freez = true
  159. else return end
  160. end)
  161.  
  162. tooth.Parent.Humanoid.Died:connect(function()
  163. unfreeze()
  164. script.Disabled = true
  165. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement