You can write your topic however you want, but you need to answer these questions:
-
I want my tool to dont disapear few sedonds after equip
-
Tool disapear few sedonds after equip
-
i looked for solution fro long
I disabled “requires handle” on tool and its now disapearing few seconds after equip
Custom tool handling scripts:
-- Local
local players = game:GetService("Players")
local tool = script.Parent
tool.Equipped:Wait()
local plr = players.LocalPlayer
local char = plr.Character
tool.Equipped:Connect(function()
game.ReplicatedStorage.Events.ConnectM6D:FireServer(tool, tool.Gun.BodyAttach)
char.Torso.ToolGrip.Part0 = char.Torso
char.Torso.ToolGrip.Part1 = tool.Gun.BodyAttach
print("equiped")
end)
tool.Unequipped:Connect(function()
game.ReplicatedStorage.Events.DisconnectM6D:FireServer(tool, tool.Gun.BodyAttach)
print("unequiped")
end)
--server
game.ReplicatedStorage.Events.ConnectM6D.OnServerEvent:Connect(function(plr, tool, BodyAttach)
plr.Character.Torso.ToolGrip.Part0 = plr.Character.Torso
plr.Character.Torso.ToolGrip.Part1 = tool.Gun.BodyAttach
end)
game.ReplicatedStorage.Events.DisconnectM6D.OnServerEvent:Connect(function(plr, tool, Attach)
plr.Character.Torso.ToolGrip.Part0 = ""
plr.Character.Torso.ToolGrip.Part1 = ""
end)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.