recently, ive been trying to create a "psychological horror game" type of stuff because well. maybe i was bored and decided to join in the trend. welll the huge problem is that i have low experience on coding(like only 2 months) and i cant seem to figure out how to create dialogues, do cutscenes, to this simplest thing: which is picking...up an item using e (embarassing, i know). i quite need some help with one simple thing right now like right now(the cutscene and dialogue part are optional to help sincei barely know or did anything about it and ive watched countless tutorials) and the THING i really need help is that i need to make a part that disables background music and plays a sound(thats on loop) but ive tried alot of times buuuttt it wont work how nice (closest thing for it to ever work is that the sound plays but overlaps with background music sooo yeah help maybe i dunno
#I need some help
1 messages · Page 1 of 1 (latest)
i used something like this
TweenService:Create(bgMusic, TweenInfo.new(3), {Volume = 0}):Play()
task.delay(3, function() bgMusic:Stop() end)
--static plays
static:Play()
TweenService:Create(static, TweenInfo.new(3), {Volume = 1}):Play()
theres more but i sorta deleted my old script this is like
the best i could recover i guess
yeah maybe i suck at scripting i dk]