Anybody notice anything wrong with my script as it doesnt work neither does it show anything in the output.
```lua game.ReplicatedStorage.BuildMode.TeleportPlayer.OnServerEvent:Connect(function(plr)
plr.Character.LowerTorso.CFrame = CFrame.new(game.Workspace:FindFirstChild("Plot-"..plr.Name).TPPart.Position)
print("Teleported "..plr.Name.." out of place or to place.")
end)
game.ReplicatedStorage.BuildMode.StopBuildMode.OnServerEvent:Connect(function(plr)
print("Finished Build Mode")
end)
game.ReplicatedStorage.BuildMode.PlaceItem.OnServerEvent:Connect(function(plr,itemObj,hit,currentitem)
local cl = game.ReplicatedStorage.Models[currentitem]:Clone()
if cl:IsA("Model") then
print("Placing Model")
cl:FindFirstChild("Part").CFrame = CFrame.new(itemObj.Position)
cl.Parent = workspace["Plot-"..plr.Name]
cl:MakeJoints()
elseif cl:IsA("Part") then
print("Placing Part")
cl.CFrame = CFrame.new(hit.p)
cl.Parent = workspace["Plot-"..plr.Name]
end
end)
game.ReplicatedStorage.BuildMode.MovePart.OnServerEvent:Connect(function(plr, targetPart)
game.ReplicatedStorage.BuildMode.MovePartCallback:FireClient(plr,targetPart)
print("Calling back to client")
end)
game.ReplicatedStorage.BuildMode.FinishPartMove.OnServerEvent:Connect(function(plr, target, hit)
print("FInished Part Move")
end)
game.ReplicatedStorage.BuildMode.PlacePart.OnServerEvent:Connect(function(plr,place)
print("Started Part Creation Process")
local part = Instance.new("Part")
part.Parent = workspace["Plot-"..plr.Name]
part.Name = "Wall"
part.Anchored = true
part.Position = Vector3.new(place)
end)
game.ReplicatedStorage.BuildMode.Scale.OnServerEvent:Connect(function(plr,target,hit)
print("Started Part Scale")
if target:IsA("Part") then
print("Initiated Part Scale")
target.Size = Vector3.new(hit.p)
end
end)
game.ReplicatedStorage.BuildMode.PlaceIndentModel.OnServerEvent:Connect(function(plr,target,hit,wall)
print("Started Model Indent Union Process")
if wall.Name ~= "BuildmodeFloor" or wall.Name ~= "FirstFloorAttachment" then
if wall:IsA("Part") or wall:IsA("BasePart") then
if target:IsA("Model") then
local targetClone = game.ReplicatedStorage.Models[target.Name]:Clone()
targetClone.Position = Vector3.new(hit.p)
targetClone:MakeJoints()
targetClone.Parent = workspace["Plot-"..plr.Name]
local unioned = wall:SubtractAync(targetClone)
unioned.Parent = workspace["Plot-"..plr.Name]
print("Sucessful Part Union Indent of Model: "..targetClone.Name)
end
end
else
end
end) ```