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:
Enhanced PostgresSQL Driver for Laravel Laravel PostgreSQL Enhanced is a package by Tobias Petry that offers many missing PostgreSQL-specific features to Laravel:While i… Read More
JSON-RPC Server for Laravel JSON-RPC Server for LaravelJSON RPC Server is a package to build JSON-RPC 2.0 APIs using the Laravel framework. The package is de… Read More
Use Apache Kafka With Laravel Kafka is a package for using Apache Kafka producers and consumers in your Laravel app with ease. Using the publishOn me… Read More
Search Across Multiple Eloquent Models With Cross-Eloquent Search avel Cross-Eloquent Search is a package to search through multiple Eloquent models. This package supports sorting, pagination, scoped queri… Read More
Send Email With Exchange Web Services in Laravel Laravel Exchange Web Services Email is a package by Raju at LHG for sending Email via Microsoft Exchange Web Services (EWS) … Read More
0 comments:
Post a Comment
Thanks