Advertisement
Finnegan5

soka

Aug 21st, 2017
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.46 KB | None | 0 0
  1. script.Parent = workspace.CurrentCamera
  2. local plr = game:GetService("Players").LocalPlayer
  3.  
  4. local Handle = Instance.new('Part')
  5.  
  6. local Mesh = Instance.new('SpecialMesh')
  7.  
  8. local Death = Instance.new('Tool')
  9.  
  10. Death.Name = "Book"
  11.  
  12. Handle.Name = "Handle"
  13.  
  14. Death.Parent = game.Players.LocalPlayer.Backpack
  15.  
  16. Death.GripForward = Vector3.new(0.331, -0.766, 0.551)
  17.  
  18. Death.GripPos = Vector3.new(-0.8, 0, -0.8)
  19.  
  20. Death.GripRight = Vector3.new(-0.943, -0.297, 0.152)
  21.  
  22. Death.GripUp = Vector3.new(-0.048, 0.57, 0.82)
  23.  
  24. Death.ToolTip = "e.e"
  25.  
  26. Handle.Parent = Death
  27.  
  28. Mesh.Parent = Handle
  29.  
  30. Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139"
  31.  
  32. Mesh.TextureId = "http://www.roblox.com/asset/?id=18276952"
  33.  
  34. Mesh.Scale = Vector3.new(0.55, 0.174, 0.6)
  35.  
  36. Handle.Rotation = Vector3.new(0,-90,0)
  37.  
  38. local sound = Instance.new("Sound",part)
  39. sound.SoundId = "rbxassetid://146163534"
  40. sound.Volume = 3
  41.  
  42. local sound2 = Instance.new("Sound",part)
  43. sound2.SoundId = "rbxassetid://536642316"
  44. sound2.Volume = 5
  45.  
  46. local sound3 = Instance.new("Sound",part)
  47. sound3.SoundId = "rbxassetid://130861542"
  48. sound3.Volume = 10
  49.  
  50. local sound4 = Instance.new("Sound",part)
  51. sound4.SoundId = "rbxassetid://141679994"
  52. sound4.Volume = 10
  53.  
  54. local sound5 = Instance.new("Sound",part)
  55. sound5.SoundId = "rbxassetid://500243174"
  56. sound5.Volume = 10
  57.  
  58. local sound6 = Instance.new("Sound",part)
  59. sound6.SoundId = "rbxassetid://365308603"
  60. sound6.Volume = 10
  61. sound6.TimePosition = 2
  62.  
  63. function firstHum(target)
  64. for i,v in pairs(target:GetChildren()) do
  65. if v:IsA("Humanoid") then
  66. return v
  67. end
  68. end
  69. return nil
  70. end
  71.  
  72. local slap = false
  73. local cd = false
  74.  
  75. plr:GetMouse().Button1Down:connect(function()
  76. if tool.Parent == plr.Character then
  77. if slap == false then
  78. slap = true
  79. sound2:Play()
  80. local str = Instance.new("StringValue")
  81. str.Name = "toolanim"
  82. str.Value = "Slash"
  83. str.Parent = tool
  84. wait(1)
  85. slap = false
  86. end
  87. end
  88. end)
  89.  
  90. part.Touched:connect(function(hit)
  91. if slap == true then
  92. if cd == false then
  93. if not hit:IsDescendantOf(plr.Character) then
  94. if hit.Parent:IsA("Model") then
  95. local fhum = firstHum(hit.Parent)
  96. if fhum then
  97. cd = true
  98. fhum.PlatformStand = true
  99. sound:Play()
  100. local con1
  101. con1 = game:GetService("RunService").Heartbeat:connect(function()
  102. fhum.PlatformStand = true
  103. end)
  104. wait(0.1)
  105. local vel = Instance.new("BodyVelocity",hit)
  106. vel.Velocity = ((hit.Position - plr.Character:WaitForChild("HumanoidRootPart").Position).unit + Vector3.new(0,0.5,0))*50
  107. vel.MaxForce = Vector3.new(10000000,10000000,10000000)
  108. wait(1)
  109. cd = false
  110. vel:Destroy()
  111. local vel2 = Instance.new("BodyVelocity",hit)
  112. vel2.Velocity = Vector3.new(0,12.5,0)
  113. vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
  114. local p2 = Instance.new("Part",hit)
  115. p2.Anchored = true
  116. p2.Transparency = 0.6
  117. p2.CanCollide = false
  118. p2.Size = Vector3.new(0.2,0.2,0.2)
  119. p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  120. p2.BrickColor = BrickColor.new("Really black")
  121. p2.Material = "Neon"
  122. local m2 = Instance.new("CylinderMesh",p2)
  123. m2.Scale = Vector3.new(60,10000,60)
  124. local scln = sound3:Clone()
  125. scln.Parent = hit
  126. scln:Play()
  127. local con2
  128. con2 = game:GetService("RunService").Heartbeat:connect(function()
  129. p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  130. end)
  131. wait(7)
  132. vel2.Velocity = Vector3.new(0,0,0)
  133. wait(0.5)
  134. scln:Stop()
  135. local scln3 = sound5:Clone()
  136. scln3.Parent = hit
  137. scln3:Play()
  138. wait(1)
  139. local bav = Instance.new("BodyAngularVelocity",hit)
  140. bav.AngularVelocity = Vector3.new(math.random(0,360),math.random(0,360),math.random(0,360))
  141. vel2.Velocity = Vector3.new(0,-250,0)
  142. p2.BrickColor = BrickColor.new("Maroon")
  143. local scln6 = sound6:Clone()
  144. scln6.Parent = hit
  145. scln6:Play()
  146. local continue = false
  147. local htc
  148. htc = hit.Touched:connect(function(hitp)
  149. if not hitp:IsDescendantOf(hit.Parent) then
  150. continue = true
  151. scln6:Stop()
  152. vel2:Destroy()
  153. con2:Disconnect()
  154. con1:Disconnect()
  155. htc:Disconnect()
  156. p2:Destroy()
  157. end
  158. end)
  159. repeat wait() until continue == true
  160. local ctab = {}
  161. for i=1,4 do
  162. local p = Instance.new("Part",hit)
  163. p.Size = Vector3.new(30,30,30)
  164. p.Anchored = true
  165. p.CanCollide = false
  166. p.TopSurface = "Smooth"
  167. p.BottomSurface = "Smooth"
  168. p.Color = Color3.fromRGB(255,math.random(0,255),0)
  169. p.CFrame = hit.CFrame
  170. local con
  171. con = game:GetService("RunService").Heartbeat:connect(function()
  172. p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  173. p.Transparency = p.Transparency + 0.01
  174. if p.Transparency >= 1 then
  175. con:Disconnect()
  176. end
  177. end)
  178. table.insert(ctab,con)
  179. end
  180. Instance.new("Explosion",workspace).Position = hit.Position
  181. local scln2 = sound4:Clone()
  182. scln2.Parent = hit
  183. scln2:Play()
  184. vel2:Destroy()
  185. hit.Parent:BreakJoints()
  186. repeat wait() until not hit:IsDescendantOf(workspace)
  187. con2:Disconnect()
  188. end
  189. end
  190. end
  191. end
  192. end
  193. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement