why this doesn't position the part after i click the textbutton..? it only clones and then i have to click the textbutton again to make the position thing work. It prints out 1 on first click so i know it goes to every line... but still it doesn't position the part.. only when i click the textbutton again
local a = game.ReplicatedStorage.Classic:WaitForChild("ClassicGW")
script.Parent.MouseButton1Click:connect(function()
if a ~= nil then
a:clone().Parent = game.Workspace
a.Position = player.Character["Right Leg"].Position + Vector3.new(0, 0, 5)
print("1")
end
end)

2 comments
What does the output say? Any error messages?
No errors...