FIX: If your viewmodel is colliding with the player, add these lines of code on line 18 to make sure the viewmodel has cancollide set to off pastebin.com/b1xGkfpy
Yes, its pretty easy to make viewmodels appear on certain tools, but it is very hard to animate them. Use something like : local tool = script.parent local function animate() end tool.Equipped:Connect(animate)
If you can't move to the sides just add ViewModel.RightArm.CanColide = false ViewModel.LeftArm.CanColide = false Add this after lien 17 and replace RightArm and LeftArm with the actual names of your objects if you have questions just comment them fr
If you are having problems with the view model spazzing everywhere, first turn off collisions for every part, and other either delete the humanoid from the view model or if you don't want that add motor 6d welds and weld each part to the rootpart
@@deepfakes4567 i meant like you know how other people are like holding a gun or something in your perspective but they can still see the viewmodel in their perspective how do you do that because in the viewmodels other people dont see what your seeing
@@smoltoasterpastry2267 you can copy the script i sent to someone in the replies, just copy it and replace it with the old one. this should help. hope it helps :)
2:37 please next time you make a tutorial video that includes a script, write the script on video and explain how it works so people can actually learn from it.
If you wanna make the arms look like your character add these lines ViewModel.BodyColors.LeftArmColor = Character:WaitForChild("Body Colors").LeftArmColor ViewModel.BodyColors.RightArmColor = Character:WaitForChild("Body Colors").RightArmColor print("ChangedColors") if Character:FindFirstChild("Shirt") then Character.Shirt:Clone().Parent = ViewModel print("AddedShirt") end
So for the view model in my game, different infected and survivors have their own unique view models. How can I modify the script so that the view model is based on what character you are currently playing as?
various games has, my favourite example is Team Fortress 2 you could either use a Script so it could be based on the character you're currently morphed, or you could Model it individually, and depending on the character's weapons or items, it will show as it
So whenever I look down and hold my space bar well... I can dobule jump as many times as I want when I'm in first person and I turned of collisions for everything inside of the view model.
when i tried adding an animation to it it was way too high and was pointing higher than in it did in the animation (im tryna make it kinda like an fps game, like the troll apocalypse)
my view model is not appearing on the character and is just staying where the rig was placed when i was designing it. i have moved it to replicated storage but nothing is happening. i have done the script perfectly too. please help me out
how can i fix the camera? when i play the game it shows the hand and the lantern but doesn't hide my roblox character? it shows on the screen and does not hide the character
lock the view so its zoomed in, click on starter player, go on properties, camera, then set the CameraMaxZoomDistance to the same as the CameraMinZoomDistance
i did everything what was done in the video and i also used pinned comment for fix but when i add that lines of code my whole viewmodel just dissapears
turn off collisions on the arms, if they are already off, then just paste this script after line 17 ViewModel["Right Arm"].CanCollide = false ViewModel["Left Arm"].CanCollide = false
Yes. The viewmodel is still a character it's just missing some joints, to play animations you would load the animation to the viewmodels animator/humanoid and play the animation as you normally would.
For some reason, I can see my viewmodel but it's like the viewmodel is in first person, but I can still see my avatar/character and control it. Pls help...
FIX: If your viewmodel is colliding with the player, add these lines of code on line 18 to make sure the viewmodel has cancollide set to off
pastebin.com/b1xGkfpy
hey, i got quescion for u, could u make video about how to animate shooting and making so the shooting does damage?
Thanks cuz without it i will fly to heaven really. 😁😇
Hey Pluto it’s saying the website connection is down can u possible fix that
still doesnt work for me is there a 2024 fix
@@ADHAMCRAFTS it does for me I made it work
used this to make a portal type game so i can make the portal gun appear and randomly i hear the portal radio theme as the outro. Perfect
Is there a way to make the viewmodels appear on certain tools? and also is there a way to animate them?
yea there is but its pretty hard to do so i recommend you search of a step by step tutorial
Yes, its pretty easy to make viewmodels appear on certain tools, but it is very hard to animate them. Use something like :
local tool = script.parent
local function animate()
end
tool.Equipped:Connect(animate)
Incase the viewmodel doesn't move with the camera you might need to set a "primary part" for it.
what should the primary part be because i have that same problem
@@frostysgamingclub9162 ViewModel.PrimaryPart = ViewModel.HumanoidRootPart
@@frostysgamingclub9162the humanoidrootpart (if you didnt delete it)
everytime i go into first person my character starts flying and spazzing out everywhere
any fixes?
Turn of collisions i think 🤔
The humanoid will mess with the properties of the parts in it, so removing it will make it work.
i had the same problem, u gotta turn of colligion in in the humanoidRootpart AND the arm/arms
script:
ViewModel["Right Arm"].CanCollide = false
ViewModel["Left Arm"].CanCollide = false
add this after line 18
a few problems with this is that i cant turn my camera left or right it's stuck and when i look up i dont see the gun in my hands like yours help...
me too
If you can't move to the sides just add
ViewModel.RightArm.CanColide = false
ViewModel.LeftArm.CanColide = false
Add this after lien 17 and replace RightArm and LeftArm with the actual names of your objects if you have questions just comment them fr
@@josh04811 Did you change RightArm and LeftArm to the names of your parts?
@@josh04811 bc he spelled CanColide wrong its CanCollide with 2 Ls
@@harpseal3034 theres no way hes that clueless to have an error with a simple mispell
@@Spooky90097 ??? thats what it is, its CanCoLLide with 2 Ls
@@harpseal3034 yes I didn't notice the typo thanks
If you are having problems with the view model spazzing everywhere, first turn off collisions for every part, and other either delete the humanoid from the view model or if you don't want that add motor 6d welds and weld each part to the rootpart
Guys turn Humanoid to r15 will prevent your charecter from flying
🙏🙏🙏
THIS GUY IS A LEGEND THX
or just make them can collide false.
@SomeNinety why use common sense when you can completely change the style of your view model?
Nice! It works perfectly! now how do you do it so you can preview the viewmodel?
I know im late but I think the way is to just put the arms into different positions untill your pleased
@@deepfakes4567 i meant like you know how other people are like holding a gun or something in your perspective but they can still see the viewmodel in their perspective how do you do that because in the viewmodels other people dont see what your seeing
Works almost pefectly! But I had to add 2 line in the script after line 7 to disable CanCollide on both arms!
What did you add to make it work? I'm having the same problem
What code??
@@smoltoasterpastry2267 you can copy the script i sent to someone in the replies, just copy it and replace it with the old one. this should help. hope it helps :)
@@DennysTheRestaurantI don't see your replies.
it dosent work at all for me
I did every step and for some reason I wanted to make it as a Flashlight but it's not working :(
2:37 please next time you make a tutorial video that includes a script, write the script on video and explain how it works so people can actually learn from it.
It's literally so easy to understand lmao
Fair enough, thanks for the suggestion
@Fil how would I do that? Is it literally just opening up an animator on the dummy?
@@bruh83483 easy to you not others lmao
@@Th3Lynx lmao I started learning like 3 days ago and I completely understand how it works
If you wanna make the arms look like your character add these lines
ViewModel.BodyColors.LeftArmColor = Character:WaitForChild("Body Colors").LeftArmColor
ViewModel.BodyColors.RightArmColor = Character:WaitForChild("Body Colors").RightArmColor
print("ChangedColors")
if Character:FindFirstChild("Shirt") then
Character.Shirt:Clone().Parent = ViewModel
print("AddedShirt")
end
do i just add it in the viewmodel script?
do i add it at the end?
you should use "FindFirstChildOfClass('Shirt')" instead of find first child.
@@czctus true
i made it but when i test and zoom in my player flys around
Bruh the script is removed on pastebin
cool
So for the view model in my game, different infected and survivors have their own unique view models. How can I modify the script so that the view model is based on what character you are currently playing as?
various games has, my favourite example is Team Fortress 2
you could either use a Script so it could be based on the character you're currently morphed, or you could Model it individually, and depending on the character's weapons or items, it will show as it
he never said thanks so thank you
@@apenasgargorio thanks
@@Repolshon whoops, forgot to say thanks
the script didn't work for me :(
Rip
Dosent work for me either
You did it wrong
Have you tried putting starter player on lock first person on? It worked for me when I did that
Rip cuz it worked for me 🤣
1:36 when he talks it cant be a tool, does it mean it cant have a tool symbol, or anything else?
No it cant be in like your hotbar
Let's goo!!
(First)
how do I make an animation for it?
Blender
roblox animator.
Bro my gun fires 1s only:(
sweet vid dude :)
if it says you need a primary part set it to HumanoidRootPart
So whenever I look down and hold my space bar well... I can dobule jump as many times as I want when I'm in first person and I turned of collisions for everything inside of the view model.
That's obviously gonna happen
try this in the script:
ViewModel.RightArm.CanColide = false
ViewModel.LeftArm.CanColide = false
script:
ViewModel["Right Arm"].CanCollide = false
ViewModel["Left Arm"].CanCollide = false
add this after line 18
@@Nerbbles
this script better:
ViewModel["Right Arm"].CanCollide = false
ViewModel["Left Arm"].CanCollide = false
add this after line 18
@@litiamario5427
script:
ViewModel["Right Arm"].CanCollide = false
ViewModel["Left Arm"].CanCollide = false
add this after line 18
Wait so how do we give it an animation?
Shouldn't that be in another tutorial tho
The script was deleted, what should I do now? I won't write such a huge script, I don't have enough time for it.
how do i make it so the viewmodel is only visible when your holding a tool, and it changes for each tool
i could make it for you send me the script
@@Amused942glassis the same script used in the tutorial
i didnt write it send me it
i will right it down give me a secound@@Virtus647
put the script in a tool btw
when i go first person it collides with my character but collisions are off I:
when i tried adding an animation to it it was way too high and was pointing higher than in it did in the animation (im tryna make it kinda like an fps game, like the troll apocalypse)
i did not work when i went to play it keeps draging me of the map and the model did not show pls fix
Is the left arm and right arm ACTUALLY required other than making your character look like it's holding the item? Thanks for responding!
no
can u make a video where you can play animations on the viewmodel? thanks
How do you make it so that the arms are that of the clothes that the player are wearing
Thx man this helped alot!
hey can you make a video about animating and scripting walking with View Models?
What cframe angles did u use for the thumbnail, I kinda just got an arm hanging around🥲
guess u need to make a new one for 2024 cuz it aint working for me :(
never mind guess i got it wrong last time 😅
@@paulinemosley6113 how u got the script?, is expired
my view model is not appearing on the character and is just staying where the rig was placed when i was designing it. i have moved it to replicated storage but nothing is happening. i have done the script perfectly too. please help me out
Same
how can i fix the camera? when i play the game it shows the hand and the lantern but doesn't hide my roblox character? it shows on the screen and does not hide the character
lock the view so its zoomed in, click on starter player, go on properties, camera, then set the CameraMaxZoomDistance to the same as the CameraMinZoomDistance
When I die the viewmodel stops working
i love your voice thanks for awesome tutorial:)
Why you bringing up the voice O-O
i dont see the viewmodel can anybody help me fix that pls i have been suffering trying to figure this out😭😭😭
hey, how to make the viewmodel show only when you pull out a given item
When i tested it it teleported me to where the veiwmodel last was. But it looked decent
he where are your selection boxes? this outline is so cool
when I jump I fall down slowly only to the right direction
when i look down, am just flying around
ViewModel.RightArm.CanCollide = false
ViewModel.LeftArm.CanCollide = false after line 17
nope turn massless on@@ghostlol-cw1xy
script:
ViewModel["Right Arm"].CanCollide = false
ViewModel["Left Arm"].CanCollide = false
add this after line 18
I wish u could do it with tools
i did everything what was done in the video and i also used pinned comment for fix but when i add that lines of code my whole viewmodel just dissapears
same man
Me too
damn puberty hit this guy hard
?
for some odd reason when i move viewer model to replicatedstorage it makes my arms that im using invisable? Do you know how to fix anyone?
same
i think its supposed to do that
when i play and zoom in why i get stuck and cant move that much to the sides please help
the script is "not found" on pastebin
it doesnt come up copy when i try copying the script pls someone help me:(
Do ViewModel also works to FlashLight?
this video is very cool! helps out alot!!!!!
Thankyou for adding the script all these other people dont have it
The script isnt worknig it just puts the gun on my screen and makes me go flying
how do u put tis in a tool only for that specific tool
When I enter the game my player just fly. . .
I tried doing it I even did all the things in the video. Whats the problem that im having?
Does anyone no way I do all these tutorials an follow step by step but can't get animation to work nor view model? :(
it still dosent wrk but ur horror game tutorial is very good:)
I had to code all that but it doesn't work it's prob because this was made a year ago sooo
I HAVE 2 PROBLEMS
1:WHEN EVER I WALK I JUST GET FLING AROUND
2:THE VIEW MODEL IS STUCK
Turn off can collide
the script is not working in local script or serverscriptSerivce
i made jetpack joyride not an fps shooter the arms make me go flying
It doesnt work when you want to animate it wasted a whole day trying to animate it it just wont work your viewmodel is broken
how can i make the unrecord immersiveness?
I did exactly what you said, but the arms are not visible in-game. Any solutions?
did you anchore?
yes@@MuyBienCano
same
did you try making the game r6?
i didn't work for me would it still work in 2024?
the pastebin is terminated and i tried writing it and it didn't work. If you get me to make it work i will sub
why cant i move side to side???
i have the same problem idk why..
script:
ViewModel["Right Arm"].CanCollide = false
ViewModel["Left Arm"].CanCollide = false
add this after line 18
@@bomba11037 I love u bbg
thanks@@bomba11037
When ever I look straight I walk slowly when I look down I walk normally
Is cancollide off?
Ye
i cant move to the sides without using my mouse, i can only walk foward and backwards. Any fixes??
turn off collisions on the arms
thats probably the problem
turn off collisions on the arms, if they are already off, then just paste this script after line 17
ViewModel["Right Arm"].CanCollide = false
ViewModel["Left Arm"].CanCollide = false
do it has like the avatar hands?
umm the script got deleted or expired soooo
is it possible to add animations like a stab animation for a knife with this viewmodel?
Yes. The viewmodel is still a character it's just missing some joints, to play animations you would load the animation to the viewmodels animator/humanoid and play the animation as you normally would.
Also make sure to ONLY anchor the HumanoidRootPart. Everything in the viewmodel should be welded to the HumanoidRootPart
İ cannot open the link bcs google says the link is not secure
where is the script i cant find it in the description
i can't open the script any fixes?
How can I have it animated?
Can y help me plese how i can rotate it?
For some reason, I can see my viewmodel but it's like the viewmodel is in first person, but I can still see my avatar/character and control it. Pls help...
-Put this in a Script and add the Script in Workspace.
Script to lock you in first person:
game.StarterPlayer.CameraMaxZoomDistance = 0
Or you can just go to starterplayer and change the cameramode to lockfirstperson
i'm too!
how do i make a gun with it that shoots
Hippity hoppity, your code is now my property.
Dose it need to be R6 or R15?
tysm bro this helps alot
theres no script in the description
Literally saw a video of 28 minutes of a view model then I see this…😊🎉❤
One of them is for just giving you a view model, the other is probably for learning how to make it from scratch. Maybe animations included too
Paste bin doesn't work...
the script in he website wont pop up!!
the code doesn't exist in pastebin anymore :(
I KNOW FR BRO NEEDS TO FIX IT
how do i animate them like everytime i click it plays an animation
script it to do that
It didn't appear. What did I do wrong?
it didnt work? what happend? i checked all of everything
the link for the script does not work
Does not work with me.
can you post the code in comment section I cant open pastebin
ikr😭😭😭😭😭😭😭😭😭😭