I tried this: local player = game.Player.LocalPlayer.Character

local part  = instance.new("Part")
part.Parent = workspace
part.Position = player.Head.Position
part.Cancollide = false
part.Transparency = .5
part.Anchored = true
part.Size = vector3.new(10000,10000,10000) -- line that doesn't work

2 comments

0

Uppercase 'v'. Vector3. Uppercase 'i'. Instance. Uppercase 'c'. CanCollide. Also the size limit for parts is around 2048 in any axis.

0

also, dont use game.Player.LocalPlayer in a server script, and dont set the player variable to the character