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

Tool Doesn't Work When Cloned To the backpack?

Asked by 5 years ago

So, i have made a shop for tools. the tool is supposed to increase leaderstats by a certain number depending on the tool. When i buy it. It doesn't work. But i've noticed that if i added it to the starterpack it works! And no i don't want the solution of adding it to starterpack and then reseting. There is no special code. i just use the classic :Clone().Parent = game.Players.LocalPlayer.BackPack

2 answers

Log in to vote
0
Answered by
qothiu 16
5 years ago

Hello there! YahiaElramal_77

I would like to point out, cloning from services mostly requires a server script, as I have attempted to do it before local script cloning can cause errors and not load in the full scripts and parts into the tool. therefore if you are using local scripts, switch to server as its more reliable and should fix your issue.

Hope I helped!

0
So i need to use a server script not a local script? YahiaElramal_77 26 — 5y
Ad
Log in to vote
0
Answered by 5 years ago

I am not sure if it's gonna work but try instead changing that to the server. so that the server is the one that does all the cloning.

Answer this question