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

Instance.new("part", game.Workspace) doesnt work for me?

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

1 comment

1

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

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.