Is there a way to use a pre set varible / value for finding an item in replicated storage? This is what I have its not working.
local RepStore = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local EventsStor = RepStore:WaitForChild("Events")
local WeapChoose = EventsStor.WeaponChoose
local WeaponStor = RepStore.Weapons
WeapChoose.OnServerEvent:Connect(function(Plr,WeaponVal)
print(WeaponVal)
local ActiveWeapon = WeaponStor.WeaponVal:Clone() -- (This is where im questioning)
--ActiveWeapon.Parent = game.StarterPack
for _,v in pairs(Players:GetPlayers()) do
ActiveWeapon.Parent = v.Backpack
v:LoadCharacter()
end
end)
