I used different code and it summons the book slightly differently.
this is what it looks like when i summon it
I used different code and it summons the book slightly differently.
this is what it looks like when i summon it
fixed it!
code:
local book = game.Workspace.KieranBook -- [[your book model here]]
game.ReplicatedStorage.KieranBookEvent.OnServerEvent:Connect(function(player)
local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
local summonedBook = book:Clone()
summonedBook.CFrame = character.UpperTorso.CFrame * CFrame.new(0,0,-2)
local weld = Instance.new("WeldConstraint")
weld.Part0 = summonedBook
weld.Part1 = character.UpperTorso
weld.Parent = summonedBook
summonedBook.Orientation = book.Orientation
summonedBook.Parent = character
summonedBook.Anchored = false
end
end)