#how do i do tis yall
1 messages · Page 1 of 1 (latest)
what is the error you are getting when you use .CFrame
oh yeah you need to get the CFrame of a part inside your model
bruh
now it doesnt work at all... do you mind helping me out, see if you know what the error is?
nothing appears, thats the thing
Should have mentioned that if you want the whole model to move you need to change the cframe of the primary part
and is your variable tile a model or a part?
because if it is a model make sure to also use its primary part to get he cframe
its a part
plus, i still dont get what the primary part thing is
So basicly every Model can have a primary part. For the player character it is HumanoidRootPart. If you move the HumanoidRootPart the whole player model moves
yes
but how do i know which one it is
every model has a property called PrimaryPart but if you didn't set your PrimaryPart for your tiles then it doesn't have a primary part
use tile2:PivotTo(position)
models dont have a valid .Position or .CFrame properties, you need to use :PivotTo() instead
never fricking mind, doesn't seem to work either
also pro tip:
dont use global variables
theyre generally slower than local variables
like for example
local variable example:
local tile2 = file.Ladder:Clone()
global variable example:
tile2 = file.Ladder:Clone()
(just got rid of the local)
what does it say in the output
nothing
both methods do nothing
not an error, not a result
nothing
are you sure the code is even running
it is
i added a bunch of prints at the end of the elseifs and they print
I could try a much more brute method, if you dont want to bother
huh
but the models are in the workspace... are the clones not?
nope
no way jose
you gotta manually set the clones to the workspace
hey i already finnished it
https://www.roblox.com/games/115813024798570/Messy-Tiles