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

What is wrong with this script?

function o()
p = game.Workspace.Part
p.Parent = game.Workspace.Player
p.Size = Vector3.new(3.01, 1, 1)
p.Anchored = true
p.FormFactor = Vector3.new("Symmetric")
p.Shape = Vector3.new("Ball")
p.Position = Vector3.new(-7.053, 0.5, -11.986)
end

2 comments

0

Output?

0

I used that but it said nothing

1 answer

✓ Accepted answer
function o()
p = game.Workspace.Part
p.Parent = game.Workspace.Player
p.Size = Vector3.new(3.01, 1, 1)
p.Anchored = true
p.FormFactor = 0 --formfactor and shape don't use vector3, they use enum numbers.
p.Shape = 0
p.Position = Vector3.new(-7.053, 0.5, -11.986)
end

o()-- you forgot to run your function

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