My model for some reason automatically anchors when i sit in it

it worked before and i havent touched it for like half a year atleast and now if i sit in it the entire model anchors (i have gone through all scripts that had “Anchor” in them with find all panel and none anchor the plane nor the regen system)

i dont know what to attach in this case

1 Like

also should say it only anchors it on the client which i give network ownership of the plane to

can you screen whats happening? because without its a little hard to visualize :slight_smile:

i cant (recording lags too much) but when i sit in my plane, it anchors all parts in the model but only on the client probably forgot to add that its a vehicle

yeah if you dont add thats a vehicle it will not works ithink.

  • if u are on windows do windows+shift+s u can do a screenshot

it was this script (that doesnt even have anything with anchoring??) when i turn it off it doesnt anchor but still why does it do this

local countdown = false
local nmbr = 10
function cntdwn()
	repeat
		nmbr = nmbr - 1
		print(nmbr)
		task.wait(1)
	until nmbr <= 0 or countdown == false
	if countdown then
		script.Parent.Parent:Destroy()
	end
end

script.Parent.ChildAdded:connect(function(child)
	if child.Name == "SeatWeld" then
		countdown = false
		script.Parent.Parent.Parent = workspace
		script.Parent.Parent.Name = script.Parent.Occupant.Parent.Name .. "active"
		local human = child.part1.Parent:FindFirstChild("Humanoid") 
		if (human ~= nil) then
			local GUI = script.TargetGui:Clone()
			GUI.Parent = game.Players:FindFirstChild(human.Parent.Name).PlayerGui
		end
	end
end)
script.Parent.ChildRemoved:connect(function(child2)
	if (child2.Name == "SeatWeld") then	
		local human = child2.part1.Parent:FindFirstChild("Humanoid") 
		if (human ~= nil) then
			game.Players:FindFirstChild(human.Parent.Name).PlayerGui.TargetGui:remove()
			countdown = true
			nmbr = 10
			cntdwn()
		end
	end
end)

like you said, theres no link with anchoring so i think thats coming from something else like another script or idk what

it didnt set network ownership properly

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.