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

What would the proper loop be to adjust a orb size?

Asked by
Kurcha 33
5 years ago
    Part0 = Instance.new("Part")

    Part0.Parent = game.Players.LocalPlayer.Character

    Part0.Position = Vector3.new(102.359985, 2, -106.899994)

    Part0.Transparency = 0.5

    Part0.Size = Vector3.new(4, 4, 4)

    Part0.BottomSurface = Enum.SurfaceType.Smooth

    Part0.Material = Enum.Material.Glass

    Part0.TopSurface = Enum.SurfaceType.Smooth

    Part0.Shape = Enum.PartType.Ball

How would I get this to expand in a loop, and make the function input a certain amount?

0
I am not sure what are you trying to do. Your script is local, other players will not see the orb. Is that intentional? Also you have put weird coordinates, did you try to attach the orb to a character? Parenting is not sufficient for that. sleazel 1287 — 5y
0
This is just a test run, I'm trying to see how the orbs physics work. Kurcha 33 — 5y
0
Sleazel is wrong. Don't listen to him lol. As for the loop, i'd recommend a while loop where you update the size by (.1, .1, .1)  Psudar 882 — 5y
0
Cant the tweening service work with size? Fad99 286 — 5y

Answer this question