local remote = game.ReplicatedStorage.Remotes.MeraLogia
remote.OnServerEvent:Connect(function(plr, char)
local UpperTorso = plr.Character:WaitForChild("UpperTorso")
local dmg = false
local arm = plr.Character.LeftHand
local LeftFoot = plr.Character.LeftFoot
local RightFoot = plr.Character.RightFoot
local RightHand = plr.Character.RightHand
UpperTorso.Touched:Connect(function(hit)
if hit then
dmg = true
local a = game.ReplicatedStorage.MeraMeraMoves.fef:Clone()
a.Name = "a"
a.Parent = UpperTorso
end
end)
UpperTorso.TouchEnded:Connect(function(en)
if en then
UpperTorso:WaitForChild("a"):Destroy()
end
end)
end)
so if i touch something i want the effect to be in the uppertorso and it works but sometimes i mean a lot of times the effect stays there when it not even touching and when im touching something it wont add the effect sometimes how do i fix this??

3 comments
Am I right in saying One Piece? (Yes, it's not an answer to your question. Apologies)
yes u right
What is the purpose of having the argument "en" and checking for it in touch ended?