Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 8 years ago

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
It's case sensitive, change "part" to 'Part' SHDrivingMeNuts 299 — 8y

3 answers

Log in to vote
0
Answered by
Prioxis 673 Moderation Voter
8 years ago

capitalize P in part

local p = Instance.new("Part", workspace)
Ad
Log in to vote
0
Answered by 8 years ago

Capitalize the 'P' in 'part.'

ROBLOX Lua is case sensitive. :3

local part = Instance.new("Part", game.Workspace)
Log in to vote
0
Answered by 8 years ago

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!

Answer this question