Advertisement
1x11337

Roblox Save Your Tools And Load Your Tools Gui Rainbow Color

Sep 21st, 2018
2,094
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local Gui = Instance.new("ScreenGui")
  5. local SaveToolsLoadTools = Instance.new("Frame")
  6. local saveload = Instance.new("TextLabel")
  7. local save = Instance.new("TextButton")
  8. local load = Instance.new("TextButton")
  9. --Properties:
  10. Gui.Name = "Gui"
  11. Gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  12. Gui.ResetOnSpawn = false
  13.  
  14. SaveToolsLoadTools.Name = "SaveTools/LoadTools"
  15. SaveToolsLoadTools.Parent = Gui
  16. SaveToolsLoadTools.BackgroundColor3 = Color3.new(1, 1, 1)
  17. SaveToolsLoadTools.Position = UDim2.new(0.556769907, 0, 0.0981595069, 0)
  18. SaveToolsLoadTools.Size = UDim2.new(0, 558, 0, 188)
  19. SaveToolsLoadTools.Active = true
  20. SaveToolsLoadTools.Draggable = true
  21.  
  22. saveload.Name = "save/load"
  23. saveload.Parent = SaveToolsLoadTools
  24. saveload.BackgroundColor3 = Color3.new(0.623529, 1, 0.219608)
  25. saveload.BorderColor3 = Color3.new(0.623529, 1, 0.219608)
  26. saveload.Size = UDim2.new(0, 558, 0, 74)
  27. saveload.Font = Enum.Font.Cartoon
  28. saveload.Text = "Save Tools/Load Tools Gui"
  29. saveload.TextColor3 = Color3.new(0, 0, 0)
  30. saveload.TextScaled = true
  31. saveload.TextSize = 14
  32. saveload.TextWrapped = true
  33.  
  34. save.Name = "save"
  35. save.Parent = SaveToolsLoadTools
  36. save.BackgroundColor3 = Color3.new(1, 0.215686, 0.658824)
  37. save.BorderColor3 = Color3.new(1, 0.215686, 0.658824)
  38. save.Position = UDim2.new(0.0591397844, 0, 0.53191489, 0)
  39. save.Size = UDim2.new(0, 225, 0, 50)
  40. save.Font = Enum.Font.Cartoon
  41. save.Text = "Save Tools (Save Your Tools And Load)"
  42. save.TextColor3 = Color3.new(0, 0, 0)
  43. save.TextSize = 14
  44.  
  45. load.Name = "load"
  46. load.Parent = SaveToolsLoadTools
  47. load.BackgroundColor3 = Color3.new(1, 0.658824, 0.184314)
  48. load.BorderColor3 = Color3.new(1, 0.658824, 0.184314)
  49. load.Position = UDim2.new(0.532258034, 0, 0.53191489, 0)
  50. load.Size = UDim2.new(0, 228, 0, 50)
  51. load.Font = Enum.Font.Cartoon
  52. load.Text = "Load Tools (Get Your Tools Back)"
  53. load.TextColor3 = Color3.new(0, 0, 0)
  54. load.TextSize = 14
  55. load.TextWrapped = true
  56. -- Scripts:
  57. function SCRIPT_VTLI76_FAKESCRIPT() -- SaveToolsLoadTools.LocalScript
  58. getfenv().script = Instance.new('LocalScript', SaveToolsLoadTools)
  59.  
  60. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  61.  
  62. counter = 0
  63.  
  64. while wait(0.1)do
  65. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  66.  
  67. counter = counter + 0.01
  68. end
  69.  
  70. end
  71. coroutine.resume(coroutine.create(SCRIPT_VTLI76_FAKESCRIPT))
  72.  
  73. save.MouseButton1Click:connect(function()
  74. for _,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  75. if (v:IsA("Tool")) then
  76. v.Parent = game.Players.LocalPlayer
  77. end
  78. end
  79. end)
  80.  
  81. load.MouseButton1Click:connect(function()
  82. for _,v in pairs(game.Players.LocalPlayer:GetChildren()) do
  83. if (v:IsA("Tool")) then
  84. v.Parent = game.Players.LocalPlayer.Backpack
  85. end
  86. end
  87. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement