Advertisement
JRKPastesBins

Untitled

Sep 16th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.49 KB | None | 0 0
  1. --Menacing SFX and music
  2. local plr = game:GetService("Players").LocalPlayer
  3. local deb = false
  4.  
  5. while not plr.Character do wait() end
  6. wait(1)
  7.  
  8. local tstab = {}
  9. local tsstab = {}
  10. local ignlist = {}
  11. local stab = {}
  12.  
  13. function plrIgnore(char)
  14. for i,v in pairs(char:GetChildren()) do
  15. if #v:GetChildren() >= 1 then
  16. plrIgnore(v)
  17. end
  18. table.insert(ignlist,v)
  19. end
  20. end
  21.  
  22. function timeStop(target)
  23. for i,v in pairs(target:GetChildren()) do
  24. if #v:GetChildren() >= 1 then
  25. timeStop(v)
  26. end
  27. local isinign = false
  28. for i,b in pairs(ignlist) do
  29. if b == v then
  30. isinign = true
  31. end
  32. end
  33. if isinign == false then
  34. if v:IsA("Part") or v:IsA("WedgePart") or v:IsA("UnionOperation") then
  35. if v.Anchored == false then
  36. table.insert(tstab,v)
  37. v.Anchored = true
  38. end
  39. end
  40. if v:IsA("Sound") then
  41. local isintab = false
  42. for i,b in pairs(stab) do
  43. if v == b[1] then
  44. isintab = true
  45. end
  46. end
  47. if isintab == false then
  48. table.insert(stab,{v,v.Pitch})
  49. end
  50. end
  51. --[[if v:IsA("Script") or v:IsA("LocalScript") then
  52. if v.Disabled == false then
  53. table.insert(tsstab,v)
  54. v.Disabled = true
  55. end
  56. end]]
  57. end
  58. end
  59. local isinign = false
  60. for i,b in pairs(ignlist) do
  61. if b == target then
  62. isinign = true
  63. end
  64. end
  65. if isinign == false then
  66. if target:IsA("Part") or target:IsA("WedgePart") or target:IsA("UnionOperation") then
  67. if target.Anchored == false then
  68. table.insert(tstab,target)
  69. target.Anchored = true
  70. end
  71. end
  72. if target:IsA("Sound") then
  73. table.insert(stab,{target,target.Pitch})
  74. end
  75. end
  76. end
  77.  
  78. plr:GetMouse().KeyDown:connect(function(key)
  79. if key == "g" then
  80. if deb == true then
  81. deb = false
  82. else
  83. print("R!")
  84. deb = true
  85.  
  86. --[[local s = Instance.new("Sound",game:GetService("Workspace"))
  87. s.SoundId = "rbxassetid://576124533"
  88. s.Volume = 0.5
  89. s:Play()
  90.  
  91. wait(1.5)]]
  92.  
  93. print("ZA WARUDO!")
  94. local cc = Instance.new("ColorCorrectionEffect",game:GetService("Lighting"))
  95. spawn(function()
  96. plr.Character.Humanoid.WalkSpeed = 0
  97. plr.Character.Humanoid.JumpPower = 0
  98. local p = Instance.new("Part",plr.Character)
  99. p.Transparency = 0.5
  100. p.BrickColor = BrickColor.new("Institutional white")
  101. p.Size = Vector3.new(0.2,0.2,0.2)
  102. p.Anchored = true
  103. p.CanCollide = false
  104. p.CFrame = plr.Character.Torso.CFrame
  105. local m = Instance.new("SpecialMesh",p)
  106. m.MeshType = Enum.MeshType.Sphere
  107.  
  108. local r = 255
  109. local g = 255
  110. local b = 255
  111. local contrast = 0
  112.  
  113. for i=1,50 do
  114. m.Scale = m.Scale + Vector3.new(50,50,50)
  115. p.Transparency = p.Transparency + 0.5/50
  116. r = r - ((255-42)/50)
  117. g = g - ((255-0)/50)
  118. b = b - ((255-255)/50)
  119. contrast = contrast - 2/50
  120. --cc.TintColor = Color3.fromRGB(r,g,b)
  121. cc.Contrast = contrast
  122. for i,v in pairs(stab) do
  123. v[1].Pitch = v[1].Pitch - (v[2]/50)
  124. end
  125. wait()
  126. end
  127. p:Destroy()
  128. plr.Character.Humanoid.WalkSpeed = 16
  129. plr.Character.Humanoid.JumpPower = 50
  130. end)
  131. local sHp = plr.Character.Humanoid.Health
  132. local hplock = plr.Character.Humanoid.HealthChanged:connect(function()
  133. plr.Character.Humanoid.Health = sHp
  134. end)
  135.  
  136. local aNew = game:GetService("Workspace").ChildAdded:connect(function(c)
  137. timeStop(c)
  138. end)
  139.  
  140. for i,v in pairs(ignlist) do
  141. table.remove(ignlist,1)
  142. end
  143. plrIgnore(plr.Character)
  144. timeStop(game:GetService("Workspace"))
  145. while deb ~= false do wait() end
  146. --spawn(function()
  147. local r = 42
  148. local g = 0
  149. local b = 255
  150. local contrast = -2
  151. for i=1,50 do
  152. r = r + ((255-42)/50)
  153. g = g + ((255-0)/50)
  154. b = b + ((255-255)/50)
  155. contrast = contrast + 2/50
  156. --cc.TintColor = Color3.fromRGB(r,g,b)
  157. cc.Contrast = contrast
  158. for i,v in pairs(stab) do
  159. v[1].Pitch = v[1].Pitch + (v[2]/50)
  160. end
  161. wait()
  162. end
  163. cc:Destroy()
  164. --end)
  165. for i,v in pairs(tstab) do
  166. v.Anchored = false
  167. end
  168. for i,v in pairs(tstab) do
  169. table.remove(tstab,1)
  170. end
  171. --table.foreach(stab,print)
  172. for i,v in pairs(stab) do
  173. table.remove(stab,1)
  174. end
  175. --print("---------")
  176. --table.foreach(stab,print)
  177. --[[for i,v in pairs(tsstab) do
  178. v.Disabled = false
  179. end
  180. for i,v in pairs(tsstab) do
  181. table.remove(tsstab,1)
  182. end]]
  183. hplock:Disconnect()
  184. aNew:Disconnect()
  185. deb = false
  186. end
  187. end
  188. end)
  189.  
  190. local asd = game:service'Players'.LocalPlayer
  191. repeat wait() until asd.Character
  192. local asdchar = asd.Character
  193. local Head = asdchar:findFirstChild("Head")
  194. z = Instance.new("Sound", Head)
  195. z.SoundId = "rbxassetid://578106329" -- Put Music ID Here.
  196. z.Looped = true
  197. z.Volume = 4
  198. wait(.1)
  199. z:Play()
  200. local transPoints = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(0.207, 0.594, 0.0187), NumberSequenceKeypoint.new(0.4, 0.55, 0.031), NumberSequenceKeypoint.new(0.57, 0.619, 0.05), NumberSequenceKeypoint.new(0.76, 0.8, 0.0375), NumberSequenceKeypoint.new(1, 1, 0)}
  201. local sizePoints = {NumberSequenceKeypoint.new(0, 1.9, 0), NumberSequenceKeypoint.new(1, 0, 0)}
  202. local Size = NumberSequence.new(sizePoints)
  203. local Transparency = NumberSequence.new(transPoints)
  204. efxBlock = Instance.new("Part", asdchar)
  205. efxBlock.CanCollide = false
  206. efxBlock.Material = "Neon"
  207. efxBlock.FormFactor = "Custom"
  208. efxBlock.Transparency = 1
  209. efxBlock.Size = Vector3.new(0.25, 0.25, 0.25)
  210. local mesh = Instance.new("SpecialMesh", efxBlock)
  211. mesh.MeshType = Enum.MeshType.Sphere
  212. mesh.Scale = Vector3.new(1, 1, 1)
  213. local particles = Instance.new("ParticleEmitter", efxBlock)
  214. particles.LightEmission = 0
  215. particles.Size = Size
  216. particles.Name = "Fire"
  217. particles.Transparency = Transparency
  218. particles.LockedToPart = false
  219. particles.VelocityInheritance = -0.5
  220. particles.LockedToPart = false
  221. particles.Rate = 2
  222. particles.Texture = "rbxassetid://262850915"
  223. particles.Lifetime = NumberRange.new(3, 3)
  224. particles.Speed = NumberRange.new(3, 3)
  225. particles.VelocitySpread = 25
  226. local offset = Vector3.new(0, 0, 0)
  227. local weld = Instance.new("Weld", asdchar.Torso)
  228. weld.Part0 = asdchar.Torso
  229. weld.Part1 = efxBlock
  230. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40), math.rad(40), math.rad(40))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement