GoteeSign
(gotee)
November 18, 2020, 7:59pm
#1
So I am trying to help some people with a custom admin command.
Here is what im trying to do:
Make a player.Chatted event to check when a player says ;dinnerbone
Make it so that when that is detected in the chat, it will make the player who said it go upside down
But I don't know if I am able to make a player go upside down.
Is it possible?
I’m not trying to ask for scripts, I am only trying to see if this is possible.
if im doing something wrong here, please tell me
3 Likes
emojipasta
(ineternet)
November 18, 2020, 8:12pm
#2
Character animations can make this harder than it has to be, but generally you can just do something like
--R15
char.LowerTorso.Root.C0 = char.LowerTorso.Root.C0 * CFrame.Angles(0, 0, math.pi) * CFrame.new(0, -1, 0)
--R6
char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(math.pi, 0, math.pi)
This will simply flip the character model upside down while still keeping most of the humanoid controls upright. You can try messing with the -1
in the R15 part (assuming your game supports R15).
10 Likes
GoteeSign
(gotee)
November 18, 2020, 8:14pm
#3
Thank you for the help. I really appreciate it
1 Like