Need help with part falling through floor

Hi, I am currently trying to make a door fall through the floor once you use a proximity prompt and its connected to a remote event, however when i turn off its CanCollide and Anchored properties to false, it doesn’t fall through the floor, it just lets you walk through it. May someone help me please?

Script (local):

local RS = game:GetService("ReplicatedStorage")
local EventFolder = RS:WaitForChild("RemoteEvent")
local Event = EventFolder:WaitForChild("BelizeEvent")
local prompt = workspace:WaitForChild("Build").Normal:WaitForChild("Pyramid"):WaitForChild("Door"):WaitForChild("PromptPart").ProximityPrompt

Event.OnClientEvent:Connect(function()
	local Door = workspace:WaitForChild("Build").Normal.Pyramid:WaitForChild("Door").Door
	print("Recieved")
	task.wait(2)
	Door.CanCollide = false
	Door.Anchored = false
end)

Script (server):

local RS = game:GetService("ReplicatedStorage")
local EventFolder = RS:WaitForChild("RemoteEvent")
local Event = EventFolder:WaitForChild("BelizeEvent")
local prompt = script.Parent.PromptPart.ProximityPrompt
local Door = workspace:WaitForChild("Build").Normal.Pyramid.Door

prompt.Triggered:Connect(function(plr)
	local Char = plr.Character or plr.CharacterAdded:Wait()
	if Char:FindFirstChild("Key") then
		Event:FireClient(plr)
		print("Sent")
		Char:FindFirstChild("Key"):Destroy()
	end
end)

It don’t sound like this is a script problem. Is the door set to no mass?

no… does it have to be set to massless?

No, I just tested that. Are you sure it isn’t welded? Or being held by some type of restraint.

It WAS welded but i just removed the weld and it still wont fall

It should be working. There is something else wrong.
Hate to post this but…

local bv = Instance.new("BodyVelocity")
bv.Parent = wherever the door is
bv.MaxForce = Vector3.new(5000, 5000, 5000)
bv.Velocity = Vector3.new(0, -5, 0) -- you'll have to find the sweet spot
task.wait(3) -- however long to make sure it is gone
door:Destroy() -- however you need to state this
1 Like

I guess it’s the only solution for now, thanks

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