Weird Glitch Happening

So, I’ve worked on an explosion and… the results are pretty strange. For some reason, every time I clicked, the explosion appears. I don’t have my recording software since my computer broke to show proof.

Here’s the script:

script.Parent.Touched:Connect(function()
	print("Touched")
	local tweenservice = game:GetService("TweenService")
	local part = script.Parent.Explosion:Clone()
	part.Position = script.Parent.Parent.Explode.Position
	part.Parent = workspace
	local info = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 1, false, 0)
	local goal = {
		Size = Vector3.new(5.4, 5.4, 5.4)
	}
	local c = tweenservice:Create(part, info, goal)
		c:Play()
end)

Basically, every time I clicked on a specific part, the explosion appears. There’s no other script than this so I’d like a clarification. Thank you. Also, I’ve not downloaded plugins recently.

For extra information, I do not have a click detector to the part.

can u record studio by just pressing f12? then uploading to streamable and sharing the link? just so i can see

Well, I can’t find the file anywhere.

This PC>Videos>Roblox
_______…_____…

I don’t find Videos in the folder This Pc.

well it should just be where your videos are saved… do you know?

Never mind, I found it, do you have to download streamable to share the video?

nope, dont even have to make an account too

By the way, it doesn’t show the mouse but I can assure you I clicked the part.

so how did you want the explosion to happen?
im assuming you want it to happen when a player touches it.
If ^ then use this

script.Parent.Touched:connect(function(hit)
	if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then
		print("Touched")
	local tweenservice = game:GetService("TweenService")
	local part = script.Parent.Explosion:Clone()
	part.Position = script.Parent.Parent.Explode.Position
	part.Parent = workspace
	local info = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 1, false, 0)
	local goal = {
		Size = Vector3.new(5.4, 5.4, 5.4)
	}
	local c = tweenservice:Create(part, info, goal)
		c:Play()
	end
end)

No, I want it when the part touches it. Adding on, this is an explosion test and not a game, the parts will move directly to each other so there’s no need to add an if statement.

script.Parent.Touched:connect(function(hit)
	if hit:IsA("Part") then
		print("Touched")
	local tweenservice = game:GetService("TweenService")
	local part = script.Parent.Explosion:Clone()
	part.Position = script.Parent.Parent.Explode.Position
	part.Parent = workspace
	local info = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 1, false, 0)
	local goal = {
		Size = Vector3.new(5.4, 5.4, 5.4)
	}
	local c = tweenservice:Create(part, info, goal)
		c:Play()
	end
end)

tell me if the clicking problem still occurs…
but i am needing of sleep now… been awake with 2 cans of mtndew

Clicking problem still occurs, perhaps it has to do with one of my plugins? I’ve made a plugin that if you click a part spheres appear so I’m guessing that’s the problem but then yet again, I don’t know how to remove the plugin. I’ll try uninstalling.

yes do that because the problem might be occuring everytime a sphere is added touching the trigger part

Unfortunately, even though I’ve uninstalled the plugin, the explosion still doesn’t work. I might give up at this point.