what is Instance.new("part", game.Workspace) do? For me it doesnt nothing, tell me how t o fix it and what i am doing wrong
COMMUNITY QUESTION
Instance.new("part", game.Workspace) doesnt work for me?
3 answers
capitalize P in part
local p = Instance.new("Part", workspace)
Capitalize the 'P' in 'part.'
ROBLOX Lua is case sensitive. :3
local part = Instance.new("Part", game.Workspace)
First off, remember that Lua in Roblox is case sensitive. Now, if your asking what Instance.new("Part",game.Workspace) does, we will get onto that. What it does is, create a new part in the workspace, you could get more complicated into the materials and brick colors. But all it does is create a new instance/part in the workspace.
Make sure to upvote if this helped you understand!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
It's case sensitive, change "part" to 'Part'