So I'm having an issue right now. I'm making a tool (named "Baseball bat") which is unequipped everytime you equip it if it accomplishes a condition. I'll leave what i got:
local t = script.Parent local handle = t.Handle local player = t.Parent.Parent.Character local torso = player.Torso local RArm = player["Right Arm"] local hum = player.Humanoid t.Equipped:Connect(function(mouse) --if player:WaitForChild("PlayerSettings").Status ~= "None" then hum:UnequipTools() return --end --local weld = createWeld() end)
However, It doesnt work and returns a yellow output:
18:37:09.721 - Something unexpectedly tried to set the parent of Baseball bat to Backpack while trying to set the parent of Baseball bat. Current parent is SnyFort.