Advertisement
ScubaBotScripts

stuff

Feb 24th, 2020
56,061
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. --0xPeeps hat/tool API, made this so I don't have to rewrite the same functions for every script!
  2. --Version v1.0
  3.  
  4. local API={};
  5.  
  6. function API:CreateTool(hat)
  7. local tool=Instance.new"Tool";
  8. local handle=hat["Handle"];
  9. handle:FindFirstChildOfClass"Weld":Destroy();
  10. handle.Massless=true;
  11. handle.Parent=tool;
  12. return tool;
  13. end
  14.  
  15. getgenv()["ToolAPI"]=API;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement