Advertisement
Guest User

Hd admin roblox

a guest
Nov 12th, 2024
2,484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.30 KB | None | 0 0
  1. -
  2. Download Here --> https://tinyurl.com/589dan33 (Copy and Paste Link)
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. 1ForeverHD/HDAdminV2
  10. This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
  11. Name already in use
  12. A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
  13. Sign In Required
  14. Please sign in to use Codespaces.
  15. Launching GitHub Desktop
  16. If nothing happens, download GitHub Desktop and try again.
  17. Launching GitHub Desktop
  18. If nothing happens, download GitHub Desktop and try again.
  19. Launching Xcode
  20. If nothing happens, download Xcode and try again.
  21. Launching Visual Studio Code
  22. Your codespace will open once ready.
  23. There was a problem preparing your codespace, please try again.
  24. Latest commit
  25. Git stats
  26. Files
  27. Failed to load latest commit information.
  28. README.md
  29. Important update 2021
  30. This repository does not reflect the latest code from HD Admin, you can find that instead at the MainModule.
  31. HD Admin was a passion project I began working on all the way back in 2016, almost 5 years ago now. It’s been overwhelming to see the positive reception and uptake of the application, however to say it was outdated would be a slight understatement.
  32. While I still provide regular bug-fixes/patches for HD Admin, you may have noticed we haven’t added new features or commands for a few years now. This is because over the last 2 years we’ve been working towards a new administration system to release 2021 - Nanoblox. You can follow our progress at github.com/nanoblox.
  33. HD Admin is an open-source admin application for the Roblox platform. It is comprised of an extensive range of features and commands designed to enhance games for both player and developer.
  34. local hdMain = require(game:GetService("ReplicatedStorage"):WaitForChild("HDAdminSetup")):GetMain() local hd = hdMain:GetModule("API")
  35.  
  36. player - the player instance (e.g. local player = game:GetService("Players").ForeverHD )
  37. rank - the rankId or rankName (e.g. 1 or "VIP")
  38. rankType - determines the duration the player keeps their rank for:
  39. "Perm" - for all servers for an infinite period of time
  40. "Server" - for the server the rank is given in until the server ends
  41. "Temp" - for the server the rank is given in until the player leaves
  42.  
  43. hd:SetRank(player, rank, rankType)
  44. Sets the Rank and RankType for the specified player. Example: hd:SetRank(player, "Mod", "Perm")
  45. Sets the Rank to 0 (NonAdmin) and clears the RankType for the specified player. Example: hd:UnRank(player)
  46. Returns the rankId, rankName and rankType for the specified player. Example: local rankId, rankName, rankType = hd:GetRank(player)
  47. Disables the ability to use commands for the specified player when set to true. Example: hd:DisableCommands(player, true)
  48. Sets the transparency of the HD Topbar. Example: hd:SetTopbarTransparency(0.5)
  49. Hides and disables the HD Topbar when set to false. Example: hd:SetTopbarEnabled(false)
  50. Returns the corresponding rankName from the given rankId. Example: local rankName = hd:GetRankName(1)
  51. Returns the corresponding rankId from the given rankName. Example: local rankId = hd:GetRankId("VIP")
  52. Displays a notification to the specified player. If used on the client, 'player' must be the LocalPlayer. Example: `hd:Notice(player, "Hello world!")'
  53. Displays an error notification to the specified player. If used on the client, 'player' must be the LocalPlayer.. Example: hd:Error(player, "Error!")
  54. --In a Local Script local hdMain = require(game:GetService("ReplicatedStorage"):WaitForChild("HDAdminSetup")):GetMain() local hd = hdMain:GetModule("API") hd:SetTopbarTransparency(1)
  55. --In a Server Script --Retrieve API local hdMain = require(game:GetService("ReplicatedStorage"):WaitForChild("HDAdminSetup")):GetMain() local hd = hdMain:GetModule("API") --Define the rank-to-reward and setup the corresponding rankId and rankName local rank = "Mod" local rankType = "Server" local rankId = tonumber(rank) or hd:GetRankId(rank) local rankName = hd:GetRankName(rankId) --Define debounce local touchDe = --Touch event ('touchPart' is the part players have to step on to receive the rank) touchPart.Touched:Connect(function(hit) --Check for character and player local character = hit.Parent local player = game:GetService("Players"):GetPlayerFromCharacter(character) if player and not touchDe[player] then --Setup debounce for player touchDe[player] = true --Check rank is lower than giver rank local plrRankId, plrRankName, plrRankType = hd:GetRank(player) if plrRankId rankId then --Give rank hd:SetRank(player, rankId, rankType) else --Error message local errorMessage = "Your rank is already higher than '"..rankName.."'!" if plrRankId == rankId then errorMessage = "You've already been ranked to '"..rankName.."'!" end hd:Error(player, errorMessage) end wait(1) --End debounce touchDe[player] = false end end)
  56. You can take a completed copy here.
  57. Roblox HD Admin Script!
  58. SplitKey = " "; -- The character inbetween command arguments (e.g. setting it to '/' would change ';jump me' to ';jump/me').
  59. BatchKey = ""; -- The character inbetween batch commands (e.g. setting it to '|' would change ';jump me ;fire me ;smoke me' to ';jump me | ;fire me | ;smoke me'
  60. QualifierBatchKey = ","; -- The character used to split up qualifiers (e.g. ;jump player1,player2,player3)
  61. WelcomeBadgeId = 0; -- Award new players a badge, such as 'Welcome to the game!'. Set to 0 for no badge.
  62. CommandDebounce = true; -- Wait until the command effect is over to use again. Helps to limit abuse & lag. Set to 'false' to disable.
  63. SaveRank = true; -- Saves a player's rank in the server they received it. (e.g. ;rank plrName rank). Use ';permRank plrName rank' to permanently save a rank. Set to 'false' to disable.
  64. MusicList = ; -- Songs which automatically appear in a user's radio. Type '!radio' to display the radio.
  65. ChatColors =
  66. OnlyShowUsableCommands = false; -- Only display commands equal to or below the user's rank on the Commands page.
  67. RankRequiredToViewRankType =
  68. WelcomeRankNotice = true; -- The 'You're a [rankName]' notice that appears when you join the game. Set to false to disable.
  69. WelcomeDonorNotice = true; -- The 'You're a Donor' notice that appears when you join the game. Set to false to disable.
  70. WarnIncorrectPrefix = true; -- Warn the user if using the wrong prefix | "Invalid prefix! Try using [correctPrefix][commandName] instead!"
  71. ScaleLimit = 4; -- The maximum size players with a rank lower than 'IgnoreScaleLimit' can scale theirself. For example, players will be limited to ;size me 4 (if limit is 4) - any number above is blocked.
  72. CommandLimits =
  73. Roblox HD Admin Script!
  74. SplitKey = " "; -- The character inbetween command arguments (e.g. setting it to '/' would change ';jump me' to ';jump/me').
  75. BatchKey = ""; -- The character inbetween batch commands (e.g. setting it to '|' would change ';jump me ;fire me ;smoke me' to ';jump me | ;fire me | ;smoke me'
  76. QualifierBatchKey = ","; -- The character used to split up qualifiers (e.g. ;jump player1,player2,player3)
  77. WelcomeBadgeId = 0; -- Award new players a badge, such as 'Welcome to the game!'. Set to 0 for no badge.
  78. CommandDebounce = true; -- Wait until the command effect is over to use again. Helps to limit abuse & lag. Set to 'false' to disable.
  79. SaveRank = true; -- Saves a player's rank in the server they received it. (e.g. ;rank plrName rank). Use ';permRank plrName rank' to permanently save a rank. Set to 'false' to disable.
  80. MusicList = ; -- Songs which automatically appear in a user's radio. Type '!radio' to display the radio.
  81. ChatColors =
  82. OnlyShowUsableCommands = false; -- Only display commands equal to or below the user's rank on the Commands page.
  83. RankRequiredToViewRankType =
  84. WelcomeRankNotice = true; -- The 'You're a [rankName]' notice that appears when you join the game. Set to false to disable.
  85. WelcomeDonorNotice = true; -- The 'You're a Donor' notice that appears when you join the game. Set to false to disable.
  86. WarnIncorrectPrefix = true; -- Warn the user if using the wrong prefix | "Invalid prefix! Try using [correctPrefix][commandName] instead!"
  87. ScaleLimit = 4; -- The maximum size players with a rank lower than 'IgnoreScaleLimit' can scale theirself. For example, players will be limited to ;size me 4 (if limit is 4) - any number above is blocked.
  88. CommandLimits =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement