Hello people hope your having a great day but i ran into a problem im making a gun game script but when i make it when you get a kill you get a new gun you get the gun but you cant use it (Im using a super complex gun here is a model: https://www.roblox.com//library/2273555208/asset)
And here is the script im using for the kill thing
wait(2)
script.Parent.Parent.leaderstats.Kills.Changed:Connect(function()
wait()
local choose = math.random(1,22)
local gun = game.ReplicatedStorage['Gun'..choose]:Clone()
gun.Parent = script.Parent
end)
The LOCAL script is in the starterpack
Please help
AND
If you want to be nice i'm having a other problem as well here: https://scriptinghelpers.org/questions/82061/animation-does-not-play-in-clone-npc
So please help please

2 comments
THANK YOU SO MUCH
Np