If i clone a item via a serverscript from serverscriptservice or replicated storage, use .Touched on it, it doesn’t work.
local cloned = game.ReplicatedStorage.ItemClone:Clone()
cloned.Parent = workspace
cloned.Touched:Connect(function()
print("Hi")
end)
Furthermore, if I try using ZonePlus on it, it also doesnt work with the playerEntered and partEntered events.
Even if I put the script IN the cloned item so when its clone it runs, it doesn’t work
I am not sure why, any ideas?
I’m aware other topics like this have been made, I have viewed them and all of them seemed to be coding errors, this code is just fine though yet it wont work.
If I send the part needing to be cloned via a remote event, and the variable is say partName, and i do local cloned = game.ReplicatedStorage:FindFirstChild(partName):Clone() touch doesnt work on it. If i directly reference it, touched works.
Idk how to fix this neither why this strange problem is happening, because I need to reference it via the variable.
I do agree with the post above, the tool should be saved in ServerStorage to prevent exploits that players can grab whatever they want inside the ReplicatedStorage. All items within ReplicatedStorage are accessible by both, so you must be careful. Making sure that you performs strict checking when using items inside ReplicatedStorage