Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

The position of my cloned part wont set to the position I gave it?

Asked by 4 years ago
    while wait(2) do

        local xVelocity = math.random(-25,25)

        local yVelocity = 25

        local zVelocity = math.random(-25,25)


        local FireballClone = Fireball:Clone()
        FireballClone.Position = Vector3.new(-57.8, 4.8, -93.9)
        FireballClone.Velocity = Vector3.new(xVelocity, yVelocity, zVelocity)

    end

~~~~~~~~~~~~~~~~~

I'm trying to set "FireBallClone"s position to the following position. But when the game runs it sets the position to 0,0,0. I get no error when I run the script, if someone could please help me I would appreciate that. Thanks!

Answer this question