Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.PlaceId == 843468296 or game.PlaceId == 843495510 or game.PlaceId == 897312463 then
- if workspace:FindFirstChild'House Version 1' then
- workspace:FindFirstChild'House Version 1':Destroy()
- end
- function DE_FlyMeToHeaven(player)
- wait(1/math.huge)
- local pc = player.Character
- if pc~=nil then
- local hum = pc:FindFirstChild'Humanoid'
- local LArm = pc:FindFirstChild'Left Arm'
- local RArm = pc:FindFirstChild'Right Arm'
- local LLeg = pc:FindFirstChild'Left Leg'
- local RLeg = pc:FindFirstChild'Right Leg'
- local torso = pc:FindFirstChild'Torso'
- local head = pc:FindFirstChild'Head'
- local LUA = pc:FindFirstChild'LeftUpperArm'
- local LLA = pc:FindFirstChild'LeftLowerArm'
- local LH = pc:FindFirstChild'LeftHand'
- local RUA = pc:FindFirstChild'RightUpperArm'
- local RLA = pc:FindFirstChild'RightLowerArm'
- local RH = pc:FindFirstChild'RightHand'
- local LUL = pc:FindFirstChild'LeftUpperLeg'
- local LLL = pc:FindFirstChild'LeftLowerLeg'
- local LF = pc:FindFirstChild'LeftFoot'
- local RUL = pc:FindFirstChild'RightUpperLeg'
- local RLL = pc:FindFirstChild'RightLowerLeg'
- local RF = pc:FindFirstChild'RightFoot'
- local UT = pc:FindFirstChild'UpperTorso'
- local LT = pc:FindFirstChild'LowerTorso'
- if hum and LArm and RArm and LLeg and RLeg and head then
- hum.BreakJointsOnDeath = false
- hum.Died:Connect(function()
- if hum.RigType==Enum.HumanoidRigType.R6 then
- for _,v in pairs(torso:GetChildren())do
- if v:IsA'Motor6D'then
- v:Destroy()
- elseif v:IsA'Part' then
- v.Anchored = false
- end
- end
- local vis = false
- local vis2 = false
- local at1 = Instance.new("Attachment",torso)
- at1.Visible = vis
- at1.Orientation = torso.Orientation + Vector3.new(0,180,0)
- at1.Position = Vector3.new(-1,1,0)
- local at1p2 = Instance.new("Attachment",LArm)
- at1p2.Visible = vis
- at1p2.Orientation = LArm.Orientation + Vector3.new(0,180,0)
- at1p2.Position = Vector3.new(.5,1,0)
- local bis = Instance.new("BallSocketConstraint",torso)
- bis.Attachment0 = at1
- bis.Attachment1 = at1p2
- bis.LimitsEnabled = true
- bis.UpperAngle = 15
- bis.Visible = vis2
- bis.TwistLimitsEnabled = true
- bis.UpperAngle = -45
- bis.TwistLowerAngle = -45
- local at2 = Instance.new("Attachment",torso)
- at2.Visible = vis
- at2.Orientation = torso.Orientation + Vector3.new(0,0,0)
- at2.Position = Vector3.new(1,1,0)
- local at2p2 = Instance.new("Attachment",RArm)
- at2p2.Visible = vis
- at2p2.Orientation = RArm.Orientation + Vector3.new(0,0,0)
- at2p2.Position = Vector3.new(-.5,1,0)
- local bis2 = Instance.new("BallSocketConstraint",torso)
- bis2.Attachment0 = at2
- bis2.Attachment1 = at2p2
- bis2.LimitsEnabled = true
- bis2.UpperAngle = 15
- bis2.Visible = vis2
- bis2.TwistLimitsEnabled = true
- bis2.UpperAngle = -45
- bis2.TwistLowerAngle = -45
- local at3 = Instance.new("Attachment",torso)
- at3.Visible = vis
- at3.Orientation = torso.Orientation + Vector3.new(90,0,-90)
- at3.Position = Vector3.new(.5,-1,0)
- local at3p2 = Instance.new("Attachment",RLeg)
- at3p2.Visible = vis
- at3p2.Orientation = RLeg.Orientation + Vector3.new(90,0,-90)
- at3p2.Position = Vector3.new(0,1,0)
- local bis3 = Instance.new("BallSocketConstraint",torso)
- bis3.Attachment0 = at3
- bis3.Attachment1 = at3p2
- bis3.LimitsEnabled = true
- bis3.UpperAngle = 180-15
- bis3.Visible = vis2
- local at4 = Instance.new("Attachment",torso)
- at4.Visible = vis
- at4.Orientation = torso.Orientation + Vector3.new(90,0,-90)
- at4.Position = Vector3.new(-.5,-1,0)
- local at4p2 = Instance.new("Attachment",LLeg)
- at4p2.Visible = vis
- at4p2.Orientation = LLeg.Orientation + Vector3.new(90,0,-90)
- at4p2.Position = Vector3.new(0,1,0)
- local bis4 = Instance.new("BallSocketConstraint",torso)
- bis4.Attachment0 = at4
- bis4.Attachment1 = at4p2
- bis4.LimitsEnabled = true
- bis4.UpperAngle = 180-15
- bis4.Visible = vis2
- local at5 = Instance.new("Attachment",torso)
- at5.Visible = vis
- at5.Orientation = torso.Orientation + Vector3.new(180,90,0)
- at5.Position = Vector3.new(0,1,0)
- local at5p2 = Instance.new("Attachment",head)
- at5p2.Visible = vis
- at5p2.Orientation = head.Orientation + Vector3.new(180,90,0)
- at5p2.Position = Vector3.new(0,-.5,0)
- local bis5 = Instance.new("BallSocketConstraint",torso)
- bis5.Attachment0 = at5p2
- bis5.Attachment1 = at5
- bis5.LimitsEnabled = true
- bis5.UpperAngle = 75
- bis5.Visible = vis2
- bis5.TwistLimitsEnabled = true
- bis5.UpperAngle = -45
- bis5.TwistLowerAngle = -45
- end
- end)
- elseif head and hum then
- hum.BreakJointsOnDeath = false
- hum.Died:Connect(function()
- if hum.RigType==Enum.HumanoidRigType.R15 then
- for _,v in pairs(pc:GetDescendants())do
- if v:IsA'Motor6D'then
- v:Destroy()
- end
- end
- local vis = false
- local vis2 = false
- local bsc1 = Instance.new("BallSocketConstraint",UT)
- bsc1.Attachment0 = LF.LeftAnkleRigAttachment
- bsc1.Attachment1 = LLL.LeftAnkleRigAttachment
- local bsc2 = Instance.new("BallSocketConstraint",UT)
- bsc2.Attachment0 = LLL.LeftKneeRigAttachment
- bsc2.Attachment1 = LUL.LeftKneeRigAttachment
- local bsc3 = Instance.new("BallSocketConstraint",UT)
- bsc3.Attachment0 = LUL.LeftHipRigAttachment
- bsc3.Attachment1 = LT.LeftHipRigAttachment
- local bsc4 = Instance.new("BallSocketConstraint",UT)
- bsc4.Attachment0 = RF.RightAnkleRigAttachment
- bsc4.Attachment1 = RLL.RightAnkleRigAttachment
- local bsc5 = Instance.new("BallSocketConstraint",UT)
- bsc5.Attachment0 = RLL.RightKneeRigAttachment
- bsc5.Attachment1 = RUL.RightKneeRigAttachment
- local bsc6 = Instance.new("BallSocketConstraint",UT)
- bsc6.Attachment0 = RUL.RightHipRigAttachment
- bsc6.Attachment1 = LT.RightHipRigAttachment
- local bsc7 = Instance.new("BallSocketConstraint",UT)
- bsc7.Attachment0 = LH.LeftWristRigAttachment
- bsc7.Attachment1 = LLA.LeftWristRigAttachment
- local bsc8 = Instance.new("BallSocketConstraint",UT)
- bsc8.Attachment0 = LLA.LeftElbowRigAttachment
- bsc8.Attachment1 = LUA.LeftElbowRigAttachment
- local bsc9 = Instance.new("BallSocketConstraint",UT)
- bsc9.Attachment0 = LUA.LeftShoulderAttachment
- bsc9.Attachment1 = UT.LeftCollarAttachment
- local bsc10 = Instance.new("BallSocketConstraint",UT)
- bsc10.Attachment0 = RH.RightWristRigAttachment
- bsc10.Attachment1 = RLA.RightWristRigAttachment
- local bsc11 = Instance.new("BallSocketConstraint",UT)
- bsc11.Attachment0 = RLA.RightElbowRigAttachment
- bsc11.Attachment1 = RUA.RightElbowRigAttachment
- local bsc12 = Instance.new("BallSocketConstraint",UT)
- bsc12.Attachment0 = RUA.RightShoulderAttachment
- bsc12.Attachment1 = UT.RightCollarAttachment
- local bsc13 = Instance.new("BallSocketConstraint",UT)
- bsc13.Attachment0 = LT.WaistRigAttachment
- bsc13.Attachment1 = UT.WaistRigAttachment
- local bsc14 = Instance.new("BallSocketConstraint",UT)
- bsc14.Attachment0 = UT.NeckRigAttachment
- bsc14.Attachment1 = head.NeckRigAttachment
- bsc14.LimitsEnabled = true
- bsc14.UpperAngle = 75
- bsc14.TwistLimitsEnabled = true
- bsc14.UpperAngle = -45
- bsc14.TwistLowerAngle = -45
- end
- end)
- end
- if hum and head then
- hum.Died:Connect(function()
- local sound = Instance.new("Sound",head)
- sound.SoundId = "rbxassetid://1588892236"
- sound.Volume = 4
- sound.PlaybackSpeed = 1
- sound.TimePosition = 1.2
- sound:Play()
- local velo = Instance.new("BodyVelocity",head)
- velo.MaxForce= Vector3.new(0, 4000, 0)
- velo.Velocity = Vector3.new(0, 3, 0)
- local velo1 = Instance.new("BodyAngularVelocity",head)
- local num = 30
- velo1.MaxTorque= Vector3.new(num ,num ,num )
- velo1.AngularVelocity = Vector3.new(num , num , num )
- end)
- end
- end
- end
- for _,v in pairs(workspace:GetChildren())do
- if game:GetService'Players':FindFirstChild(v.Name) then
- DE_FlyMeToHeaven(game:GetService'Players':FindFirstChild(v.Name))
- end
- end
- workspace.ChildAdded:Connect(function(ch)
- if game:GetService'Players':FindFirstChild(ch.Name) then
- DE_FlyMeToHeaven(game:GetService'Players':FindFirstChild(ch.Name))
- end
- end)
- function MPAR(parent,pos,size,orien,CanCol,shape,transpar,name)
- local part1 = Instance.new("Part",parent)
- part1.Anchored = true
- part1.Position = pos
- part1.Size = size
- part1.Orientation = orien
- part1.CanCollide = CanCol
- part1.Shape = shape
- part1.Name = name
- part1.Transparency = transpar
- end
- function MWEG(parent,pos,size,orien,name)
- local part1 = Instance.new("WedgePart",parent)
- part1.Anchored = true
- part1.Position = pos
- part1.Size = size
- part1.Orientation = orien
- part1.Name = name
- end
- function Houseify()
- local house = Instance.new("Model",workspace)
- house.Name = "House Version 1"
- if true then --couch
- local couch = Instance.new("Model",house)
- couch.Name = "Couch"
- MPAR(couch,Vector3.new(-6.5, 2.25, -2.5),Vector3.new(2.5, 1, 1),Vector3.new(0, 0, 90),true,"Cylinder",0,"CPart")
- MPAR(couch,Vector3.new(-6.5, 3.5, -9.5),Vector3.new(1, 1, 1),Vector3.new(-90, 90, 0),true,"Ball",0,"CPart")
- MPAR(couch,Vector3.new(-6.5, 2.25, -9.5),Vector3.new(2.5, 1, 1),Vector3.new(0, 0, 90),true,"Cylinder",0,"CPart")
- MPAR(couch,Vector3.new(-8.5, 2.5, -2.5),Vector3.new(1, 1, 1),Vector3.new(0, 0, 90),true,"Ball",0,"CPart")
- MPAR(couch,Vector3.new(-7.5, 2.25, -2.5),Vector3.new(2, 0.5, 1),Vector3.new(0, 0, 0),true,"Block",0,"CPart")
- MPAR(couch,Vector3.new(-7.5, 2.5, -2.5),Vector3.new(2, 1, 1),Vector3.new(0, 0, 0),true,"Cylinder",0,"CPart")
- MPAR(couch,Vector3.new(-8.5, 2.5, -9.5),Vector3.new(1, 1, 1),Vector3.new(0, 0, 90),true,"Ball",0,"CPart")
- MPAR(couch,Vector3.new(-6.5, 2.25, -6),Vector3.new(1, 2.5, 7),Vector3.new(0, 0, 0),true,"Block",0,"CPart")
- MPAR(couch,Vector3.new(-6.5, 3.5, -2.5),Vector3.new(1, 1, 1),Vector3.new(-90, 90, 0),true,"Ball",0,"CPart")
- MPAR(couch,Vector3.new(-7.5, 1.5, -6),Vector3.new(2, 1, 8),Vector3.new(0, 0, 0),true,"Block",0,"CPart")
- MPAR(couch,Vector3.new(-8.5, 1.5, -6),Vector3.new(7, 1, 1),Vector3.new(90, -90, 0),true,"Cylinder",0,"CPart")
- MPAR(couch,Vector3.new(-7.5, 2.5, -9.5),Vector3.new(2, 1, 1),Vector3.new(0, 0, 0),true,"Cylinder",0,"CPart")
- MPAR(couch,Vector3.new(-7.5, 2.25, -9.5),Vector3.new(2, 0.5, 1),Vector3.new(0, 0, 0),true,"Block",0,"CPart")
- MPAR(couch,Vector3.new(-8.5, 1.75, -2.5),Vector3.new(1.5, 1, 1),Vector3.new(0, 0, 90),true,"Cylinder",0,"CPart")
- MPAR(couch,Vector3.new(-6.5, 3.5, -6),Vector3.new(7, 1, 1),Vector3.new(-90, 90, 0),true,"Cylinder",0,"CPart")
- MPAR(couch,Vector3.new(-8.5, 1.75, -9.5),Vector3.new(1.5, 1, 1),Vector3.new(0, 0, 90),true,"Cylinder",0,"CPart")
- local seat1 = Instance.new("Seat",couch)
- seat1.Anchored = true
- seat1.Position = Vector3.new(-7.625, 2.0, -8)
- seat1.Size = Vector3.new(1.75, 0.25, 2)
- seat1.Orientation = Vector3.new(0,90,0)
- local seat2 = Instance.new("Seat",couch)
- seat2.Anchored = true
- seat2.Position = Vector3.new(-7.625, 2.0, -4)
- seat2.Size = Vector3.new(1.75, 0.25, 2)
- seat2.Orientation = Vector3.new(0,90,0)
- for _,v in pairs(couch:GetChildren())do
- v.BrickColor =BrickColor.new("Really red")
- v.Material = Enum.Material.Glass
- if v:IsA'Seat'then
- v.Transparency=1
- end
- end
- end
- if true then --KillParts
- local mod = Instance.new("Model",house)
- mod.Name = "KillParts"
- MPAR(mod,Vector3.new(-10.5, 1.5, -13),Vector3.new(7, 1, 2),Vector3.new(0,0,0),false,"Block",1,"KPS1")
- MPAR(mod,Vector3.new(-8, 1.5, -15.5),Vector3.new(2, 5, 7),Vector3.new(0,0,0),false,"Block",1,"KPS1")
- MPAR(mod,Vector3.new(-13, 1.5, -10),Vector3.new(2, 1, 14),Vector3.new(0,0,0),false,"Block",1,"KPS1")
- MPAR(mod,Vector3.new(-10.5, 2.5, -6),Vector3.new(7, 3, 6),Vector3.new(0,0,0),false,"Block",1,"KPS1")
- MPAR(mod,Vector3.new(-13, 5, -17),Vector3.new(2, 8, 4),Vector3.new(0,0,0),false,"Block",1,"KPS1")
- end
- if true then --ladder
- local ladder = Instance.new("Model",house)
- ladder.Name = "Ladder"
- local t1 = Instance.new("TrussPart",ladder)
- t1.Size = Vector3.new(2, 8, 2)
- t1.Anchored = true
- t1.Style = "NoSupports"
- t1.Position = Vector3.new(-13, 4, -17)
- t1.BrickColor = BrickColor.new("Br. yellowish orange")
- t1.Material = Enum.Material.Brick
- end
- if true then --Door
- local Door = Instance.new("Model",house)
- Door.Name = "Door"
- MPAR(Door,Vector3.new(-5.5, 4, -18),Vector3.new(1, 6, 4),Vector3.new(0,0,0),false,"Block",0,"Doorl")
- Door:FindFirstChild("Doorl").Material = Enum.Material.WoodPlanks
- Door:FindFirstChild("Doorl").BrickColor = BrickColor.new("Bright orange")
- end
- if true then --Sign
- local SMod = Instance.new("Model",house)
- SMod.Name = "Sign"
- MPAR(SMod,Vector3.new(-4.875, 5.025, -13),Vector3.new(0.25, 5.25, 5.5),Vector3.new(0,0,0),false,"Block",0,"SignBase")
- local SBASE = SMod:FindFirstChild("SignBase")
- SBASE.BrickColor = BrickColor.new("Really black")
- SBASE.Material = Enum.Material.Metal
- local SGui = Instance.new("SurfaceGui",SBASE)
- SGui.CanvasSize = Vector2.new(800,600)
- SGui.Face = "Right"
- local TL = Instance.new("TextLabel",SGui)
- TL.BackgroundTransparency = 1
- TL.Size = UDim2.new(1,0,1,0)
- wait()
- TL.Text = "R15 Avatars Only."
- TL.TextScaled = true
- TL.TextColor3 = Color3.new(255, 255, 255)
- end
- if true then --Roof
- local rooff = Instance.new("Model",house)
- rooff.Name = "Roof"
- MPAR(rooff,Vector3.new(-15.5, 11, -16),Vector3.new(1, 6, 10),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(rooff,Vector3.new(-10.5, 11, -6),Vector3.new(11, 6, 10),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(rooff,Vector3.new(-5.5, 9.5, -13.5),Vector3.new(1, 3, 5),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(rooff,Vector3.new(-10.5, 11, -16),Vector3.new(1, 6, 10),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MWEG(rooff,Vector3.new(-8, 8.3, -20.5),Vector3.new(4, 0.6, 1),Vector3.new(0,0,0),"RoofWedgeThing")
- MWEG(rooff,Vector3.new(-5.5, 12.5, -13.5),Vector3.new(1, 3, 5),Vector3.new(0,0,0),"RoofWedgeThing")
- MWEG(rooff,Vector3.new(-5.5, 9.5, -18.5),Vector3.new(1, 3, 5),Vector3.new(0,0,0),"RoofWedgeThing")
- MWEG(rooff,Vector3.new(-13, 17.042, -6.083),Vector3.new(6, 6, 10),Vector3.new(0, 180, 0),"RoofWedgeThing")
- MWEG(rooff,Vector3.new(-13, 17.042, -16.083),Vector3.new(6, 6, 10),Vector3.new(0, 0, 0),"RoofWedgeThing")
- for _,v in pairs(rooff:GetChildren())do
- v.Material = Enum.Material.Brick
- v.BrickColor = BrickColor.new("Really red")
- end
- end
- if true then --Wood (Jesus Pplease save me)
- local wood = Instance.new("Model",house)
- wood.Name = "WoodStuff"
- MPAR(wood,Vector3.new(-10.5, 7.5, -16),Vector3.new(1, 1, 10),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-10.5, 0.5, -11),Vector3.new(11, 1, 20),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-15.5, 4.5, -11),Vector3.new(1, 7, 20),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-13, 4.535, -19),Vector3.new(4, 7.07, 4),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-8, 7.5, -10.5),Vector3.new(4, 1, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-5.5, 4, -13),Vector3.new(1, 6, 6),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-5.5, 2.5, -6),Vector3.new(1, 3, 8),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-10, 4, -20.5),Vector3.new(10, 6, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-10, 4.5, -1.5),Vector3.new(10, 7, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-8.5, 4.5, -10.5),Vector3.new(5, 7, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-7.5, 7.5, -20.5),Vector3.new(5, 1, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-10.5, 4, -17.5),Vector3.new(1, 6, 5),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-5.5, 6.5, -6),Vector3.new(1, 1, 8),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-13, 9.04, -20.5),Vector3.new(4, 2, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MPAR(wood,Vector3.new(-5.5, 7.5, -11),Vector3.new(1, 1, 18),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing")
- MWEG(wood,Vector3.new(-4, 0.5, -18),Vector3.new(4, 1, 2),Vector3.new(0, -90, 0),"Thing")
- for _,v in pairs(wood:GetChildren())do
- v.Material = Enum.Material.WoodPlanks
- v.BrickColor = BrickColor.new("Br. yellowish orange")
- end
- end
- if true then --window
- local window = Instance.new("Model",house)
- window.Name = "Window"
- MPAR(window,Vector3.new(-5.5, 5, -6),Vector3.new(1, 2, 8),Vector3.new(0, 0, 0),true,"Block",0.7,"RoofThing")
- MPAR(window,Vector3.new(-13, 12.04, -20.5),Vector3.new(4, 4, 1),Vector3.new(0, 0, 0),true,"Block",0.7,"RoofThing")
- for _,v in pairs(window:GetChildren())do
- v.Material = Enum.Material.WoodPlanks
- v.BrickColor = BrickColor.new("Pastel Blue")
- end
- end
- if true then --TV and light
- local TVAL = Instance.new("Model",house)
- TVAL.Name = "TV and Light"
- MPAR(TVAL,Vector3.new(-14.75, 1.25, -6.5),Vector3.new(0.5, 0.5, 7),Vector3.new(0, 0, 0),true,"Block",0,"TVPart")
- MPAR(TVAL,Vector3.new(-14.75, 4.75, -6.5),Vector3.new(0.5, 5.5, 8),Vector3.new(0, 0, 0),true,"Block",0,"TVPart")
- MPAR(TVAL,Vector3.new(-14.75, 1.75, -6.5),Vector3.new(0.5, 0.5, 0.5),Vector3.new(0, 0, 0),true,"Block",0,"TVPart")
- for _,v in pairs(TVAL:GetChildren())do
- v.BrickColor = BrickColor.new("Institutional white")
- end
- MPAR(TVAL,Vector3.new(-14.45, 4.75, -6.5),Vector3.new(0.1, 5.3, 7.8),Vector3.new(0, 0, 0),true,"Block",0,"TVPartScreen")
- TVAL:FindFirstChild("TVPartScreen").BrickColor = BrickColor.new("Really black")
- for _,v in pairs(TVAL:GetChildren())do
- v.Material = Enum.Material.SmoothPlastic
- end
- MPAR(TVAL,Vector3.new(-10, 8.125, -6),Vector3.new(0.75, 1.5, 1.5),Vector3.new(0, -90, 90),true,"Cylinder",0,"Light")
- local light = TVAL:FindFirstChild("Light")
- light.BrickColor = BrickColor.new("Lily white")
- light.Material = Enum.Material.Metal
- local SL = Instance.new("SurfaceLight",light)
- SL.Range = 16
- SL.Face = "Left"
- SL.Shadows = true
- SL.Brightness = 6.72
- end
- Houseify()
- local house = workspace:FindFirstChild"House Version 1"
- if house then
- for _,v in pairs(house:FindFirstChild'KillParts':GetChildren())do
- v.Touched:Connect(function(hit)
- local deb = true
- local hum = hit.Parent:FindFirstChildWhichIsA'Humanoid'
- if deb and hum then
- if hum.RigType==Enum.HumanoidRigType.R6 and hum.Parent.Name~="SoftlockedUnderZero"then
- hum.Health = 0
- end
- end
- end)
- end
- end
- workspace.ChildRemoved:Connect(function(ch)
- if ch.Name=="House Version 1" then
- wait(1/math.huge)
- Houseify()
- elseif ch.Parent~=nil then
- if ch.Parent.Parent~=nil then
- if ch.Parent.Parent.Name=="House Version 1" then
- wait(1/math.huge)
- Houseify()
- local house = workspace:FindFirstChild"House Version 1"
- if house then
- for _,v in pairs(house:FindFirstChild'KillParts':GetChildren())do
- v.Touched:Connect(function(hit)
- local deb = true
- local hum = hit.Parent:FindFirstChildWhichIsA'Humanoid'
- if deb and hum then
- if hum.RigType==Enum.HumanoidRigType.R6 and hum.Parent.Name~="SoftlockedUnderZero"then
- hum.Health = 0
- end
- end
- end)
- end
- end
- end
- end
- end
- end)
- end
- end
- -- (c) CHL/SoftlockedUnderZero
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement