Every time I tried to use a .Touched it keeps the block out of other blocks yet it is supposed to have CanCollide off.

main.Touched:connect(function(touchedit)
			pcall(function()
				local characterthatthouched=touchedit.Parent
				local theplayer=game.Players:GetPlayerFromCharacter(characterthatthouched)
				theplayer.HealthValue.Value=theplayer.HealthValue.Value-100
				player.ExpValue.Value=player.ExpValue.Value+10
				if theplayer.HealthValue.Value<=0 then
					player.ExpValue.Value=player.ExpValue.Value+100
				end
			end)
		end)

4 comments

0

.Touched() works with CanCollide off, last I checked.

0

hmm

0

When I try it with a script it it just flies over thing.... I am using CFrames to create a projectile but when it hits something it goes around or over

0

When I try it with CFrames it is as if CanCollide is on...