Feedback on my script

Hi there ,

So I have written a lua script in the Roblox studio and I am not sure that it has problems because my debugger was not working…I tried to uninstall the Roblox studio and install it again but it didn’t work…can anyone give feedback on this script ?

local part = Instance.new(“Part”)
part.name = “MyAwesomePart”
part.Brickcolor = Brickcolor.new (“Really Red”)
part.Anchored = true
part.position = Vector3.new (5,15,0)
part.Reflectance = 0.5
part.Cancollide = false
part.parent = game.workspace

1 Like
local part = Instance.new("Part")
part.Name = "MyAwesomePart"
part.BrickColor = BrickColor.new("Really red")
part.Anchored = true
part.Position = Vector3.new(0, 10, 0)
part.Reflectance = 0.5
part.CanCollide = false
part.Parent = workspace

Remember to capitalise property names.
Also it’s either game.Workspace or just workspace.

image

2 Likes