Killbrick is not rotating with the Part?

How would I tween the killbrick to rotate with the Part and in circular motion instead of going left and right?

here is the script

local ts = game:GetService("TweenService")
local R = workspace.R:WaitForChild("Z")
local Angles = math.rad(360)

local Info = TweenInfo.new(5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true, .2)
local Props = {Orientation = Vector3.new(0, 0, Angles)}
local Pave = ts:Create(R, Info, Props)

Pave:Play()

2 Likes

It’s nothing wrong with your script, just weld the killbricks to the part.

1 Like

So, you see in the video is rotating left and right correct? I want it to rotate only on the left side, how would I do that?

Here’s is how you would make it only rotate left.

local ts = game:GetService("TweenService")
local R = workspace.R:WaitForChild("Z")
local Angles = math.rad(360)

local Info = TweenInfo.new(5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, false, .2) -- make false
local Props = {Orientation = Vector3.new(0, 0, Angles)}
local Pave = ts:Create(R, Info, Props)

Pave:Play()
1 Like

I’m confused by this, do you mean complete 360 on all XYZ? Or do you want it to spin on only around in a circular motion? (Y/Z)

I want it to spin only around in circular motion but spins at the left side of Z axes

Ok, Ignore that spam, that was me trying to get rid of the annoying shaking popup saying I haven’t wrote enough

local ts = game:GetService("TweenService")
local R = workspace.R:WaitForChild("Z")
local Angles = math.rad(360)

local Info = TweenInfo.New(5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, false, .2)
local Props = {Orientation = Vector3.new(0, Angles, 0)}
local Pave = ts:Create(R, Info, Props)

Pave:Play()

Make sure to unanchor the kill bricks and to have them welded to the moving part.

1 Like

how do I make the part spins only at the left side?

I have welded the killbrick to the moving part but is not moving along with it. Can you help me please?
image
image

You need to unanchor them if they’re anchored

they are unanchored

Have you tried removing the variable and adding them where needed to add them?

do i have to remove the variable?

local ts = game:GetService("TweenService")
local R = workspace.R:WaitForChild("Z")

local Info = TweenInfo.new(5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true, .2)
local Props = {Orientation = Vector3.new(0, 0, math.rad(360))}
local Pave = ts:Create(R, Info, Props)

Pave:Play()

Can you try this then tell what happens?

if I remove it in my script then it will say unknown global variable something like that because the object is not defined

Hmm, did you try this way out before?

Is the script a local script? If so then the welds have a chance of not working if the player isnt close enough

1 Like

it makes no difference tho, the welder killbrick won’t rotate along with the Part

1 Like

is not a localScript it is a ServerScript in SeverScriptService

Have you ensured the parts are welded to the Z part and properly unanchored in game on the server?