Part anchored even though anchored property isnt checked

I have this soccer ball that is unanchored and when you join the game, it becomes anchored somehow. I have no scripts anchoring it and this is really bugging me. Any help would be appriciated!

1 Like

Might they are welded or when u made it, u had join surface enabled.

2 Likes
wait(5)

workspace.Ball.Anchored = false

Put Script in “ServerScriptService”

The ball can’t be inside anything, only inside the “workspace”, if you don’t want your ball to be called “Ball” rename “Ball” in the Script to whatever name you want, by doing this it will no longer be anchored.
for example, you could do this:

wait(5)
workspace.BallMPS.Anchored = false
1 Like

Is it actually Anchored when you test the game, or is it just not moving?

If it’s actually Anchored when testing then you may have a free model or plugin that’s put a script into your game that Anchors Parts.

If you test it, select the ball and find it isn’t Anchored then it may be a Network Ownership | Roblox Creator Documentation issue, so the computer in control of the ball switches from the closest player to the server, then back to the closest player again causing lag in the movement.

yes i do have a network ownership script for that part, that was working fine before. also the ball becomes anchored when i test the game

Here is the network ownership script:


local RS = game:GetService("ReplicatedStorage")
local Event = RS:WaitForChild("ChangeOwner")
local Event2 = RS:WaitForChild("ChangeValue")

Event.OnServerEvent:connect(function(player, ball)
	
	local Distance = player.Character.HumanoidRootPart.Position.Magnitude - ball.Position.Magnitude
	if ball.Name ~= "TPS" then return end
	if Distance > 10 then return end
	if ball.Owner.Value ~= player then
		ball:SetNetworkOwner(player)

		ball.Owner.Value = player
		ball.ReactDecline.Value = true
		local Bubble = Instance.new("Part")
		Bubble.Shape = "Ball"
		Bubble.Position = ball.Position
		Bubble.Name = "ReactBubble"
		Bubble.CanCollide = false
		Bubble.Anchored = true
		Bubble.Transparency = 0.849
		Bubble.BrickColor = BrickColor.new("Really black")
		Bubble.BrickColor = player.TeamColor
		Bubble.Size = Vector3.new(2,2,2)
		Bubble.Parent = workspace
		wait(0.8)
		ball.ReactDecline.Value = false
		Bubble:Destroy()
	end
end)

Event2.OnServerEvent:connect(function(player, ball)

	ball.Ankle.Value = true
	wait(0.5)
	ball.Ankle.Value = false
end)

Even with this disabled, the part is still anchored

the part isnt welded and i have join surface off

UPDATE: I have found a script that anchors the part, sorry for wasting your time.

1 Like