cr8brooo

Untitled

Oct 26th, 2017
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.65 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. local char = p.Character
  3. local hed = char.Head
  4. local LocalPlayer = p
  5.  
  6. local Player = game.Players.localPlayer
  7. local Character = p.Character
  8.  
  9.  
  10. cut = Instance.new("Sound", Character)
  11. cut.SoundId = "https://www.roblox.com/asset/?id=97095069"
  12. cut.Volume = 1.5
  13. thri = Instance.new("Sound", Character)
  14. thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
  15. thri.Volume = 2.5
  16. WRY = Instance.new("Sound", Character)
  17. WRY.SoundId = "https://www.roblox.com/asset/?id=910713928"
  18. WRY.Volume = 5
  19.  
  20. ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  21. ff.Visible = false
  22.  
  23. local Players=game:service'Players'
  24. local Player=Players.LocalPlayer
  25. local Mouse=Player:GetMouse''
  26. local RenderStepped=game:service'RunService'.RenderStepped
  27.  
  28. local MeshId='http://www.roblox.com/asset?id=202083123'
  29. local TextureId='http://www.roblox.com/asset/?id=189436355'
  30.  
  31. local KnifeSpeed= 120
  32.  
  33. Mouse.Button1Down:connect(function()
  34. cut:Play()
  35. if Mouse.Target then
  36. local Knife=Instance.new('Part',Player.Character)
  37. Knife.CanCollide=false
  38. Knife.Size=Vector3.new(2,2,2)
  39. Knife.CFrame=Player.Character.Torso.CFrame
  40. local KnifeMesh=Instance.new('SpecialMesh',Knife)
  41. KnifeMesh.MeshType='FileMesh'
  42. KnifeMesh.MeshId=MeshId
  43. KnifeMesh.TextureId=TextureId
  44. KnifeMesh.Scale=Vector3.new(1,1,1)
  45. local BodyVel=Instance.new('BodyVelocity',Knife)
  46. BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  47. local BodyGyro=Instance.new('BodyGyro',Knife)
  48. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  49. BodyGyro.P=2e4
  50. coroutine.wrap(function()
  51. RenderStepped:connect(function()
  52. BodyGyro.cframe=CFrame.new(Knife.Position,Mouse.Hit.p)
  53. BodyVel.velocity=Knife.CFrame.lookVector*KnifeSpeed
  54. end)
  55. end)()
  56. Knife.Touched:connect(function(p)
  57. if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid' then
  58. p.Parent:BreakJoints()
  59. Knife:Destroy''
  60. thri:Play()
  61. end
  62. end)
  63. end
  64. end)
  65.  
  66. mse = Player:GetMouse()
  67.  
  68. sound = Instance.new("Sound", Character)
  69. sound.SoundId = "https://www.roblox.com/asset/?id=840567549"
  70. sound.Volume = 2.5
  71. sound2 = Instance.new("Sound", Character)
  72. sound2.SoundId = "https://www.roblox.com/asset/?id=616594208"
  73. sound2.Volume = 2.5
  74. sound3 = Instance.new("Sound", Character)
  75. sound3.SoundId = "https://www.roblox.com/asset/?id=616576400"
  76. sound3.Volume = 1.8
  77. sound4 = Instance.new("Sound", Character)
  78. sound4.SoundId = "https://www.roblox.com/asset/?id=616576400"
  79. sound4.Volume = 2
  80. TSTheme = Instance.new("Sound", Character)
  81. TSTheme.SoundId = "https://www.roblox.com/asset/?id=910713928"
  82. TSTheme.Volume = 2
  83. canworld = true
  84. mse.KeyDown:connect(function(key)
  85. key = key:lower()
  86. if key == "t" then
  87. if canworld == false then return end
  88. if canworld then
  89. canworld = false
  90. sound3:Play()
  91. sound:Play()
  92. sound4:Play()
  93. TSTheme:Play()
  94.  
  95. local function spawnpart()
  96. sphere = Instance.new("Part")
  97. --game.Debris:AddItem(sphere,3)
  98. local sm = Instance.new("SpecialMesh", sphere)
  99. sm.MeshType = "Sphere"
  100. sphere.Transparency = 0.5
  101. sphere.Anchored = true
  102. sphere.CanCollide = false
  103. sphere.Material = "Neon"
  104. sphere.BrickColor = BrickColor.new("Black")
  105. end
  106.  
  107. local function weld(lol)
  108. local weld = Instance.new("Weld", Player.Character.Torso)
  109. weld.Part0 = Player.Character.Torso
  110. weld.Part1 = lol
  111. weld.C0 = Player.Character.Torso.CFrame:inverse()
  112. weld.C1 = lol.CFrame:inverse()
  113. end
  114. wait()
  115. spawnpart()
  116. for i, v in pairs(game.Players:GetChildren()) do
  117. t = v.Character:FindFirstChild("Torso")
  118. if t then
  119. t.Anchored = true
  120. Player.Character:FindFirstChild("Torso").Anchored = false
  121. end
  122. RA = v.Character:FindFirstChild("Right Arm")
  123. if RA then
  124. RA.Anchored = true
  125. Player.Character:FindFirstChild("Right Arm").Anchored = false
  126. end
  127. LA = v.Character:FindFirstChild("Left Arm")
  128. if LA then
  129. LA.Anchored = true
  130. Player.Character:FindFirstChild("Left Arm").Anchored = false
  131. end
  132. RL = v.Character:FindFirstChild("Right Leg")
  133. if RL then
  134. RL.Anchored = true
  135. Player.Character:FindFirstChild("Right Leg").Anchored = false
  136. end
  137. LL = v.Character:FindFirstChild("Left Leg")
  138. if LL then
  139. LL.Anchored = true
  140. Player.Character:FindFirstChild("Left Leg").Anchored = false
  141. end
  142. end
  143. weld(sphere)
  144. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  145. cce.Saturation = -5
  146. --game.Debris:AddItem(cce, 5)
  147. sphere.Parent = Character.Torso
  148. for i = 1,3 do
  149. sphere.Size = sphere.Size + Vector3.new(50,50,50)
  150. wait()
  151. end
  152. wait()
  153. sphere:Destroy()
  154. KnifeSpeed = 0
  155. cce.Saturation = -0.1
  156. wait(0.3)
  157. cce.Saturation = -0.2
  158. wait(0.3)
  159. cce.Saturation = -0.3
  160. wait(0.2)
  161. cce.Saturation = -1.5
  162. wait()
  163. end
  164. end
  165. end
  166. )
  167.  
  168. mse.KeyDown:connect(function(key)
  169. key = key:lower()
  170. if key == "y" then
  171. canworld = true
  172. sound2:Play()
  173. wait()
  174. KnifeSpeed = 1
  175. cce.Saturation = -1.3
  176. wait(0.5)
  177. KnifeSpeed = 1.2
  178. cce.Saturation = -0.5
  179. wait(0.5)
  180. KnifeSpeed = 1.4
  181. cce.Saturation = -0.4
  182. wait(0.3)
  183. KnifeSpeed = 1.5
  184. cce.Saturation = -0.2
  185. wait(0.2)
  186. cce.Saturation = 0
  187.  
  188. for i, v in pairs(game.Players:GetChildren()) do
  189. t = v.Character:FindFirstChild("Torso")
  190. if t then
  191. t.Anchored = false
  192. end
  193. RA = v.Character:FindFirstChild("Right Arm")
  194. if RA then
  195. RA.Anchored = false
  196. end
  197. LA = v.Character:FindFirstChild("Left Arm")
  198. if LA then
  199. LA.Anchored = false
  200. end
  201. RL = v.Character:FindFirstChild("Right Leg")
  202. if RL then
  203. RL.Anchored = false
  204. end
  205. LL = v.Character:FindFirstChild("Left Leg")
  206. if LL then
  207. LL.Anchored = false
  208. end
  209. end
  210. KnifeSpeed = 120
  211. TSTheme:Stop()
  212. end
  213. end)
Add Comment
Please, Sign In to add comment