SHOW:
|
|
- or go back to the newest paste.
| 1 | if game.PlaceId == 843468296 or game.PlaceId == 843495510 or game.PlaceId == 897312463 then | |
| 2 | if workspace:FindFirstChild'House Version 1' then | |
| 3 | workspace:FindFirstChild'House Version 1':Destroy() | |
| 4 | end | |
| 5 | function DE_FlyMeToHeaven(player) | |
| 6 | wait(1/math.huge) | |
| 7 | ||
| 8 | local pc = player.Character | |
| 9 | if pc~=nil then | |
| 10 | local hum = pc:FindFirstChild'Humanoid' | |
| 11 | local LArm = pc:FindFirstChild'Left Arm' | |
| 12 | local RArm = pc:FindFirstChild'Right Arm' | |
| 13 | local LLeg = pc:FindFirstChild'Left Leg' | |
| 14 | local RLeg = pc:FindFirstChild'Right Leg' | |
| 15 | local torso = pc:FindFirstChild'Torso' | |
| 16 | local head = pc:FindFirstChild'Head' | |
| 17 | ||
| 18 | ||
| 19 | local LUA = pc:FindFirstChild'LeftUpperArm' | |
| 20 | local LLA = pc:FindFirstChild'LeftLowerArm' | |
| 21 | local LH = pc:FindFirstChild'LeftHand' | |
| 22 | ||
| 23 | local RUA = pc:FindFirstChild'RightUpperArm' | |
| 24 | local RLA = pc:FindFirstChild'RightLowerArm' | |
| 25 | local RH = pc:FindFirstChild'RightHand' | |
| 26 | ||
| 27 | local LUL = pc:FindFirstChild'LeftUpperLeg' | |
| 28 | local LLL = pc:FindFirstChild'LeftLowerLeg' | |
| 29 | local LF = pc:FindFirstChild'LeftFoot' | |
| 30 | ||
| 31 | local RUL = pc:FindFirstChild'RightUpperLeg' | |
| 32 | local RLL = pc:FindFirstChild'RightLowerLeg' | |
| 33 | local RF = pc:FindFirstChild'RightFoot' | |
| 34 | ||
| 35 | local UT = pc:FindFirstChild'UpperTorso' | |
| 36 | local LT = pc:FindFirstChild'LowerTorso' | |
| 37 | ||
| 38 | if hum and LArm and RArm and LLeg and RLeg and head then | |
| 39 | hum.BreakJointsOnDeath = false | |
| 40 | hum.Died:Connect(function() | |
| 41 | if hum.RigType==Enum.HumanoidRigType.R6 then | |
| 42 | for _,v in pairs(torso:GetChildren())do | |
| 43 | if v:IsA'Motor6D'then | |
| 44 | v:Destroy() | |
| 45 | elseif v:IsA'Part' then | |
| 46 | v.Anchored = false | |
| 47 | end | |
| 48 | end | |
| 49 | local vis = false | |
| 50 | local vis2 = false | |
| 51 | ||
| 52 | local at1 = Instance.new("Attachment",torso)
| |
| 53 | at1.Visible = vis | |
| 54 | at1.Orientation = torso.Orientation + Vector3.new(0,180,0) | |
| 55 | at1.Position = Vector3.new(-1,1,0) | |
| 56 | ||
| 57 | local at1p2 = Instance.new("Attachment",LArm)
| |
| 58 | at1p2.Visible = vis | |
| 59 | at1p2.Orientation = LArm.Orientation + Vector3.new(0,180,0) | |
| 60 | at1p2.Position = Vector3.new(.5,1,0) | |
| 61 | ||
| 62 | local bis = Instance.new("BallSocketConstraint",torso)
| |
| 63 | bis.Attachment0 = at1 | |
| 64 | bis.Attachment1 = at1p2 | |
| 65 | bis.LimitsEnabled = true | |
| 66 | bis.UpperAngle = 15 | |
| 67 | bis.Visible = vis2 | |
| 68 | bis.TwistLimitsEnabled = true | |
| 69 | bis.UpperAngle = -45 | |
| 70 | bis.TwistLowerAngle = -45 | |
| 71 | ||
| 72 | local at2 = Instance.new("Attachment",torso)
| |
| 73 | at2.Visible = vis | |
| 74 | at2.Orientation = torso.Orientation + Vector3.new(0,0,0) | |
| 75 | at2.Position = Vector3.new(1,1,0) | |
| 76 | ||
| 77 | local at2p2 = Instance.new("Attachment",RArm)
| |
| 78 | at2p2.Visible = vis | |
| 79 | at2p2.Orientation = RArm.Orientation + Vector3.new(0,0,0) | |
| 80 | at2p2.Position = Vector3.new(-.5,1,0) | |
| 81 | ||
| 82 | local bis2 = Instance.new("BallSocketConstraint",torso)
| |
| 83 | bis2.Attachment0 = at2 | |
| 84 | bis2.Attachment1 = at2p2 | |
| 85 | bis2.LimitsEnabled = true | |
| 86 | bis2.UpperAngle = 15 | |
| 87 | bis2.Visible = vis2 | |
| 88 | bis2.TwistLimitsEnabled = true | |
| 89 | bis2.UpperAngle = -45 | |
| 90 | bis2.TwistLowerAngle = -45 | |
| 91 | ||
| 92 | local at3 = Instance.new("Attachment",torso)
| |
| 93 | at3.Visible = vis | |
| 94 | at3.Orientation = torso.Orientation + Vector3.new(90,0,-90) | |
| 95 | at3.Position = Vector3.new(.5,-1,0) | |
| 96 | ||
| 97 | local at3p2 = Instance.new("Attachment",RLeg)
| |
| 98 | at3p2.Visible = vis | |
| 99 | at3p2.Orientation = RLeg.Orientation + Vector3.new(90,0,-90) | |
| 100 | at3p2.Position = Vector3.new(0,1,0) | |
| 101 | ||
| 102 | local bis3 = Instance.new("BallSocketConstraint",torso)
| |
| 103 | bis3.Attachment0 = at3 | |
| 104 | bis3.Attachment1 = at3p2 | |
| 105 | bis3.LimitsEnabled = true | |
| 106 | bis3.UpperAngle = 180-15 | |
| 107 | bis3.Visible = vis2 | |
| 108 | ||
| 109 | local at4 = Instance.new("Attachment",torso)
| |
| 110 | at4.Visible = vis | |
| 111 | at4.Orientation = torso.Orientation + Vector3.new(90,0,-90) | |
| 112 | at4.Position = Vector3.new(-.5,-1,0) | |
| 113 | ||
| 114 | local at4p2 = Instance.new("Attachment",LLeg)
| |
| 115 | at4p2.Visible = vis | |
| 116 | at4p2.Orientation = LLeg.Orientation + Vector3.new(90,0,-90) | |
| 117 | at4p2.Position = Vector3.new(0,1,0) | |
| 118 | ||
| 119 | local bis4 = Instance.new("BallSocketConstraint",torso)
| |
| 120 | bis4.Attachment0 = at4 | |
| 121 | bis4.Attachment1 = at4p2 | |
| 122 | bis4.LimitsEnabled = true | |
| 123 | bis4.UpperAngle = 180-15 | |
| 124 | bis4.Visible = vis2 | |
| 125 | ||
| 126 | ||
| 127 | local at5 = Instance.new("Attachment",torso)
| |
| 128 | at5.Visible = vis | |
| 129 | at5.Orientation = torso.Orientation + Vector3.new(180,90,0) | |
| 130 | at5.Position = Vector3.new(0,1,0) | |
| 131 | ||
| 132 | local at5p2 = Instance.new("Attachment",head)
| |
| 133 | at5p2.Visible = vis | |
| 134 | at5p2.Orientation = head.Orientation + Vector3.new(180,90,0) | |
| 135 | at5p2.Position = Vector3.new(0,-.5,0) | |
| 136 | ||
| 137 | local bis5 = Instance.new("BallSocketConstraint",torso)
| |
| 138 | bis5.Attachment0 = at5p2 | |
| 139 | bis5.Attachment1 = at5 | |
| 140 | bis5.LimitsEnabled = true | |
| 141 | bis5.UpperAngle = 75 | |
| 142 | bis5.Visible = vis2 | |
| 143 | bis5.TwistLimitsEnabled = true | |
| 144 | bis5.UpperAngle = -45 | |
| 145 | bis5.TwistLowerAngle = -45 | |
| 146 | end | |
| 147 | end) | |
| 148 | elseif head and hum then | |
| 149 | hum.BreakJointsOnDeath = false | |
| 150 | hum.Died:Connect(function() | |
| 151 | if hum.RigType==Enum.HumanoidRigType.R15 then | |
| 152 | for _,v in pairs(pc:GetDescendants())do | |
| 153 | if v:IsA'Motor6D'then | |
| 154 | v:Destroy() | |
| 155 | end | |
| 156 | end | |
| 157 | local vis = false | |
| 158 | local vis2 = false | |
| 159 | ||
| 160 | local bsc1 = Instance.new("BallSocketConstraint",UT)
| |
| 161 | bsc1.Attachment0 = LF.LeftAnkleRigAttachment | |
| 162 | bsc1.Attachment1 = LLL.LeftAnkleRigAttachment | |
| 163 | ||
| 164 | local bsc2 = Instance.new("BallSocketConstraint",UT)
| |
| 165 | bsc2.Attachment0 = LLL.LeftKneeRigAttachment | |
| 166 | bsc2.Attachment1 = LUL.LeftKneeRigAttachment | |
| 167 | ||
| 168 | local bsc3 = Instance.new("BallSocketConstraint",UT)
| |
| 169 | bsc3.Attachment0 = LUL.LeftHipRigAttachment | |
| 170 | bsc3.Attachment1 = LT.LeftHipRigAttachment | |
| 171 | ||
| 172 | local bsc4 = Instance.new("BallSocketConstraint",UT)
| |
| 173 | bsc4.Attachment0 = RF.RightAnkleRigAttachment | |
| 174 | bsc4.Attachment1 = RLL.RightAnkleRigAttachment | |
| 175 | ||
| 176 | local bsc5 = Instance.new("BallSocketConstraint",UT)
| |
| 177 | bsc5.Attachment0 = RLL.RightKneeRigAttachment | |
| 178 | bsc5.Attachment1 = RUL.RightKneeRigAttachment | |
| 179 | ||
| 180 | local bsc6 = Instance.new("BallSocketConstraint",UT)
| |
| 181 | bsc6.Attachment0 = RUL.RightHipRigAttachment | |
| 182 | bsc6.Attachment1 = LT.RightHipRigAttachment | |
| 183 | ||
| 184 | ||
| 185 | local bsc7 = Instance.new("BallSocketConstraint",UT)
| |
| 186 | bsc7.Attachment0 = LH.LeftWristRigAttachment | |
| 187 | bsc7.Attachment1 = LLA.LeftWristRigAttachment | |
| 188 | ||
| 189 | local bsc8 = Instance.new("BallSocketConstraint",UT)
| |
| 190 | bsc8.Attachment0 = LLA.LeftElbowRigAttachment | |
| 191 | bsc8.Attachment1 = LUA.LeftElbowRigAttachment | |
| 192 | ||
| 193 | local bsc9 = Instance.new("BallSocketConstraint",UT)
| |
| 194 | bsc9.Attachment0 = LUA.LeftShoulderAttachment | |
| 195 | bsc9.Attachment1 = UT.LeftCollarAttachment | |
| 196 | ||
| 197 | local bsc10 = Instance.new("BallSocketConstraint",UT)
| |
| 198 | bsc10.Attachment0 = RH.RightWristRigAttachment | |
| 199 | bsc10.Attachment1 = RLA.RightWristRigAttachment | |
| 200 | ||
| 201 | local bsc11 = Instance.new("BallSocketConstraint",UT)
| |
| 202 | bsc11.Attachment0 = RLA.RightElbowRigAttachment | |
| 203 | bsc11.Attachment1 = RUA.RightElbowRigAttachment | |
| 204 | ||
| 205 | local bsc12 = Instance.new("BallSocketConstraint",UT)
| |
| 206 | bsc12.Attachment0 = RUA.RightShoulderAttachment | |
| 207 | bsc12.Attachment1 = UT.RightCollarAttachment | |
| 208 | ||
| 209 | local bsc13 = Instance.new("BallSocketConstraint",UT)
| |
| 210 | bsc13.Attachment0 = LT.WaistRigAttachment | |
| 211 | bsc13.Attachment1 = UT.WaistRigAttachment | |
| 212 | ||
| 213 | local bsc14 = Instance.new("BallSocketConstraint",UT)
| |
| 214 | bsc14.Attachment0 = UT.NeckRigAttachment | |
| 215 | bsc14.Attachment1 = head.NeckRigAttachment | |
| 216 | bsc14.LimitsEnabled = true | |
| 217 | bsc14.UpperAngle = 75 | |
| 218 | bsc14.TwistLimitsEnabled = true | |
| 219 | bsc14.UpperAngle = -45 | |
| 220 | bsc14.TwistLowerAngle = -45 | |
| 221 | ||
| 222 | end | |
| 223 | end) | |
| 224 | end | |
| 225 | if hum and head then | |
| 226 | hum.Died:Connect(function() | |
| 227 | local sound = Instance.new("Sound",head)
| |
| 228 | sound.SoundId = "rbxassetid://1588892236" | |
| 229 | sound.Volume = 4 | |
| 230 | sound.PlaybackSpeed = 1 | |
| 231 | sound.TimePosition = 1.2 | |
| 232 | sound:Play() | |
| 233 | local velo = Instance.new("BodyVelocity",head)
| |
| 234 | velo.MaxForce= Vector3.new(0, 4000, 0) | |
| 235 | velo.Velocity = Vector3.new(0, 3, 0) | |
| 236 | local velo1 = Instance.new("BodyAngularVelocity",head)
| |
| 237 | local num = 30 | |
| 238 | velo1.MaxTorque= Vector3.new(num ,num ,num ) | |
| 239 | velo1.AngularVelocity = Vector3.new(num , num , num ) | |
| 240 | end) | |
| 241 | end | |
| 242 | end | |
| 243 | end | |
| 244 | for _,v in pairs(workspace:GetChildren())do | |
| 245 | if game:GetService'Players':FindFirstChild(v.Name) then | |
| 246 | DE_FlyMeToHeaven(game:GetService'Players':FindFirstChild(v.Name)) | |
| 247 | end | |
| 248 | end | |
| 249 | workspace.ChildAdded:Connect(function(ch) | |
| 250 | if game:GetService'Players':FindFirstChild(ch.Name) then | |
| 251 | DE_FlyMeToHeaven(game:GetService'Players':FindFirstChild(ch.Name)) | |
| 252 | end | |
| 253 | end) | |
| 254 | function MPAR(parent,pos,size,orien,CanCol,shape,transpar,name) | |
| 255 | local part1 = Instance.new("Part",parent)
| |
| 256 | part1.Anchored = true | |
| 257 | part1.Position = pos | |
| 258 | part1.Size = size | |
| 259 | part1.Orientation = orien | |
| 260 | part1.CanCollide = CanCol | |
| 261 | part1.Shape = shape | |
| 262 | part1.Name = name | |
| 263 | part1.Transparency = transpar | |
| 264 | end | |
| 265 | function MWEG(parent,pos,size,orien,name) | |
| 266 | local part1 = Instance.new("WedgePart",parent)
| |
| 267 | part1.Anchored = true | |
| 268 | part1.Position = pos | |
| 269 | part1.Size = size | |
| 270 | part1.Orientation = orien | |
| 271 | part1.Name = name | |
| 272 | end | |
| 273 | - | function Houseify() |
| 273 | + | |
| 274 | house.Name = "House Version 1" | |
| 275 | ||
| 276 | if true then --couch | |
| 277 | local couch = Instance.new("Model",house)
| |
| 278 | couch.Name = "Couch" | |
| 279 | ||
| 280 | 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") | |
| 281 | MPAR(couch,Vector3.new(-6.5, 3.5, -9.5),Vector3.new(1, 1, 1),Vector3.new(-90, 90, 0),true,"Ball",0,"CPart") | |
| 282 | 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") | |
| 283 | MPAR(couch,Vector3.new(-8.5, 2.5, -2.5),Vector3.new(1, 1, 1),Vector3.new(0, 0, 90),true,"Ball",0,"CPart") | |
| 284 | 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") | |
| 285 | MPAR(couch,Vector3.new(-7.5, 2.5, -2.5),Vector3.new(2, 1, 1),Vector3.new(0, 0, 0),true,"Cylinder",0,"CPart") | |
| 286 | MPAR(couch,Vector3.new(-8.5, 2.5, -9.5),Vector3.new(1, 1, 1),Vector3.new(0, 0, 90),true,"Ball",0,"CPart") | |
| 287 | MPAR(couch,Vector3.new(-6.5, 2.25, -6),Vector3.new(1, 2.5, 7),Vector3.new(0, 0, 0),true,"Block",0,"CPart") | |
| 288 | MPAR(couch,Vector3.new(-6.5, 3.5, -2.5),Vector3.new(1, 1, 1),Vector3.new(-90, 90, 0),true,"Ball",0,"CPart") | |
| 289 | MPAR(couch,Vector3.new(-7.5, 1.5, -6),Vector3.new(2, 1, 8),Vector3.new(0, 0, 0),true,"Block",0,"CPart") | |
| 290 | MPAR(couch,Vector3.new(-8.5, 1.5, -6),Vector3.new(7, 1, 1),Vector3.new(90, -90, 0),true,"Cylinder",0,"CPart") | |
| 291 | MPAR(couch,Vector3.new(-7.5, 2.5, -9.5),Vector3.new(2, 1, 1),Vector3.new(0, 0, 0),true,"Cylinder",0,"CPart") | |
| 292 | 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") | |
| 293 | 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") | |
| 294 | MPAR(couch,Vector3.new(-6.5, 3.5, -6),Vector3.new(7, 1, 1),Vector3.new(-90, 90, 0),true,"Cylinder",0,"CPart") | |
| 295 | 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") | |
| 296 | local seat1 = Instance.new("Seat",couch)
| |
| 297 | seat1.Anchored = true | |
| 298 | seat1.Position = Vector3.new(-7.625, 2.0, -8) | |
| 299 | seat1.Size = Vector3.new(1.75, 0.25, 2) | |
| 300 | seat1.Orientation = Vector3.new(0,90,0) | |
| 301 | ||
| 302 | local seat2 = Instance.new("Seat",couch)
| |
| 303 | seat2.Anchored = true | |
| 304 | seat2.Position = Vector3.new(-7.625, 2.0, -4) | |
| 305 | seat2.Size = Vector3.new(1.75, 0.25, 2) | |
| 306 | seat2.Orientation = Vector3.new(0,90,0) | |
| 307 | ||
| 308 | for _,v in pairs(couch:GetChildren())do | |
| 309 | v.BrickColor =BrickColor.new("Really red")
| |
| 310 | v.Material = Enum.Material.Glass | |
| 311 | if v:IsA'Seat'then | |
| 312 | v.Transparency=1 | |
| 313 | end | |
| 314 | end | |
| 315 | end | |
| 316 | if true then --KillParts | |
| 317 | local mod = Instance.new("Model",house)
| |
| 318 | mod.Name = "KillParts" | |
| 319 | ||
| 320 | MPAR(mod,Vector3.new(-10.5, 1.5, -13),Vector3.new(7, 1, 2),Vector3.new(0,0,0),false,"Block",1,"KPS1") | |
| 321 | MPAR(mod,Vector3.new(-8, 1.5, -15.5),Vector3.new(2, 5, 7),Vector3.new(0,0,0),false,"Block",1,"KPS1") | |
| 322 | MPAR(mod,Vector3.new(-13, 1.5, -10),Vector3.new(2, 1, 14),Vector3.new(0,0,0),false,"Block",1,"KPS1") | |
| 323 | MPAR(mod,Vector3.new(-10.5, 2.5, -6),Vector3.new(7, 3, 6),Vector3.new(0,0,0),false,"Block",1,"KPS1") | |
| 324 | MPAR(mod,Vector3.new(-13, 5, -17),Vector3.new(2, 8, 4),Vector3.new(0,0,0),false,"Block",1,"KPS1") | |
| 325 | ||
| 326 | end | |
| 327 | if true then --ladder | |
| 328 | local ladder = Instance.new("Model",house)
| |
| 329 | ladder.Name = "Ladder" | |
| 330 | ||
| 331 | local t1 = Instance.new("TrussPart",ladder)
| |
| 332 | t1.Size = Vector3.new(2, 8, 2) | |
| 333 | t1.Anchored = true | |
| 334 | t1.Style = "NoSupports" | |
| 335 | t1.Position = Vector3.new(-13, 4, -17) | |
| 336 | t1.BrickColor = BrickColor.new("Br. yellowish orange")
| |
| 337 | t1.Material = Enum.Material.Brick | |
| 338 | end | |
| 339 | if true then --Door | |
| 340 | local Door = Instance.new("Model",house)
| |
| 341 | Door.Name = "Door" | |
| 342 | ||
| 343 | MPAR(Door,Vector3.new(-5.5, 4, -18),Vector3.new(1, 6, 4),Vector3.new(0,0,0),false,"Block",0,"Doorl") | |
| 344 | ||
| 345 | Door:FindFirstChild("Doorl").Material = Enum.Material.WoodPlanks
| |
| 346 | Door:FindFirstChild("Doorl").BrickColor = BrickColor.new("Bright orange")
| |
| 347 | end | |
| 348 | if true then --Sign | |
| 349 | local SMod = Instance.new("Model",house)
| |
| 350 | SMod.Name = "Sign" | |
| 351 | ||
| 352 | 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") | |
| 353 | local SBASE = SMod:FindFirstChild("SignBase")
| |
| 354 | SBASE.BrickColor = BrickColor.new("Really black")
| |
| 355 | SBASE.Material = Enum.Material.Metal | |
| 356 | ||
| 357 | local SGui = Instance.new("SurfaceGui",SBASE)
| |
| 358 | SGui.CanvasSize = Vector2.new(800,600) | |
| 359 | SGui.Face = "Right" | |
| 360 | ||
| 361 | local TL = Instance.new("TextLabel",SGui)
| |
| 362 | TL.BackgroundTransparency = 1 | |
| 363 | TL.Size = UDim2.new(1,0,1,0) | |
| 364 | wait() | |
| 365 | TL.Text = "R15 Avatars Only." | |
| 366 | TL.TextScaled = true | |
| 367 | TL.TextColor3 = Color3.new(255, 255, 255) | |
| 368 | end | |
| 369 | if true then --Roof | |
| 370 | local rooff = Instance.new("Model",house)
| |
| 371 | rooff.Name = "Roof" | |
| 372 | ||
| 373 | MPAR(rooff,Vector3.new(-15.5, 11, -16),Vector3.new(1, 6, 10),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 374 | MPAR(rooff,Vector3.new(-10.5, 11, -6),Vector3.new(11, 6, 10),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 375 | MPAR(rooff,Vector3.new(-5.5, 9.5, -13.5),Vector3.new(1, 3, 5),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 376 | MPAR(rooff,Vector3.new(-10.5, 11, -16),Vector3.new(1, 6, 10),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 377 | ||
| 378 | MWEG(rooff,Vector3.new(-8, 8.3, -20.5),Vector3.new(4, 0.6, 1),Vector3.new(0,0,0),"RoofWedgeThing") | |
| 379 | MWEG(rooff,Vector3.new(-5.5, 12.5, -13.5),Vector3.new(1, 3, 5),Vector3.new(0,0,0),"RoofWedgeThing") | |
| 380 | MWEG(rooff,Vector3.new(-5.5, 9.5, -18.5),Vector3.new(1, 3, 5),Vector3.new(0,0,0),"RoofWedgeThing") | |
| 381 | MWEG(rooff,Vector3.new(-13, 17.042, -6.083),Vector3.new(6, 6, 10),Vector3.new(0, 180, 0),"RoofWedgeThing") | |
| 382 | MWEG(rooff,Vector3.new(-13, 17.042, -16.083),Vector3.new(6, 6, 10),Vector3.new(0, 0, 0),"RoofWedgeThing") | |
| 383 | ||
| 384 | for _,v in pairs(rooff:GetChildren())do | |
| 385 | v.Material = Enum.Material.Brick | |
| 386 | v.BrickColor = BrickColor.new("Really red")
| |
| 387 | end | |
| 388 | end | |
| 389 | if true then --Wood (Jesus Pplease save me) | |
| 390 | local wood = Instance.new("Model",house)
| |
| 391 | wood.Name = "WoodStuff" | |
| 392 | ||
| 393 | MPAR(wood,Vector3.new(-10.5, 7.5, -16),Vector3.new(1, 1, 10),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 394 | MPAR(wood,Vector3.new(-10.5, 0.5, -11),Vector3.new(11, 1, 20),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 395 | MPAR(wood,Vector3.new(-15.5, 4.5, -11),Vector3.new(1, 7, 20),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 396 | MPAR(wood,Vector3.new(-13, 4.535, -19),Vector3.new(4, 7.07, 4),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 397 | MPAR(wood,Vector3.new(-8, 7.5, -10.5),Vector3.new(4, 1, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 398 | MPAR(wood,Vector3.new(-5.5, 4, -13),Vector3.new(1, 6, 6),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 399 | MPAR(wood,Vector3.new(-5.5, 2.5, -6),Vector3.new(1, 3, 8),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 400 | MPAR(wood,Vector3.new(-10, 4, -20.5),Vector3.new(10, 6, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 401 | MPAR(wood,Vector3.new(-10, 4.5, -1.5),Vector3.new(10, 7, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 402 | MPAR(wood,Vector3.new(-8.5, 4.5, -10.5),Vector3.new(5, 7, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 403 | MPAR(wood,Vector3.new(-7.5, 7.5, -20.5),Vector3.new(5, 1, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 404 | MPAR(wood,Vector3.new(-10.5, 4, -17.5),Vector3.new(1, 6, 5),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 405 | MPAR(wood,Vector3.new(-5.5, 6.5, -6),Vector3.new(1, 1, 8),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 406 | MPAR(wood,Vector3.new(-13, 9.04, -20.5),Vector3.new(4, 2, 1),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 407 | MPAR(wood,Vector3.new(-5.5, 7.5, -11),Vector3.new(1, 1, 18),Vector3.new(0, 0, 0),true,"Block",0,"RoofThing") | |
| 408 | MWEG(wood,Vector3.new(-4, 0.5, -18),Vector3.new(4, 1, 2),Vector3.new(0, -90, 0),"Thing") | |
| 409 | ||
| 410 | for _,v in pairs(wood:GetChildren())do | |
| 411 | v.Material = Enum.Material.WoodPlanks | |
| 412 | v.BrickColor = BrickColor.new("Br. yellowish orange")
| |
| 413 | end | |
| 414 | end | |
| 415 | if true then --window | |
| 416 | local window = Instance.new("Model",house)
| |
| 417 | window.Name = "Window" | |
| 418 | ||
| 419 | MPAR(window,Vector3.new(-5.5, 5, -6),Vector3.new(1, 2, 8),Vector3.new(0, 0, 0),true,"Block",0.7,"RoofThing") | |
| 420 | MPAR(window,Vector3.new(-13, 12.04, -20.5),Vector3.new(4, 4, 1),Vector3.new(0, 0, 0),true,"Block",0.7,"RoofThing") | |
| 421 | ||
| 422 | for _,v in pairs(window:GetChildren())do | |
| 423 | v.Material = Enum.Material.WoodPlanks | |
| 424 | v.BrickColor = BrickColor.new("Pastel Blue")
| |
| 425 | end | |
| 426 | end | |
| 427 | if true then --TV and light | |
| 428 | local TVAL = Instance.new("Model",house)
| |
| 429 | TVAL.Name = "TV and Light" | |
| 430 | ||
| 431 | 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") | |
| 432 | 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") | |
| 433 | 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") | |
| 434 | ||
| 435 | for _,v in pairs(TVAL:GetChildren())do | |
| 436 | v.BrickColor = BrickColor.new("Institutional white")
| |
| 437 | end | |
| 438 | ||
| 439 | 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") | |
| 440 | ||
| 441 | TVAL:FindFirstChild("TVPartScreen").BrickColor = BrickColor.new("Really black")
| |
| 442 | ||
| 443 | for _,v in pairs(TVAL:GetChildren())do | |
| 444 | v.Material = Enum.Material.SmoothPlastic | |
| 445 | end | |
| 446 | ||
| 447 | 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") | |
| 448 | ||
| 449 | local light = TVAL:FindFirstChild("Light")
| |
| 450 | light.BrickColor = BrickColor.new("Lily white")
| |
| 451 | light.Material = Enum.Material.Metal | |
| 452 | ||
| 453 | local SL = Instance.new("SurfaceLight",light)
| |
| 454 | SL.Range = 16 | |
| 455 | SL.Face = "Left" | |
| 456 | SL.Shadows = true | |
| 457 | SL.Brightness = 6.72 | |
| 458 | end | |
| 459 | ||
| 460 | for _,v in pairs(house:FindFirstChild'KillParts':GetChildren())do | |
| 461 | v.Touched:Connect(function(hit) | |
| 462 | - | Houseify() |
| 462 | + | |
| 463 | - | local house = workspace:FindFirstChild"House Version 1" |
| 463 | + | |
| 464 | - | if house then |
| 464 | + | |
| 465 | - | for _,v in pairs(house:FindFirstChild'KillParts':GetChildren())do |
| 465 | + | if hum.RigType==Enum.HumanoidRigType.R6 then |
| 466 | hum.Health = 0 | |
| 467 | end | |
| 468 | end | |
| 469 | end) | |
| 470 | - | if hum.RigType==Enum.HumanoidRigType.R6 and hum.Parent.Name~="SoftlockedUnderZero"then |
| 470 | + | |
| 471 | ||
| 472 | end | |
| 473 | -- (c) CHL/SoftlockedUnderZero |