Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- constants
- this = script.Parent
- moon = require(game.Players.LocalPlayer.PlayerScripts:WaitForChild("MoonClient"))()
- -- data
- -- waypoint format: { instance, length, style, direction, [repeat, reverse, delay,] async, props }
- return {
- Open = {
- function()
- moon.Get(this, "Container1").Visible = true
- moon.Get(this, "PageBlock").Visible = true
- end,
- { moon.Get(this, "Container1"), 0.25, "Sine", "InOut", true, { Size = UDim2.new(1, 0, 1, 0) } },
- { moon.Get(this, "PageBlock"), 0.25, "Sine", "InOut", true, { BackgroundTransparency = 0.05 } },
- { moon.Get(this, "PageBlockFill"), 0.25, "Sine", "InOut", true, { BackgroundTransparency = 0.5 } },
- { moon.Get(this, "Logo"), 0.25, "Sine", "InOut", true, { Position = UDim2.new(0.5, 0, 0.15, 0), ImageTransparency = 0 } },
- { moon.Get(this, "BottomLeft"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0 } },
- { moon.Get(this, "BottomRight"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0 } },
- { moon.Get(this, "BottomShadow"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0.8 } },
- { moon.Get(this, "BottomShadow1"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0.8 } },
- { moon.Get(this, "TopLeft"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0 } },
- { moon.Get(this, "TopRight"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0 } },
- { moon.Get(this, "TopShadow"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0.8 } },
- { moon.Get(this, "TopShadow1"), 0.25, "Sine", "InOut", false, { ImageTransparency = 0.8 } },
- { moon.Get(this, "BoxHeader"), 0.35, "Quart", "Out", true, { Position = UDim2.new(0, 0, -0.25, 0), TextTransparency = 0, TextColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "BoxHeader"), 0.1, "Sine", "InOut", 0, true, 0, true, { BackgroundTransparency = 0.6 } },
- { moon.Get(this, "HeaderEffect0"), 0.2, "Quart", "InOut", 0, false, 0, true, { Position = UDim2.new(1, 0, 0, 0), BackgroundTransparency = 1 } },
- { moon.Get(this, "HeaderEffect1"), 0.1, "Sine", "InOut", 0, true, 0, true, { BackgroundTransparency = 0.3 } },
- { moon.Get(this, "HeaderEffect2"), 0.1, "Sine", "InOut", 0, true, 0, true, { BackgroundTransparency = 0.3 } },
- { moon.Get(this, "HeaderEffect3"), 0.1, "Sine", "InOut", 0, true, 0.1, true, { BackgroundTransparency = 0.3 } },
- { moon.Get(this, "HeaderEffect4"), 0.1, "Sine", "InOut", 0, true, 0.1, true, { BackgroundTransparency = 0.3 } },
- { moon.Get(this, "HeaderEffect5"), 0.1, "Sine", "InOut", 0, true, 0.2, true, { BackgroundTransparency = 0.3 } },
- { moon.Get(this, "HeaderEffect6"), 0.1, "Sine", "InOut", 0, true, 0.2, true, { BackgroundTransparency = 0.3 } },
- { moon.Get(this, "HeaderEffect7"), 0.1, "Sine", "InOut", 0, true, 0.3, true, { BackgroundTransparency = 0.3 } },
- { moon.Get(this, "HeaderEffect8"), 0.1, "Sine", "InOut", 0, true, 0.3, false, { BackgroundTransparency = 0.3 } },
- { moon.Get(this, "BoxEffect1"), 0, "Sine", "InOut", false, { BackgroundTransparency = 0.5 } },
- { moon.Get(this, "BoxEffect1"), 0.1, "Sine", "InOut", 0, false, 0, true, { BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 0) } },
- { moon.Get(this, "BoxEffect2"), 0, "Sine", "InOut", false, { BackgroundTransparency = 0.5 } },
- { moon.Get(this, "BoxEffect2"), 0.1, "Sine", "InOut", 0, false, 0.1, true, { BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 0) } },
- { moon.Get(this, "BoxEffect3"), 0, "Sine", "InOut", false, { BackgroundTransparency = 0.5 } },
- { moon.Get(this, "BoxEffect3"), 0.1, "Sine", "InOut", 0, false, 0.2, true, { BackgroundTransparency = 1, Position = UDim2.new(0, 0, 1, 0) } },
- { moon.Get(this, "BoxEffect4"), 0, "Sine", "InOut", false, { BackgroundTransparency = 0.5 } },
- { moon.Get(this, "BoxEffect4"), 0.1, "Sine", "InOut", 0, false, 0.3, true, { BackgroundTransparency = 1, Position = UDim2.new(1, 0, 0, 0) } },
- { moon.Get(this, "BoxLeft"), 0.2, "Sine", "InOut", 0, false, 0, true, { ImageTransparency = 0, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "BoxBorder"), 0.2, "Sine", "InOut", 0, false, 0.1, true, { BackgroundTransparency = 0, BackgroundColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "BoxRight"), 0.2, "Sine", "InOut", 0, false, 0.15, true, { ImageTransparency = 0, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "BoxGlow"), 0.2, "Sine", "InOut", 0, false, 0.2, true, { ImageTransparency = 0.95, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "BoxBg"), 0.2, "Sine", "InOut", 0, false, 0.25, true, { BackgroundTransparency = 0.9 } },
- { moon.Get(this, "SubmitButton"), 0.25, "Sine", "InOut", true, { Position = UDim2.new(0.51, 0, 0.8, 0) } },
- { moon.Get(this, "ButtonLeft"), 0.25, "Sine", "InOut", 0, false, 0, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
- { moon.Get(this, "ButtonBottomBorder"), 0.25, "Sine", "InOut", 0, false, 0.1, true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 0.6 } },
- { moon.Get(this, "ButtonShadow"), 0.25, "Sine", "InOut", 0, false, 0.1, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.8 } },
- { moon.Get(this, "ButtonRight"), 0.25, "Sine", "InOut", 0, false, 0.15, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
- { moon.Get(this, "ButtonFill"), 0.25, "Sine", "InOut", 0, false, 0.2, true, { BackgroundTransparency = 0.5 } },
- { moon.Get(this, "ButtonGradient"), 0.25, "Sine", "InOut", 0, false, 0.2, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.95 } },
- { moon.Get(this, "ButtonContent"), 0.25, "Sine", "InOut", 0, false, 0.25, true, { TextColor3 = Color3.fromRGB(210, 140, 0), TextTransparency = 0, Position = UDim2.new(0, 0, 0.475, 0) } },
- { moon.Get(this, "BuyButton"), 0.25, "Sine", "InOut", true, { Position = UDim2.new(0.49, 0, 0.8, 0) } },
- { moon.Get(this, "Button2Left"), 0.25, "Sine", "InOut", 0, false, 0, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
- { moon.Get(this, "Button2BottomBorder"), 0.25, "Sine", "InOut", 0, false, 0.1, true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 0.6 } },
- { moon.Get(this, "Button2Shadow"), 0.25, "Sine", "InOut", 0, false, 0.1, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.8 } },
- { moon.Get(this, "Button2Right"), 0.25, "Sine", "InOut", 0, false, 0.15, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
- { moon.Get(this, "Button2Fill"), 0.25, "Sine", "InOut", 0, false, 0.2, true, { BackgroundTransparency = 0.5 } },
- { moon.Get(this, "Button2Gradient"), 0.25, "Sine", "InOut", 0, false, 0.2, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.95 } },
- { moon.Get(this, "Button2Content"), 0.25, "Sine", "InOut", 0, false, 0.25, false, { TextColor3 = Color3.fromRGB(210, 140, 0), TextTransparency = 0, Position = UDim2.new(0, 0, 0.475, 0) } },
- { moon.Get(this, "HelpButton"), 0.1, "Linear", "Out", false, { ImageTransparency = 0 } },
- function()
- moon.Get(this, "SubmitButton").Active = true
- moon.Get(this, "BuyButton").Active = true
- moon.Get(this, "BoxInput"):CaptureFocus()
- end
- },
- Close = {
- { moon.Get(this, "BlackOut"), 0.25, "Sine", "InOut", false, { BackgroundTransparency = 0 } },
- function()
- moon.Get(this, "SubmitButton").Active = false
- moon.Get(this, "BuyButton").Active = false
- moon.Get(this, "Container1").Visible = false
- end
- },
- SwapTo = {
- function()
- moon.Get(this, "BuyButton").Active = false
- moon.Get(this, "SubmitButton").Active = false
- moon.Get(this, "BackButton").Active = true
- moon.Get(this, "Container2").Visible = true
- end,
- { moon.Get(this, "HelpButton"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1 } },
- { moon.Get(this, "KeyBox"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.45, 0, 0.5, 0) } },
- { moon.Get(this, "BoxHeader"), 0.5, "Quint", "InOut", true, { TextTransparency = 1 } },
- { moon.Get(this, "BoxLeft"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1 } },
- { moon.Get(this, "BoxBorder"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1 } },
- { moon.Get(this, "BoxRight"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1 } },
- { moon.Get(this, "BoxGlow"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1 } },
- { moon.Get(this, "BoxBg"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1 } },
- { moon.Get(this, "SubmitButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.46, 0, 0.8, 0) } },
- { moon.Get(this, "ButtonLeft"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "ButtonBottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1, BackgroundColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "ButtonShadow"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "ButtonRight"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "ButtonFill"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1, BackgroundColor3 = Color3.fromRGB(25, 25, 25) } },
- { moon.Get(this, "ButtonGradient"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "ButtonContent"), 0.5, "Quint", "InOut", true, { TextTransparency = 1, TextColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "BuyButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.44, 0, 0.8, 0) } },
- { moon.Get(this, "Button2Left"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "Button2BottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1, BackgroundColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "Button2Shadow"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "Button2Right"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "Button2Fill"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1, BackgroundColor3 = Color3.fromRGB(25, 25, 25) } },
- { moon.Get(this, "Button2Gradient"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "Button2Content"), 0.5, "Quint", "InOut", true, { TextTransparency = 1, TextColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "KeyDescription"), 0.5, "Quint", "InOut", true, { TextTransparency = 0, Position = UDim2.new(0.5, 0, 0.5, 0) } },
- { moon.Get(this, "BackButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.5, 0, 0.82, 0) } },
- { moon.Get(this, "Button3Left"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
- { moon.Get(this, "Button3BottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 0.6 } },
- { moon.Get(this, "Button3Shadow"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.8 } },
- { moon.Get(this, "Button3Right"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
- { moon.Get(this, "Button3Fill"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 0.5 } },
- { moon.Get(this, "Button3Gradient"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.95 } },
- { moon.Get(this, "Button3Content"), 0.5, "Quint", "InOut", false, { TextColor3 = Color3.fromRGB(210, 140, 0), TextTransparency = 0 } }
- },
- SwapBack = {
- function() moon.Get(this, "BackButton").Active = false end,
- { moon.Get(this, "HelpButton"), 0.5, "Quint", "InOut", true, { ImageTransparency = 0 } },
- { moon.Get(this, "KeyDescription"), 0.5, "Quint", "InOut", true, { TextTransparency = 1, Position = UDim2.new(0.55, 0, 0.5, 0) } },
- { moon.Get(this, "KeyBox"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.5, 0, 0.5, 0) } },
- { moon.Get(this, "BoxHeader"), 0.5, "Quint", "InOut", true, { TextTransparency = 1 } },
- { moon.Get(this, "BoxLeft"), 0.5, "Quint", "InOut", 0, false, 0, true, { ImageTransparency = 0, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "BoxBorder"), 0.5, "Quint", "InOut", 0, false, 0.1, true, { BackgroundTransparency = 0, BackgroundColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "BoxRight"), 0.5, "Quint", "InOut", 0, false, 0.15, true, { ImageTransparency = 0, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "BoxGlow"), 0.5, "Quint", "InOut", 0, false, 0.2, true, { ImageTransparency = 0.95, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
- { moon.Get(this, "BoxBg"), 0.5, "Quint", "InOut", 0, false, 0.25, true, { BackgroundTransparency = 0.9 } },
- { moon.Get(this, "SubmitButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.51, 0, 0.8, 0) } },
- { moon.Get(this, "ButtonLeft"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
- { moon.Get(this, "ButtonBottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 0.6 } },
- { moon.Get(this, "ButtonShadow"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.8 } },
- { moon.Get(this, "ButtonRight"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
- { moon.Get(this, "ButtonFill"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 0.5 } },
- { moon.Get(this, "ButtonGradient"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.95 } },
- { moon.Get(this, "ButtonContent"), 0.5, "Quint", "InOut", true, { TextColor3 = Color3.fromRGB(210, 140, 0), TextTransparency = 0 } },
- { moon.Get(this, "BuyButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.49, 0, 0.8, 0) } },
- { moon.Get(this, "Button2Left"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
- { moon.Get(this, "Button2BottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 0.6 } },
- { moon.Get(this, "Button2Shadow"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.8 } },
- { moon.Get(this, "Button2Right"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
- { moon.Get(this, "Button2Fill"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 0.5 } },
- { moon.Get(this, "Button2Gradient"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.95 } },
- { moon.Get(this, "Button2Content"), 0.5, "Quint", "InOut", true, { TextColor3 = Color3.fromRGB(210, 140, 0), TextTransparency = 0 } },
- { moon.Get(this, "BackButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.54, 0, 0.82, 0) } },
- { moon.Get(this, "Button3Left"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 1 } },
- { moon.Get(this, "Button3BottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 1 } },
- { moon.Get(this, "Button3Shadow"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 1 } },
- { moon.Get(this, "Button3Right"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 1 } },
- { moon.Get(this, "Button3Fill"), 0.5, "Quint", "InOut", true, { BackgroundColor3 = Color3.fromRGB(25, 25, 25), BackgroundTransparency = 1 } },
- { moon.Get(this, "Button3Gradient"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 1 } },
- { moon.Get(this, "Button3Content"), 0.5, "Quint", "InOut", false, { TextColor3 = Color3.fromRGB(210, 140, 0), TextTransparency = 1 } },
- function()
- moon.Get(this, "BuyButton").Active = true
- moon.Get(this, "SubmitButton").Active = true
- moon.Get(this, "Container2").Visible = false
- end
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement