Part rotating affects my hrp orientation

Hi devs!

What do you want to achieve?
I have a circle around player, I want that circle to continuously rotate (this part works). However, the circle is welded to character’s humanoidrootpart. Now this creates a problem, when I rotate the circle hrp actually rotates with it and I don’t want that to happen. How would I prevent that?

What solutions have you tried so far?

I have looked on devforum and just google in general but nothing

** I tried all types of welds **

local Players = game:GetService("Players")
local plr = Players.LocalPlayer

local Settings = plr:WaitForChild("Settings")
local SpinSpeed = Settings:WaitForChild("SpinSpeed")
local OthersSpeed = Settings:WaitForChild("OthersSpinSpeed")

local RunService = game:GetService("RunService")

local Circles = workspace:WaitForChild("Circles")

	for i,v in pairs(Circles:GetChildren()) do
		if v:FindFirstChild("plr") then
			if v.plr.Value == plr.Name then
				v.CFrame *= CFrame.Angles(0,SpinSpeed.Value,0)
				v.CFrame *= CFrame.Angles(0,OthersSpeed.Value,0)

SpinSpeed is 0.25
and print(v) prints – Circle (whatever has to move so that’s not a problem)

I am trying to make circle rotate on it’s own while not affecting the hrp orientation!

Instead of using a weld, just make the part anchored and have it rotate around the root part

1 Like

It has to follow the player all the time

(Every single player has their own unique circles around them, these circles have to stick with the players all the time and I just want it to spin for nice effects basically)

(I would use a while loop and keep updating circle’s position but there has to be a better option + this would stutter)

Something I would do differently, is have a folder within workspace with the Combined Folders for all players

workspace.CirclesFolder ← Main Folder
CirclesFolder.PlayerName ← Folder of circles for the player

After that, just have the runservice loop on heartbeat constantly, or bind it to renderstepped and make the folder for:GetChildren() the folder in Main Folder

1 Like

I have something similar but i still want to use weld because there is a serversided hitbox that has to also be welded to the character so i prefer trying a way to use weld

Thanks you guys for replying I have actually fixed this:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.