Roblox Animated Conveyor Belt Tutorial | Roblox Studio
I show you to make an animated conveyor belt script in Roblox studio in this tutorial. This tutorial shows how to make a conveyor belt using AssemblyLinearVelocity of a part in combination with LookVector and RightVector to get the direction of the movement correct. We also use TweenService in this tutorial in order to animate the conveyor belt. Tween service allows use to smoothly change the OffsetStudsV of the arrow texture to get the moving effect.
Conveyor Belt Model
www.roblox.com/library/684930...
Roblox Conveyor Belt Tutorial
developer.roblox.com/en-us/ar...
Discord
/ discord
Intro: 0:00
Build Conveyor Belt: 0:17
Scripting Basic Belt: 2:49
Scripting Advanced Belt: 9:55
Change Direction of Belt: 12:59
Outro: 14:31
PrestonGamez got trapped in Roblox VR and was making a Roblox account in Minecraft. KreekCraft looked at the new piggy lighthouse map map in Bikini Bottom. AlvinBlox makes Robux with his scripting tutorials and games. TheDevKing makes funny scripting ideas.
Пікірлер: 85
Like the video if you learned something new! Thanks!
@njstudios2055
3 жыл бұрын
I never knew about the show orientation button
@notcardi
3 жыл бұрын
You don't have to script the texture animation, you can just use a beam and it works much better.
@notcardi
3 жыл бұрын
And you can easily change the direction by rotating the part aswell.
@MeteorPixel182
2 жыл бұрын
Thx
@big_brain_bro.m.___i
Жыл бұрын
😥🏳🌈
This was so helpful! Thank you so much mate! Been loving your tutorials lately and this has got to be the best yet. Keep it up!
I noticed your consistent uploading schedule, keep it up and good video
@CyberCreator
3 жыл бұрын
I'm doing my best to roll out the content! Thanks!
bro how have I not find this yet.. I’m subscribing right now because maybe later on I might find your videos helpful :)
@CyberCreator
2 жыл бұрын
Thanks for subbing!
I remember the good ol’ days of searching on KZread of scripts that I could directly copy and paste. I wished I knew your channel before this. Awesome work!
@CyberCreator
3 жыл бұрын
Thanks! I wish I started making tutorials earlier!
Great vid as always cy!
@CyberCreator
3 жыл бұрын
Appreciate it! Thanks!
Haii! i just wanted to say i really like your video's and it always helps me out!
@CyberCreator
3 жыл бұрын
Glad you like them! Thank you for watching them!
@Kshd000
3 жыл бұрын
@@CyberCreator if you didn’t exist I wouldn’t be able to develop, thank you so much lol
this video helped a lot, thanks
I love how you put pictures that explain what you are talking about it’s really helpful.
OMGGG ITSS WORRKKKKK AAAA THANK YOU SO MUCHHH
thank you so much :)
it worked! thanks
Script: local conveyor = script.Parent local SPEED = conveyor:GetAttribute("Speed") local texture = conveyor.Texture conveyor.AssemblyLinearVelocity = conveyor.CFrame.LookVector * SPEED
@ProjectEAUX
Жыл бұрын
the hero we got but didn't deserve
Very Useful , Thank you!
@CyberCreator
3 жыл бұрын
Glad it was helpful!
Could you do a tutorial on how to make a car system? I mean that cars leave one area and go through another, and that happens infinitely
Video Idea: drop a tool on a certain part; and then a certain part becomes transparent and you can fall through it. Maybe too specific I don’t really know. But I would really like it.
Tysm
Waiting for an tutorial on cars!
Man whydon't you have 100k subs!!
You should make another tutorial about how to animate the texture of a tank tracks to look like its actually moving
Dude you ligit are awesome
@CyberCreator
3 жыл бұрын
I appreciate that! Thanks!
@Sizlyk
2 жыл бұрын
Also, I thought of a video idea! Idea: when you get hit with a certain tool “weapon” it ragdolls you!
can you make a video of making custom text boxes? like you talk to an npc and you have options of what to say, ive had trouble making custom textboxes
We need a full tutorial on Attachments from the "MODEL" section
@CyberCreator
3 жыл бұрын
Thanks for the suggestion!
Hey can someone please answer this question! I am making a roblox game with a friend using the team create. I was the one to start the baseplate so what happens if it gets popular and gets robux what happens with that? Do i instantly get paid or something else. Thank you
How do you change the speed of the arrows?
is it possible in any way to make the texture move FASTER?
SWAG
@CyberCreator
3 жыл бұрын
💯
this was very helpful but how do i make it faster if i can
Is there a possible way to do a Roblox script to make hackers get kick off the "experience"? For example the system knowing that somebody in the server is hacking or no?
@CyberCreator
3 жыл бұрын
developer.roblox.com/en-us/api-reference/function/Player/Kick This can be used to kick someone from the game. To ban them you could use the PlayerAdded event developer.roblox.com/en-us/api-reference/event/Players/PlayerAdded and kick the player every time they join
really helpful but Instead of using textures I instead used decals and it isn't working is there an explanation for why it isnt working? is the code only meant for texture to be able to move?
@youtubedontchangemyhandlebruh
Жыл бұрын
My man you need to use textures otherwise its not gonna look good
@mannequinyt
Жыл бұрын
Decals are used for a single image on a part, while textures are used for the same image looped on a part
i name my part as DEEZ just leting u guys know :D
I did lookvector 10 speed and it's going left
Sorry But The Animation was not working and i was using this Asset Id
how do i flip it
hey cyber i did everything you said basic belt script but my texture isnt animated please help
@Realzy132
Жыл бұрын
if u still need it make a new script under the conveyorbelt part ------------------------------------------------------------------------------------------------ local tweenService = game:GetService('TweenService') local object = script.Parent local TextureSpeed = 10 --set same number as conveyorbelt speed local tweenInfo = TweenInfo.new( TextureSpeed, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, -1, false, 0 ) for _,texture in pairs(object:GetChildren()) do if texture:IsA('Texture') then local textureTween = tweenService:Create(texture, tweenInfo, {OffsetStudsU = 0}) local textureTween2 = tweenService:Create(texture, tweenInfo, {OffsetStudsV = -50}) textureTween:Play() textureTween2:Play() end end -------------------------------------------------------------------------------------------------------------------------------------------------------------------
How do i change the speed of the texture ??
@arikakate4872
2 жыл бұрын
do you know how to change speed of the block?
the other conveyors arent working
hello ive copied the script EXACTLY and it still wont work (the conveyor works just not the texture)
@Realzy132
Жыл бұрын
if u still need it make a new script under the conveyorbelt part ------------------------------------------------------------------------------------------------ local tweenService = game:GetService('TweenService') local object = script.Parent local TextureSpeed = 10 --set same number as conveyorbelt speed local tweenInfo = TweenInfo.new( TextureSpeed, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, -1, false, 0 ) for _,texture in pairs(object:GetChildren()) do if texture:IsA('Texture') then local textureTween = tweenService:Create(texture, tweenInfo, {OffsetStudsU = 0}) local textureTween2 = tweenService:Create(texture, tweenInfo, {OffsetStudsV = -50}) textureTween:Play() textureTween2:Play() end end -------------------------------------------------------------------------------------------------------------------------------------------------------------------
You should past the script in the description or pin a comment :)
Video idea: e to hole a wall pls with multiple choice
@CyberCreator
3 жыл бұрын
Like a random letter that you have to hit quickly?
@sattacgamer8295
3 жыл бұрын
@@CyberCreator yes pls
@sattacgamer8295
3 жыл бұрын
@@CyberCreator like a edit system with e
Thx dude can u help me with my game??
@CyberCreator
2 жыл бұрын
Thanks for watching! Unfortunately I don't have time to work on anyone else's games!
The tween isn't working for me and I can't seem to find why *help*
@Realzy132
Жыл бұрын
if u still need it make a new script under the conveyorbelt part ------------------------------------------------------------------------------------------------ local tweenService = game:GetService('TweenService') local object = script.Parent local TextureSpeed = 10 --set same number as conveyorbelt speed local tweenInfo = TweenInfo.new( TextureSpeed, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, -1, false, 0 ) for _,texture in pairs(object:GetChildren()) do if texture:IsA('Texture') then local textureTween = tweenService:Create(texture, tweenInfo, {OffsetStudsU = 0}) local textureTween2 = tweenService:Create(texture, tweenInfo, {OffsetStudsV = -50}) textureTween:Play() textureTween2:Play() end end -------------------------------------------------------------------------------------------------------------------------------------------------------------------
@taotao5467
Жыл бұрын
@@Realzy132 it's been a year but thanks
i'ts not working
2nd
@CyberCreator
3 жыл бұрын
I appreciate your support!
For some reason the script says the TweenService is unknown on line 14 can you help me please?
@CyberCreator
2 жыл бұрын
At the top I define the variable. local TweenService = game:GetService("TweenService")
@noktdp1935
2 жыл бұрын
@@CyberCreator Thanks it's been some time and I've learned stuff, I think I just uppercased the L in local, thanks. :P
sup
@CyberCreator
3 жыл бұрын
Hello! You are fast
I don't see the speed of the block.
@arikakate4872
2 жыл бұрын
If anyone else is having this problem just press add attribute (can be found at the very bottom of the properties of your block) and name it "Speed" and change the type to number.
3 2 1 go
@CyberCreator
3 жыл бұрын
Thanks for watching!