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

My print script is having an error i dont seem to see the error in output yet it still doesnt work?

Asked by 7 years ago
Edited 7 years ago

So basically this is my print script that i use to animate in CFrames but its really late for me so i cant seem to find the error if its a simple one please just point it out :/

Before you say much i tried to search it with the errors and stuff but i cant find it

local target=workspace.Dummy
print(target,"Has been targetted")

----------[prints]--
print("CFrame.new(",target.Torso["Left Shoulder"].C0,")")
print("CFrame.new(",target.Torso["Left Shoulder"].C1.")")
print("CFrame.new(",target.Torso["Right Shoulder"].C0,")")
print("CFrame.new(",target.Torso["Right Shoulder"].C1,")")
print("CFrame.new(",target.Torso["Left Hip"].C0,")")
print("CFrame.new(",target.Torso["Left Hip"].C1,")")
print("CFrame.new(",target.Torso["Right Hip"].C0,")")
print("CFrame.new(",target.Torso["Right Hip"].C1,")")
print("CFrame.new(",target.Torso["Neck"].C0,")")
print("CFrame.new(",target.Torso["Neck"].C1,")")
print("CFrame.new(",target.HumanoidRootPart["Root Hip"].C0,")")
print("CFrame.new("target.Torso.LeftFoot.C0,")")
print("CFrame.new("target.Torso.RightFoot.C0,")")

1 answer

Log in to vote
2
Answered by 7 years ago
Edited 7 years ago

On line 6 you have "C1." instead of "C1," and on the last two lines you're missing some ,'s

0
oh thanks but why is it not showing the error on the outputs etc? Coolboyok11 64 — 7y
0
Idk, for me it does show some errors (also that LeftFoot is not a valid member of ..., but that's probably because you R15 Happywalker 185 — 7y
Ad

Answer this question