Advertisement
Ninja_Camper

Que delicia de suco

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