so i have this boss that i want to have this attack go to the nearest part inside the player character its welded to the characters feet called Target and i want the KingTargetCircle to move the the nearest Target and stay there. How would that work? anyways here is the script.
while true do
game.Workspace.KingAttackCircle.Position = game.Workspace:FindFirstChild("PlayerCharacter").Target.Position
wait(1)
game.Workspace.KingAttack.Position = game.Workspace.KingAttackCircle.Position
game.Workspace.KingAttack.Transparency = .5
wait(.1)
game.Workspace.KingAttack.Transparency = .6
wait(.1)
game.Workspace.KingAttack.Transparency = .7
wait(.1)
game.Workspace.KingAttack.Transparency = .8
wait(.1)
game.Workspace.KingAttack.Transparency = .9
wait(.1)
game.Workspace.KingAttack.Transparency = 1
wait()
game.Workspace.KingAttack.Position = game.Workspace.KingOG.Position
wait(2)
end

1 comment
use workspace.kingattack.transparency = workspace.kingattack.transparency + 0.1 (best used in for loops)