SHARE
TWEET

[FE] Hat to Tool Converter

ZKCMCheats Mar 16th, 2019 (edited) 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[ FE Hat To Tool Converter
  2.     Script made by Cyclically
  3.     Credits to dhruvil123 for help
  4.     https://v3rmillion.net/member.php?action=profile&uid=785986
  5. ]]
  6.  
  7. -- Don't edit script unless you know what you're doing. If you wanna add this into a script, please give credits and message me on discord that you added it in a script at Cyclically#4905
  8.  
  9. local LocalPlayer = game:GetService("Players").LocalPlayer
  10. for _, hat in pairs(LocalPlayer.Character.Humanoid:GetAccessories()) do
  11.     local tool = Instance.new("Tool", LocalPlayer.Backpack)
  12.     tool.Name = hat.Name
  13.     local hathandle = hat.Handle
  14.     local hatweld = hathandle:FindFirstChildOfClass("Weld")
  15.     hathandle.Parent = tool
  16.     hathandle.Massless = true
  17.     tool.Equipped:Connect(function()
  18.         hatweld.Part0 = nil
  19.     end)
  20.     tool.Unequipped:Connect(function()
  21.         hatweld.Part0 = hathandle
  22.     end)
  23. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top