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

Why does it not work? [Answered]

I am trying to do so when you are a certain player a local part creates. Here is the script:

local player = game.Players.LocalPlayer

if player.Name == "Zuzur" then
	local part = Instance.new("Part", workspace)
	part.Position = workspace.j.Position
end

It is in the workspace, and Filtering Enabled is on.

3 comments

0

I really don't understand, but im quite new to local stuff.

0

What is workspace.j?

0

A Part, Why?

1 answer

✓ Accepted answer

LocalScripts must be located within the Player. Such as, Player > Backpack, or Player > PlayerGui.

1 comment

0

Thanks a lot.

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