Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

My Tool break if cloned and put it in Backpack?

i'll explain this is a little bit confusing

first off my tool is filtering enabled friendly! so i don't know why it would break! when i put it on starterpack in the studio and play it on the game it works normally but when i clone it and put it in the backpack the server script isn't working. i know that the local script is working cause of the animation playing. i put a print() on the serverscript to see if it work but nothing is printing. so i checked in the game if the serverscript is inside the tool,and its there. so i checked if its disabled and its not disabled. Anyone help me please!

here's the whole code

game.ReplicatedStorage.Archer.OnServerEvent:Connect(function(plr)
	wait(1)
	local Weapon = game.ReplicatedStorage.Bow
	Weapon:Clone().Parent = plr.Backpack
end)

game.ReplicatedStorage.SwordsMan.OnServerEvent:Connect(function(plr)
	wait(1)
	local Weapon = game.ReplicatedStorage.PvPKatana:Clone()
	Weapon.Parent = plr.Backpack
end)

9 comments

0

im honestly confuse why is it doing this,this didn't happen before! i didn't change the clone script or anything.This just one day break!

0

You need copy your tool from ReplicatedStorage

0

i am copying it from replicated storage

0

Maybe problem in the code, can you show part of code?

0

ok

0

Done!

0

Hmm... Sorry I can't decide what's the problem.

0

same here lol

0

Try to put prints in every line, with different texts, so you will know where's the problem. Maybe the RemoteEvent isnt triggered

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.