Advertisement
ghostteen14

Untitled

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