You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want do this effect. -p-
-
What is the issue? Include screenshots / videos if possible!
Roblox (gyazo.com)
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tryed to selection box but don’t worked, i have no idea how to do it.
I’m not going to give you the whole code, it’s your responsability to make it start from down and go up.
wait(10)
local player = game.Players["write player name"]
local character = player.Character
local tweenService = game:GetService("TweenService")
local debrisService = game:GetService("Debris")
while true do
for _, bodyPart in pairs(character:GetChildren()) do
if bodyPart:IsA("Part") then
local partWeld = Instance.new("Weld")
partWeld.Part0 = bodyPart
local growingPart = Instance.new("Part")
growingPart.Color = Color3.new(0.988235, 0.258824, 0.427451)
growingPart.Material = Enum.Material.SmoothPlastic
growingPart.Size = Vector3.new(bodyPart.Size.X, 0, bodyPart.Size.Z) + Vector3.new(0.1, 0, 0.1)
partWeld.Part1 = growingPart
partWeld.Parent = growingPart
growingPart.Parent = workspace
growingPart.Name = "growingPart"
tweenService:Create(growingPart, TweenInfo.new(0.3), {Size = Vector3.new(bodyPart.Size.X, bodyPart.Size.Y, bodyPart.Size.Z) + Vector3.new(0.1, 0.1, 0.1)}):Play()
debrisService:AddItem(growingPart, 0.35)
end
end
wait(5)
end