Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Towers will spawn but there's an error in output when it happens?

Asked by 2 years ago

when u place a tower in my game in the output it says this,

Network Ownership API cannot be called on Anchored or welded to Anchored parts.

Stack Begin

Script 'ServerScriptService.Main.Tower', Line 18 - function Spawn

Stack End

Here is the code for line 18,

newTower.HumanoidRootPart:SetNetworkOwner(nil)

And here is the one for the newTower

local newTower = towerExist:Clone()

Anyone know what's wrong?

0
SetNetworkOwner(nil) doesn't work on anchored objects to the point that it throws an error when you try doing it RAFA1608 543 — 2y
0
so what do I put epet6644 0 — 2y

Answer this question