#how to make a ui only show up when in first person

1 messages · Page 1 of 1 (latest)

willow axle
#

i want the gui to only show up when i go in first person

warm cloak
#

Probably check if the player camera mode is in first person

#

And then enable the gui

small harbor
small harbor
warm cloak
#

What about checking the camera zoom?

willow axle
small harbor
#

how new are you to scripting?

willow axle
#

I’m pretty new I’m not making anything from scratch it’s just stuff I’ve bought over time and I’m making something

willow axle
#

Idk how to use studio and stuff obv I just don’t know anything to do with gui

small harbor
#

idk how to explain it in beginner terms, that is how you would really code it

#

using those same terms

willow axle
#

I’m what c frames are

green cradleBOT
#

studio** You are now Level 1! **studio

warm cloak
#

Bro, can't he just check the camera zoom?

willow axle
#

Know

small harbor
warm cloak
willow axle
#

Can’t I just make it so if I’m in first person it enables it

small harbor
warm cloak
#

I have seen first person scripts doing that

small harbor
#

they change the camera mode

#

when u zoom in like ingame, it doesnt change it

#

it jus changes the cframe

small harbor
willow axle
#

like if zoomdistance < 0.6

small harbor
#

i think there is no other way you can do it

small harbor
#

the camera magnitude to the head would basically be that tho

willow axle
#

What do u mean by camera magnitude

small harbor
#

p1 is camera, p2 is head

warm cloak
#

Or idk check all the character's part it's local transparency?

small harbor
small harbor
willow axle
small harbor
warm cloak
small harbor
willow axle
#

Should I just put it in a normal script inside my screengui

#

Or a local script

willow axle
#

Alright

warm cloak
#

Scripts are not meant to work in those place where something happens only to one player (the client)

#

Only local scripts.

willow axle
#

Ah okay

#

How do I learn how to script stuff like this cuz I know how to like call functions, variables and everything I just don’t know how to apply it to make something

small harbor
#

prob js script a lotta diff stuff to learn different applications, thats what i do

willow axle
#

What do I script though

small harbor
#

for example i script plugins, fixes for games, all of that

willow axle
#

Yeah but like I know all the things right but how do i start the process if I have an idea of what I want it to do like how would I start it you know what I mean

small harbor
willow axle
#

What does the framework do

#

And usually I just try use ai to make stuff for me because I don’t know what to do though I know all the coding things but ai is buns for scripting so I give up on it

small harbor
willow axle
small harbor
willow axle
small harbor