Advertisement
4zx16

SS Loader (GUI)

Sep 7th, 2024
1,116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.54 KB | None | 0 0
  1. --[[
  2.  || ?? AUTHOR: @4zx16 || SS Loader
  3. ]]
  4. local PhysicalProperties = {
  5.     Interface = script.Parent.Parent.Parent.SS;
  6.     UI = script.Parent.Parent.UI;
  7. }
  8. local settings = {
  9.     Active = true;
  10.     Draggable = true;
  11.     Reset_On_Spawn = false;
  12.     IgnoreGuiInset = true;
  13.     Cooldown = 3;
  14. }
  15. --[[
  16. ---------------------------------------------------------------------
  17.                    CHANGES TO FALSE ON SS LOAD:
  18. ----------------------------------------------------------------------
  19. --]]
  20. PhysicalProperties.UI.Visible = false
  21. print("(??) ".. PhysicalProperties.UI.Name.." is Loading!...")
  22. wait(settings.Cooldown)
  23. --[[
  24. ---------------------------------------------------------------------
  25.                    CHANGES FRAME PROPERTIES:
  26. ----------------------------------------------------------------------
  27. --]]
  28. PhysicalProperties.UI.Active = settings.Active
  29. PhysicalProperties.UI.Draggable = settings.Draggable
  30. --[[
  31. ---------------------------------------------------------------------
  32.                   CHANGES UI GUI PROPERTIES:
  33. ----------------------------------------------------------------------
  34. --]]
  35. PhysicalProperties.Interface.ResetOnSpawn = settings.Reset_On_Spawn
  36. PhysicalProperties.Interface.IgnoreGuiInset = settings.IgnoreGuiInset
  37. --[[
  38. ---------------------------------------------------------------------
  39.                    LOADING WAS FINISHED:
  40. ----------------------------------------------------------------------
  41. --]]
  42. print("(??) ".. PhysicalProperties.UI.Name.." is Loaded!...")
  43. PhysicalProperties.UI.Visible = true
  44. script:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement