local F1 = script.Parent.Floor1
local F2 = script.Parent.Floor2
local F3 = script.Parent.Floor3
local F4 = script.Parent.Floor4

local L1 = F1.CFrame
local L2 = F2.CFrame
local L3 = F3.CFrame
local L4 = F4.CFrame

local floorn = {F1,F2,F3,F4}
local floorl = {L1,L2,L3,L4}

print(floorl[2])
if true then
	for i, v in ipairs(floorl) do
		wait(2)
		L1 = CFrame.new()
		
		
	end
end

i am not really good with tables and CFrame so I am Confused on how it should work.

2 comments

0

Hey I'm having a little trouble understanding what you mean when you say randomize a part's position with other parts? So do you mean you wan't to switch the floor's around? or give them all a certain distance from each other, Because those results would need different methods. If you we're to explain to me, I might be able to help.

0

I just want to switch the floors around