How To Make a Tool Dedicated VIEW MODEL in Roblox Studio | Roblox Studio Tutorials

  Рет қаралды 14,844

Stuffy Dev

Stuffy Dev

Күн бұрын

Link to the Comprehensive Gun Model Kit: create.roblox.com/store/asset...
Socials 👥:
Twitter: / stuffynose69
Gaming Channel: / @stuffynose420
Timestamps ⏲️:
0:00 - Intro
0:12 - Setting Up
0:23 - Making the View Model
2:27 - Scripting the View Model
Music 🎶:
Warm Nights - Lakey Inspired
Chill Day - Lakey Inspired

Пікірлер: 126
@StuffyDev
@StuffyDev 2 ай бұрын
For those of you that are having script issues or other issues, and can't figure it out yourself or the video doesn't help (somehow), then you can use the model below. Don't just blindly copy and paste the viewmodel, try recreating the viewmodel yourself using the video or else you won't learn anything and won't be able to expand on the viewmodel. create.roblox.com/store/asset/16897515665/FPS-ViewModel-by-StuffyDev
@JupiterDo0vid
@JupiterDo0vid 2 ай бұрын
Thanks!
@Martial21396
@Martial21396 Ай бұрын
Where do i have to put the view model for it to work? Because when i spawn in it doesn't work.
@Martial21396
@Martial21396 Ай бұрын
also i can't find the gin kit anymore
@darkbard7
@darkbard7 Ай бұрын
i think ppl didnt weld the gun to the viewmodel
@ElPlatanoQueTeRebienta
@ElPlatanoQueTeRebienta 27 күн бұрын
Sooooo helpfull!!!!!
@Viunly
@Viunly 15 күн бұрын
i just want to say thank you, ive tried so many other videos that dont work, and this one actually works, keep up the good work
@Toto70Dev
@Toto70Dev 27 күн бұрын
Thanks for the turorial. You helped me a lot!
@Assasin_K_C137
@Assasin_K_C137 Ай бұрын
Bro, u just got another subscriber, I have been looking for this
@user-gd8en1jk1g
@user-gd8en1jk1g Ай бұрын
awesome work dude.
@pepper1043
@pepper1043 20 күн бұрын
great tutorial and really good quality underated af
@Parkerrr_1
@Parkerrr_1 Ай бұрын
IT WORKS TYSM THIS IS SO FIRE
@victor90ro86
@victor90ro86 Ай бұрын
under rated dev fr, ur amazing dude
@super-rocco
@super-rocco 2 ай бұрын
it worked! tysm
@NebulaAccount
@NebulaAccount 2 ай бұрын
truly an underrated channel
@Jamazie
@Jamazie 2 ай бұрын
IT WORKS OMG THANK YOU SO MUCH
@matrixgeg
@matrixgeg Ай бұрын
this video helped me to make my first view model!!
@groovesbum
@groovesbum Ай бұрын
bull shit
@greenqz
@greenqz 2 ай бұрын
It works TYSM Will you do a part 2?
@FantasminElOriginal
@FantasminElOriginal Ай бұрын
thank you very much bro
@super-rocco
@super-rocco 2 ай бұрын
i owe you so much!
@user-mr4ww8hx5u
@user-mr4ww8hx5u 5 күн бұрын
underated dev
@the_voices_wont_stop
@the_voices_wont_stop 2 ай бұрын
bro when i saw you had a channel with programing tutorials i was not expecting to get lua flashbacks
@StuffyDev
@StuffyDev 2 ай бұрын
HES MADE IT
@sNIXerBars2009
@sNIXerBars2009 8 күн бұрын
To simplify the FP (First Person) script you can say "local player = game.Players.LocalPlayer player.CameraMode = 1" instead of that
@Bloopet
@Bloopet 2 ай бұрын
You should make a video on fist combat next 🙏
@user-ge3ug4td8y
@user-ge3ug4td8y Ай бұрын
Thanks you for tutorial of roblox studio. You helped me with guns, cause it is a lot of broken or none working guns in toolbox. I'm creating a new game as same as RDR 2. I hope, I wiil be in Rock Star Games. RDR 3 is my dream. More likes for you.
@haze42
@haze42 Ай бұрын
do you know or have ideas how to make sway work on mobile
@FAGAME-pv4fl
@FAGAME-pv4fl 2 ай бұрын
Good video bro you look like script teacher
@zbiki8325
@zbiki8325 Ай бұрын
2:32 (Just a reminder for me)
@PaxProductions.
@PaxProductions. Ай бұрын
for the end of the script, i can't really see what it is saying. does it say "renderstopped".
@bananajesus667
@bananajesus667 5 күн бұрын
How do you create the server-side visuals to be seen by other players?
@Vaihly
@Vaihly 2 күн бұрын
Is it possible to animate the viewport when i press the left mouse button?
@_speedyhops8058
@_speedyhops8058 Ай бұрын
would you be able to animate this??
@ismaproductions5421
@ismaproductions5421 Ай бұрын
how do i make the third person tool invisible but visible to others
@JogaradaGames
@JogaradaGames Ай бұрын
hey, im having trobble with playing animations in the viewmodel, do you know how i could fix it?
@wirhly
@wirhly Ай бұрын
for some reason when I equip it the sway works but It moves me in the air and I can't move but I can still look around, I tried to fix it but nothings working do you know what the issue could be
@yoburoml1304
@yoburoml1304 10 күн бұрын
how do i animate it like reloading and shooting
@lucaniser
@lucaniser 19 күн бұрын
I got a question my gun and viewmodel doesnt show or is still invisible whenever I equip the gun
@yoburoml1304
@yoburoml1304 10 күн бұрын
so if i make another gun i need to copy the script and viewmodel?
@BillyBeanCan
@BillyBeanCan 4 күн бұрын
I have followed this step by step three times, and i still can't see the view model or gun
@rblxcreations
@rblxcreations 21 күн бұрын
when i equipped my gun it didnt show on the screen
@Soos504-tz5jq
@Soos504-tz5jq 2 ай бұрын
can you write the code in the comments bc I messed it up
@GallonOfMilk3
@GallonOfMilk3 8 күн бұрын
The model doesnt show up i take the tool but nothing
@zinkdim8940
@zinkdim8940 Ай бұрын
can u link the whole script plz
@LazyLimeTF2
@LazyLimeTF2 Ай бұрын
Hey there I have a question, does the view model appear on just the players screen or does it show the model to people as well?
@StuffyDev
@StuffyDev Ай бұрын
its only on the players screen, as its attached to their local camera
@LazyLimeTF2
@LazyLimeTF2 Ай бұрын
@@StuffyDev oh okay, thanks for the tutorial though👍
@bananajesus667
@bananajesus667 5 күн бұрын
@@StuffyDev How should you create visuals for the other players?
@CheezyOsky
@CheezyOsky 7 күн бұрын
Pls, how to make it have recoil??
@MythicalLS
@MythicalLS 7 күн бұрын
yo Stuffy Dev i want help
@GallonOfMilk3
@GallonOfMilk3 8 күн бұрын
Bro my model doesnt show up
@Nyx3y
@Nyx3y 24 күн бұрын
Can you put scrip in the comments it’s hard to read
@ChrismasMonkVR
@ChrismasMonkVR Ай бұрын
can you do this but make the gun shot and do damage. If not, please make a tutorial for it. -Please and Thank you
@StuffyDev
@StuffyDev Ай бұрын
already have a tutorial thats on my channel
@ChrismasMonkVR
@ChrismasMonkVR Ай бұрын
@@StuffyDev Oh, sorry I am gonna watch that now.
@ChrismasMonkVR
@ChrismasMonkVR Ай бұрын
@@StuffyDev And also there is a bug when you look down your player walks. Can you fix that?
@EclipseIsMe
@EclipseIsMe 22 күн бұрын
Can you make it third person compatible?
@superduperbob
@superduperbob 15 күн бұрын
no thats why there is only fucking arms use your brain
@super-rocco
@super-rocco 2 ай бұрын
is there a way to animate this using CFrame positions?
@StuffyDev
@StuffyDev 2 ай бұрын
If you are talking about aim down sights then you can just create a transparent part near the aim part of the gun and then just align the camera to the part position. If you are talking about weapon firing and reload animation you are gonna have to use something like blender or moon animator I hope this is the answer you were looking for 😭
@super-rocco
@super-rocco 2 ай бұрын
@@StuffyDev yes thanks!
@Aika33700
@Aika33700 Ай бұрын
local tool = script.Parent local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local Camera = workspace.Camera local RunService = game:GetService("RunService") local ViewModel local equipped = false tool.Equipped:Connect(function() equipped = true game.ReplicatedStorage.ViewModel:Clone().Parent = Camera end) tool.Unequipped:Connect(function() equipped = false ViewModel = Camera.Viewmodel ViewModel:Destroy() end) RunService.RenderStepped:Connect(function() if player.Character.Humanoid.Health
@FantasminElOriginal
@FantasminElOriginal Ай бұрын
Bro, is that script yours or is it one from the video?
@Aika33700
@Aika33700 Ай бұрын
@@FantasminElOriginal i know that you are searching a script and yes is it one from the video
@FantasminElOriginal
@FantasminElOriginal Ай бұрын
@@Aika33700 good
@Aika33700
@Aika33700 Ай бұрын
@@FantasminElOriginal ok.
@totlar
@totlar Ай бұрын
bro thanks, you saved my life!
@JupiterDo0vid
@JupiterDo0vid 2 ай бұрын
could you write the script in the comments or the description by any chance?
@greenqz
@greenqz 2 ай бұрын
go to the new pinned comment put it in your game change the viewmodel to anything you want done
@josh04811
@josh04811 2 ай бұрын
yoo does this work wit melees?
@StuffyDev
@StuffyDev 2 ай бұрын
it works with anything that would be a tool in a players backpack
@Zephyrzev6kv
@Zephyrzev6kv Ай бұрын
it does not shoot _ _ why is that
@solevxii
@solevxii Ай бұрын
I problem i have is that the viewmodel already shows up on screen without equipping the tool, I downloaded and used your model below and still have the same issue
@StuffyDev
@StuffyDev Ай бұрын
if you used the model then its either you renamed something and then didn't update the scripts or you never ungrouped it from the folders, because I just tested the model and it works fine
@solevxii
@solevxii Ай бұрын
@@StuffyDev Actually, I figured out the problem, I had a script from the last view mode; i had made with little experience and completely removed the old script and it works like a charm! Thank you
@Nyusk_
@Nyusk_ Ай бұрын
for me a random part just spawns when i use the gun and i cant walk cuz of the part
@DevKing_Phizo
@DevKing_Phizo Ай бұрын
U did it wrong
@MrSixtenGaming
@MrSixtenGaming 10 күн бұрын
didint really work for me, my gun just started to fly away XD
@Hiddenherpetologist
@Hiddenherpetologist Ай бұрын
whenever i hold the tool nothing happens but the model just appears in its original spot and i dont get a viewmodel
@StuffyDev
@StuffyDev Ай бұрын
that means you screwed up with setting the viewmodels position to the camera, check what your view models name is along with the code underneath the runservice function
@manemiswaa
@manemiswaa Ай бұрын
@@StuffyDev I also have the same problem but I literally used the Tool and StarterPlayerScripts in the model you provided. I made my own ViewModel by following the video
@manemiswaa
@manemiswaa Ай бұрын
The viewmodel provided works perfectly fine tho, not mine
@manemiswaa
@manemiswaa Ай бұрын
I believe that the problem is because of renaming the ViewModel itself and/or changing the ViewModel in game.ReplicatedStorage.ViewModel:Clone().Parent = Camera
@OMARTHEREF541
@OMARTHEREF541 Ай бұрын
hi I'm having issues on the view model every time I equip the weapon it spawns at the place I created instead of in front of me I tried using your model scripts below but nothing is working. pls respond
@StuffyDev
@StuffyDev Ай бұрын
if you used the model then its either you renamed something and then didn't update the scripts or you never ungrouped it from the folders, because I just tested the model and it works fine
@OMARTHEREF541
@OMARTHEREF541 Ай бұрын
@@StuffyDev thanks for replying ill see what it is thank you
@PokerRat
@PokerRat Ай бұрын
@@OMARTHEREF541 Did you figure it out?
@OMARTHEREF541
@OMARTHEREF541 Ай бұрын
@@PokerRat Sadly no maybe it might the gun cause i uses a diff one
@PokerRat
@PokerRat Ай бұрын
@@OMARTHEREF541 ah shoot same.
@goofysongs1722
@goofysongs1722 Ай бұрын
i need help i cant see my view model gun
@YeaImMuslim
@YeaImMuslim Ай бұрын
same..
@Yasdu_94
@Yasdu_94 2 ай бұрын
write the script in comment pls i need
@Soos504-tz5jq
@Soos504-tz5jq 2 ай бұрын
pls
@GGEZLLL
@GGEZLLL Ай бұрын
how to make it so when your third person, your gun viewmodel is disabled and when I go first person, the viewmodel is enabled?
@DevKing_Phizo
@DevKing_Phizo Ай бұрын
if player.CameraMode = 1 then put everything in this if loop
@GGEZLLL
@GGEZLLL Ай бұрын
@@DevKing_Phizo when I do that, the viewmodel doesn't appear when I go first person or third person.
@DevKing_Phizo
@DevKing_Phizo Ай бұрын
@@GGEZLLL hmm try and improvise idk it should have worked is the player local player?
@GGEZLLL
@GGEZLLL Ай бұрын
@@DevKing_Phizo Oh now it worked ty!!!!!!!!!
@DevKing_Phizo
@DevKing_Phizo Ай бұрын
@@GGEZLLL np!
@Thebestanimatorandgamer
@Thebestanimatorandgamer Ай бұрын
bro thanks theres so many people who are like "HErEs HoW tO gEt A gOoD gUn FiRst GiVE mE 100000000 RobUx TheN yOu WiLL gET It"
@superduperbob
@superduperbob 15 күн бұрын
i tried your tutorial and someone else's but it still doesnt work
@StuffyDev
@StuffyDev 15 күн бұрын
use the model in the pinned comment
@superduperbob
@superduperbob 15 күн бұрын
@@StuffyDev k
@superduperbob
@superduperbob 15 күн бұрын
@@StuffyDev ill try later
@superduperbob
@superduperbob 15 күн бұрын
@@StuffyDev i tried it and it worked idk what i was doing wrong thanks tho
@user-yo6xc6ss9z
@user-yo6xc6ss9z 2 ай бұрын
how can I fix the bug when the ViewModel stays in one place?
@user-yo6xc6ss9z
@user-yo6xc6ss9z 2 ай бұрын
@@StuffyDev I did but now its invisible
@StuffyDev
@StuffyDev 2 ай бұрын
@@user-yo6xc6ss9z try using this model, move everything to the correct places as stated in the folder names (make sure to ungroup the folders once moved to the right places): create.roblox.com/store/asset/16897515665/FPS-ViewModel-by-StuffyDev
@user-yo6xc6ss9z
@user-yo6xc6ss9z 2 ай бұрын
@@StuffyDev it says i dont have perrmission
@user-yo6xc6ss9z
@user-yo6xc6ss9z 2 ай бұрын
@@StuffyDev Im Sorry if im making you overwotk
@StuffyDev
@StuffyDev 2 ай бұрын
@@user-yo6xc6ss9z nah you good, idk why it doesn't give you permission to download it, lemme see how i can fix it
@avifff
@avifff Ай бұрын
the hell is uis?
@Default_gg
@Default_gg Ай бұрын
User input service
@erupto1234
@erupto1234 14 күн бұрын
scrip local tool = script.Parent local player = game.Players.LocalPlayers local character = player.Character or player.Characteradded:Wait() local Camera = workspace.Camera local RunService = game.Getservice("RunService") local uis = game:GetService("UserInputService") local ViewModel local equipped = false tool.Equipped:Connect(function() equipped = true game.ReplicatedStorage.ViewModel:clone().Parent = Camera end) tool.Unequipped:Connect(function() equipped = false ViewModel = Camera.ViewModel ViewModel:Destroy() end) local swayCF = CFrame.new() RunService.RenderStepped:Connect(function() if player.Character.Humanoid.Health
@sadge6430
@sadge6430 2 ай бұрын
.
@sadge6430
@sadge6430 2 ай бұрын
Kxv
@darkbard7
@darkbard7 2 ай бұрын
?
@sadge6430
@sadge6430 2 ай бұрын
Uu
@MaybeLuke124
@MaybeLuke124 8 күн бұрын
It doesn’t work
Making A CRAZY Physics FPS Game In Roblox
6:42
Roox4
Рет қаралды 55 М.
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 13 МЛН
Backstage 🤫 tutorial #elsarca #tiktok
00:13
Elsa Arca
Рет қаралды 40 МЛН
How to bring sweets anywhere 😋🍰🍫
00:32
TooTool
Рет қаралды 46 МЛН
Stupid Barry Find Mellstroy in Escape From Prison Challenge
00:29
Garri Creative
Рет қаралды 13 МЛН
I Tried Making a Game Better Than ChatGPT
15:25
Rye
Рет қаралды 1,6 МЛН
Programming Rarity is Harder Than You Think
12:31
ByteBlox
Рет қаралды 136 М.
i made a ROBLOX FPS Game IN ONE DAY...
5:05
Clip Studios
Рет қаралды 10 М.
Scripter vs 3D Modeler Game Swap
9:43
KashTheKing
Рет қаралды 241 М.
Investigation: How Roblox Is Exploiting Young Game Developers
22:44
People Make Games
Рет қаралды 2,4 МЛН
How to make Realistic Lighting in Roblox Studio
17:13
RKGAM3ZS
Рет қаралды 24 М.
BEST GUIDE to animating on Roblox for free! [Beginner]
7:36
Pandastroyer
Рет қаралды 232 М.
I Made a Roblox PVP Game in 1 Week
7:35
Pot4to Studio
Рет қаралды 127 М.
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 13 МЛН