You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? I am trying to recreate the rings that appear around the explosion shown in this video: Light laser beam thing - YouTube
-
What is the issue? I have no idea how to recreate this
-
What solutions have you tried so far? I have using tweens in the following block of code which ended in disaster
local t = 1
local groundPos = (projectile.Position-((distance/4)*projectile.CFrame.UpVector))
ring.CFrame = (CFrame.lookAt(groundPos, projectile.Position, Vector3.yAxis))
ring.Parent = game.Workspace
tweenService:Create(ring.Mesh, TweenInfo.new((t/2), Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0), {Scale = (ring.Mesh.Scale*Vector3.new((distance/2),(distance/2),distance/2))}):Play()
tweenService:Create(ring, TweenInfo.new(t, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0), {Position = (projectile.Position+((distance/4)*projectile.CFrame.UpVector))}):Play()
task.delay((t/2), function()
tweenService:Create(ring.Mesh, TweenInfo.new((t/2), Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0), {Scale = (ring.Mesh.Scale*Vector3.new(0,(distance/2),0))}):Play()
end)
debris:Additem(ring, t)
Here is the mesh ID I am using for the ring if you are wondering
rbxassetid://8188257545
Scale: 0.143, 0.143, 0.075
The projectile variable is the sphere part and ‘distance’ is a number equal to double the radius of the sphere.