SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,game,owner = owner,game | |
| 4 | - | Victim = game.Players["contentdeleted93726 "] |
| 4 | + | local RealPlayer = Player |
| 5 | - | KlanLeader.Character.Name = "Klan Leader" |
| 5 | + | do |
| 6 | print("FE Compatibility code V2 by Mokiros")
| |
| 7 | local RealPlayer = RealPlayer | |
| 8 | script.Parent = RealPlayer.Character | |
| 9 | ||
| 10 | --Fake event to make stuff like Mouse.KeyDown work | |
| 11 | local Disconnect_Function = function(this) | |
| 12 | this[1].Functions[this[2]] = nil | |
| 13 | end | |
| 14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
| |
| 15 | local FakeEvent_Metatable = {__index={
| |
| 16 | Connect = function(this,f) | |
| 17 | local i = tostring(math.random(0,10000)) | |
| 18 | while this.Functions[i] do | |
| 19 | i = tostring(math.random(0,10000)) | |
| 20 | end | |
| 21 | this.Functions[i] = f | |
| 22 | return setmetatable({this,i},Disconnect_Metatable)
| |
| 23 | end | |
| 24 | }} | |
| 25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
| 26 | local function fakeEvent() | |
| 27 | return setmetatable({Functions={}},FakeEvent_Metatable)
| |
| 28 | end | |
| 29 | ||
| 30 | --Creating fake input objects with fake variables | |
| 31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
| |
| 32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
| 33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
| 34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 37 | end} | |
| 38 | --Merged 2 functions into one by checking amount of arguments | |
| 39 | CAS.UnbindAction = CAS.BindAction | |
| 40 | ||
| 41 | --This function will trigger the events that have been :Connect()'ed | |
| 42 | local function TriggerEvent(self,ev,...) | |
| 43 | for _,f in pairs(self[ev].Functions) do | |
| 44 | f(...) | |
| 45 | end | |
| 46 | end | |
| 47 | FakeMouse.TriggerEvent = TriggerEvent | |
| 48 | UIS.TriggerEvent = TriggerEvent | |
| 49 | ||
| 50 | --Client communication | |
| 51 | local Event = Instance.new("RemoteEvent")
| |
| 52 | Event.Name = "UserInput_Event" | |
| 53 | Event.OnServerEvent:Connect(function(plr,io) | |
| 54 | if plr~=RealPlayer then return end | |
| 55 | FakeMouse.Target = io.Target | |
| 56 | FakeMouse.Hit = io.Hit | |
| 57 | if not io.isMouse then | |
| 58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
| 61 | end | |
| 62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
| 64 | end | |
| 65 | for _,t in pairs(CAS.Actions) do | |
| 66 | for _,k in pairs(t.Keys) do | |
| 67 | if k==io.KeyCode then | |
| 68 | t.Function(t.Name,io.UserInputState,io) | |
| 69 | end | |
| 70 | end | |
| 71 | end | |
| 72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 74 | end | |
| 75 | end) | |
| 76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
| |
| 77 | local Mouse = owner:GetMouse() | |
| 78 | local UIS = game:GetService("UserInputService")
| |
| 79 | local input = function(io,RobloxHandled) | |
| 80 | if RobloxHandled then return end | |
| 81 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 83 | end | |
| 84 | UIS.InputBegan:Connect(input) | |
| 85 | UIS.InputEnded:Connect(input) | |
| 86 | local h,t | |
| 87 | --Give the server mouse data every second frame, but only if the values changed | |
| 88 | --If player is not moving their mouse, client won't fire events | |
| 89 | local HB = game:GetService("RunService").Heartbeat
| |
| 90 | while true do | |
| 91 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 92 | h,t=Mouse.Hit,Mouse.Target | |
| 93 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 94 | end | |
| 95 | --Wait 2 frames | |
| 96 | for i=1,2 do | |
| 97 | HB:Wait() | |
| 98 | end | |
| 99 | end]==],script) | |
| 100 | ||
| 101 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 102 | --Real game object | |
| 103 | local RealGame = game | |
| 104 | ||
| 105 | --Metatable for fake service | |
| 106 | local FakeService_Metatable = {
| |
| 107 | __index = function(self,k) | |
| 108 | local s = rawget(self,"_RealService") | |
| 109 | if s then | |
| 110 | return typeof(s[k])=="function" | |
| 111 | and function(_,...)return s[k](s,...)end or s[k] | |
| 112 | end | |
| 113 | end, | |
| 114 | __newindex = function(self,k,v) | |
| 115 | local s = rawget(self,"_RealService") | |
| 116 | if s then s[k]=v end | |
| 117 | end | |
| 118 | } | |
| 119 | local function FakeService(t,RealService) | |
| 120 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
| 121 | return setmetatable(t,FakeService_Metatable) | |
| 122 | end | |
| 123 | ||
| 124 | --Fake game object | |
| 125 | local FakeGame = {
| |
| 126 | GetService = function(self,s) | |
| 127 | return rawget(self,s) or RealGame:GetService(s) | |
| 128 | end, | |
| 129 | Players = FakeService({
| |
| 130 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
| |
| 131 | },"Players"), | |
| 132 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 133 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 134 | RunService = FakeService({
| |
| 135 | _btrs = {},
| |
| 136 | RenderStepped = RealGame:GetService("RunService").Heartbeat,
| |
| 137 | BindToRenderStep = function(self,name,_,fun) | |
| 138 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 139 | end, | |
| 140 | UnbindFromRenderStep = function(self,name) | |
| 141 | self._btrs[name]:Disconnect() | |
| 142 | end, | |
| 143 | },"RunService") | |
| 144 | } | |
| 145 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
| 146 | FakeGame.service = FakeGame.GetService | |
| 147 | FakeService(FakeGame,game) | |
| 148 | --Changing owner to fake player object to support owner:GetMouse() | |
| 149 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
| 150 | end | |
| 151 | --Made by OpTic Wisdom/LikeATrollFace | |
| 152 | ||
| 153 | KlanLeader = game.Players | |
| 154 | Victim = game.Players["LocalPlayer"] | |
| 155 | ||
| 156 | kekkk = Instance.new("Sound" ,game.Workspace)
| |
| 157 | kekkk.Volume = 100 | |
| 158 | kekkk.SoundId = "rbxassetid://507332641" | |
| 159 | kekkk.Name = "kekkk" | |
| 160 | kekkk:Play() | |
| 161 | ||
| 162 | if not KlanLeader.Character:FindFirstChild("Shirt Graphic") then
| |
| 163 | Instance.new("ShirtGraphic", KlanLeader.Character)
| |
| 164 | end | |
| 165 | ||
| 166 | ||
| 167 | if KlanLeader.Character:FindFirstChild("Shirt") then KlanLeader.Character.Shirt:Destroy()
| |
| 168 | end | |
| 169 | if KlanLeader.Character:FindFirstChild("Pants") then KlanLeader.Character.Pants:Destroy()
| |
| 170 | end | |
| 171 | ||
| 172 | for _, v in pairs(KlanLeader.Character:GetChildren()) do | |
| 173 | if v:IsA("Hat") then
| |
| 174 | v:Destroy() | |
| 175 | end | |
| 176 | end | |
| 177 | ||
| 178 | for _, v in pairs(KlanLeader.Character:GetChildren()) do | |
| 179 | if v:IsA("CharacterMesh") then
| |
| 180 | v:Destroy() | |
| 181 | end | |
| 182 | end | |
| 183 | ||
| 184 | if Victim.Character:FindFirstChild("Pants") then Victim.Character.Pants:Destroy()
| |
| 185 | end | |
| 186 | if Victim.Character:FindFirstChild("Shirt") then Victim.Character.Shirt:Destroy()
| |
| 187 | end | |
| 188 | ||
| 189 | x = game:GetService("InsertService"):LoadAsset(1082932)
| |
| 190 | for i,v in pairs(x:GetChildren()) do | |
| 191 | v.Parent = game.Players.LocalPlayer.Character | |
| 192 | end | |
| 193 | wait(0.1) | |
| 194 | x = game:GetService("InsertService"):LoadAsset(15727015)
| |
| 195 | for i,v in pairs(x:GetChildren()) do | |
| 196 | v.Parent = game.Players.LocalPlayer.Character | |
| 197 | end | |
| 198 | wait(0.1) | |
| 199 | KlanLeader.Character.TrafficCone.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=1082802" | |
| 200 | KlanLeader.Character.TrafficCone.Handle.Mesh.Scale = Vector3.new(1.08,1.7,1.08) | |
| 201 | KlanLeader.Character["Gaga glasses"].Handle.Mesh.Scale = Vector3.new(0.5,0.6,0.6) | |
| 202 | KlanLeader.Character.TrafficCone.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=37911695" | |
| 203 | KlanLeader.Character["Gaga glasses"].Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=15721268" | |
| 204 | KlanLeader.Character.TrafficCone.AttachmentForward = Vector3.new(0,0,-1) | |
| 205 | KlanLeader.Character.TrafficCone.AttachmentRight = Vector3.new(1,0,0) | |
| 206 | KlanLeader.Character.TrafficCone.AttachmentUp = Vector3.new(0,1,0) | |
| 207 | KlanLeader.Character["Shirt Graphic"].Graphic = "http://www.roblox.com/asset/?id=396340736" | |
| 208 | KlanLeader.Character.Head.BrickColor = BrickColor.new(1) | |
| 209 | KlanLeader.Character.Torso.BrickColor = BrickColor.new(1) | |
| 210 | KlanLeader.Character["Left Arm"].BrickColor = BrickColor.new(1) | |
| 211 | KlanLeader.Character["Right Arm"].BrickColor = BrickColor.new(1) | |
| 212 | KlanLeader.Character["Left Leg"].BrickColor = BrickColor.new(1) | |
| 213 | KlanLeader.Character["Right Leg"].BrickColor = BrickColor.new(1) | |
| 214 | ||
| 215 | Victim.Character.Head.BrickColor = BrickColor.new("Dirt brown")
| |
| 216 | Victim.Character.Torso.BrickColor = BrickColor.new("Dirt brown")
| |
| 217 | Victim.Character["Left Arm"].BrickColor = BrickColor.new("Dirt brown")
| |
| 218 | Victim.Character["Right Arm"].BrickColor = BrickColor.new("Dirt brown")
| |
| 219 | Victim.Character["Left Leg"].BrickColor = BrickColor.new("Dirt brown")
| |
| 220 | Victim.Character["Right Leg"].BrickColor = BrickColor.new("Dirt brown")
| |
| 221 | ||
| 222 | Create = function(itemClass,tabl) | |
| 223 | local item = Instance.new(itemClass) | |
| 224 | for i,v in pairs(tabl) do | |
| 225 | local a,b = ypcall(function() return item[i] end) | |
| 226 | if a then | |
| 227 | item[i] = tabl[i] | |
| 228 | end | |
| 229 | end | |
| 230 | return item | |
| 231 | end | |
| 232 | function runDummyScript(f,scri) | |
| 233 | local oldenv = getfenv(f) | |
| 234 | local newenv = setmetatable({}, {
| |
| 235 | __index = function(_, k) | |
| 236 | if k:lower() == 'script' then | |
| 237 | return scri | |
| 238 | else | |
| 239 | return oldenv[k] | |
| 240 | end | |
| 241 | end | |
| 242 | }) | |
| 243 | setfenv(f, newenv) | |
| 244 | ypcall(function() f() end) | |
| 245 | end | |
| 246 | cors = {}
| |
| 247 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 248 | mas.Name = "CompiledModel" | |
| 249 | o1 = Create("Model",{
| |
| 250 | ["Name"] = "Gallows", | |
| 251 | ["Parent"] = mas, | |
| 252 | }) | |
| 253 | o2 = Create("Part",{
| |
| 254 | ["Name"] = "Smooth Block Model", | |
| 255 | ["Parent"] = o1, | |
| 256 | ["Material"] = Enum.Material.Wood, | |
| 257 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 258 | ["Position"] = Vector3.new(-24, 0.600031018, 62), | |
| 259 | ["Anchored"] = true, | |
| 260 | ["CFrame"] = CFrame.new(-24, 0.600031018, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 261 | ["Size"] = Vector3.new(2, 1.20000005, 8), | |
| 262 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 263 | }) | |
| 264 | o3 = Create("Part",{
| |
| 265 | ["Name"] = "Smooth Block Model", | |
| 266 | ["Parent"] = o1, | |
| 267 | ["Material"] = Enum.Material.Wood, | |
| 268 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 269 | ["Position"] = Vector3.new(-22, 1.20002401, 62), | |
| 270 | ["Anchored"] = true, | |
| 271 | ["CFrame"] = CFrame.new(-22, 1.20002401, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 272 | ["Size"] = Vector3.new(2, 2.4000001, 8), | |
| 273 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 274 | }) | |
| 275 | o4 = Create("Part",{
| |
| 276 | ["Name"] = "Smooth Block Model", | |
| 277 | ["Parent"] = o1, | |
| 278 | ["Material"] = Enum.Material.Wood, | |
| 279 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 280 | ["Position"] = Vector3.new(-18, 2.40002704, 62), | |
| 281 | ["Anchored"] = true, | |
| 282 | ["CFrame"] = CFrame.new(-18, 2.40002704, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 283 | ["Size"] = Vector3.new(2, 4.80000019, 8), | |
| 284 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 285 | }) | |
| 286 | o5 = Create("Part",{
| |
| 287 | ["Name"] = "Smooth Block Model", | |
| 288 | ["Parent"] = o1, | |
| 289 | ["Material"] = Enum.Material.Wood, | |
| 290 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 291 | ["Position"] = Vector3.new(-20, 1.80002904, 62), | |
| 292 | ["Anchored"] = true, | |
| 293 | ["CFrame"] = CFrame.new(-20, 1.80002904, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 294 | ["Size"] = Vector3.new(2, 3.60000014, 8), | |
| 295 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 296 | }) | |
| 297 | o6 = Create("Part",{
| |
| 298 | ["Name"] = "Smooth Block Model", | |
| 299 | ["Parent"] = o1, | |
| 300 | ["Material"] = Enum.Material.Wood, | |
| 301 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 302 | ["Position"] = Vector3.new(-16, 3.00002789, 62), | |
| 303 | ["Anchored"] = true, | |
| 304 | ["CFrame"] = CFrame.new(-16, 3.00002789, 62, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 305 | ["Size"] = Vector3.new(2, 6, 8), | |
| 306 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 307 | }) | |
| 308 | o7 = Create("Part",{
| |
| 309 | ["Name"] = "Smooth Block Model", | |
| 310 | ["Parent"] = o1, | |
| 311 | ["Material"] = Enum.Material.Wood, | |
| 312 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 313 | ["Position"] = Vector3.new(-14.5, 2.40002704, 69.5), | |
| 314 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 315 | ["Anchored"] = true, | |
| 316 | ["CFrame"] = CFrame.new(-14.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 317 | ["Size"] = Vector3.new(1, 4.80000019, 1), | |
| 318 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 319 | }) | |
| 320 | o8 = Create("Part",{
| |
| 321 | ["Name"] = "Smooth Block Model", | |
| 322 | ["Parent"] = o1, | |
| 323 | ["Material"] = Enum.Material.Wood, | |
| 324 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 325 | ["Position"] = Vector3.new(-5.5, 2.40002704, 69.5), | |
| 326 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 327 | ["Anchored"] = true, | |
| 328 | ["CFrame"] = CFrame.new(-5.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 329 | ["Size"] = Vector3.new(1, 4.80000019, 1), | |
| 330 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 331 | }) | |
| 332 | o9 = Create("Part",{
| |
| 333 | ["Name"] = "Smooth Block Model", | |
| 334 | ["Parent"] = o1, | |
| 335 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 336 | ["Position"] = Vector3.new(-3.5, 5.40002203, 50.5), | |
| 337 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 338 | ["Anchored"] = true, | |
| 339 | ["CFrame"] = CFrame.new(-3.5, 5.40002203, 50.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 340 | ["Size"] = Vector3.new(1, 1.20000005, 1), | |
| 341 | ["LeftSurface"] = Enum.SurfaceType.Hinge, | |
| 342 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 343 | }) | |
| 344 | o10 = Create("Part",{
| |
| 345 | ["Name"] = "Smooth Block Model", | |
| 346 | ["Parent"] = o1, | |
| 347 | ["Material"] = Enum.Material.Wood, | |
| 348 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 349 | ["Position"] = Vector3.new(-10, 5.40002203, 47.5), | |
| 350 | ["Anchored"] = true, | |
| 351 | ["CFrame"] = CFrame.new(-10, 5.40002203, 47.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 352 | ["Size"] = Vector3.new(10, 1.20000005, 45), | |
| 353 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 354 | }) | |
| 355 | o11 = Create("Part",{
| |
| 356 | ["Name"] = "Smooth Block Model", | |
| 357 | ["Parent"] = o1, | |
| 358 | ["Material"] = Enum.Material.Wood, | |
| 359 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 360 | ["Position"] = Vector3.new(-1, 5.40002203, 60.5), | |
| 361 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 362 | ["Anchored"] = true, | |
| 363 | ["CFrame"] = CFrame.new(-1, 5.40002203, 60.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 364 | ["Size"] = Vector3.new(19, 1.20000005, 8), | |
| 365 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 366 | }) | |
| 367 | o12 = Create("Part",{
| |
| 368 | ["Name"] = "trap", | |
| 369 | ["Parent"] = o1, | |
| 370 | ["Material"] = Enum.Material.Wood, | |
| 371 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 372 | ["Position"] = Vector3.new(-1, 5.40002203, 47), | |
| 373 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 374 | ["Anchored"] = true, | |
| 375 | ["CFrame"] = CFrame.new(-1, 5.40002203, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 376 | ["Size"] = Vector3.new(6, 1.20000005, 6), | |
| 377 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 378 | }) | |
| 379 | o13 = Create("Part",{
| |
| 380 | ["Name"] = "Smooth Block Model", | |
| 381 | ["Parent"] = o1, | |
| 382 | ["Material"] = Enum.Material.Wood, | |
| 383 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 384 | ["Position"] = Vector3.new(-2.5, 7.20002079, 57.5), | |
| 385 | ["CFrame"] = CFrame.new(-2.5, 7.20002079, 57.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 386 | ["Size"] = Vector3.new(1, 2.4000001, 3), | |
| 387 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 388 | }) | |
| 389 | o14 = Create("Part",{
| |
| 390 | ["Name"] = "Smooth Block Model", | |
| 391 | ["Parent"] = o1, | |
| 392 | ["Material"] = Enum.Material.Wood, | |
| 393 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 394 | ["Position"] = Vector3.new(3.5, 2.40002704, 69.5), | |
| 395 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 396 | ["Anchored"] = true, | |
| 397 | ["CFrame"] = CFrame.new(3.5, 2.40002704, 69.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 398 | ["Size"] = Vector3.new(1, 4.80000019, 1), | |
| 399 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 400 | }) | |
| 401 | o15 = Create("Part",{
| |
| 402 | ["Name"] = "Smooth Block Model", | |
| 403 | ["Parent"] = o1, | |
| 404 | ["Material"] = Enum.Material.Wood, | |
| 405 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 406 | ["Position"] = Vector3.new(2.5, 5.40002203, 47), | |
| 407 | ["Anchored"] = true, | |
| 408 | ["CFrame"] = CFrame.new(2.5, 5.40002203, 47, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 409 | ["CanCollide"] = false, | |
| 410 | ["Size"] = Vector3.new(1, 1.20000005, 8), | |
| 411 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 412 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 413 | }) | |
| 414 | o16 = Create("Part",{
| |
| 415 | ["Name"] = "Smooth Block Model", | |
| 416 | ["Parent"] = o1, | |
| 417 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 418 | ["Position"] = Vector3.new(-3.5, 5.40002203, 43.5), | |
| 419 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 420 | ["Anchored"] = true, | |
| 421 | ["CFrame"] = CFrame.new(-3.5, 5.40002203, 43.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 422 | ["Size"] = Vector3.new(1, 1.20000005, 1), | |
| 423 | ["RightSurface"] = Enum.SurfaceType.Hinge, | |
| 424 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 425 | }) | |
| 426 | o17 = Create("Part",{
| |
| 427 | ["Name"] = "welder", | |
| 428 | ["Parent"] = o1, | |
| 429 | ["Material"] = Enum.Material.Wood, | |
| 430 | ["BrickColor"] = BrickColor.new("Reddish brown"),
| |
| 431 | ["Position"] = Vector3.new(-0.5, 6.60002804, 47), | |
| 432 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 433 | ["CFrame"] = CFrame.new(-0.5, 6.60002804, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 434 | ["Size"] = Vector3.new(4, 1.20000005, 3), | |
| 435 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
| 436 | ["Color"] = Color3.new(0.411765, 0.25098, 0.156863), | |
| 437 | }) | |
| 438 | o18 = Create("Part",{
| |
| 439 | ["Name"] = "Smooth Block Model", | |
| 440 | ["Parent"] = o1, | |
| 441 | ["Material"] = Enum.Material.Wood, | |
| 442 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 443 | ["Position"] = Vector3.new(0, 7.20002079, 56.5), | |
| 444 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 445 | ["CFrame"] = CFrame.new(0, 7.20002079, 56.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 446 | ["Size"] = Vector3.new(1, 2.4000001, 4), | |
| 447 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 448 | }) | |
| 449 | o19 = Create("Part",{
| |
| 450 | ["Name"] = "Smooth Block Model", | |
| 451 | ["Parent"] = o1, | |
| 452 | ["Material"] = Enum.Material.Wood, | |
| 453 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 454 | ["Position"] = Vector3.new(3.5, 5.40002203, 47.5), | |
| 455 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 456 | ["Anchored"] = true, | |
| 457 | ["CFrame"] = CFrame.new(3.5, 5.40002203, 47.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 458 | ["Size"] = Vector3.new(45, 1.20000005, 1), | |
| 459 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 460 | }) | |
| 461 | o20 = Create("Part",{
| |
| 462 | ["Name"] = "Smooth Block Model", | |
| 463 | ["Parent"] = o1, | |
| 464 | ["Material"] = Enum.Material.Wood, | |
| 465 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 466 | ["Position"] = Vector3.new(0, 7.20002079, 58.5), | |
| 467 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 468 | ["CFrame"] = CFrame.new(0, 7.20002079, 58.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 469 | ["Size"] = Vector3.new(1, 2.4000001, 4), | |
| 470 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 471 | }) | |
| 472 | o21 = Create("Part",{
| |
| 473 | ["Name"] = "gallowswitch", | |
| 474 | ["Parent"] = o1, | |
| 475 | ["Material"] = Enum.Material.Wood, | |
| 476 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 477 | ["Position"] = Vector3.new(-1.63906896, 8.80330181, 57.5), | |
| 478 | ["Rotation"] = Vector3.new(-90, 60.0933647, -90), | |
| 479 | ["Anchored"] = true, | |
| 480 | ["CFrame"] = CFrame.new(-1.63906896, 8.80330181, 57.5, 1.78087221e-017, 0.498588145, 0.866838992, 4.72897554e-019, -0.866839051, 0.498588145, 1.00000012, -8.46929136e-018, -1.56730758e-017), | |
| 481 | ["Size"] = Vector3.new(1, 4.80000019, 1), | |
| 482 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 483 | }) | |
| 484 | o22 = Create("Part",{
| |
| 485 | ["Name"] = "Smooth Block Model", | |
| 486 | ["Parent"] = o1, | |
| 487 | ["Material"] = Enum.Material.Wood, | |
| 488 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 489 | ["Position"] = Vector3.new(-0.5, 10.800024, 51.5), | |
| 490 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 491 | ["Anchored"] = true, | |
| 492 | ["CFrame"] = CFrame.new(-0.5, 10.800024, 51.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 493 | ["Size"] = Vector3.new(1, 9.60000038, 1), | |
| 494 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 495 | }) | |
| 496 | o23 = Create("Part",{
| |
| 497 | ["Name"] = "Smooth Block Model", | |
| 498 | ["Parent"] = o1, | |
| 499 | ["Material"] = Enum.Material.Wood, | |
| 500 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 501 | ["Position"] = Vector3.new(-0.5, 10.800024, 42.5), | |
| 502 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 503 | ["Anchored"] = true, | |
| 504 | ["CFrame"] = CFrame.new(-0.5, 10.800024, 42.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 505 | ["Size"] = Vector3.new(1, 9.60000038, 1), | |
| 506 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 507 | }) | |
| 508 | o24 = Create("Part",{
| |
| 509 | ["Name"] = "Smooth Block Model", | |
| 510 | ["Parent"] = o1, | |
| 511 | ["Material"] = Enum.Material.Wood, | |
| 512 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 513 | ["Position"] = Vector3.new(2.5, 7.20002079, 57.5), | |
| 514 | ["CFrame"] = CFrame.new(2.5, 7.20002079, 57.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 515 | ["Size"] = Vector3.new(1, 2.4000001, 3), | |
| 516 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 517 | }) | |
| 518 | o25 = Create("Part",{
| |
| 519 | ["Name"] = "gallowswitch2", | |
| 520 | ["Parent"] = o1, | |
| 521 | ["Material"] = Enum.Material.Wood, | |
| 522 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 523 | ["Transparency"] = 1, | |
| 524 | ["Position"] = Vector3.new(1.5, 9.00002384, 57.5), | |
| 525 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 526 | ["Anchored"] = true, | |
| 527 | ["CFrame"] = CFrame.new(1.5, 9.00002384, 57.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 528 | ["Size"] = Vector3.new(1, 6, 1), | |
| 529 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 530 | }) | |
| 531 | o26 = Create("Part",{
| |
| 532 | ["Name"] = "rope", | |
| 533 | ["Parent"] = o1, | |
| 534 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 535 | ["Position"] = Vector3.new(-0.5, 12.6000204, 46.5), | |
| 536 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 537 | ["RotVelocity"] = Vector3.new(9.29485318e-017, 7.26643592e-018, 9.29485318e-017), | |
| 538 | ["Velocity"] = Vector3.new(6.78266e-017, -0.644254982, 6.78266e-017), | |
| 539 | ["CFrame"] = CFrame.new(-0.5, 12.6000204, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 540 | ["Size"] = Vector3.new(1, 1.20000005, 1), | |
| 541 | ["BottomSurface"] = Enum.SurfaceType.Motor, | |
| 542 | ["TopSurface"] = Enum.SurfaceType.Motor, | |
| 543 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 544 | }) | |
| 545 | o27 = Create("SpecialMesh",{
| |
| 546 | ["Parent"] = o26, | |
| 547 | ["MeshType"] = Enum.MeshType.Sphere, | |
| 548 | }) | |
| 549 | o28 = Create("Part",{
| |
| 550 | ["Name"] = "Smooth Block Model", | |
| 551 | ["Parent"] = o1, | |
| 552 | ["Material"] = Enum.Material.Wood, | |
| 553 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 554 | ["Position"] = Vector3.new(-1, 5.40002203, 34), | |
| 555 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 556 | ["Anchored"] = true, | |
| 557 | ["CFrame"] = CFrame.new(-1, 5.40002203, 34, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 558 | ["Size"] = Vector3.new(18, 1.20000005, 8), | |
| 559 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 560 | }) | |
| 561 | o29 = Create("Part",{
| |
| 562 | ["Name"] = "rope", | |
| 563 | ["Parent"] = o1, | |
| 564 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 565 | ["Position"] = Vector3.new(-0.5, 13.8000278, 46.5), | |
| 566 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 567 | ["RotVelocity"] = Vector3.new(9.29485318e-017, 5.65548431e-018, 9.29485318e-017), | |
| 568 | ["Velocity"] = Vector3.new(6.78266e-017, -0.42925173, 6.78266e-017), | |
| 569 | ["CFrame"] = CFrame.new(-0.5, 13.8000278, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 570 | ["Size"] = Vector3.new(1, 1.20000005, 1), | |
| 571 | ["BottomSurface"] = Enum.SurfaceType.Motor, | |
| 572 | ["TopSurface"] = Enum.SurfaceType.Motor, | |
| 573 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 574 | }) | |
| 575 | o30 = Create("SpecialMesh",{
| |
| 576 | ["Parent"] = o29, | |
| 577 | ["MeshType"] = Enum.MeshType.Sphere, | |
| 578 | }) | |
| 579 | o31 = Create("Part",{
| |
| 580 | ["Name"] = "Smooth Block Model", | |
| 581 | ["Parent"] = o1, | |
| 582 | ["Material"] = Enum.Material.Wood, | |
| 583 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 584 | ["Position"] = Vector3.new(-24, 0.600031018, 33), | |
| 585 | ["Anchored"] = true, | |
| 586 | ["CFrame"] = CFrame.new(-24, 0.600031018, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 587 | ["Size"] = Vector3.new(2, 1.20000005, 8), | |
| 588 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 589 | }) | |
| 590 | o32 = Create("Part",{
| |
| 591 | ["Name"] = "Smooth Block Model", | |
| 592 | ["Parent"] = o1, | |
| 593 | ["Material"] = Enum.Material.Wood, | |
| 594 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 595 | ["Position"] = Vector3.new(-22, 1.20002401, 33), | |
| 596 | ["Anchored"] = true, | |
| 597 | ["CFrame"] = CFrame.new(-22, 1.20002401, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 598 | ["Size"] = Vector3.new(2, 2.4000001, 8), | |
| 599 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 600 | }) | |
| 601 | o33 = Create("Part",{
| |
| 602 | ["Name"] = "Smooth Block Model", | |
| 603 | ["Parent"] = o1, | |
| 604 | ["Material"] = Enum.Material.Wood, | |
| 605 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 606 | ["Position"] = Vector3.new(-16, 3.00002789, 33), | |
| 607 | ["Anchored"] = true, | |
| 608 | ["CFrame"] = CFrame.new(-16, 3.00002789, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 609 | ["Size"] = Vector3.new(2, 6, 8), | |
| 610 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 611 | }) | |
| 612 | o34 = Create("Part",{
| |
| 613 | ["Name"] = "Smooth Block Model", | |
| 614 | ["Parent"] = o1, | |
| 615 | ["Material"] = Enum.Material.Wood, | |
| 616 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 617 | ["Position"] = Vector3.new(-18, 2.40002704, 33), | |
| 618 | ["Anchored"] = true, | |
| 619 | ["CFrame"] = CFrame.new(-18, 2.40002704, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 620 | ["Size"] = Vector3.new(2, 4.80000019, 8), | |
| 621 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 622 | }) | |
| 623 | o35 = Create("Part",{
| |
| 624 | ["Name"] = "Smooth Block Model", | |
| 625 | ["Parent"] = o1, | |
| 626 | ["Material"] = Enum.Material.Wood, | |
| 627 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 628 | ["Position"] = Vector3.new(-20, 1.80002904, 33), | |
| 629 | ["Anchored"] = true, | |
| 630 | ["CFrame"] = CFrame.new(-20, 1.80002904, 33, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 631 | ["Size"] = Vector3.new(2, 3.60000014, 8), | |
| 632 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 633 | }) | |
| 634 | o36 = Create("Part",{
| |
| 635 | ["Name"] = "rope", | |
| 636 | ["Parent"] = o1, | |
| 637 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 638 | ["Position"] = Vector3.new(-0.5, 15.0000238, 46.5), | |
| 639 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 640 | ["RotVelocity"] = Vector3.new(9.29485318e-017, 3.22718457e-018, 9.29485318e-017), | |
| 641 | ["Velocity"] = Vector3.new(6.78266e-017, -0.210931048, 6.78266e-017), | |
| 642 | ["CFrame"] = CFrame.new(-0.5, 15.0000238, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 643 | ["Size"] = Vector3.new(1, 1.20000005, 1), | |
| 644 | ["BottomSurface"] = Enum.SurfaceType.Motor, | |
| 645 | ["TopSurface"] = Enum.SurfaceType.Motor, | |
| 646 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 647 | }) | |
| 648 | o37 = Create("SpecialMesh",{
| |
| 649 | ["Parent"] = o36, | |
| 650 | ["MeshType"] = Enum.MeshType.Sphere, | |
| 651 | - | Victim.Character.Name = "N1gger" |
| 651 | + | |
| 652 | o38 = Create("Part",{
| |
| 653 | ["Name"] = "Smooth Block Model", | |
| 654 | ["Parent"] = o1, | |
| 655 | ["Material"] = Enum.Material.Wood, | |
| 656 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 657 | ["Position"] = Vector3.new(3.5, 2.40002704, 25.5), | |
| 658 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 659 | ["Anchored"] = true, | |
| 660 | ["CFrame"] = CFrame.new(3.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 661 | ["Size"] = Vector3.new(1, 4.80000019, 1), | |
| 662 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 663 | }) | |
| 664 | o39 = Create("Part",{
| |
| 665 | ["Name"] = "Smooth Block Model", | |
| 666 | ["Parent"] = o1, | |
| 667 | ["Material"] = Enum.Material.Wood, | |
| 668 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 669 | ["Position"] = Vector3.new(-0.5, 16.2000294, 47), | |
| 670 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 671 | ["Anchored"] = true, | |
| 672 | ["CFrame"] = CFrame.new(-0.5, 16.2000294, 47, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 673 | ["Size"] = Vector3.new(10, 1.20000005, 1), | |
| 674 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 675 | }) | |
| 676 | o40 = Create("Part",{
| |
| 677 | ["Name"] = "Smooth Block Model", | |
| 678 | ["Parent"] = o1, | |
| 679 | ["Material"] = Enum.Material.Wood, | |
| 680 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 681 | ["Position"] = Vector3.new(-5.5, 2.40002704, 25.5), | |
| 682 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 683 | ["Anchored"] = true, | |
| 684 | ["CFrame"] = CFrame.new(-5.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 685 | ["Size"] = Vector3.new(1, 4.80000019, 1), | |
| 686 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 687 | }) | |
| 688 | o41 = Create("Part",{
| |
| 689 | ["Name"] = "Smooth Block Model", | |
| 690 | ["Parent"] = o1, | |
| 691 | ["Material"] = Enum.Material.Wood, | |
| 692 | ["BrickColor"] = BrickColor.new("Earth orange"),
| |
| 693 | ["Position"] = Vector3.new(-14.5, 2.40002704, 25.5), | |
| 694 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 695 | ["Anchored"] = true, | |
| 696 | ["CFrame"] = CFrame.new(-14.5, 2.40002704, 25.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 697 | ["Size"] = Vector3.new(1, 4.80000019, 1), | |
| 698 | ["Color"] = Color3.new(0.384314, 0.278431, 0.196078), | |
| 699 | }) | |
| 700 | o42 = Create("Part",{
| |
| 701 | ["Name"] = "hanger", | |
| 702 | ["Parent"] = o1, | |
| 703 | ["BrickColor"] = BrickColor.new("Reddish brown"),
| |
| 704 | ["Position"] = Vector3.new(-0.5, 11.4000158, 46.5), | |
| 705 | ["Rotation"] = Vector3.new(-0, -90, 0), | |
| 706 | ["RotVelocity"] = Vector3.new(9.29485318e-017, 8.0695067e-018, 9.29485318e-017), | |
| 707 | ["Velocity"] = Vector3.new(6.78266e-017, -0.611982644, 6.78266e-017), | |
| 708 | ["CFrame"] = CFrame.new(-0.5, 11.4000158, 46.5, 0, 0, -1, 0, 1, -0, 1, 0, -0), | |
| 709 | ["Size"] = Vector3.new(1, 1.20000005, 1), | |
| 710 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
| 711 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
| 712 | ["Color"] = Color3.new(0.411765, 0.25098, 0.156863), | |
| 713 | }) | |
| 714 | o43 = Create("SpecialMesh",{
| |
| 715 | ["Parent"] = o42, | |
| 716 | ["MeshId"] = "http://www.roblox.com/asset/?id=3270017", | |
| 717 | ["Scale"] = Vector3.new(2, 2, 1), | |
| 718 | ["MeshType"] = Enum.MeshType.FileMesh, | |
| 719 | }) | |
| 720 | ||
| 721 | mas.Parent = workspace | |
| 722 | mas:MakeJoints() | |
| 723 | ||
| 724 | local mas1 = mas:GetChildren() | |
| 725 | ||
| 726 | for i=1,#mas1 do | |
| 727 | mas1[i].Parent = workspace | |
| 728 | ypcall(function() mas1[i]:MakeJoints() end) | |
| 729 | end | |
| 730 | ||
| 731 | mas:Destroy() | |
| 732 | ||
| 733 | for i=1,#cors do | |
| 734 | coroutine.resume(cors[i]) | |
| 735 | end | |
| 736 | ||
| 737 | model = o1 | |
| 738 | switch = model.gallowswitch | |
| 739 | backup = model:Clone() --kek | |
| 740 | ||
| 741 | function onClick() | |
| 742 | model.trap.Anchored = false | |
| 743 | c = game.Workspace:GetChildren() | |
| 744 | switch.Transparency = 1 | |
| 745 | model.gallowswitch2.Transparency = 0 | |
| 746 | for i = 1, #c do | |
| 747 | if c[i].Name == "Help!" then | |
| 748 | w = Instance.new("Weld")
| |
| 749 | c[i].Humanoid.Health = 0 | |
| 750 | wait(.01) | |
| 751 | w.Parent = c[i].Head | |
| 752 | w.Part0 = w.Parent | |
| 753 | w.Part1 = c[i].Torso | |
| 754 | w.C1 = CFrame.new(0,1.5,0) | |
| 755 | w1 = Instance.new("Weld")
| |
| 756 | w1.Parent = c[i].Torso | |
| 757 | w1.Part0 = w1.Parent | |
| 758 | w1.Part1 = c[i]["Right Arm"] | |
| 759 | w1.C1 = CFrame.new(1.5,0,0) | |
| 760 | w2 = Instance.new("Weld")
| |
| 761 | w2.Parent = c[i].Torso | |
| 762 | w2.Part0 = w2.Parent | |
| 763 | w2.Part1 = c[i]["Left Arm"] | |
| 764 | w2.C1 = CFrame.new(-1.5,0,0) | |
| 765 | w3 = Instance.new("Weld")
| |
| 766 | w3.Parent = c[i].Torso | |
| 767 | w3.Part0 = w3.Parent | |
| 768 | w3.Part1 = c[i]["Left Leg"] | |
| 769 | w3.C1 = CFrame.new(-.5,2,0) | |
| 770 | w4 = Instance.new("Weld")
| |
| 771 | w4.Parent = c[i].Torso | |
| 772 | w4.Part0 = w4.Parent | |
| 773 | w4.Part1 = c[i]["Right Leg"] | |
| 774 | w4.C1 = CFrame.new(.5,2,0) | |
| 775 | end | |
| 776 | end | |
| 777 | Victim.Character.Humanoid.Health = 0 | |
| 778 | wait(1) | |
| 779 | switch.Transparency = 0 | |
| 780 | model.gallowswitch2.Transparency = 1 | |
| 781 | wait(4) | |
| 782 | model:remove() | |
| 783 | backup.Parent = game.Workspace | |
| 784 | backup:makeJoints() | |
| 785 | wait(5) | |
| 786 | game.Workspace.Gallows:Destroy() | |
| 787 | end | |
| 788 | ||
| 789 | Instance.new("ClickDetector", switch)
| |
| 790 | ||
| 791 | connection = switch.ClickDetector.MouseClick:connect(onClick) | |
| 792 | b = model.welder | |
| 793 | ||
| 794 | function onTouched(part) | |
| 795 | if part.Parent.Humanoid ~= nil then | |
| 796 | w = Instance.new("Weld")
| |
| 797 | w.Parent = part.Parent.Head | |
| 798 | w.Part0 = w.Parent | |
| 799 | w.Part1 = model.hanger | |
| 800 | end | |
| 801 | end | |
| 802 | ||
| 803 | connection = b.Touched:connect(onTouched) | |
| 804 | ||
| 805 | game.Workspace.Gallows:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector* 30) | |
| 806 | wait(0.2) | |
| 807 | KlanLeader.Character.HumanoidRootPart.CFrame = game.Workspace.Gallows.gallowswitch2.CFrame | |
| 808 | wait(0.5) | |
| 809 | Victim.Character.HumanoidRootPart.CFrame = game.Workspace.Gallows.hanger.CFrame | |
| 810 | wait(20) | |
| 811 | kekkk:Destroy() |