local players = game:GetService("Players")
local serverStorage = game:GetService("ServerStorage")
local function giveTools(player)
local backpack = player.Backpack
local bigblaster = serverStorage["Big Blaster"]
local gblasters = serverStorage["Gaster Blasters"]
local bonewalls = serverStorage["Bonewalls"]
local middlebonewall = serverStorage["Middle Bonewall"]
if player.TeamColor == BrickColor.new("Navy blue") then
bigblaster:Clone().Parent = backpack
gblasters:Clone().Parent = backpack
bonewalls:Clone().Parent = backpack
middlebonewall:Clone().Parent = backpack
print("PLAYER HAS RECEIVED TOOLS.")
end
end
players.PlayerAdded:Connect(function(plr)
giveTools(plr)
end)
Here’s my problem: while print("PLAYER HAS RECEIVED TOOLS.")
does show, the player when they first load into the game under player.TeamColor == BrickColor.new("Navy blue")
does not receive the tools ingame and the output shows absolutely 0 errors. I’ve tried replicatedstorage but it doesn’t work, many other methods also. I’d greatly appreciate receiving help!