local remote = game.ReplicatedStorage.Effect1
local db = true
local db1 = true
local db2 = true
remote.OnServerEvent:Connect(function(plr)
	local char = plr.Character
		local arm1 = char:FindFirstChild("Right Arm")
		local arm2 = char:FindFirstChild("Left Arm")
		local torso = char:FindFirstChild("Torso")
		local Fire1 = game.ReplicatedStorage.F1
		local Fire2 = game.ReplicatedStorage.F2
		local Fire3 = game.ReplicatedStorage.F3
		arm1.Touched:Connect(function(hit)
			if hit and db == true then
				db =false
				arm1.Transparency = 1
			    Fire1.Parent = arm1 wait()
			db = true
			   end
		   end)	
		
		arm1.TouchEnded:Connect(function(hit2)
		arm1.Transparency = 0
				arm1:WaitForChild("F1").Parent = game.ReplicatedStorage
				wait(1)
		end)
		
			arm2.Touched:Connect(function(hit)
			if hit and db1 == true then
				db1 = false
				arm2.Transparency = 1
			    Fire2.Parent = arm2 wait()
			db1 = true
			   end
		   end)	
		
		arm2.TouchEnded:Connect(function(hit2)
		arm2.Transparency = 0
				arm1:WaitForChild("F2").Parent = game.ReplicatedStorage
				wait(1)
		end)
		
			torso.Touched:Connect(function(hit)
			if hit and db2 == true then
				db2 = false
				arm1.Transparency = 1
			    Fire3.Parent = torso wait()
			db2 = true
			   end
		   end)	
		
		torso.TouchEnded:Connect(function(hit2)
		torso.Transparency = 0
				torso:WaitForChild("F3").Parent = game.ReplicatedStorage
				wait(1)
		end)
		
		
   end)

so like i want it to work when its touching something but like its not working properly https://gyazo.com/6f3d4816e0419f69e4f57f5da42537ed