local bodyPos = Instance.new("BodyPosition", newpet.Cat)
bodyPos.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
local bodyGyro = Instance.new("BodyGyro", newpet.Cat)
bodyGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
while wait() do
bodyPos.Position = humanrootpart.Position + Vector3.new(3,-1,3)
bodyGyro.CFrame = humanrootpart.CFrame
end
#Rotating
151 messages · Page 1 of 1 (latest)
Oh so uh... as I said. I'd love to help with this. but as it's math based and you didnt explain the code or ask a proper question. it's rough. Take time and explain the issue & what you tried. Give it a few paragraphs
ask chat gpt
basically its a dumbass pet facing the wrong side
no
wait sen can I ask YOU a question?
Pet.Position.LookVector = HumanoidRootPart.Position.LookVector
yes
how long have you been scripting for?
i just started yesterday
idk
i started in December 2022
thats why u told me to ask chatgpt
so like
why
i've been scripting for 8 months now at this point
ahaha... o;o
how did you learn?
reveal them chtgpt chats bro
there just questions
learning
wait i'll try it
GetService should be self explainatory
getservice is just a service
W explanation
idk much yet just variables data types loops
it gets a service (obvious part), if the service doesnt exist then it creates it, if it does exist then it will just return the service with all the methods that you can use
LookVector is not a valid member of Vector3
wait
I MADE STAIRS THAT DISAPEAR
yes
Smh...
W
yall just blowing eachother off? XD
Who cares how long anyone else been scripting- Help the guy or don't use this thread...
Pet.CFrame.LookVector = HumanoidRootPart.CFrame.LookVector
i aint gay
i made a bandit beater in 27 days bro
did you c&p? HMM..
no but i learned C# so understanding what code does is easy
LookVector cannot be assigned to
and the pet is flying
That was great lol
Um what
Naw expunged just got punked by sen
idk what that is
im an idiot whenever it comes to helping ppl man
a coding language
i only do well with my own code 
help 🙏
oh ok
Or what you think is well 😉 now think of that for a while lol
LMAOOO
Maybe you don't understand your own code as well as you think
hmm 🤔
That'll be $900 for this session

continue
^
ur pet is flying because of the bodyvelocity
but it also gave me an error
and you cant assign a cframe to a .position vector
wtf am i supposed to do then
CFrames are applied to Cframes
BodyVelocity.CFrame
Wat
CFrame is position & Rotation
yh
let me just rotate it by 90 then?
so its facing the front
You can do that by affecting the Cframe of it yes!
CFrame.Angles
(0,0,0) ?
CFrame.Angles set's the rotation of the part
and btw
its math.rad() on CFrame.Angles
yeah so like newpet.Cat.CFrame.Angles = newpet.Cat.CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
or am i trippin
no

newpet.Cat.CFrame = CFrame.Angles(math.rad(), math.rad(), math.rad())
its now stuck
lemme turn off canCollide rq
nah still the same
why you even using bodyvelocity
just use a weld and it will stick to the player and offset the position or cframe
so it has a moving effect
just tween the moving effect
like as if its following me
try newpet.Cat.CFrame *= CFrame.Angles(math.rad(), math.rad(90), math.rad()) instead
whats *= ?
i think this should work
this = this * value
its short for
newpet.Cat.CFrame = newpet.Cat.CFrame * CFrame.Angles(math.rad(), math.rad(90), math.rad())
ahaa
its spinning like crazy now
he's using bodyvelocity and its in a while loop
yea
nope
CFrame on body position is possible
but we already went through that
wait
yk what you should do
create a part that follows the player
with correct orientation
and position
then put the cat
on the same part
just use a weld ffs
nahh cus welds look odd asf
like they make the pet look inanimate
then animate the pet
the orientation adjusts to the bodypos
oh alr
yeah
