it is still not showing the notification gui tho
local player = game.Players.LocalPlayer
local tween = game:GetService("TweenService")
local Check = game.ReplicatedStorage.Events:WaitForChild("Check")
local PlayCoinsSound = game.ReplicatedStorage.Events:WaitForChild("PlayCoinsSound")
local ReceivedCoinsSound = game.ReplicatedStorage.SoundModule:WaitForChild("ReceivedCoinsSound")
local Frame = script.Parent:WaitForChild("Frame")
local Notifier = script.Parent.Frame:WaitForChild("TextLabel")
local OwnerUserId = 1533601134
local RunTime = 10
local C = Frame.UIGradient.Rotation
local X = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, -1 ,false, 0.1)
local G = {Rotation = C + 360}
local P = tween:Create(Frame.UIGradient, X, G)
P:Play()
PlayCoinsSound.OnClientEvent:Connect(function()
ReceivedCoinsSound:Play()
end)
Check.OnClientEvent:Connect(function()
Notifier.Text = "Congratulations you met a creator and you received a bonus of 10,000 Coins!"
print("Showing Notification")
local H = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, false, 0)
local W = {BackgroundTransparency = 0, TextTransparency = 0}
local M = tween:Create(Notifier, H, W)
M:Play()
local T = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 0, false, 0)
local E = {BackgroundTransparency = 0}
local S = tween:Create(Frame, T, E)
S:Play()
task.wait(RunTime)
print("Making Notifier Disappear")
local A = TweenInfo.new(.8, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, false, 0)
local O = {BackgroundTransparency = 1, TextTransparency = 1}
local B = tween:Create(Notifier, A, O)
B:Play()
local F = TweenInfo.new(.8, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, false, 0)
local L = {BackgroundTransparency = 1}
local J = tween:Create(Frame, F, L)
J:Play()
end)