#view Model Fix

259 messages · Page 1 of 1 (latest)

safe condor
bold bolt
#

real

safe condor
#

;-;

bold bolt
#

one sec

#

i can't type the code they asking for nitro

tardy pivot
#

Um

safe condor
#

are u using viewport

bold bolt
#

no i used a script from yt

#

i did everything like him

#

i just used a different first person camera cuz his one doesn't match my game

#

here is the script

safe condor
#

and also

#

next time

bold bolt
#

yea?

safe condor
#

put it in pastebin lol

#

im scared of virus

bold bolt
#

do i send link to the pastebin that he used?

tardy pivot
bold bolt
#

im harmless

safe condor
#

yes

bold bolt
#

do i look like somone that would hack u?

#

lol

tardy pivot
#

It’s easy to hide an ip grabber in a link

#

I’ve done it before to my friend

bold bolt
#

i don't even know what that is

tardy pivot
#

Finds what city they live in

safe condor
#

@summer zodiac i see your active, are u busy?

#

Is this some gun script?

bold bolt
#

do i send the vid?

tardy pivot
#

That’s a long script

#

I ain’t readin that

#

Sorry

bold bolt
#

lol

#

its fine ig ill wait for somone to help me

bold bolt
safe condor
#

Why is there sin crying

#

I cant with sin

tardy pivot
summer zodiac
bold bolt
#

me don't even know what sin is

tardy pivot
#

It’s trigonometry

safe condor
#

i just now SOH CAH TOA and this? nah

summer zodiac
#

sin gives a very nice smooth curve. Used it for pet floating before.

bold bolt
summer zodiac
bold bolt
#

so the problome is in sin cuz the moving isn't very smooth

wispy escarpBOT
#

studio** You are now Level 3! **studio

tardy pivot
#

U should know

safe condor
#

Im just rank 1

#

i dont work with sin

tardy pivot
#

I might apply

safe condor
#

no

bold bolt
#

u guys are forgeting the part about helping me

#

lol

#

does anyone have a vid that has a view model that works better than this one? that would be great

summer zodiac
bold bolt
#

ill give

#

one sec

#

This is how you can make first person viewmodels for your Roblox game!
This is a smooth, dynamic system that will add polish and a premium feel to your game!
roblox studio scripting tutorial
CODE IS HERE: (still recommend watching, so you know how to set items up)
https://pastebin.com/NigfPSFB

🎥YOUTUBE🎥
😊Subscribe ➜ https://www.you...

â–¶ Play video
#

his flashlight was moving smoothly but my crowbar was very glitchy and not anchored even i set it at anchored

summer zodiac
bold bolt
#

oh

#

ima go download rec app

#

or u can just join me to see

safe condor
summer zodiac
bold bolt
#

i got a vid

summer zodiac
safe condor
bold bolt
#

alr

#

sorry for bad quality my pc is bad

#

its like glitching around

terse frost
wispy escarpBOT
#

studio** You are now Level 19! **studio

safe condor
# bold bolt

Its getting the CFrame a lil bit faster i think

summer zodiac
# bold bolt

This isn't related to sin I don't think.

You followed a tutorial, yes? How is your tool setup compared to the tutorial

tardy pivot
summer zodiac
#

Configuration would matter too if values are odd

summer zodiac
bold bolt
tardy pivot
#

Make u seem professional

bold bolt
summer zodiac
bold bolt
#

he said to put the handle in a model and to name it as the tool and to anchor and set colision off and i did that

#

and i put it in replicted storage

safe condor
#

to anchor? seems weird to me

#

nvm

bold bolt
safe condor
#

@random sequoia

#

help this guy pls

bold bolt
#

here

#

everything like he said

summer zodiac
# bold bolt

That's odd. The viewbobbing script you sent me checks for tools, not models...

safe condor
#

change the model into a tool? i guess

bold bolt
summer zodiac
bold bolt
#

yea it just missed it up

summer zodiac
bold bolt
#

mesh

#

ill try to change the part to a meshpart cuz he used a meshpart in the vid

summer zodiac
#

or rather the mesh

bold bolt
#

yea i did that too

bold bolt
summer zodiac
bold bolt
#

no no just a meshpart called handle

summer zodiac
bold bolt
wispy escarpBOT
#

studio** You are now Level 4! **studio

bold bolt
#

its just a mesh for the handle

summer zodiac
bold bolt
#

yea i changed to a meshpart instead of a part cuz he used a meshpart

#

nvm ill change back to a part cuz when i changed to a meshpart it just became a block instead of a crowbar and the glitching is still happening

#

i noticed that the glitching start happening when im walking or running but when im standing still it doesn't glitch

summer zodiac
#

Okay, what if you disabled the first person script you're using and, while playing, just zoomed in until you're in first person. See if the glitch happens then.

bold bolt
#

alr

#

ima try that

#

and it still does the glitching

summer zodiac
# bold bolt

Did you zoom in all the way so it's actually in first person

bold bolt
#

yea i did

#

and the same problome when i run it glitches

#

so the problome is not in the first person script

summer zodiac
bold bolt
#

alr

bold bolt
#

i can't find it

summer zodiac
bold bolt
#

local smooth = 50

local bobSpeed = 1.5
local bobDistance = .1
local bobWalkMulti = 3
local walkVeloThreshold = 9

local swaySpeed = 1.1
local swayDistance = .07
local swayWalkMulti = 2

#

those?

summer zodiac
bold bolt
#

alr

#

it still does it

#

i set them to half then to 0.1

#

still glitches

#

i tried to ask the youtuber that made the vid for help but he ain't responding

summer zodiac
#

If you equipped the tool on its own, does it hold correctly?

bold bolt
#

without the view model?

#

nah its just like floting in ur screen thats why i added the view model

summer zodiac
#

I guess the tool being held in hand wouldn't affect the viewbob script.

Did you originally do this with the flashlight model? Did it work then?

bold bolt
#

nope i didn't do the flashlight

#

wait

#

ill save everything a model and try in a new place

#

it still does it in a diffrent place

#

ima try another thing like a flashlight

summer zodiac
bold bolt
#

even a diffrent mesh and tool does the same glitch

#

bruh why did it send a file

wispy escarpBOT
#

studio** You are now Level 5! **studio

bold bolt
#

yeah its still glitchy maybe the script does it

summer zodiac
bold bolt
#

yea i did the same

#

its alr man

#

ill wait him to respond

#

ty for the help

summer zodiac
bold bolt
#

just took it

summer zodiac
# bold bolt just took it

Follow the tutorial for the code instead of taking it.

That comment said the code he linked wasn't the same as what's in the tutorial

bold bolt
#

ohhhh

#

alr tysm

#

ill try it tomorrow and let u know

safe condor
#

same like math.sin?

summer zodiac
#

This is a gross simplification of a complex mathematical concept, but for the purposes of viewbobbing, it produces a nice, smooth, repeating wave, since time increases and sin & cos repeat

tardy pivot
#

What grade u in?

safe condor
#

9

tardy pivot
#

Go into desmos do look up cos and sim wave

tardy pivot
#

Just advanced

#

Cos starts at top on mathematical wave

#

Sine starts at middle

summer zodiac
tardy pivot
#

I don’t know much about implementing this into scripting

#

But I know some trig

summer zodiac
#

Yeah pretty sure sine starts at 0, cosine starts at 1

safe condor
#

i just searched it up

#

cosine starts at zero

#

or x = 0

summer zodiac
#

Sorry I'm super off topic in this thread.

I'll stop until OP updates me after he tries following the tutorial for the code.

tardy pivot
marsh yoke
random sequoia
bold bolt
summer zodiac
random sequoia
#

Ig try changing ur settings

bold bolt
summer zodiac
bold bolt
#

fr

#

i never knew scripting could be this hard

summer zodiac
# bold bolt i never knew scripting could be this hard

Things would be different if you made this yourself, as you'd probably encounter the issue much earlier in the process, fixing it then rather than needing to debug a script made for different things in a different environment

bold bolt
#

idk how to make scripts im bad at scriptin

#

g

summer zodiac
#

Well now we're at a sort of complex issue that you don't know how to handle because you took something you didn't understand.

Try changing all settings to 0. I want to identify what's happening.

What's the offset of the viewmodel set to

bold bolt
#

i can let u to the roblox studio im in a new game if u want

summer zodiac
bold bolt
#

alr

#

everything at 0

#

if i change the smoothnes to 60 it goes back to glitching

#

i think its just that script is bad or smt

summer zodiac
#

Did you try reducing the smooth to like... 5?

bold bolt
#

u see the pic i just sent

#

that what happens

summer zodiac
bold bolt
#

wym reenable

summer zodiac
bold bolt
#

im not using any first person scrip im in a new place

summer zodiac
bold bolt
#

nope it just makes it less smooth

summer zodiac
bold bolt
#

yea

#

i tried at 100

#

anything over 100 just makes it dissapear

#

and when 0 it freez

summer zodiac
bold bolt
#

alr

#

its just more glitchy

#

and if u lower it its less smooth and 0 frezz

#

welp

#

ig u can't make everything perfect

#

ill just leave it like that and pay somone to make me a new one later

random sequoia
bold bolt
bold bolt
#

can anyone give me a script that makes another part collision off if u touch this part

#

like if i touch a part another part collision becomes off*

summer zodiac
bold bolt
wispy escarpBOT
#

studio** You are now Level 6! **studio

bold bolt
#

yo guys

#

if game:GetService("UserInputService").TouchPan then
local button = script.Parent.Sprint.Mobile
if button then
button.Frame.Visible = false
end
end

#

this script

#

it disables the button for mobile

#

how do i change it to pc

#

like disables button for pc

#

i want to know how to like select the pc players only