Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game:GetService("Players").LocalPlayer
- local Button = script.Parent
- local GroupId = --// Enter Group Id
- local GroupRankMargin = --// Rank Priority # (1-255; 255 as owner)
- Button.MouseButton1Click:connect(function()
- if (Player:GetRankInGroup(GroupId) >= GroupRankMargin) then
- Mod = game.ServerStorage.Lbearcat --Change test to whatever you have named the item you want to spawn
- clone = Mod:clone()
- clone.Parent = workspace
- clone:MakeJoints()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment