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

What is wrong with this script?

Asked by 8 years ago

The script is suppose to create a part to follow the players torso.

plr = game.Players.LocalPlayer
char = plr.Character

local p = Instance.new("Part")
p.Parent = char
p.Size = Vector3.new(1,1,1)

local w = Instance.new("Weld")
w.Parent = char.Torso

w.p = char.Torso
w.p = CFrame.new(0,2,0)
0
you need parentheses after getchildren and this will return the games children, workspace, lighting, startergui, stuff like that. theCJarmy7 1293 — 8y
0
Don't repost the same question with a different title. Comment on the other one, or edit it. Pyrondon 2089 — 8y

Answer this question