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()
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()
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.
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()