LocalScript in tool cloned from ReplicatedStorage not running

Hello, I don’t usually need help when it comes to scripting, but I think i’m missing out on something here, as the tool I am cloning from ReplicatedStorage, which contains a LocalScript isn’t working at all. It is being cloned from a server script to point out.

image

To also point out, as you can see, there is currently no LocalScript in the tool. This is sorted by a server script that clones a local script into the tool.

1 Like
original

if this is run try stoping your game
if this is edit try adding the localscript

try stopping your game and show the explorrer
stoping your game2021-11-25 (2)

1 Like

That doesn’t make much sense at all. Can you possible rephrase this?

I’ve already tried many tests and debugs. The local script is present when the tool is within the backpack. The script just never seems to run.

can u show the script? 3o chrs

I’m presuming you mean the LocalScript. Here is a snippet.

where is the tool being cloned to?

The players backpack via a ServerScript. Here is a snippet:

When I run the test, I have the tool, however nothing within it runs, evern if I put print(“Hello World!”) at the top.

To make sure you are also aware, the LocalScript originally isn’t there, however I have a function that clones one into the tool at the beggining.

disable the script in the holder/original place, only enable it when its cloned/inside the player/character

I have tried this, doesn’t seem to change anything.

1 Like

I have found a solution that had nothing to do with anything, there was an error with the character variable decleration causing an infinite wait command somehow.