![]() ![]() Local change = ColorSilent:Lerp(ColorLoud,difference)īutton.MouseButton1Click:Connect(function()īutton.BackgroundColor3 = omRGB(50,50,50)įloor. Local difference = (sound.PlaybackLoudness / 2.2) - lastSoundLevelĭifference = math.clamp(difference,0.62,1) Local lastSoundLevel = sound.PlaybackLoudnessīutton.BackgroundColor3 = omRGB(90,90,90) Local button = plr.PlayerGui:WaitForChild("Settings"):WaitForChild("GUI"):WaitForChild("panels"):WaitForChild("ScrollingFrame"):WaitForChild("Visualizers"):WaitForChild("Club Floor"):WaitForChild("button") Local floor = parts:WaitForChild("Club Floor") Local parts = workspace:WaitForChild("parts") (Focus on the renderstepped function and not the last one as that is for something else). Moved the script to starterscripts instead. Humanoid.Died, is the died referring to the variable or event foxnoobkite6 nope, theres no error eitherstrange hopeshusbvnd7 change your variable to DiedEvent or anything else because it confuses the script, making it think you want to use the variable and not the Died variable of humanoid. What I’m trying to achieve, is that after a player dies or resets, the function that visualizes the club floor, reconnects. The issue is, is that the function disconnects after the player has resetted or died. ![]() Hi there, I have a club floor that changes color of the music’s loudness. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |