Im trying to put comma's in my print statement

im trying to put comma’s in between my cframe coordinates x, y and z in the print statement so i can copy paste the coordinates from the output but i dont know how to put the comma’s together and i need some help. tysm!!

local spawnloc = workspace.SpawnLocation
local cfWrldSpace = spawnloc.CFrame:ToWorldSpace(cframepracticeblock.CFrame)

print("wrld space cframe: ", math.floor(cfWrldSpace.X*10)/10..","..math.floor(cfWrldSpace.Y*10)/10..","..math.floor(cfWrldSpace.Z*10)/10)


image

local spawnloc = workspace.SpawnLocation
local cfWrldSpace = spawnloc.CFrame:ToWorldSpace(cframepracticeblock.CFrame)

print("wrld space cframe: ", math.floor(cfWrldSpace.X*10)/10 .. ","..math.floor(cfWrldSpace.Y*10)/10 .. ","..math.floor(cfWrldSpace.Z*10)/10)

just add spaces in between the concatenation symbols

1 Like

i just got it prior to seeing your post just now. cheers for the help mate, i really appreciate it. have a good day mr chapgpt :sunglasses:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.