TheUnknownDiscord

burrito grenade

Nov 1st, 2021 (edited)
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Tool = Instance.new("Tool")
  2. Tool.Name = "Burrito"
  3. Part1 = Instance.new("Part")
  4. Part1.Name = "Handle"
  5. Part1.Parent = Tool
  6. Tool.Parent = owner.Character
  7. Part1.Size = Vector3.new(1, 0.8, 1)
  8. Mesh = Instance.new("SpecialMesh")
  9. Mesh.Parent = Part1
  10. Mesh.MeshId = "http://www.roblox.com/asset/?id=28437866"
  11. Mesh.TextureId = "http://www.roblox.com/asset/?id=28437890"
  12. Mesh.Scale = Vector3.new(0.85, 0.85, 0.85)
  13. local Fard = Instance.new("Sound", Part1)
  14. Fard.SoundId = "rbxassetid://7058158837"
  15. Fard.Volume = 2.75
  16. Tool.Grip = CFrame.Angles(math.rad(90),0,0)
  17. owner = nil
  18. Tool.Equipped:Connect(function()
  19. owner = game:GetService("Players"):GetPlayerFromCharacter(Tool.Parent)
  20. end)
  21. Tool.Activated:Connect(function()
  22. pcall(function()
  23. Tool.Parent = game.Workspace
  24. Part1.CFrame = owner.Character.Head.CFrame * CFrame.new(0,0,-3.5)
  25. vel = Instance.new("BodyVelocity", Part1)
  26. vel.Velocity = owner.Character.Head.CFrame.upVector * 25 + owner.Character.Head.CFrame.lookVector * 45
  27. wait(0.25)
  28. vel:Destroy()
  29. wait(.6)
  30. Fard:Play()
  31. local explosion = Instance.new("Explosion")
  32. explosion.BlastRadius = 17.5
  33. explosion.ExplosionType = Enum.ExplosionType.Craters
  34. explosion.Position = Part1.Position
  35. explosion.Parent = game.Workspace
  36. explosion.Visible = false
  37. Part1.Anchored = true
  38. for i = 1, 10 do
  39. wait(0.0885)
  40. local part1 = Instance.new("Part", script)
  41. part1.Size = Vector3.new(17.5, 17.5, 17.5)
  42. part1.Position = Part1.Position
  43. part1.CanCollide = false
  44. part1.Anchored = true
  45. part1.CFrame = part1.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  46. part1.Material = "Neon"
  47. part1.BrickColor = BrickColor.new("New Yeller")
  48. part1.Transparency = 0.5
  49. game:GetService("Debris"):AddItem(part1,0.15)
  50. end
  51. Part1.Anchored = false
  52. end)
  53. end)
Add Comment
Please, Sign In to add comment