Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Falling Block Script And I Don't Know How To Find X,Y,Z Through A Script?

This Is Pretty Simple But I'm Not So Good At Scripting I Want To Use Vecter3 To Make A Block Fall Down But I Want To Find What The X,Y,Z Coordinates Are So I Don't Have To Go And Type Different Coordinates For All The Blocks

Here My Code: wait(3) script.Parent.Touched:connect(function(hit) if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then script.Parent.Position = Vector3.new(The Coordinates Go Here) end end)

Thank You

5 comments

0

You know how to use Vector3's before if statements?

0

No

0

Also, please Do Not Capitalize Every Word Like Every Word Is A Proper Noun it just looks weird and i dont like it

0

^^ Yes please Do Not Capitalize Every Word Like This That Is Not A Proper Noun, it looks odd and makes you look "not as smart"

0

But I'm Not Smart

1 answer

✓ Accepted answer
script.Parent.Position.X
script.Parent.Position.Y
script.Parent.Position.Z

1 comment

0

Thank You

This discussion is preserved as it was. New answers, comments, and votes are closed.