The code is here:
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded
local humanoidroopart = character:WaitForChild("HumanoidRootPart")
local clone = game.ReplicatedStorage.Wall:Clone()
script.Parent.MouseButton1Click:Connect(function()
clone.CFrame = humanoidroopart.CFrame * CFrame.new(Vector3.new(0,-3,-2.5))
clone.Orientation = humanoidroopart.Orientation
clone.Anchored = true
clone.Parent = game.Workspace
end)
I get no errors.
