Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --by 115vandsk
- --put this in a local script in a text button (watch the video for more details)
- local player = script.Parent.Parent.Parent.Parent.Parent
- if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.userId, 4546346) then
- script.Parent.MouseButton1Click:connect(function()
- if player.Backpack:FindFirstChild("Darkheart") == nil and player.Character:FindFirstChild("Darkheart") == nil then
- game.Lighting:FindFirstChild("Darkheart"):Clone().Parent = player.Backpack
- end
- end)
- else
- script.Parent.Visible = false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement