Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save TheEpicFace007/8c21458537ad3d3dcdb8bbfa8c66ce2c to your computer and use it in GitHub Desktop.
Save TheEpicFace007/8c21458537ad3d3dcdb8bbfa8c66ce2c to your computer and use it in GitHub Desktop.
Decompilation of the UI Transition module.
--[[
input function was flagged as potentially incompatible.
please private message a developer for support.
]]
local v1 = {}
local function Fade_1(v4, v5, v6)
v5.Position = UDim2.new(0, 0, 0, 0)
v5.Size = UDim2.new(1, 0, 1, 0)
local v18 = 1
local v27 = 0
local v19 = -0.1
for v18 = v18, v27, v19 do
local v20 = wait
local v21 = 0.01
v20(v21)
v5.BackgroundTransparency = v18
end
v27 = wait
v19 = v6
v27(v19)
for v18 = 0, 1, 0.1 do
local v24 = wait
local v25 = 0.001
v24(v25)
v5.BackgroundTransparency = v18
end
end
v1.Fade = Fade_1
local function LeftSlideFade_1(v30, v31, v32, v33)
local v34 = 1
local v35 = 0
local v36 = -0.1
for v34 = v34, v35, v36 do
local v37 = wait
local v38 = 0.01
v37(v38)
v31.BackgroundTransparency = v34
end
v35 = wait
v36 = 2
v35(v36)
v31:TweenPosition(UDim2.new(-1, 0, 0, 0), Enum.EasingDirection.In, v33, v32)
wait(v32)
v31.BackgroundTransparency = 1
v31:TweenPosition(UDim2.new(0, 0, 0, 0))
end
v1.LeftSlideFade = LeftSlideFade_1
local function RightSlideFade_1(v58, v59, v60, v61)
local v62 = 1
local v63 = 0
local v64 = -0.1
for v62 = v62, v63, v64 do
local v65 = wait
local v66 = 0.01
v65(v66)
v59.BackgroundTransparency = v62
end
v63 = wait
v64 = 2
v63(v64)
v59:TweenPosition(UDim2.new(1, 0, 0, 0), Enum.EasingDirection.Out, v61, v60)
wait(v60)
v59.BackgroundTransparency = 1
v59:TweenPosition(UDim2.new(0, 0, 0, 0))
end
v1.RightSlideFade = RightSlideFade_1
local function CircleFade_1(v86, v87, v88)
wait(0.4)
v87.ImageTransparency = 0
v87:TweenSizeAndPosition(UDim2.new(1.448, 0, 2.693, 0), UDim2.new(-0.224, 0, -0.846, 0))
wait(v88)
v87:TweenSizeAndPosition(UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, 0.5, 0))
wait(1)
v87.ImageTransparency = 1
end
v1.CircleFade = CircleFade_1
local function RightToLeftFade_1(v121, v122, v123, v124)
v122.Position = UDim2.new(1, 0, 0, 0)
v122.BackgroundTransparency = 0
v122:TweenPosition(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.In, v124)
wait(v123)
v122:TweenPosition(UDim2.new(-1, 0, 0, 0), Enum.EasingDirection.In, v124)
wait(1)
v122.BackgroundTransparency = 1
v122.Position = UDim2.new(0, 0, 0, 0)
end
v1.RightToLeftFade = RightToLeftFade_1
local function LeftToRightFade_1(v161, v162, v163, v164)
v162.Position = UDim2.new(-1, 0, 0, 0)
v162.BackgroundTransparency = 0
v162:TweenPosition(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.In, v164)
wait(v163)
v162:TweenPosition(UDim2.new(1, 0, 0, 0), Enum.EasingDirection.In, v164)
wait(1)
v162.BackgroundTransparency = 1
v162.Position = UDim2.new(0, 0, 0, 0)
end
v1.LeftToRightFade = LeftToRightFade_1
local function ScreenToScreenFade_1(v201, v202, v203, v204, v205)
local v206 = 1
local v207 = 0
local v208 = -0.1
for v206 = v206, v207, v208 do
local v209 = wait
local v210 = 0.01
v209(v210)
v202.BackgroundTransparency = v206
end
v207 = false
v203.Enabled = v207
v208 = "DD"
print(v208)
wait(v205)
v204.Enabled = true
for v206 = 0, 1, 0.1 do
local v215 = wait
local v216 = 0.001
v215(v216)
v202.BackgroundTransparency = v206
end
end
v1.ScreenToScreenFade = ScreenToScreenFade_1
local function DropDownFade_1(v221, v222, v223)
v222.Size = UDim2.new(0, 0, 0, 0)
v222.Position = UDim2.new(0.5, 0.5, 0.5, 0.5)
v222.BackgroundTransparency = 0
v222:TweenSizeAndPosition(UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0))
wait(v223)
v222:TweenPosition(UDim2.new(0, 0, 1, 0), Enum.EasingDirection.In, Enum.EasingStyle.Quad)
wait(1)
v222.BackgroundTransparency = 1
v222.Position = UDim2.new(0, 0, 0, 0)
end
v1.DropDownFade = DropDownFade_1
return v1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment