Cloning does not go according to script

I do not understand why this happens but for some reason it clones even though I do not touch the part

local Part = script.Parent
local Event = game.ReplicatedStorage:WaitForChild("RemoteEvent")

Event.OnServerEvent:Connect(function(Player) 
	Part.Touched:Connect(function()
		local PlayerGui = Player:WaitForChild("PlayerGui")
		local Ping = PlayerGui.PingGui.MainFrame.Ping
		local Clone = Ping:Clone()
		Clone.Parent = Ping	.Parent
	end)
end)
1 Like

You are not checking if the part touching is a player, perhaps add the otherPart parameter to your touched event and run a check?