I'm making a cigarette in Roblox and I want it to work correctly
it made the cig resize to the front.
you can get it yourself here:
https://filetransfer.io/data-package/qKBHvHxS#link
/>
and for people who want the code all you really need to see is this:
for i = bit.Size.X, 0, -0.1 do
local tweenInfo = TweenInfo.new(0.1)
local goal = {}
goal.Size = Vector3.new(i, bit.Size.Y, bit.Size.Z)
local tween = TweenService:Create(bit, tweenInfo, goal)
tween:Play()
wait(0.1)
bit.CFrame = bit.CFrame + bit.CFrame.LookVector * -0.1
end
But seriously, I do recommend downloading the RBXM file and actually testing it.
Also its a tool, so this accounts for rotations.
How to resize a cylinder from one end and move it backwards in Roblox
Programing Coderfunda
December 01, 2023
No comments
Related Posts:
Rector Rules for Laravel for Refactors the Code of Your App Rector instantly upgrades and refactors the PHP code of your application. This package is a Rector extension developed by the Laravel commu… Read More
Automatically Detect & Set App Locale with Laravel Localizer Laravel Localizer is an awesome package that allows you to automatically detect and set an app locale that matches your visitor's preferenc… Read More
Waterline - An elegant UI for monitoring Laravel Workflows Waterline is an amazing and elegant UI for monitoring Laravel Workflows.InstallationThis UI is installable via Composer.composer require laravel… Read More
Easy Debouncing For Queue Jobs or Chains in your Laravel AppLaravel Queue Debouncer package allows any queue job or chain in your Laravel application to be debounced, meaning that no matter how many times … Read More
Google Cloud Tasks to be used as the Queue Driver in Laravel Laravel Google Cloud Tasks Queue package allows Google Cloud Tasks to be used as the queue driver. This package requires Laravel 6 or highe… Read More
0 comments:
Post a Comment
Thanks