local Region = Region3.new(V1-Vector3.new(2,2,2),V1+Vector3.new(2,2,2))
	local RTable = workspace:FindPartsInRegion3(Region,nil,28)
	for i,v in pairs(RTable) do
		if v.Parent:FindFirstChild("Humanoid") and v.Parent:FindFirstChild("Deb") == nil and v.Parent ~= Character then
			local Deb = Instance.new("BoolValue", v.Parent)
			Deb.Name = "Deb"
			game.Debris:AddItem(Deb,0.2)
			v.Parent.Humanoid:TakeDamage(10)
			local S = Instance.new("Sound",v)
			S.SoundId = "rbxassetid://743886825"
			S.PlaybackSpeed = math.random(88,120)/100
			S:Play()

4 comments

0

Hi when asking a question it is best to say what the porblem is and where it is can you say what line you got that error on

0

Line 1, sorry

0

what is the error and what is V1

0

It could be because 'V1' is not defined