I have to assume it's a local script thing, but basically it is a localscript inside of a tool that duplicates and welds a gun model to the players hand when the tool is equipped. Only issue is other players cannot see the gun, and the animations will not play when actually playing the game. How do I fix this?
FE, as all Scripts know, tells the Server to deny replication to other Clients of actions caused by the LocalClient. Since you’ve welded a Part to your Character locally, only you will be effected by this. Resulting in this measure, this would not have “happened” on the Server.
Simply, you will have to let the Server preform this action. This can be done using RemoteEvents, if not familiar already.
The application would look like so:
--// LocalScript - Preferably a Child of Tool local ReplicatedStorage = game:GetService("ReplicatedStorage") local RemoteEvent = ReplicatedStorage:WaitForChild("RemoteEvent") local Tool = script:FindFirstAncestorWhichIsA("Tool") Tool.Equipped:Connect(function() RemoteEvent:FireServer(Tool.Handle) --// assuming the Handle is the buildup of your Tool. end) --// ServerScript - Preferably a Child of ServerScriptService local ReplicatedStorage = game:GetService("ReplicatedStorage") local RemoteEvent = ReplicatedStorage:WaitForChild("RemoteEvent") RemoteEvent.OnServerEvent:Connect(function(ToolHolder, Handle) --// 'ToolHolder' and 'Handle' should be what you need to accomplish your weld. end)
Hope this helps! If there’s anything you’d like me to clarify, please comment! Don’t forget to accept!