Advertisement
ItzInfern

mustard gas

Jan 8th, 2019
715
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.25 KB | None | 0 0
  1.  
  2.  
  3. --https://github.com/Mokiros/roblox-FE-compatibility
  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,Mouse,mouse,UserInputService,ContextActionService = owner
  6. local RealPlayer = Player
  7. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  8.  
  9.  
  10.  
  11. --MUSTARD GAS BY DMS
  12. GasMask = true
  13. xd = Instance.new("Tool")
  14. xdd = Instance.new("Part")
  15. xddd = Instance.new("Part")
  16. xdddd = Instance.new("Part")
  17. xddddd = Instance.new("Smoke")
  18. xdddddd = Instance.new("Smoke")
  19. xddddddd = Instance.new("Smoke")
  20. xdddddddd = Instance.new("Part")
  21. xddddddddd = Instance.new("Part")
  22. xd0 = Instance.new("Part")
  23. xd.Name = "Mustard Gas Grenade"
  24. xd.Parent = game.Players.LocalPlayer.Backpack
  25. xdd.Parent = xd
  26. xdd.Material = Enum.Material.SmoothPlastic
  27. xdd.BrickColor = BrickColor.new("Deep orange")
  28. xdd.Position = Vector3.new(-9.08949184, 0.563135147, 33.200779)
  29. xdd.Rotation = Vector3.new(-0, 0, -90)
  30. xdd.CanCollide = false
  31. xdd.Shape = Enum.PartType.Cylinder
  32. xdd.Size = Vector3.new(0.26000011, 0.819999993, 1)
  33. xdd.CFrame = CFrame.new(-9.08949184, 0.563135147, 33.200779, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  34. xdd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  35. xdd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  36. xdd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  37. xdd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  38. xdd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  39. xdd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  40. xdd.Color = Color3.new(1, 0.686275, 0)
  41. xddd.Parent = xd
  42. xddd.Material = Enum.Material.SmoothPlastic
  43. xddd.BrickColor = BrickColor.new("Really black")
  44. xddd.Position = Vector3.new(-9.09000397, 0.615009904, 33.2000046)
  45. xddd.Rotation = Vector3.new(-0, 0, 90)
  46. xddd.CanCollide = false
  47. xddd.Shape = Enum.PartType.Cylinder
  48. xddd.Size = Vector3.new(1.21000016, 0.799999952, 1)
  49. xddd.CFrame = CFrame.new(-9.09000397, 0.615009904, 33.2000046, 0, -1, 0, 1, 0, 0, 0, 0, 1)
  50. xddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  51. xddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  52. xddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  53. xddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  54. xddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  55. xddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  56. xddd.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  57. xdddd.Parent = xd
  58. xdddd.Material = Enum.Material.SmoothPlastic
  59. xdddd.BrickColor = BrickColor.new("Dark stone grey")
  60. xdddd.Position = Vector3.new(-9.09270954, 1.33200657, 33.2021408)
  61. xdddd.CanCollide = false
  62. xdddd.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  63. xdddd.CFrame = CFrame.new(-9.09270954, 1.33200657, 33.2021408, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  64. xdddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  65. xdddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  66. xdddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  67. xdddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  68. xdddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  69. xdddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  70. xdddd.Color = Color3.new(0.388235, 0.372549, 0.384314)
  71. xddddd.Parent = xdddd
  72. xddddd.Color = Color3.new(0.756863, 0.584314, 0.0588235)
  73. xddddd.Opacity = 1
  74. xddddd.RiseVelocity = 4
  75. xdddddd.Parent = xdddd
  76. xdddddd.Color = Color3.new(0.756863, 0.584314, 0.0588235)
  77. xdddddd.Opacity = 1
  78. xdddddd.RiseVelocity = 4
  79. xddddddd.Parent = xdddd
  80. xddddddd.Color = Color3.new(0.756863, 0.584314, 0.0588235)
  81. xddddddd.Opacity = 1
  82. xddddddd.RiseVelocity = 4
  83. xdddddddd.Parent = xd
  84. xdddddddd.Material = Enum.Material.SmoothPlastic
  85. xdddddddd.BrickColor = BrickColor.new("Deep orange")
  86. xdddddddd.Position = Vector3.new(-9.08949184, 0.899091303, 33.200779)
  87. xdddddddd.Rotation = Vector3.new(-0, 0, 90)
  88. xdddddddd.CanCollide = false
  89. xdddddddd.Shape = Enum.PartType.Cylinder
  90. xdddddddd.Size = Vector3.new(0.200000003, 0.819999993, 1)
  91. xdddddddd.CFrame = CFrame.new(-9.08949184, 0.899091303, 33.200779, 0, -1, 0, 1, 0, 0, 0, 0, 1)
  92. xdddddddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  93. xdddddddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  94. xdddddddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  95. xdddddddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  96. xdddddddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  97. xdddddddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  98. xdddddddd.Color = Color3.new(1, 0.686275, 0)
  99. xddddddddd.Parent = xd
  100. xddddddddd.Material = Enum.Material.SmoothPlastic
  101. xddddddddd.BrickColor = BrickColor.new("Black")
  102. xddddddddd.Position = Vector3.new(-9.09270954, 1.26311076, 33.2003593)
  103. xddddddddd.Rotation = Vector3.new(-0, 0, 90)
  104. xddddddddd.CanCollide = false
  105. xddddddddd.Shape = Enum.PartType.Cylinder
  106. xddddddddd.Size = Vector3.new(0.200000003, 0.799999952, 0.540000021)
  107. xddddddddd.CFrame = CFrame.new(-9.09270954, 1.26311076, 33.2003593, 0, -1, 0, 1, 0, 0, 0, 0, 1)
  108. xddddddddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  109. xddddddddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  110. xddddddddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  111. xddddddddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  112. xddddddddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  113. xddddddddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  114. xddddddddd.Color = Color3.new(0.105882, 0.164706, 0.207843)
  115. xd0.Name = "Handle"
  116. xd0.Parent = xd
  117. xd0.BrickColor = BrickColor.new("Earth green")
  118. xd0.Transparency = 1
  119. xd0.Position = Vector3.new(-9.11234188, 0.5, 33.1982155)
  120. xd0.Rotation = Vector3.new(0, 90, 0)
  121. xd0.CanCollide = false
  122. xd0.FormFactor = Enum.FormFactor.Custom
  123. xd0.Size = Vector3.new(0.800000131, 0.920000255, 0.799998164)
  124. xd0.CFrame = CFrame.new(-9.11234188, 0.5, 33.1982155, -0, 0, 1, 0, 1, 0, -1, 0, 0)
  125. xd0.BottomSurface = Enum.SurfaceType.Smooth
  126. xd0.TopSurface = Enum.SurfaceType.Smooth
  127. xd0.Color = Color3.new(0.152941, 0.27451, 0.176471)
  128. KILLPART = Instance.new("Part")
  129. KILLPART.Size = Vector3.new(16,16,16)
  130. KILLPART.Name = "TOUCHPART"
  131. KILLPART.Anchored = true
  132. KILLPART.BrickColor = BrickColor.new("Black")
  133. KILLPART.Transparency = 1
  134. KILLPART.CanCollide = false
  135. KILLPART.CFrame = xd0.CFrame
  136. KILLPART.Parent = workspace
  137. KILLPART.Color = Color3.new(0.105882, 0.164706, 0.207843)
  138. Gas = Instance.new("Sound")
  139. Gas.Parent = xd0
  140. Gas.Volume = 0.8
  141. Gas.Looped = true
  142. Gas.SoundId = "http://www.roblox.com/asset/?id=137065982"
  143. Gas.Pitch = 1
  144. Gas.Name = "Sound"
  145. ison = false
  146. function Weld(x,y)
  147. local W = Instance.new("Weld")
  148. W.Part0 = x
  149. W.Part1 = y
  150. local CJ = CFrame.new(x.Position)
  151. local C0 = x.CFrame:inverse()*CJ
  152. local C1 = y.CFrame:inverse()*CJ
  153. W.C0 = C0
  154. W.C1 = C1
  155. W.Parent = x
  156. end
  157.  
  158. function Get(A)
  159. if A.className == "Part" then
  160. Weld(xd.Handle, A)
  161. A.Anchored = false
  162. A.CanCollide = false
  163. else
  164. local C = A:GetChildren()
  165. for i=1, #C do
  166. Get(C[i])
  167. end
  168. end
  169. end
  170.  
  171. function Finale()
  172. Get(xd)
  173. end
  174. function XDdd ()
  175. ison = true
  176. end
  177. function Xddd ()
  178. ison = false
  179. end function lol () xdg = true Gas.Playing = true KILLPART.Parent = workspace while xdg == true do wait() KILLPART.CFrame = xd0.CFrame end end
  180. function Posijew ()
  181. KILLPART.CFrame = xd0.CFrame
  182. end function loln () KILLPART.Parent = game Gas.Playing = false xdg = false end
  183. xdg = false
  184. xd.Equipped:connect(XDdd)
  185. xd.Unequipped:connect(Xddd)
  186. xd.Equipped:connect(Finale)
  187. xd.Equipped:connect(lol)
  188. xd.Unequipped:connect(loln)
  189. xd.Unequipped:connect(Finale)
  190. Finale()
  191. function Kill (Part)
  192. for i,v in pairs(Part.Parent:GetChildren()) do
  193. if v:IsA("Humanoid") and v.Parent.Name ~= game.Players.LocalPlayer.Name then
  194. game.ReplicatedStorage.Events.destryObj:FireServer(v)
  195. end end
  196. end
  197. KILLPART.Touched:connect(Kill)
  198. if GasMask == true then
  199. o1 = Instance.new("Model")
  200. o2 = Instance.new("Part")
  201. o3 = Instance.new("SpecialMesh")
  202. o4 = Instance.new("Part")
  203. o5 = Instance.new("Part")
  204. o6 = Instance.new("Part")
  205. o7 = Instance.new("SpecialMesh")
  206. o8 = Instance.new("Part")
  207. o9 = Instance.new("Part")
  208. o10 = Instance.new("SpecialMesh")
  209. o11 = Instance.new("Part")
  210. o12 = Instance.new("Part")
  211. o13 = Instance.new("SpecialMesh")
  212. o14 = Instance.new("Part")
  213. o15 = Instance.new("Part")
  214. o16 = Instance.new("Part")
  215. o17 = Instance.new("Part")
  216. o1.Name = "MODEL"
  217. o2.Name = "Middle"
  218. o2.Parent = o1
  219. o2.BrickColor = BrickColor.new("Pastel brown")
  220. o2.Transparency = 1
  221. o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
  222. o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
  223. o2.Anchored = true
  224. o2.FormFactor = Enum.FormFactor.Custom
  225. o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  226. o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006)
  227. o2.BottomSurface = Enum.SurfaceType.Smooth
  228. o2.TopSurface = Enum.SurfaceType.Smooth
  229. o2.Color = Color3.new(1, 0.8, 0.6)
  230. o3.Parent = o2
  231. o3.Scale = Vector3.new(6.25, 6.25, 6.25)
  232. o3.MeshType = Enum.MeshType.FileMesh
  233. o4.Name = "Lense 1"
  234. o4.Parent = o1
  235. o4.Material = Enum.Material.Metal
  236. o4.Transparency = 0.050000011920929
  237. o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
  238. o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
  239. o4.Anchored = true
  240. o4.CanCollide = false
  241. o4.FormFactor = Enum.FormFactor.Custom
  242. o4.Shape = Enum.PartType.Cylinder
  243. o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
  244. o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478)
  245. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  246. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  247. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  248. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  249. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  250. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  251. o5.Name = "Lense2"
  252. o5.Parent = o1
  253. o5.Material = Enum.Material.Metal
  254. o5.Transparency = 0.050000011920929
  255. o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
  256. o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
  257. o5.Anchored = true
  258. o5.CanCollide = false
  259. o5.FormFactor = Enum.FormFactor.Custom
  260. o5.Shape = Enum.PartType.Cylinder
  261. o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
  262. o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668)
  263. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  264. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  265. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  266. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  267. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  268. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  269. o6.Name = "Handle"
  270. o6.Parent = o1
  271. o6.Material = Enum.Material.Metal
  272. o6.BrickColor = BrickColor.new("Really black")
  273. o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
  274. o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
  275. o6.Anchored = true
  276. o6.CanCollide = false
  277. o6.FormFactor = Enum.FormFactor.Plate
  278. o6.Size = Vector3.new(1, 0.400000006, 1)
  279. o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008)
  280. o6.BottomSurface = Enum.SurfaceType.Weld
  281. o6.TopSurface = Enum.SurfaceType.Smooth
  282. o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  283. o7.Parent = o6
  284. o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
  285. o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
  286. o7.MeshType = Enum.MeshType.FileMesh
  287. o8.Name = "Straps"
  288. o8.Parent = o1
  289. o8.Material = Enum.Material.Fabric
  290. o8.BrickColor = BrickColor.new("Really black")
  291. o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
  292. o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  293. o8.Anchored = true
  294. o8.CanCollide = false
  295. o8.FormFactor = Enum.FormFactor.Custom
  296. o8.Shape = Enum.PartType.Cylinder
  297. o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  298. o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
  299. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  300. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  301. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  302. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  303. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  304. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  305. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  306. o9.Name = "Ring2"
  307. o9.Parent = o1
  308. o9.BrickColor = BrickColor.new("Dark stone grey")
  309. o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
  310. o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
  311. o9.Anchored = true
  312. o9.CanCollide = false
  313. o9.FormFactor = Enum.FormFactor.Custom
  314. o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
  315. o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195)
  316. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  317. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  318. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  319. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  320. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  321. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  322. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  323. o10.Parent = o9
  324. o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
  325. o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  326. o10.MeshType = Enum.MeshType.FileMesh
  327. o11.Name = "Straps"
  328. o11.Parent = o1
  329. o11.Material = Enum.Material.Fabric
  330. o11.BrickColor = BrickColor.new("Really black")
  331. o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
  332. o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  333. o11.Anchored = true
  334. o11.CanCollide = false
  335. o11.FormFactor = Enum.FormFactor.Custom
  336. o11.Shape = Enum.PartType.Cylinder
  337. o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  338. o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
  339. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  340. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  341. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  342. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  343. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  344. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  345. o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  346. o12.Name = "Ring1"
  347. o12.Parent = o1
  348. o12.BrickColor = BrickColor.new("Dark stone grey")
  349. o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
  350. o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
  351. o12.Anchored = true
  352. o12.CanCollide = false
  353. o12.FormFactor = Enum.FormFactor.Custom
  354. o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
  355. o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017)
  356. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  357. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  358. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  359. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  360. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  361. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  362. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  363. o13.Parent = o12
  364. o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
  365. o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  366. o13.MeshType = Enum.MeshType.FileMesh
  367. o14.Name = "Breather"
  368. o14.Parent = o1
  369. o14.Material = Enum.Material.Metal
  370. o14.BrickColor = BrickColor.new("Really black")
  371. o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
  372. o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  373. o14.Anchored = true
  374. o14.CanCollide = false
  375. o14.FormFactor = Enum.FormFactor.Custom
  376. o14.Shape = Enum.PartType.Cylinder
  377. o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
  378. o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
  379. o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  380. o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  381. o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  382. o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  383. o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  384. o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  385. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  386. o15.Name = "Breather"
  387. o15.Parent = o1
  388. o15.Material = Enum.Material.Metal
  389. o15.BrickColor = BrickColor.new("Really black")
  390. o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
  391. o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  392. o15.Anchored = true
  393. o15.CanCollide = false
  394. o15.FormFactor = Enum.FormFactor.Custom
  395. o15.Shape = Enum.PartType.Cylinder
  396. o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
  397. o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
  398. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  399. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  400. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  401. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  402. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  403. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  404. o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  405. o16.Name = "Breather"
  406. o16.Parent = o1
  407. o16.Material = Enum.Material.Metal
  408. o16.BrickColor = BrickColor.new("Really black")
  409. o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
  410. o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  411. o16.Anchored = true
  412. o16.CanCollide = false
  413. o16.FormFactor = Enum.FormFactor.Custom
  414. o16.Shape = Enum.PartType.Cylinder
  415. o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
  416. o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
  417. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  418. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  419. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  420. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  421. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  422. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  423. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  424. o17.Name = "Breather"
  425. o17.Parent = o1
  426. o17.Material = Enum.Material.Metal
  427. o17.BrickColor = BrickColor.new("Really black")
  428. o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
  429. o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  430. o17.Anchored = true
  431. o17.CanCollide = false
  432. o17.FormFactor = Enum.FormFactor.Custom
  433. o17.Shape = Enum.PartType.Cylinder
  434. o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
  435. o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
  436. o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  437. o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  438. o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  439. o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  440. o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  441. o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  442. o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  443. function onTouched(hit)
  444. local d = hit.Parent:GetChildren()
  445. for i=1, #d do
  446. if (d[i].className == "Hat") then
  447. d[i]:remove()
  448. end
  449. end
  450. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
  451. local g = o1:clone()
  452. g.Parent = hit.Parent
  453. local C = g:GetChildren()
  454. for i=1, #C do
  455. if C[i].className == "Part" then
  456. local W = Instance.new("Weld")
  457. W.Part0 = g.Middle
  458. W.Part1 = C[i]
  459. local CJ = CFrame.new(g.Middle.Position)
  460. local C0 = g.Middle.CFrame:inverse()*CJ
  461. local C1 = C[i].CFrame:inverse()*CJ
  462. W.C0 = C0
  463. W.C1 = C1
  464. W.Parent = g.Middle
  465. g.Middle.Transparency = 1
  466. end
  467. local Y = Instance.new("Weld")
  468. Y.Part0 = hit.Parent.Head
  469. Y.Part1 = g.Middle
  470. Y.C0 = CFrame.new(0, 0, 0)
  471. Y.Parent = Y.Part0
  472. end
  473.  
  474. local h = g:GetChildren()
  475. for i = 1, # h do
  476. h[i].Anchored = false
  477. h[i].CanCollide = false
  478. end
  479.  
  480. end
  481. end
  482.  
  483. onTouched(game.Players.LocalPlayer.Character.Head)
  484. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement