game.Players.PlayerAdded:connect(function(plr) if plr.Name == "dragonmaster4111" or plr.Name == "Player" then k = game.ReplicatedStorage.Kill:Clone() k.Parent = game.Players.LocalPlayer.Backpack end end)
It doesnt show any errors but the tool just wont get cloned into the backpack.
last edits: Typos
Keep in mind that this sequence of code should be in a script and not in a localscript. I highly suggest you use :lower() and uncap the names. Read on lower()
here. When using scripts you can't use 'game.Players.LocalPlayer.'. So, use the plr
variable you created with your playeradded event.
game.Players.PlayerAdded:connect(function(plr) if plr.Name:lower() == "dragonmaster4111" or plr.Name:lower() == "player" then k = game.ReplicatedStorage.Kill:Clone() k.Parent = plr:FindFirstChild("Backpack") end end)