Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --0xPeeps hat/tool API, made this so I don't have to rewrite the same functions for every script!
- --Version v1.0
- local API={};
- function API:CreateTool(hat)
- local tool=Instance.new"Tool";
- local handle=hat["Handle"];
- handle:FindFirstChildOfClass"Weld":Destroy();
- handle.Massless=true;
- handle.Parent=tool;
- return tool;
- end
- getgenv()["ToolAPI"]=API;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement