Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 16.18 KB | None | 0 0
  1. -- constants
  2. this = script.Parent
  3. moon = require(game.Players.LocalPlayer.PlayerScripts:WaitForChild("MoonClient"))()
  4.  
  5. -- data
  6. -- waypoint format: { instance, length, style, direction, [repeat, reverse, delay,] async, props }
  7. return {
  8.     Open = {
  9.         function()
  10.             moon.Get(this, "Container1").Visible = true
  11.             moon.Get(this, "PageBlock").Visible = true
  12.         end,
  13.         { moon.Get(this, "Container1"), 0.25, "Sine", "InOut", true, { Size = UDim2.new(1, 0, 1, 0) } },
  14.         { moon.Get(this, "PageBlock"), 0.25, "Sine", "InOut", true, { BackgroundTransparency = 0.05 } },
  15.         { moon.Get(this, "PageBlockFill"), 0.25, "Sine", "InOut", true, { BackgroundTransparency = 0.5 } },
  16.         { moon.Get(this, "Logo"), 0.25, "Sine", "InOut", true, { Position = UDim2.new(0.5, 0, 0.15, 0), ImageTransparency = 0 } },
  17.         { moon.Get(this, "BottomLeft"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0 } },
  18.         { moon.Get(this, "BottomRight"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0 } },
  19.         { moon.Get(this, "BottomShadow"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0.8 } },
  20.         { moon.Get(this, "BottomShadow1"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0.8 } },
  21.         { moon.Get(this, "TopLeft"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0 } },
  22.         { moon.Get(this, "TopRight"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0 } },
  23.         { moon.Get(this, "TopShadow"), 0.25, "Sine", "InOut", true, { ImageTransparency = 0.8 } },
  24.         { moon.Get(this, "TopShadow1"), 0.25, "Sine", "InOut", false, { ImageTransparency = 0.8 } },
  25.         { 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) } },
  26.         { moon.Get(this, "BoxHeader"), 0.1, "Sine", "InOut", 0, true, 0, true, { BackgroundTransparency = 0.6 } },
  27.         { moon.Get(this, "HeaderEffect0"), 0.2, "Quart", "InOut", 0, false, 0, true, { Position = UDim2.new(1, 0, 0, 0), BackgroundTransparency = 1 } },
  28.         { moon.Get(this, "HeaderEffect1"), 0.1, "Sine", "InOut", 0, true, 0, true, { BackgroundTransparency = 0.3 } },
  29.         { moon.Get(this, "HeaderEffect2"), 0.1, "Sine", "InOut", 0, true, 0, true, { BackgroundTransparency = 0.3 } },
  30.         { moon.Get(this, "HeaderEffect3"), 0.1, "Sine", "InOut", 0, true, 0.1, true, { BackgroundTransparency = 0.3 } },
  31.         { moon.Get(this, "HeaderEffect4"), 0.1, "Sine", "InOut", 0, true, 0.1, true, { BackgroundTransparency = 0.3 } },
  32.         { moon.Get(this, "HeaderEffect5"), 0.1, "Sine", "InOut", 0, true, 0.2, true, { BackgroundTransparency = 0.3 } },
  33.         { moon.Get(this, "HeaderEffect6"), 0.1, "Sine", "InOut", 0, true, 0.2, true, { BackgroundTransparency = 0.3 } },
  34.         { moon.Get(this, "HeaderEffect7"), 0.1, "Sine", "InOut", 0, true, 0.3, true, { BackgroundTransparency = 0.3 } },
  35.         { moon.Get(this, "HeaderEffect8"), 0.1, "Sine", "InOut", 0, true, 0.3, false, { BackgroundTransparency = 0.3 } },
  36.         { moon.Get(this, "BoxEffect1"), 0, "Sine", "InOut", false, { BackgroundTransparency = 0.5 } },
  37.         { moon.Get(this, "BoxEffect1"), 0.1, "Sine", "InOut", 0, false, 0, true, { BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 0) } },
  38.         { moon.Get(this, "BoxEffect2"), 0, "Sine", "InOut", false, { BackgroundTransparency = 0.5 } },
  39.         { moon.Get(this, "BoxEffect2"), 0.1, "Sine", "InOut", 0, false, 0.1, true, { BackgroundTransparency = 1, Position = UDim2.new(0, 0, 0, 0) } },
  40.         { moon.Get(this, "BoxEffect3"), 0, "Sine", "InOut", false, { BackgroundTransparency = 0.5 } },
  41.         { moon.Get(this, "BoxEffect3"), 0.1, "Sine", "InOut", 0, false, 0.2, true, { BackgroundTransparency = 1, Position = UDim2.new(0, 0, 1, 0) } },
  42.         { moon.Get(this, "BoxEffect4"), 0, "Sine", "InOut", false, { BackgroundTransparency = 0.5 } },
  43.         { moon.Get(this, "BoxEffect4"), 0.1, "Sine", "InOut", 0, false, 0.3, true, { BackgroundTransparency = 1, Position = UDim2.new(1, 0, 0, 0) } },
  44.         { moon.Get(this, "BoxLeft"), 0.2, "Sine", "InOut", 0, false, 0, true, { ImageTransparency = 0, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  45.         { moon.Get(this, "BoxBorder"), 0.2, "Sine", "InOut", 0, false, 0.1, true, { BackgroundTransparency = 0, BackgroundColor3 = Color3.fromRGB(210, 140, 0) } },
  46.         { moon.Get(this, "BoxRight"), 0.2, "Sine", "InOut", 0, false, 0.15, true, { ImageTransparency = 0, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  47.         { moon.Get(this, "BoxGlow"), 0.2, "Sine", "InOut", 0, false, 0.2, true, { ImageTransparency = 0.95, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  48.         { moon.Get(this, "BoxBg"), 0.2, "Sine", "InOut", 0, false, 0.25, true, { BackgroundTransparency = 0.9 } },
  49.         { moon.Get(this, "SubmitButton"), 0.25, "Sine", "InOut", true, { Position = UDim2.new(0.51, 0, 0.8, 0) } },
  50.         { moon.Get(this, "ButtonLeft"), 0.25, "Sine", "InOut", 0, false, 0, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
  51.         { moon.Get(this, "ButtonBottomBorder"), 0.25, "Sine", "InOut", 0, false, 0.1, true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 0.6 } },
  52.         { moon.Get(this, "ButtonShadow"), 0.25, "Sine", "InOut", 0, false, 0.1, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.8 } },
  53.         { moon.Get(this, "ButtonRight"), 0.25, "Sine", "InOut", 0, false, 0.15, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
  54.         { moon.Get(this, "ButtonFill"), 0.25, "Sine", "InOut", 0, false, 0.2, true, { BackgroundTransparency = 0.5 } },
  55.         { moon.Get(this, "ButtonGradient"), 0.25, "Sine", "InOut", 0, false, 0.2, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.95 } },
  56.         { 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) } },
  57.         { moon.Get(this, "BuyButton"), 0.25, "Sine", "InOut", true, { Position = UDim2.new(0.49, 0, 0.8, 0) } },
  58.         { moon.Get(this, "Button2Left"), 0.25, "Sine", "InOut", 0, false, 0, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
  59.         { moon.Get(this, "Button2BottomBorder"), 0.25, "Sine", "InOut", 0, false, 0.1, true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 0.6 } },
  60.         { moon.Get(this, "Button2Shadow"), 0.25, "Sine", "InOut", 0, false, 0.1, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.8 } },
  61.         { moon.Get(this, "Button2Right"), 0.25, "Sine", "InOut", 0, false, 0.15, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
  62.         { moon.Get(this, "Button2Fill"), 0.25, "Sine", "InOut", 0, false, 0.2, true, { BackgroundTransparency = 0.5 } },
  63.         { moon.Get(this, "Button2Gradient"), 0.25, "Sine", "InOut", 0, false, 0.2, true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.95 } },
  64.         { 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) } },
  65.         { moon.Get(this, "HelpButton"), 0.1, "Linear", "Out", false, { ImageTransparency = 0 } },
  66.         function()
  67.             moon.Get(this, "SubmitButton").Active = true
  68.             moon.Get(this, "BuyButton").Active = true
  69.             moon.Get(this, "BoxInput"):CaptureFocus()
  70.         end
  71.     },
  72.     Close = {
  73.         { moon.Get(this, "BlackOut"), 0.25, "Sine", "InOut", false, { BackgroundTransparency = 0 } },
  74.         function()
  75.             moon.Get(this, "SubmitButton").Active = false
  76.             moon.Get(this, "BuyButton").Active = false
  77.             moon.Get(this, "Container1").Visible = false
  78.         end
  79.     },
  80.     SwapTo = {
  81.         function()
  82.             moon.Get(this, "BuyButton").Active = false
  83.             moon.Get(this, "SubmitButton").Active = false
  84.             moon.Get(this, "BackButton").Active = true
  85.             moon.Get(this, "Container2").Visible = true
  86.         end,
  87.         { moon.Get(this, "HelpButton"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1 } },
  88.         { moon.Get(this, "KeyBox"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.45, 0, 0.5, 0) } },
  89.         { moon.Get(this, "BoxHeader"), 0.5, "Quint", "InOut", true, { TextTransparency = 1 } },
  90.         { moon.Get(this, "BoxLeft"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1 } },
  91.         { moon.Get(this, "BoxBorder"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1 } },
  92.         { moon.Get(this, "BoxRight"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1 } },
  93.         { moon.Get(this, "BoxGlow"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1 } },
  94.         { moon.Get(this, "BoxBg"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1 } },
  95.         { moon.Get(this, "SubmitButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.46, 0, 0.8, 0) } },
  96.         { moon.Get(this, "ButtonLeft"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  97.         { moon.Get(this, "ButtonBottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1, BackgroundColor3 = Color3.fromRGB(210, 140, 0) } },
  98.         { moon.Get(this, "ButtonShadow"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  99.         { moon.Get(this, "ButtonRight"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  100.         { moon.Get(this, "ButtonFill"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1, BackgroundColor3 = Color3.fromRGB(25, 25, 25) } },
  101.         { moon.Get(this, "ButtonGradient"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  102.         { moon.Get(this, "ButtonContent"), 0.5, "Quint", "InOut", true, { TextTransparency = 1, TextColor3 = Color3.fromRGB(210, 140, 0) } },
  103.         { moon.Get(this, "BuyButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.44, 0, 0.8, 0) } },
  104.         { moon.Get(this, "Button2Left"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  105.         { moon.Get(this, "Button2BottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1, BackgroundColor3 = Color3.fromRGB(210, 140, 0) } },
  106.         { moon.Get(this, "Button2Shadow"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  107.         { moon.Get(this, "Button2Right"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  108.         { moon.Get(this, "Button2Fill"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 1, BackgroundColor3 = Color3.fromRGB(25, 25, 25) } },
  109.         { moon.Get(this, "Button2Gradient"), 0.5, "Quint", "InOut", true, { ImageTransparency = 1, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  110.         { moon.Get(this, "Button2Content"), 0.5, "Quint", "InOut", true, { TextTransparency = 1, TextColor3 = Color3.fromRGB(210, 140, 0) } },
  111.         { moon.Get(this, "KeyDescription"), 0.5, "Quint", "InOut", true, { TextTransparency = 0, Position = UDim2.new(0.5, 0, 0.5, 0) } },
  112.         { moon.Get(this, "BackButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.5, 0, 0.82, 0) } },
  113.         { moon.Get(this, "Button3Left"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
  114.         { moon.Get(this, "Button3BottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 0.6 } },
  115.         { moon.Get(this, "Button3Shadow"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.8 } },
  116.         { moon.Get(this, "Button3Right"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
  117.         { moon.Get(this, "Button3Fill"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 0.5 } },
  118.         { moon.Get(this, "Button3Gradient"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.95 } },
  119.         { moon.Get(this, "Button3Content"), 0.5, "Quint", "InOut", false, { TextColor3 = Color3.fromRGB(210, 140, 0), TextTransparency = 0 } }
  120.     },
  121.     SwapBack = {
  122.         function() moon.Get(this, "BackButton").Active = false end,
  123.         { moon.Get(this, "HelpButton"), 0.5, "Quint", "InOut", true, { ImageTransparency = 0 } },
  124.         { moon.Get(this, "KeyDescription"), 0.5, "Quint", "InOut", true, { TextTransparency = 1, Position = UDim2.new(0.55, 0, 0.5, 0) } },
  125.         { moon.Get(this, "KeyBox"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.5, 0, 0.5, 0) } },
  126.         { moon.Get(this, "BoxHeader"), 0.5, "Quint", "InOut", true, { TextTransparency = 1 } },
  127.         { moon.Get(this, "BoxLeft"), 0.5, "Quint", "InOut", 0, false, 0, true, { ImageTransparency = 0, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  128.         { moon.Get(this, "BoxBorder"), 0.5, "Quint", "InOut", 0, false, 0.1, true, { BackgroundTransparency = 0, BackgroundColor3 = Color3.fromRGB(210, 140, 0) } },
  129.         { moon.Get(this, "BoxRight"), 0.5, "Quint", "InOut", 0, false, 0.15, true, { ImageTransparency = 0, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  130.         { moon.Get(this, "BoxGlow"), 0.5, "Quint", "InOut", 0, false, 0.2, true, { ImageTransparency = 0.95, ImageColor3 = Color3.fromRGB(210, 140, 0) } },
  131.         { moon.Get(this, "BoxBg"), 0.5, "Quint", "InOut", 0, false, 0.25, true, { BackgroundTransparency = 0.9 } },
  132.         { moon.Get(this, "SubmitButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.51, 0, 0.8, 0) } },
  133.         { moon.Get(this, "ButtonLeft"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
  134.         { moon.Get(this, "ButtonBottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 0.6 } },
  135.         { moon.Get(this, "ButtonShadow"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.8 } },
  136.         { moon.Get(this, "ButtonRight"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
  137.         { moon.Get(this, "ButtonFill"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 0.5 } },
  138.         { moon.Get(this, "ButtonGradient"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.95 } },
  139.         { moon.Get(this, "ButtonContent"), 0.5, "Quint", "InOut", true, { TextColor3 = Color3.fromRGB(210, 140, 0), TextTransparency = 0 } },
  140.         { moon.Get(this, "BuyButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.49, 0, 0.8, 0) } },
  141.         { moon.Get(this, "Button2Left"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
  142.         { moon.Get(this, "Button2BottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 0.6 } },
  143.         { moon.Get(this, "Button2Shadow"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.8 } },
  144.         { moon.Get(this, "Button2Right"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.6 } },
  145.         { moon.Get(this, "Button2Fill"), 0.5, "Quint", "InOut", true, { BackgroundTransparency = 0.5 } },
  146.         { moon.Get(this, "Button2Gradient"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 0.95 } },
  147.         { moon.Get(this, "Button2Content"), 0.5, "Quint", "InOut", true, { TextColor3 = Color3.fromRGB(210, 140, 0), TextTransparency = 0 } },
  148.         { moon.Get(this, "BackButton"), 0.5, "Quint", "InOut", true, { Position = UDim2.new(0.54, 0, 0.82, 0) } },
  149.         { moon.Get(this, "Button3Left"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 1 } },
  150.         { moon.Get(this, "Button3BottomBorder"), 0.5, "Quint", "InOut", true, { BackgroundColor3 = Color3.fromRGB(210, 140, 0), BackgroundTransparency = 1 } },
  151.         { moon.Get(this, "Button3Shadow"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 1 } },
  152.         { moon.Get(this, "Button3Right"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 1 } },
  153.         { moon.Get(this, "Button3Fill"), 0.5, "Quint", "InOut", true, { BackgroundColor3 = Color3.fromRGB(25, 25, 25), BackgroundTransparency = 1 } },
  154.         { moon.Get(this, "Button3Gradient"), 0.5, "Quint", "InOut", true, { ImageColor3 = Color3.fromRGB(210, 140, 0), ImageTransparency = 1 } },
  155.         { moon.Get(this, "Button3Content"), 0.5, "Quint", "InOut", false, { TextColor3 = Color3.fromRGB(210, 140, 0), TextTransparency = 1 } },
  156.         function()
  157.             moon.Get(this, "BuyButton").Active = true
  158.             moon.Get(this, "SubmitButton").Active = true
  159.             moon.Get(this, "Container2").Visible = false
  160.         end
  161.     }
  162. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement