#Hopping off the piano and hopping back on makes the piano sound not work

144 messages · Page 1 of 1 (latest)

covert iris
#

So my piano only played music once, and never again in the server. I have tried looping it, but it doesn't seem to work. Here is the PianoScript:

random orchid
#

just set it to true

covert iris
#

what line?

#

@random orchid

random orchid
#

sheetMusic.Sound.Looped = true

random orchid
#

@covert iris

#

does it work?

covert iris
random orchid
#

alr

covert iris
# random orchid alr

sorry for being a dumbass but how does the
sheetMusic.SoundId = tune
sheetMusic.Sound:Play()
line look like after modification?

#

like on allah im a new scripter

random orchid
#
sheetMusic.SoundId = tune
sheetMusic.Sound.Looped = true
sheetMusic.Sound:Play()```
#

im a new scripter too

#

only a month

random orchid
#

?

#

you said it didnt loop and still played at first

covert iris
#

when i sit to play the piano there is no sound

#

even after sitting on it first

random orchid
#

ok remove the looped

covert iris
#

k

random orchid
#

test it to see if it plays

covert iris
#

nope

random orchid
covert iris
#

im actually scared if its copyrighted and roblox removed the sound

random orchid
#

prob not

#

you can test that by adding a different sound

#

any sound id

covert iris
#

i just realized i used the old western template, but were still in the game

#

it still is the issue

random orchid
#

does it give any errors

covert iris
#

nope doesnt print out anything

random orchid
#

you never play the sound when the player sits

#

childadded doesnt have any tune

#

reference

covert iris
#

so how does the script look after the modification?

random orchid
#

i didnt change anything

#

there just seems to be some errors

#

why are you checking if the occupant is not equal to nil

covert iris
#

its the roblox western template piano

#

they checked not me

random orchid
#

alr

covert iris
#

limited picture (till july 2022)

random orchid
#

oh

#

idk then

covert iris
#

u have the rblx assistant in the creator hub

#

ask it

#

or ill do it

random orchid
#

oh ill do it thne

#

then*

covert iris
#

lets just do the same prompt and lets see its response

random orchid
#

i didnt know i could access it

#

whyare you accessing the western template piano 😭

covert iris
#

what prompt should we use

random orchid
#

i dont have it

covert iris
#

thats cuz it was deleted

random orchid
#

oh

#

idk

#

how to access it then

covert iris
#

you still have the guy "Templates" he has western uncopylocked

#

so just do that

random orchid
#

hmm

#

im not sure about uncopylocked games man

#

idw access them

covert iris
#

its literally an official roblox account

random orchid
#

give link

covert iris
#

cant be there atm, i have iftar

random orchid
#

okay

random orchid
#

yeah it works for me

#

after a min or two it's still playing the same thing

#

it stopped and made a "ding" sound then started playing again

#

so it is indeed looped

#

the error is prob on your end

covert iris
random orchid
#

yeah

covert iris
clear nymphBOT
#

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

covert iris
random orchid
covert iris
#

nope i tried to use the script

#

the sound completely stopped working

#

so u might have to use warn(audio didn't load as intended) thing

#

if it doesnt work

random orchid
#

well it did for me

#

idk just copylock it again

#

i tried to help

covert iris
#

I think you use sheetMusic.Sound.SoundId = tune instead of sheetMusic.SoundId = tune

random orchid
#

possibly

#

wait definitely

#

why are you setting the soundid to true

#

💀

covert iris
#

its tune

#

not true

random orchid
#

oh

#

mb

#

uyea it's sheetMusic.Sound.SoundId = tune

covert iris
#

uhh but if i get off the chair it doesnt play.

#

thats the main issue

random orchid
#

oh

#

copy the script from the uncopylocked

#

and paste it into the errored

covert iris
#

im tryna find a fix not import an issue

#

lol

random orchid
#

i cant really judge roblox's code

#

cause it's roblox

random orchid
covert iris
#

idk try to somehow balance the code between playing once the first time then not bug out the second time

random orchid
#

if i were you id make a sound system

#

pretty easy to do

#

dont use roblox default scripts

covert iris
#

that can prob help me

#

ppl like false

random orchid
#

sure

covert iris
#

hes a good guy

random orchid
#

@orchid laurel

#

oops

#

@orchid laurel help this guy

#

he needs help with the audio system that roblox scripted in western template

orchid laurel
#

why hast i been pinged

#

mm

covert iris
#

it has been found in western: roblox studio template

orchid laurel
#

i read it uh

covert iris
orchid laurel
#

why dont you just steal the entire piano from the new one?

#

and put in into it

#

or is it different

covert iris
orchid laurel
#

ah

#

show the script please

covert iris
#

k

#

it is looped

#

but if i hop off and hop back in it doesnt play

#

Hopping off the piano and hopping back on makes the piano sound not work

covert iris
covert iris
#

@orchid laurel