script.Parent.MouseButton1Click:Connect(function()
local closerange = game.ServerStorage.Loadouts.ShortRange["TEC-9"]:Clone()
local closerange2 = game.ServerStorage.Loadouts.ShortRange["KSG 12"]:Clone()
closerange.Parent = game.Players.LocalPlayer.Backpack
closerange2.Parent = game.Players.LocalPlayer.Backpack
end)
There is my script how can i make it do what i want this script isn't working for me
script.Parent.MouseButton1Click:Connect(function()
local closerange = game.ReplicatedStorage.Loadouts.ShortRange.TEC9:Clone()
local closerange2 = game.ReplicatedStorage.Loadouts.ShortRange.KSG12:Clone()
closerange.Parent = game.Players.LocalPlayer.Backpack
closerange2.Parent = game.Players.LocalPlayer.Backpack
end)
This is a local script in my game and this doesn't even work it'll have the weapons there but the model wont show up and wont shoot

2 comments
i just checked and it is
look at my edit i changed it a little and it still doesnt work with your advice