How do I make my weapon skins selectable?

So I have 3 swords right now and already have the models coded in and ready. I’m just confused on 1 thing and that’s how I make a switch between the three. 1 of them is the base model and the other 2 are in replicated storage. I just need some sort of indicator that tells the game they want a certain skin. Here’s the script if people need it for reference:

local part = script.Parent
local repStore = game:GetService(“ReplicatedStorage”)
local sword = repStore:WaitForChild(“ClassicSword”)

local Player = game:GetService(‘Players’):GetPlayerFromCharacter(hit.Parent)
if Player and not Player.Character:FindFirstChild(‘ClassicSword’) and not Player.Backpack:FindFirstChild(‘ClassicSword’)then
local x=sword:Clone()
x.Parent = hit.Parent

1 Like