Hello, I am working on a FPS project and everyone is by themselves but, I want them to equip different weapons each time they spawn using Lighting. Can you help me with that?
Thanks, S3C
Hello, I am working on a FPS project and everyone is by themselves but, I want them to equip different weapons each time they spawn using Lighting. Can you help me with that?
Thanks, S3C
wait()
local plr = game.Players.LocalPlayer
repeat wait(.1) until plr.Character
local weapons = game.Lighting.Weapons:GetChildren()
weapons[math.random(1,#weapons)]:Clone().Parent = plr.Character
This might work, un-tested
NOTE: This would just give them randomized weapons, it still has a chance of picking their past weapon.
This discussion is preserved as it was. New answers, comments, and votes are closed.