#I want to make it so that when the player triggers a proximity prompt, the model "Pallet" rotates
104 messages · Page 1 of 1 (latest)
at the pallet:SetPrimaryPartCFrame(basepart.CFrame + CFrame.Angles(49.999, 90.288, 0.376)) ?
okay well how do i write that circle
ah
okay let me see if it works
it still doesnt work
@forest beacon
CFrame.Angles(math.rad(49.999), math.rad(90.288), math.rad(0.376))
you forgot to put math.rad
but i dont want it to be math random... i want it to be at an exact position and only once
this is how it looks like when the player didnt trigger it
this is how i want it to look like when the player triggered it
thats all
@dusty geyser
Show the error
how do i do that
windows + shift + S ( if ur using windows 10)
** You are now Level 8! **
Remove 1 parenthesis at the end
ahh
Me bad
All code
Show all the code of line 6
Did you forget a )?
I'm sure yes xd
let me try that
fr 💀
okay so do i just put it as math.rad()
?
Lol
pallet:SetPrimaryPartCFrame(basepart.CFrame * CFrame.Angles(math.rad(49.999), math.rad(90.288), math.rad(0.376))
😆
bruh whats so funny
It’s a common beginner mistake
But cracks me up every time
You’ll also laugh at it one day
no
still doesnt work tho... 😭
okay but theres an error at End
Xd
Oh wait right, ))) not ))
pallet:SetPrimaryPartCFrame(basepart.CFrame * CFrame.Angles(math.rad(49.999), math.rad(90.288), math.rad(0.376)))
I forgot about the angles
it still doesnt work
errors ???
pallet it's a base part?
Just wondering. You did rig the pallet right?
rig?
pallet its a model?
yes
use PivotTo
how do i do that
okay so i forgot to put the PrimaryPart thingie in the options of the model...
💀
basepart is a primaryPart ?
the model says the Primary part is the BasePart
What
Did you weld it together?
What is BasePart, where is it
no
And unanchor all non-root parts?
also no.. :ssob
Well then. Weld everything to the “Basepart”. Unachor all other parts
pallet.PrimaryPart:PivotTo(pallet.PrimaryPart.CFrame * CFrame.Angles(math.rad(), math.rad(), math.rad())```
this finna take a looong time 😭
okay i welded them
all the parts i welded are gone
a team of 3 cant even help on a script like this is just sad honestly
Look in the explorer
Because we’re all contradicting each other and have to help teach you how to rig models🤷♂️
I had to learn this using forms and trail and error
yeah, im also learning scripting
if it wasnt obvious
i guess ill just use a part not a model
thanks guys
Just rig it
If you weren’t rude then I would’ve helped you fix the error 🤷♂️
im not rude, im just saying yall wasted my time and broke my pallet model too
You clearly didn’t rig it correctly. If you did then it would’ve worked