Advertisement
Mediakiller7Cool

Make A Tool Template

Apr 11th, 2020
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.70 KB | None | 0 0
  1. script.Parent = workspace.CurrentCamera
  2. local plr = game:GetService("Players").LocalPlayer
  3.  
  4. local tool = Instance.new("Tool",plr:WaitForChild("Backpack"))
  5. tool.Grip = CFrame.new(0,-0.8,-0.2) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  6. tool.Name = "Tool"
  7.  
  8. local part = Instance.new("Part",tool)
  9. part.Name = "Handle"
  10. part.Size = Vector3.new(4,6,4)
  11. part.TopSurface = "Smooth"
  12. part.BottomSurface = "Smooth"
  13. part.CanCollide = false
  14. part:BreakJoints()
  15.  
  16. local mesh = Instance.new("SpecialMesh",part)
  17. mesh.MeshId = "rbxassetid://431003868" --mesh.MeshId = "rbxassetid://132920499"
  18. mesh.TextureId = "rbxassetid://430627740" --"http://www.roblox.com/asset/?id=134479421"
  19. mesh.Scale = Vector3.new(2,2,2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement