Advertisement
memberhero

bob the builder script

Dec 26th, 2017
1,255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. ---bob the builder script by basstracker1970
  2. --dont ask why i made it
  3. wait(1)
  4. plr = game:GetService("Players").LocalPlayer
  5. Mouse = plr:GetMouse()
  6. sound = Instance.new("Sound")
  7. sound.Looped = true
  8. sound.SoundId = "rbxassetid://154238035"
  9. sound.Parent = plr.Character
  10. sound:Play()
  11. hammer = Instance.new("Tool")
  12. hammer.Name = "Hammer"
  13. hammer.Parent = plr.Backpack
  14. dynamite = Instance.new("Tool",plr.Backpack)
  15. dynamite.Name = "Dynamite"
  16. dynamite.Activated:connect(function()
  17. if (Mouse.Target ~= nil) then
  18. part = Instance.new("Explosion")
  19. part.Parent = game.Workspace
  20. part.Position = Vector3.new(Mouse.Hit.p.x, Mouse.Hit.p.y, Mouse.Hit.p.z)
  21. end
  22. end)
  23. handle1 = Instance.new("Part")
  24. handle1.Name = "Handle"
  25. handle1.Transparency = 1
  26. handle1.Parent = dynamite
  27. handle = Instance.new("Part")
  28. handle.Size = Vector3.new(4, 1, 2)
  29. handle.Name = "Handle"
  30. handle.Parent = hammer
  31. mesh = Instance.new("SpecialMesh")
  32. mesh.Scale = Vector3.new(0.9, 0.9, 0.9)
  33. mesh.MeshId = "rbxassetid://16198309"
  34. mesh.TextureId = "rbxassetid://16198294"
  35. mesh.Parent = handle
  36. hammer.Activated:connect(function()
  37. if (Mouse.Target ~= nil) then
  38. part = Instance.new("Part")
  39. part.Parent = game.Workspace
  40. part.Position = Vector3.new(Mouse.Hit.p.x, Mouse.Hit.p.y, Mouse.Hit.p.z)
  41. end
  42. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement