What is wrong with this Vector3.new() block of code

Why isn’t this working? I want the kill brick part to go to the position of the players head but also 10 studs away what’s wrong?
Also this is in a local script will I have to remote event it into a server script?

game.Workspace.KillBrick.Position = Player.Head.Position.Value + Vector3.new(10,0,0)
1 Like

Remove the .Value at the end of the Position property. Their is no sub property below Position named Value.

5 Likes

It still isn’t working is it because it is a local script?

1 Like
workspace.KillBrick.Position = Vector3.new(Player.Head.Position.X + 10, Player.Head.Position.Y, Player.Head.Position.Z)

The reason this didn’t work as the Vector3 returned by Player.Head.Position.Value doesn’t exist. Also iirc you can add two vector3’s together.


I don’t understand why you are making this client-sided. If you want every player to see the kill-brick on the players head then just add the following:

local player = game.Players.PlayerAdded:Wait();
2 Likes