I am trying to make a script that gives a dearkheart to my friends when they join my game, it appears though that this one did not work. Can anyone fix it or make a better one?
local VIP = { ["FluffyCatToast"] = true, ["CRhockey48"] = true }
local Tool = Game:GetService("ServerStorage"):WaitForChild("Darkheart")
Game:GetService("Players").PlayerAdded:connect(function(plr)
if VIP[plr.Name:lower()] == true then
Tool:Clone().Parent = plr.Backpack
Tool:Clone().Parent = plr.StarterGear
end
end)
