Advertisement
ghostteen14

Untitled

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