trying to make swords float and follow the player i tried Vector but it dons't work how do i fix?
i'm trying to make swords float up and down while they are flowing to player but it dons't work, i mean it does but when it updates it does not go up and down.
the script for following
1 | local sword = script.Parent |
2 | local Unkown = script.Parent.Parent |
5 | sword.Position = Unkown.Position + Vector 3. new(- 3 , 0 , 0 ) |
the script for going up and down
01 | local bv = script.Parent |
05 | bv.Velocity = Vector 3. new( 0 , 2 ) |
07 | bv.Velocity = Vector 3. new( 0 ,- 2 , 0 ) |
09 | while script.Parent.KeepOrt = = true do |
11 | script.Parent.Parent.Orientation = Vector 3. new( 1.3 , - 36.65 , - 88.26 ) |