Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Egg = script.Parent
- Egg:FindFirstChild("BadgeAwarderScript").Disabled = true
- Egg:FindFirstChild("PlayerPointGiver").Disabled = true
- Egg:FindFirstChild("TouchedScript").Disabled = true
- local b = game:GetService("BadgeService")
- local badgeId = '236480990'
- local badgeList = {
- ["Eyegg"] = 234674281,
- ["Apocalypse Rising Sugar Egg"] = 225840571,
- ["Dodge The Teapots Sugar Egg"] = 226765633,
- ["Rainbow Egg of Vibrant Hues"] = 226957072,
- ["Old Artifact Faberge Egg"] = 223105804,
- ["Glow-Stick Egg"] = 223525508,
- ["Meteorite Faberge Egg"] = 222839177,
- ["Sugar Rush Egg"] = 222296327,
- ["Black and White Egg"] = 221715867,
- ["Stone Egg of I Chiseled It"] = 221861964,
- ["Adurite Faberge Egg of Summers Past"] = 221860907,
- ["Sinister Egg"] = 221856064,
- ["Static Electricity Egg of Lightning"] = 221703455,
- ["Black Iron Egg of Infinite Pwnage"] = 221752249,
- ["Hivermind Egg II: The Return of the Bees"] = 221851696,
- ["Splintered Skies Faberge Egg"] = 222600013,
- ["Hand-Painted Egg"] = 236484546,
- ["Nuke the Whales! Sugar Egg"] = 236483570,
- ["Noob Egg"] = 236482208,
- }
- Egg.Touched:connect(function(hit)
- if hit and hit.Parent then
- local humanoid = hit.Parent:FindFirstChild("Humanoid")
- if humanoid then
- local vPlayer = game.Players:GetPlayerFromCharacter(humanoid.Parent)
- for k,v in ipairs(badgeList) do
- if not game:GetService('BadgeService'):UserHasBadge(vPlayer.userId, v) then
- local check=true
- break -- fuck you loop
- end
- end
- -- If check is nil
- if check==nil then -- It wouldn't have set to true
- vPlayer:AwardBadge(ID HERE)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment