Advertisement
xxtheadmincreatorxx

Fast gas

Mar 25th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.85 KB | None | 0 0
  1. -- This script has convert to FE by xxtheadmincreatorxx
  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("Now everyone can see what you see!")
  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.  
  148. --MUSTARD GAS BY DMS
  149. GasMask = true
  150. xd = Instance.new("Tool")
  151. xdd = Instance.new("Part")
  152. xddd = Instance.new("Part")
  153. xdddd = Instance.new("Part")
  154. xddddd = Instance.new("Smoke")
  155. xdddddd = Instance.new("Smoke")
  156. xddddddd = Instance.new("Smoke")
  157. xdddddddd = Instance.new("Part")
  158. xddddddddd = Instance.new("Part")
  159. xd0 = Instance.new("Part")
  160. xd.Name = "Mustard Gas Grenade"
  161. xd.Parent = game.Players.LocalPlayer.Backpack
  162. xdd.Parent = xd
  163. xdd.Material = Enum.Material.SmoothPlastic
  164. xdd.BrickColor = BrickColor.new("Deep orange")
  165. xdd.Position = Vector3.new(-9.08949184, 0.563135147, 33.200779)
  166. xdd.Rotation = Vector3.new(-0, 0, -90)
  167. xdd.CanCollide = false
  168. xdd.Shape = Enum.PartType.Cylinder
  169. xdd.Size = Vector3.new(0.26000011, 0.819999993, 1)
  170. xdd.CFrame = CFrame.new(-9.08949184, 0.563135147, 33.200779, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  171. xdd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  172. xdd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  173. xdd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  174. xdd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  175. xdd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  176. xdd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  177. xdd.Color = Color3.new(1, 0.686275, 0)
  178. xddd.Parent = xd
  179. xddd.Material = Enum.Material.SmoothPlastic
  180. xddd.BrickColor = BrickColor.new("Really black")
  181. xddd.Position = Vector3.new(-9.09000397, 0.615009904, 33.2000046)
  182. xddd.Rotation = Vector3.new(-0, 0, 90)
  183. xddd.CanCollide = false
  184. xddd.Shape = Enum.PartType.Cylinder
  185. xddd.Size = Vector3.new(1.21000016, 0.799999952, 1)
  186. xddd.CFrame = CFrame.new(-9.09000397, 0.615009904, 33.2000046, 0, -1, 0, 1, 0, 0, 0, 0, 1)
  187. xddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  188. xddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  189. xddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  190. xddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  191. xddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  192. xddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  193. xddd.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  194. xdddd.Parent = xd
  195. xdddd.Material = Enum.Material.SmoothPlastic
  196. xdddd.BrickColor = BrickColor.new("Dark stone grey")
  197. xdddd.Position = Vector3.new(-9.09270954, 1.33200657, 33.2021408)
  198. xdddd.CanCollide = false
  199. xdddd.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  200. xdddd.CFrame = CFrame.new(-9.09270954, 1.33200657, 33.2021408, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  201. xdddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  202. xdddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  203. xdddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  204. xdddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  205. xdddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  206. xdddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  207. xdddd.Color = Color3.new(0.388235, 0.372549, 0.384314)
  208. xddddd.Parent = xdddd
  209. xddddd.Color = Color3.new(0.756863, 0.584314, 0.0588235)
  210. xddddd.Opacity = 1
  211. xddddd.RiseVelocity = 4
  212. xdddddd.Parent = xdddd
  213. xdddddd.Color = Color3.new(0.756863, 0.584314, 0.0588235)
  214. xdddddd.Opacity = 1
  215. xdddddd.RiseVelocity = 4
  216. xddddddd.Parent = xdddd
  217. xddddddd.Color = Color3.new(0.756863, 0.584314, 0.0588235)
  218. xddddddd.Opacity = 1
  219. xddddddd.RiseVelocity = 4
  220. xdddddddd.Parent = xd
  221. xdddddddd.Material = Enum.Material.SmoothPlastic
  222. xdddddddd.BrickColor = BrickColor.new("Deep orange")
  223. xdddddddd.Position = Vector3.new(-9.08949184, 0.899091303, 33.200779)
  224. xdddddddd.Rotation = Vector3.new(-0, 0, 90)
  225. xdddddddd.CanCollide = false
  226. xdddddddd.Shape = Enum.PartType.Cylinder
  227. xdddddddd.Size = Vector3.new(0.200000003, 0.819999993, 1)
  228. xdddddddd.CFrame = CFrame.new(-9.08949184, 0.899091303, 33.200779, 0, -1, 0, 1, 0, 0, 0, 0, 1)
  229. xdddddddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  230. xdddddddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  231. xdddddddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  232. xdddddddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  233. xdddddddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  234. xdddddddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  235. xdddddddd.Color = Color3.new(1, 0.686275, 0)
  236. xddddddddd.Parent = xd
  237. xddddddddd.Material = Enum.Material.SmoothPlastic
  238. xddddddddd.BrickColor = BrickColor.new("Black")
  239. xddddddddd.Position = Vector3.new(-9.09270954, 1.26311076, 33.2003593)
  240. xddddddddd.Rotation = Vector3.new(-0, 0, 90)
  241. xddddddddd.CanCollide = false
  242. xddddddddd.Shape = Enum.PartType.Cylinder
  243. xddddddddd.Size = Vector3.new(0.200000003, 0.799999952, 0.540000021)
  244. xddddddddd.CFrame = CFrame.new(-9.09270954, 1.26311076, 33.2003593, 0, -1, 0, 1, 0, 0, 0, 0, 1)
  245. xddddddddd.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  246. xddddddddd.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  247. xddddddddd.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  248. xddddddddd.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  249. xddddddddd.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  250. xddddddddd.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  251. xddddddddd.Color = Color3.new(0.105882, 0.164706, 0.207843)
  252. xd0.Name = "Handle"
  253. xd0.Parent = xd
  254. xd0.BrickColor = BrickColor.new("Earth green")
  255. xd0.Transparency = 1
  256. xd0.Position = Vector3.new(-9.11234188, 0.5, 33.1982155)
  257. xd0.Rotation = Vector3.new(0, 90, 0)
  258. xd0.CanCollide = false
  259. xd0.FormFactor = Enum.FormFactor.Custom
  260. xd0.Size = Vector3.new(0.800000131, 0.920000255, 0.799998164)
  261. xd0.CFrame = CFrame.new(-9.11234188, 0.5, 33.1982155, -0, 0, 1, 0, 1, 0, -1, 0, 0)
  262. xd0.BottomSurface = Enum.SurfaceType.Smooth
  263. xd0.TopSurface = Enum.SurfaceType.Smooth
  264. xd0.Color = Color3.new(0.152941, 0.27451, 0.176471)
  265. KILLPART = Instance.new("Part")
  266. KILLPART.Size = Vector3.new(16,16,16)
  267. KILLPART.Name = "TOUCHPART"
  268. KILLPART.Anchored = true
  269. KILLPART.BrickColor = BrickColor.new("Black")
  270. KILLPART.Transparency = 1
  271. KILLPART.CanCollide = false
  272. KILLPART.CFrame = xd0.CFrame
  273. KILLPART.Parent = workspace
  274. KILLPART.Color = Color3.new(0.105882, 0.164706, 0.207843)
  275. Gas = Instance.new("Sound")
  276. Gas.Parent = xd0
  277. Gas.Volume = 0.8
  278. Gas.Looped = true
  279. Gas.SoundId = "http://www.roblox.com/asset/?id=137065982"
  280. Gas.Pitch = 1
  281. Gas.Name = "Sound"
  282. ison = false
  283. function Weld(x,y)
  284. local W = Instance.new("Weld")
  285. W.Part0 = x
  286. W.Part1 = y
  287. local CJ = CFrame.new(x.Position)
  288. local C0 = x.CFrame:inverse()*CJ
  289. local C1 = y.CFrame:inverse()*CJ
  290. W.C0 = C0
  291. W.C1 = C1
  292. W.Parent = x
  293. end
  294.  
  295. function Get(A)
  296. if A.className == "Part" then
  297. Weld(xd.Handle, A)
  298. A.Anchored = false
  299. A.CanCollide = false
  300. else
  301. local C = A:GetChildren()
  302. for i=1, #C do
  303. Get(C[i])
  304. end
  305. end
  306. end
  307.  
  308. function Finale()
  309. Get(xd)
  310. end
  311. function XDdd ()
  312. ison = true
  313. end
  314. function Xddd ()
  315. ison = false
  316. end function lol () xdg = true Gas.Playing = true KILLPART.Parent = workspace while xdg == true do wait() KILLPART.CFrame = xd0.CFrame end end
  317. function Posijew ()
  318. KILLPART.CFrame = xd0.CFrame
  319. end function loln () KILLPART.Parent = game Gas.Playing = false xdg = false end
  320. xdg = false
  321. xd.Equipped:connect(XDdd)
  322. xd.Unequipped:connect(Xddd)
  323. xd.Equipped:connect(Finale)
  324. xd.Equipped:connect(lol)
  325. xd.Unequipped:connect(loln)
  326. xd.Unequipped:connect(Finale)
  327. Finale()
  328. function Kill (Part)
  329. for i,v in pairs(Part.Parent:GetChildren()) do
  330. if v:IsA("Humanoid") and v.Parent.Name ~= game.Players.LocalPlayer.Name then
  331. v:Destroy()
  332. end end
  333. end
  334. KILLPART.Touched:connect(Kill)
  335. if GasMask == true then
  336. o1 = Instance.new("Model")
  337. o2 = Instance.new("Part")
  338. o3 = Instance.new("SpecialMesh")
  339. o4 = Instance.new("Part")
  340. o5 = Instance.new("Part")
  341. o6 = Instance.new("Part")
  342. o7 = Instance.new("SpecialMesh")
  343. o8 = Instance.new("Part")
  344. o9 = Instance.new("Part")
  345. o10 = Instance.new("SpecialMesh")
  346. o11 = Instance.new("Part")
  347. o12 = Instance.new("Part")
  348. o13 = Instance.new("SpecialMesh")
  349. o14 = Instance.new("Part")
  350. o15 = Instance.new("Part")
  351. o16 = Instance.new("Part")
  352. o17 = Instance.new("Part")
  353. o1.Name = "MODEL"
  354. o2.Name = "Middle"
  355. o2.Parent = o1
  356. o2.BrickColor = BrickColor.new("Pastel brown")
  357. o2.Transparency = 1
  358. o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
  359. o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
  360. o2.Anchored = true
  361. o2.FormFactor = Enum.FormFactor.Custom
  362. o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  363. 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)
  364. o2.BottomSurface = Enum.SurfaceType.Smooth
  365. o2.TopSurface = Enum.SurfaceType.Smooth
  366. o2.Color = Color3.new(1, 0.8, 0.6)
  367. o3.Parent = o2
  368. o3.Scale = Vector3.new(6.25, 6.25, 6.25)
  369. o3.MeshType = Enum.MeshType.FileMesh
  370. o4.Name = "Lense 1"
  371. o4.Parent = o1
  372. o4.Material = Enum.Material.Metal
  373. o4.Transparency = 0.050000011920929
  374. o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
  375. o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
  376. o4.Anchored = true
  377. o4.CanCollide = false
  378. o4.FormFactor = Enum.FormFactor.Custom
  379. o4.Shape = Enum.PartType.Cylinder
  380. o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
  381. 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)
  382. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  383. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  384. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  385. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  386. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  387. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  388. o5.Name = "Lense2"
  389. o5.Parent = o1
  390. o5.Material = Enum.Material.Metal
  391. o5.Transparency = 0.050000011920929
  392. o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
  393. o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
  394. o5.Anchored = true
  395. o5.CanCollide = false
  396. o5.FormFactor = Enum.FormFactor.Custom
  397. o5.Shape = Enum.PartType.Cylinder
  398. o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
  399. 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)
  400. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  401. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  402. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  403. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  404. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  405. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  406. o6.Name = "Handle"
  407. o6.Parent = o1
  408. o6.Material = Enum.Material.Metal
  409. o6.BrickColor = BrickColor.new("Really black")
  410. o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
  411. o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
  412. o6.Anchored = true
  413. o6.CanCollide = false
  414. o6.FormFactor = Enum.FormFactor.Plate
  415. o6.Size = Vector3.new(1, 0.400000006, 1)
  416. 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)
  417. o6.BottomSurface = Enum.SurfaceType.Weld
  418. o6.TopSurface = Enum.SurfaceType.Smooth
  419. o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  420. o7.Parent = o6
  421. o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
  422. o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
  423. o7.MeshType = Enum.MeshType.FileMesh
  424. o8.Name = "Straps"
  425. o8.Parent = o1
  426. o8.Material = Enum.Material.Fabric
  427. o8.BrickColor = BrickColor.new("Really black")
  428. o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
  429. o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  430. o8.Anchored = true
  431. o8.CanCollide = false
  432. o8.FormFactor = Enum.FormFactor.Custom
  433. o8.Shape = Enum.PartType.Cylinder
  434. o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  435. 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)
  436. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  437. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  438. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  439. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  440. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  441. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  442. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  443. o9.Name = "Ring2"
  444. o9.Parent = o1
  445. o9.BrickColor = BrickColor.new("Dark stone grey")
  446. o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
  447. o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
  448. o9.Anchored = true
  449. o9.CanCollide = false
  450. o9.FormFactor = Enum.FormFactor.Custom
  451. o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
  452. 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)
  453. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  454. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  455. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  456. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  457. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  458. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  459. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  460. o10.Parent = o9
  461. o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
  462. o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  463. o10.MeshType = Enum.MeshType.FileMesh
  464. o11.Name = "Straps"
  465. o11.Parent = o1
  466. o11.Material = Enum.Material.Fabric
  467. o11.BrickColor = BrickColor.new("Really black")
  468. o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
  469. o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  470. o11.Anchored = true
  471. o11.CanCollide = false
  472. o11.FormFactor = Enum.FormFactor.Custom
  473. o11.Shape = Enum.PartType.Cylinder
  474. o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  475. 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)
  476. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  477. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  478. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  479. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  480. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  481. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  482. o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  483. o12.Name = "Ring1"
  484. o12.Parent = o1
  485. o12.BrickColor = BrickColor.new("Dark stone grey")
  486. o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
  487. o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
  488. o12.Anchored = true
  489. o12.CanCollide = false
  490. o12.FormFactor = Enum.FormFactor.Custom
  491. o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
  492. 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)
  493. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  494. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  495. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  496. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  497. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  498. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  499. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  500. o13.Parent = o12
  501. o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
  502. o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  503. o13.MeshType = Enum.MeshType.FileMesh
  504. o14.Name = "Breather"
  505. o14.Parent = o1
  506. o14.Material = Enum.Material.Metal
  507. o14.BrickColor = BrickColor.new("Really black")
  508. o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
  509. o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  510. o14.Anchored = true
  511. o14.CanCollide = false
  512. o14.FormFactor = Enum.FormFactor.Custom
  513. o14.Shape = Enum.PartType.Cylinder
  514. o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
  515. 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)
  516. o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  517. o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  518. o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  519. o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  520. o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  521. o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  522. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  523. o15.Name = "Breather"
  524. o15.Parent = o1
  525. o15.Material = Enum.Material.Metal
  526. o15.BrickColor = BrickColor.new("Really black")
  527. o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
  528. o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  529. o15.Anchored = true
  530. o15.CanCollide = false
  531. o15.FormFactor = Enum.FormFactor.Custom
  532. o15.Shape = Enum.PartType.Cylinder
  533. o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
  534. 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)
  535. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  536. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  537. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  538. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  539. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  540. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  541. o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  542. o16.Name = "Breather"
  543. o16.Parent = o1
  544. o16.Material = Enum.Material.Metal
  545. o16.BrickColor = BrickColor.new("Really black")
  546. o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
  547. o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  548. o16.Anchored = true
  549. o16.CanCollide = false
  550. o16.FormFactor = Enum.FormFactor.Custom
  551. o16.Shape = Enum.PartType.Cylinder
  552. o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
  553. 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)
  554. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  555. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  556. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  557. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  558. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  559. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  560. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  561. o17.Name = "Breather"
  562. o17.Parent = o1
  563. o17.Material = Enum.Material.Metal
  564. o17.BrickColor = BrickColor.new("Really black")
  565. o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
  566. o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  567. o17.Anchored = true
  568. o17.CanCollide = false
  569. o17.FormFactor = Enum.FormFactor.Custom
  570. o17.Shape = Enum.PartType.Cylinder
  571. o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
  572. 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)
  573. o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  574. o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  575. o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  576. o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  577. o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  578. o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  579. o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  580. function onTouched(hit)
  581. local d = hit.Parent:GetChildren()
  582. for i=1, #d do
  583. if (d[i].className == "Hat") then
  584. d[i]:remove()
  585. end
  586. end
  587. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
  588. local g = o1:clone()
  589. g.Parent = hit.Parent
  590. local C = g:GetChildren()
  591. for i=1, #C do
  592. if C[i].className == "Part" then
  593. local W = Instance.new("Weld")
  594. W.Part0 = g.Middle
  595. W.Part1 = C[i]
  596. local CJ = CFrame.new(g.Middle.Position)
  597. local C0 = g.Middle.CFrame:inverse()*CJ
  598. local C1 = C[i].CFrame:inverse()*CJ
  599. W.C0 = C0
  600. W.C1 = C1
  601. W.Parent = g.Middle
  602. g.Middle.Transparency = 1
  603. end
  604. local Y = Instance.new("Weld")
  605. Y.Part0 = hit.Parent.Head
  606. Y.Part1 = g.Middle
  607. Y.C0 = CFrame.new(0, 0, 0)
  608. Y.Parent = Y.Part0
  609. end
  610.  
  611. local h = g:GetChildren()
  612. for i = 1, # h do
  613. h[i].Anchored = false
  614. h[i].CanCollide = false
  615. end
  616.  
  617. end
  618. end
  619.  
  620. onTouched(game.Players.LocalPlayer.Character.Head)
  621. end
  622.  
  623. repeat wait() until game.Players.LocalPlayer
  624. local Mouse = game.Players.LocalPlayer:GetMouse()
  625. local Plr = game.Players.LocalPlayer
  626.  
  627. Mouse.KeyDown:connect(function(KeyDown)
  628. if KeyDown == "0" then
  629. Plr.Character.Humanoid.WalkSpeed = 190
  630. end
  631. end)
  632.  
  633. Mouse.KeyUp:connect(function(KeyUp)
  634. if KeyUp == "0" then
  635. Plr.Character.Humanoid.WalkSpeed = 190
  636. end
  637. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement