so i have a gun, and when the player press play, the gun should be always equipped, there is no other tools and just 1 gun, i would i hide the roblox gui and make tool always always equipped till death?
I remember Tool:Equip()
was a function, check if it is
When the character is first added just put Humanoid:EquipTool(tool that you want) the player loses the tools when they die if it’s not in starterpack
if i use Humanoid:EquipTool does disabling the roblox tool gui unequip the tool?
No it doesn’t you can equip with the backpack disabled
local Game = game
local Players = Game:GetService("Players")
local function OnPlayerAdded(Player)
local function OnCharacterAdded(Character)
local function OnCharacterChildRemoved(Child)
if not (Child:IsA("BackpackItem")) then return end
task.wait()
Child.Parent = Character
end
Character.ChildRemoved:Connect(OnCharacterChildRemoved)
end
Player.CharacterAdded:Connect(OnCharacterAdded)
end
Players.PlayerAdded:Connect(OnPlayerAdded)