-
What do you want to achieve? Keep it simple and clear!
Im tryna add a script too make an asset id of an image fade in and out with the duration of an audio asset id, btw dont mind the text thingy that appears. its this model im using ze model -
What is the issue? Include screenshots / videos if possible!
btw ima add an audio also that im tryna use and i already posted it xd
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
no solutions sadly
btw heres the current code:
local Libraries = game:GetService("ReplicatedStorage"):WaitForChild("Libraries")
local LocationModule = require(Libraries:WaitForChild("LocationTitle")) -- Call the module
local ClickDetector = workspace:WaitForChild("Button"):WaitForChild("ClickDetector")
ClickDetector.MouseClick:Connect(function()
LocationModule:Init({ -- Set the settings
TweenLengthOther = 2,
TweenLengthText = 1,
SongId = "rbxassetid://17409246106",
Volume = 5
})
LocationModule:Play("Welcome, i hope you dont have a good time!") -- Play the location title + setting what the text will be
end)
i just need too edit the script, but idk how xd. And ill add it too the button part for the click detector, just need too make the audio play and image fades in and out like the audios time!
ty in advance!