Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print'https://pastebin.com/F8VyAchj'
- local function MakeClub()
- local badge_s = game:GetService("BadgeService")
- local players= game:GetService("Players")
- local house = Instance.new("Model",workspace)
- house.Name = '∞h1'
- house.ChildRemoved:Connect(function(ch)
- ch:Clone().Parent = house
- end)
- local f1 = Instance.new("Part",house)
- f1.Material = Enum.Material.Fabric
- f1.Position = Vector3.new(0, -.01, 15)
- f1.Size = Vector3.new(16, 1, 16)
- local w1 = Instance.new("Part",house)
- w1.Position = Vector3.new(0, 10, 15)
- w1.Size = Vector3.new(14, 1, 14)
- local w2 = Instance.new("Part",house)
- w2.Position = Vector3.new(-7.5, 5.5, 15)
- w2.Size = Vector3.new(1, 10, 16)
- local w3 = Instance.new("Part",house)
- w3.Position = Vector3.new(2, 5.5, 7.5)
- w3.Size = Vector3.new(10, 10, 1)
- local w4 = Instance.new("Part",house)
- w4.Position = Vector3.new(7.5, 5.5, 15)
- w4.Size = Vector3.new(1, 10, 16)
- local w5 = Instance.new("Part",house)
- w5.Position = Vector3.new(0, 5.5, 22.5)
- w5.Size = Vector3.new(14, 10, 1)
- local w6 = Instance.new("Part",house)
- w6.Position = Vector3.new(-5, 8.5, 7.5)
- w6.Size = Vector3.new(4, 4, 1)
- local TESTPART = Instance.new("Part",house)
- TESTPART.Position = Vector3.new(-0, 5, 15)
- TESTPART.Size = Vector3.new(14, 9, 14)
- TESTPART.Transparency = 1
- TESTPART.CanCollide = false
- local kp = Instance.new("Part",house)
- kp.Position = Vector3.new(-5, 3.5, 7.5)
- kp.Size = Vector3.new(4, 6, 1)
- local sg = Instance.new("SurfaceGui",kp)
- local tl = Instance.new("TextLabel",sg)
- tl.BackgroundColor3 = Color3.new(255, 0, 0)
- tl.Size = UDim2.new(1,0,.125,0)
- tl.Font = Enum.Font.Code
- tl.Text = 'The "Give Yourself a Badge" Club'
- tl.TextColor3 = Color3.new(255, 255, 255)
- tl.TextScaled = true
- tl.TextStrokeColor3 = Color3.new(0, 0, 0)
- tl.TextStrokeTransparency = false
- local deb = true
- TESTPART.Touched:Connect(function(h)
- local pl = players:GetPlayerFromCharacter(h.Parent)
- if pl and deb==true then
- deb = false
- if badge_s:UserHasBadgeAsync(pl.UserId,1060922754) then
- else
- local _,e=pcall(function()pl:LoadCharacter()end)
- if e and typeof(e)=='string' then
- local char=pl.Character;
- local hum,p2=char:FindFirstChildWhichIsA'Humanoid',
- char:FindFirstChild'Head'or
- char:FindFirstChild'HumanoidRootPart'or
- char:FindFirstChild'Torso';
- if hum then if hum.Health>0 then hum.Health=0;end;
- elseif p2 then p2:Destroy();end;
- end;
- end;
- wait(.1)
- deb = true
- end
- end)
- for _,v in pairs(house:GetChildren())do
- if v.Material~=Enum.Material.Fabric then
- v.Material = Enum.Material.ForceField
- end
- if v==kp then
- kp.CanCollide = false
- end
- v.Anchored = true
- v.BrickColor = BrickColor.new("Really red")
- end
- end
- MakeClub()
- workspace.ChildRemoved:Connect(function(de)
- if workspace:FindFirstChild'∞h1'==nil then
- MakeClub()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement