Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Tools moved from ReplicatedStorage to BackPack don't work, Filtering Enabled?

Asked by
Cuvette 246 Moderation Voter
6 years ago
Edited 6 years ago

Hi, Basically any tools that need to be moved from ReplicatedStorage to the players Backpack during game send over fine but when used they do not work. But if I put these tools into the StarterPack they seem to work when the player joins.

I'm using FE by the way.

Here is a local script on the client.

game.ReplicatedStorage.MoveToolEvent.OnClientEvent:Connect(function()
    local a = game.ReplicatedStorage.BloxyCola:Clone() 
    a.Parent = game.Players.LocalPlayer.Backpack
end)

And here's what i'm sending from the script in ServerScriptService

for i,v in pairs(game.Players:GetChildren()) do
    if v.Choice.Value == 1 then
        SendTool = game.ReplicatedStorage:WaitForChild('MoveToolEvent')
        SendTool:FireClient(v)
end
0
You forgot an "end" after the if-statement. Add "end" above the other end. Mayk728 855 — 6y
0
This is just a snippet of code. Like I said this part works fine it's just when it moves it into the Backpack the tool doesn't work. Cuvette 246 — 6y
0
Honestly, im having the same problem. The sword moves over fine, but when using it, it does nothing at all but look pretty. fighterkirbyzx 102 — 4y

Answer this question