#Attaching a different weapon based on what character you are playing as
1 messages · Page 1 of 1 (latest)
also maybe dont make new instances of motor 6ds here
just make them inside the model in studio
and refference them in script
its better for performance
to get the weapon u can just check what weapon the character has equipped
and loop thru the storage folder
and check if it matches to the characters
then clone it
local currentWeapon = module.GetWeapon(character)
for _,v in rs:GetChildren() do
if v.Name == currentWeapon then
-- clone and weld
end
end
@nocturne leaf what is an oop script?
custom classes
the same way a part has things like color and shape
u can make a custom character class
that has functions aswell as properties
then yes