![]() Local x,y,z = CFrame.new(,):ToEulerAnglesXYZ()ĪrmWeld.C0 = armOffset * omEulerAnglesXYZ(x,y,z) * omEulerAnglesXYZ(math. Local Players = game:GetService(“Players”) How can I make it work for all rotations of my character? It’s not taking the current rotation of the character into consideration. When the player rotates is the problem, as it is pointing behind not in front. IT’s something to do with world and object space, but I’m unsure of how to resolve this issue. I’m trying to make the player’s right arm point toward the mouse, but when the character turns around 180 degrees, it appears to function as if the character wasn’t rotated 180 degrees. OP needs all players’ scores to be cleared right now, and DataStores do not allow for that.I’ve never been that well with CFrames and need a little help. The leaderboards on the site display Player2 as having 1000 kills instead of 10 because he hadn’t joined the game to have them reset.ĭataStores do not solve the issue because data still has to be cleared on PlayerAdded. 10 days later, Player2 has not joined and has not had his data wiped. OP decides to clear the player’s data when they join. Right now, the leaderboard is showing 2 players who got 1000 kills instead of 10. I use this with shooter games and it has usually worked as I have usually attached the gun to the players right hand via Motor6D. OP changes points so that you only get one for each enemy killed. , tweening CrispyBrix1 Pretty much I have a Third Person Camera script that normally works just fine that handles moving the camera and has the players Character face forward where the mouse is pointed. Enemy kills award 100 points, and each player has killed 10 enemies, so they have 1000 player points each. ![]() When OP makes a change like this to his game, unless he resets all users’ playerpoints, the “All Time” leaderboard sort will not be accurate. The leaderboard on the site is tied to playerpoints, regardless of how you save points yourself.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |