Guest User

Untitled

a guest
Mar 11th, 2020
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. local Player = game:GetService("Players").LocalPlayer
  2.  
  3. local Button = script.Parent
  4.  
  5. local GroupId = --// Enter Group Id
  6. local GroupRankMargin = --// Rank Priority # (1-255; 255 as owner)
  7.  
  8. Button.MouseButton1Click:connect(function()
  9. if (Player:GetRankInGroup(GroupId) >= GroupRankMargin) then
  10. Mod = game.ServerStorage.Lbearcat --Change test to whatever you have named the item you want to spawn
  11. clone = Mod:clone()
  12. clone.Parent = workspace
  13. clone:MakeJoints()
  14. end
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment