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

How is this not working?

so the position of the bodyposition should be my torso, so it follows me

a=Instance.new("BodyPosition",tab) -- tab is my tablet seee
a.Position = Workspace.0x14.Torso --so the position of the bodyposition is is my torso

--Full skript k
owner = {"Player1"}
--
 local tabs=Instance.new("Part",Workspace)
local BP = Instance.new("BodyPosition",tabs)
BP.position = Workspace["Player1"].Torso
if Workspace["Player1"]== nil then print'no admin :(' end

	
	




1 answer

You can't call a child with periods when the name of the child starts with a number.

To better explain this:

a.Position = Workspace.0x14.Torso

That is your error.

And to call the child correctly:

a.Position = Workspace["0x14"].Torso

2 comments

0

uh, i had that fixed but ima try wat u said

0

I tried, but it didn't work. I'll just give you the full script.

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