What do you want to achieve? Hello, I would like to find a way for the projectile to grow but only on one side, while remaining stuck to the weapon attachment. As you can see on the video, the problem is that the projectile grows on both sides while remaining at the same point. Do you know if there is a not too complicated way to do this from the following script? Thanks for reading, the video and the script are below
local pierre = rs.Vehicule.FuturisticBalle.BalleFuturistic:Clone()
pierre.Parent = workspace.Route.Players[plr.UserId..''].Balles
connexionBalle = Runs.RenderStepped:Connect(function()
if workspace.Route.Players[plr.UserId..''].Armes:FindFirstChild('ArmeFuturisctic') then
pierre.Depart.CFrame = workspace.Route.Players[plr.UserId..''].Armes.ArmeFuturisctic.BallePosition.WorldCFrame
pierre.Grossissement.Size = Vector3.new(pierre.Grossissement.Size.X +0.1, pierre.Grossissement.Size.Y, pierre.Grossissement.Size.Z)
else
if connexionBalle ~= nil then
connexionBalle:Disconnect()
connexionBalle = nil
end
end
end)
Thank you very much for your answer the principle works except that the cylinder goes to the left instead of going straight, I try to find a solution but for the moment nothing