local Players = game:GetService("Players")
function OnPlayerAdded(player)
print(player.Name .. " has entered the game")
repeat wait() until player.Character
local Humanoid = player.Character:findFirstChild("Humanoid")
if Humanoid then
local torso = Humanoid.Parent.Torso
game.Workspace:WaitForChild("Party1")
-- // Part
local Party1 = Instance.new("Part")
Party1.FormFactor = "Custom"
Party1.Size = Vector3.new(1,1,1)
Party1.CFrame = torso.CFrame * CFrame.new(0,0,0)
print("The part was created... waiting for the weld")
Party1.Anchored = false
-- // Welding
local Weld = Instance.new("Weld")
Weld.Part0 = torso
Weld.C0 = torso.CFrame:inverse()
Weld.Part1 = Party1
Weld.C1 = Party1.CFrame:inverse()
Weld.Parent = game.Workspace.Party1
--// Welding
-- // Part
end
end
Players.PlayerAdded:connect(OnPlayerAdded)
Pretty much tried everything to solve it, but appareantly im too blind to find a fix, as there is no errors in the input, I just want to make a 1,1,1 sized block be in the middle of the torso (inside of it)

3 comments
Don't really know in what im mistaking. It might be some little detail that's not added that makes the block not spawn inside the torso of the character.
It really doesn't work even trying to wait for the "Humanoid" child to load, or either the character... any help?
Found a fix to it! by myself ;)!