function GearGiver.Give(player, tool)
	local P = game.Players.LocalPlayer
	local C = P[tool]:Clone() --This check if the player have the tool and then it clone it !
	C.Parent = game.Players[player].StarterGear --Change the parent of the tool to the player starter gui
	P.StarterGear[tool]:Destroy --Destroy the tool
end

It should give a gear to a other player like that

local Cmd = game.Workspace.GearGiverModule Cmd.Give(somerandompeople, rocketlauncher)

2 comments

0

Why a module script?

0

because i'm making a admin command for my game