Help and Feedback Scripting Support Show
Hi, I’m Blame. I have one goal, and thats to give a player HD Admin mod rank on touch of a part in workspace, the issue is, I don’t know how to do this. I know you need to use :Touched for this but I don’t know how to grant the admin. If you could help or give an basic overview on this that’d be great! Thanks!
I would Recommand Looking on the HD Admin API GitHubThe source code behind V2. This is no longer maintained - visit V3 to view and contribute to the most up-to-date source code: https://github.com/1ForeverHD/HDAdmin - GitHub - 1ForeverHD/HDAdminV2: ...
Or using HD Admin Touched Script --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)Or grabbing Their Ready Touch pad 2 Likes
19 Likes
This topic was automatically closed after 1 minute. New replies are no longer allowed.
About Press Copyright Contact us Creators Advertise Developers Terms Privacy Policy & Safety How YouTube works Test new features Press Copyright Contact us Creators … If this answer doesn't give you enough information, click here to see the full answer. There are other answers below: Want to know how to add admin commands in your Roblox game? In this video, I show you how to add HD admin to your Roblox game and in the rest of this series … How do I give someone admin commands? Invite the people you want to give admin command access to. Use the on-screen options to grant the players the admin position. Just click on the Player or Players you want and then click on the “Add Admin” dialog button, their names will be transfered to the administrator list. Is cheating in Roblox illegal? Steps for How To Put Admin In Your Roblox Game Open up the Roblox library and navigate to HD Admin. You can also use other admins like Adonis and Kuros But Toady We are using HD Admin for adding commands because it’s open-source and the most up-to-date admin pannel. Just Take a copy of the model by clicking the green Get button. Go into “Settings” and go to line 37 or look for “FreeAdmin” and set it to the designated admin power you want. 1 is VIP, 2 is Mod, 3 is Admin, 4 is Super Admin, 5 is Owner, and 6 is Game Creator. Thanks! How to use Commands in ROBLOX? First, make sure you have access to the Admin commands by entering the chat box (by pressing the “/“ key) and then entering “;cmd” (without quotation marks) and… Go to the HD Admin page, select Get, and the admin model gets added to your Roblox account. Click on Toolbox in the Roblox Studio menu at the top. Browse the Model library on the left of the screen… Play. We added a new feature which allows you to add your friends or give specific group role testing permissions for your game. Just give a role-set or a friend the “Play” permission, and they can now navigate to the Game Details page and play the game with you without the game being required to be public. Can you gift clothes in Roblox? Go to your main menu and select Clothing. Under your avatar, you will see the phrase Give selected item(s) to. Enter the username of the person to whom you want to give away your item or items. Check the item or items you want to send to the other player. Click Send to give away the items. Can I merge two Roblox accounts? Custom Match Commands List. /give (player) (@all) (@team: team_color) (item) (item amount) – Use this command to give another player, all players, or a specific team an item. /sethealthregen (player) (regen_amount) – Use this command to set the health regeneration for a … Related QuestionsHow do I add admin commands to a Roblox game?You don’t need to do anything to add admin commands, you have to just place the model in the Workspace from Roblox Studio and publish the game, you will be given Game Creator powers in-game. How to add an admin to your Roblox inventory?Open up the Roblox library and navigate to HD Admin. You can also use other admins like Adonis and Kuros But Toady We are using HD Admin for adding commands because it’s open-source and the most up-to-date admin pannel. Just Take a copy of the model by clicking the green Get button. By doing this you can add the admin to your inventory. Are You allowed to use commands on your own Roblox game?However, if you are fortunate enough to be trusted by an owner or another Admin, or if you’ve booted up your own ROBLOX game, you’re free to use these commands. How do I add admin to Kohls Roblox game?How do I add admin to my Kohls Roblox game? You don’t need to do anything to add admin commands, you have to just place the model in the Workspace from Roblox Studio and publish the game, you will be given Game Creator powers in-game.
|