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()
COMMUNITY QUESTION
Vector 3 problem on line 1, What's wrong?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
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
Line 1, sorry
what is the error and what is V1
It could be because 'V1' is not defined