generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Morphs and Group Ranks? Scripting Help Required

Previous Thread :: Next Thread 
Rocko02 is not online. Rocko02
Joined: 06 Oct 2012
Total Posts: 91
11 Jun 2016 02:34 PM
I'm trying to find a way to add a script to a morph to where it can only be used if you are a certain rank in a certain group, otherwise you are killed, and I've been out of luck finding out how to make it/find it. I'm only used to editing information in pre-made scripts. Could someone give me a hand? I'd really appreciate it.
Report Abuse
Rocko02 is not online. Rocko02
Joined: 06 Oct 2012
Total Posts: 91
11 Jun 2016 02:42 PM
Bump.
Report Abuse
Rocko02 is not online. Rocko02
Joined: 06 Oct 2012
Total Posts: 91
11 Jun 2016 02:56 PM
Bump Again.
Report Abuse
XBLAX is not online. XBLAX
Joined: 06 Apr 2012
Total Posts: 82
11 Jun 2016 04:26 PM
Well I can't exactly help you with "How" to morph a player. But i can definitely help you with group ranking permissions.
Your script would go something like this:

script.Parent.Touched:connect(function(otherPart)
if player:GetRankInGroup(0) == 255 then [Morphing command]
else --Set "0" to the ID of the Group and "255" to the Rank's value
local Find = otherPart.Parent:FindFirstChild("Humanoid")
if Find then otherPart.Parent.Humanoid.Health = 0
else return
end
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image