I built a sword and made a simple Gui to make it clone to my back pack when clicked but when my friends join we cant see each others swords we just see a animation , need help please thank you
local Me = game:service("Players").LocalPlayer
Char = Me.Character
Mouse = Me:GetMouse()
Activate = false
local frame = script.Parent.Parent.Parent.Frame
for _,v in pairs(Char:children()) do
if v:IsA("CharacterMesh") or v:IsA("Pants") or v:IsA("Shirt") or v:IsA("Hat") or v:IsA("ShirtGraphic") then
v:Destroy()
end
end
script.Parent.MouseButton1Down:connect(function()
game.Lighting["Sword3"]:Clone().Parent = game.Players.LocalPlayer.Backpack
frame.Visible = false
end)

3 comments
without code, im gonna have to go on a limb here, but try researching Network Filtering / Filtering Enabled
it has to be given to them with a server script so use a remoteevent from the local script
How would i do that ? , i'm still new to scripting