Hello, Gigachads of scriptinghelpers.org
I am attempting to print the position(only the X for now) of the 'handle' in my tool.
My use for this is to create a extremely simple gun, but that is not important, just a little backstory.
local tool = script.Parent
tool.Activated:Connect(function()
print(game.StarterPack.Gun.Handle.Position.X)
end)
Output: 66
I am unsure as to why this is happening, but some clarification on what I have messed up on would be much appreciated; along with some of my fixed code(if possible).
Thanks in advance Gigachads,
IsaacFriend808

2 comments
I'm unsure what you want? Do you want the position of the Handle in the workspace?
Your script is only printing the X position of the handle. You should just do Handle.Position, not Handle.Position.X