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

How can i move a part with bodyvelocity based on its size? [closed]

Asked by 5 years ago
Edited 5 years ago

local speed = 50 i made it so as long as you hold the button the size Augments and when you stop pressing the button the remote fires and the Body Velocity is made and the BodyVelocity is multiplied by the speed ,but i wanna make so the bigger the size the slower the speed gets , i have managed to do the inverse, but i have no idea how to do it any help please?

local speed = bullet.Size.Y*2

 local Woosh = Instance.new("BodyVelocity",bullet)

    Woosh.maxForce = Vector3.new(math.huge, math.huge, math.huge)

        Woosh.velocity = CFrame.new(plr.Character.UpperTorso.CFrame.p, Mouse.p).lookVector * speed
0
You went to school, right? You know how to divide? Divide 2 by the size User#6546 35 — 5y

Closed as Not Constructive by User#6546

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?