Advertisement
Mil_Dev

Untitled

Nov 17th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.81 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Rainbow = Instance.new("Frame")
  8. local closeperm = Instance.new("TextButton")
  9. local ImageLabel = Instance.new("ImageLabel")
  10. local TextLabel = Instance.new("TextLabel")
  11. local Frame = Instance.new("Frame")
  12. local Frame_2 = Instance.new("Frame")
  13. local Frame_3 = Instance.new("Frame")
  14. local Frame_4 = Instance.new("Frame")
  15. local Frame_5 = Instance.new("Frame")
  16. local Frame_6 = Instance.new("Frame")
  17.  
  18. --Properties:
  19.  
  20. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  21. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  22.  
  23. Rainbow.Name = "Rainbow"
  24. Rainbow.Parent = ScreenGui
  25. Rainbow.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  26. Rainbow.Position = UDim2.new(0.403935224, 0, 0.314381301, 0)
  27. Rainbow.Size = UDim2.new(0, 188, 0, 255)
  28. Rainbow.Active = true
  29. Rainbow.Draggable = true
  30.  
  31. closeperm.Name = "close perm"
  32. closeperm.Parent = Rainbow
  33. closeperm.BackgroundColor3 = Color3.new(1, 1, 1)
  34. closeperm.BackgroundTransparency = 1
  35. closeperm.Position = UDim2.new(0.769875824, 0, -0.029458588, 0)
  36. closeperm.Size = UDim2.new(0.289435595, 0, 0.166666672, 0)
  37. closeperm.Font = Enum.Font.SourceSansBold
  38. closeperm.Text = "X"
  39. closeperm.TextColor3 = Color3.new(1, 1, 1)
  40. closeperm.TextScaled = true
  41. closeperm.TextSize = 14
  42. closeperm.TextWrapped = true
  43.  
  44. ImageLabel.Parent = Rainbow
  45. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  46. ImageLabel.BackgroundTransparency = 1
  47. ImageLabel.BorderSizePixel = 0
  48. ImageLabel.Size = UDim2.new(0, 26, 0, 29)
  49. ImageLabel.Image = "rbxgameasset://Images/image0"
  50.  
  51. TextLabel.Parent = Rainbow
  52. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  53. TextLabel.BackgroundTransparency = 1
  54. TextLabel.BorderSizePixel = 0
  55. TextLabel.Position = UDim2.new(-0.0319148935, 0, -0.0313725509, 0)
  56. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  57. TextLabel.Font = Enum.Font.GothamSemibold
  58. TextLabel.Text = "Ios X Rainbow Gui"
  59. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  60. TextLabel.TextSize = 14
  61.  
  62. Frame.Parent = Rainbow
  63. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  64. Frame.Position = UDim2.new(0.0691489354, 0, 0.164705887, 0)
  65. Frame.Size = UDim2.new(0, 69, 0, 26)
  66.  
  67. Frame_2.Parent = Rainbow
  68. Frame_2.BackgroundColor3 = Color3.new(1, 1, 1)
  69. Frame_2.Position = UDim2.new(0.537234068, 0, 0.164705887, 0)
  70. Frame_2.Size = UDim2.new(0, 69, 0, 26)
  71.  
  72. Frame_3.Parent = Rainbow
  73. Frame_3.BackgroundColor3 = Color3.new(1, 1, 1)
  74. Frame_3.Position = UDim2.new(0.537234068, 0, 0.309803933, 0)
  75. Frame_3.Size = UDim2.new(0, 69, 0, 26)
  76.  
  77. Frame_4.Parent = Rainbow
  78. Frame_4.BackgroundColor3 = Color3.new(1, 1, 1)
  79. Frame_4.Position = UDim2.new(0.0691489354, 0, 0.309803933, 0)
  80. Frame_4.Size = UDim2.new(0, 69, 0, 26)
  81.  
  82. Frame_5.Parent = Rainbow
  83. Frame_5.BackgroundColor3 = Color3.new(1, 1, 1)
  84. Frame_5.Position = UDim2.new(0.537234068, 0, 0.447058856, 0)
  85. Frame_5.Size = UDim2.new(0, 69, 0, 26)
  86.  
  87. Frame_6.Parent = Rainbow
  88. Frame_6.BackgroundColor3 = Color3.new(1, 1, 1)
  89. Frame_6.Position = UDim2.new(0.0691489354, 0, 0.447058856, 0)
  90. Frame_6.Size = UDim2.new(0, 69, 0, 26)
  91.  
  92. -- Scripts:
  93.  
  94. local function SZFTT_fake_script() -- closeperm.LocalScript
  95. local script = Instance.new('LocalScript', closeperm)
  96.  
  97. script.Parent.MouseButton1Click:Connect(function()
  98. script.Parent.Parent.Visible = false
  99. end)
  100. end
  101. coroutine.wrap(SZFTT_fake_script)()
  102. local function MZEDQW_fake_script() -- closeperm.LocalScript
  103. local script = Instance.new('LocalScript', closeperm)
  104.  
  105. while true do
  106. for a = 1,360,1 do wait(.01)
  107. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  108. end
  109. end
  110. end
  111. coroutine.wrap(MZEDQW_fake_script)()
  112. local function TZUSN_fake_script() -- Frame.LocalScript
  113. local script = Instance.new('LocalScript', Frame)
  114.  
  115. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  116.  
  117. counter = 0
  118.  
  119. while wait(0.1)do
  120. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  121.  
  122. counter = counter + 0.01
  123. end
  124. end
  125. coroutine.wrap(TZUSN_fake_script)()
  126. local function ZVSQ_fake_script() -- Frame_2.LocalScript
  127. local script = Instance.new('LocalScript', Frame_2)
  128.  
  129. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  130.  
  131. counter = 0
  132.  
  133. while wait(0.1)do
  134. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  135.  
  136. counter = counter + 0.01
  137. end
  138. end
  139. coroutine.wrap(ZVSQ_fake_script)()
  140. local function NFVAJ_fake_script() -- Frame_3.LocalScript
  141. local script = Instance.new('LocalScript', Frame_3)
  142.  
  143. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  144.  
  145. counter = 0
  146.  
  147. while wait(0.1)do
  148. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  149.  
  150. counter = counter + 0.01
  151. end
  152. end
  153. coroutine.wrap(NFVAJ_fake_script)()
  154. local function NFIAKFO_fake_script() -- Frame_4.LocalScript
  155. local script = Instance.new('LocalScript', Frame_4)
  156.  
  157. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  158.  
  159. counter = 0
  160.  
  161. while wait(0.1)do
  162. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  163.  
  164. counter = counter + 0.01
  165. end
  166. end
  167. coroutine.wrap(NFIAKFO_fake_script)()
  168. local function UJRN_fake_script() -- Frame_5.LocalScript
  169. local script = Instance.new('LocalScript', Frame_5)
  170.  
  171. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  172.  
  173. counter = 0
  174.  
  175. while wait(0.1)do
  176. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  177.  
  178. counter = counter + 0.01
  179. end
  180. end
  181. coroutine.wrap(UJRN_fake_script)()
  182. local function VWQAMHQ_fake_script() -- Frame_6.LocalScript
  183. local script = Instance.new('LocalScript', Frame_6)
  184.  
  185. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  186.  
  187. counter = 0
  188.  
  189. while wait(0.1)do
  190. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  191.  
  192. counter = counter + 0.01
  193. end
  194. end
  195. coroutine.wrap(VWQAMHQ_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement