So, I've got Backpack turned off, and I'm force equipping the tools. It successfully cycles through to the next/previous gun, but it just stops working afterwards. Should I use "while true do" to keep cycling through the weapons?
Here's the snippet of code I've got at the moment:
local gun1 = game.Lighting.Guns.Runner.SniperRifle
local gun2 = game.Lighting.Guns.Runner.London
gun1.Parent = char --Force equip
if gun1.Parent == char then
print("Gun1 is parented")
mouse.WheelForward:connect(function()
print("Gun2 is parented")
gun1.Parent = game.Lighting.Guns.Runner
wait(.5)
gun2.Parent = char
end)
mouse.WheelBackward:connect(function()
print("Gun2 is parented")
gun1.Parent = game.Lighting.Guns.Runner
wait(.5)
gun2.Parent = char
end)
end
if gun2.Parent == char then
print("Gun1 is parented")
mouse.WheelForward:connect(function()
gun2.Parent = game.Lighting.Guns.Runner
wait(.5)
gun1.Parent = char
end)
end

3 comments
Output shows "SniperRifle is not a valid member of Model"
Well first off that is your problem... the sniper rifle isn't part of the model. Use :WaitForChild() or make sure that it is 100% coded to the right hierarchy
First thing I would do, to prevent the gun scripts from freaking out, is use a function in the Humanoid called :EquipTool() and :UnequipTools(). All you need to do is call the character's humanoid, add :EquipTool(TOOL_GOES_HERE) and then when you want to unequip, then just call it again and say :UnequipTools()