okay so im reworking my GUI for all scripts to just be inside of one, called “Manager”.
however, whenever i load into the game, all the GUI is invisible - but sounds do play.
what the script below is trying to do is
1st - make logo image visible, then move it to a position out of screen,
2nd - play a sound effect (works), & move logo image to middle of screen,
3rd - move logo image offscreen.
-- Services
local RP = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")
local WorkSpace = game:GetService("Workspace")
local PlayersService = game:GetService("Players")
local GUI = script.Parent
-- Modules
local TweenHelper = require(script.TweenHelper)
-- Values
local IntroFinished = false
-- Sounds
local SoundEffects = WorkSpace.sfx
-- Logo Popup
local LogoImg = GUI.Logo
print("hi")
LogoImg.Visible = true
LogoImg:TweenPosition(TweenHelper.introhiddenpos) -- Hide Image
task.wait(1) -- task.wait For Tween
SoundEffects.TaDa:Play() -- Play Intro Sound
LogoImg:TweenPosition(TweenHelper.introshownpos, Enum.EasingDirection.Out, Enum.EasingStyle.Back, 1.5, false)
task.wait(2)
LogoImg:TweenPosition(TweenHelper.introendpos, Enum.EasingDirection.In, Enum.EasingStyle.Back, 1.5, false)
TweenHelper = true
task.wait(1)
LogoImg.Visible = false
-- Wuntle Pet Manager
local TimesPetText = GUI.serverwuntlepetstext
local TimesPetVal = RP.WuntlePetsVal
while task.wait(0.1) do
TimesPetText.Text = "wuntle pets: "..TimesPetVal.Value
end
currently i’ve only started to script the Logo tweening & updating a textlabel with a value, so anything other than “Logo” & “serverwuntlepetstext” i don’t think would be useful to know,
if anything else is needed - please tell me !!