Advertisement
Void_scripter0

uniform

Feb 7th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.27 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142.  
  143. local Player = game.Players.localPlayer
  144. local Character = Player.Character
  145. local Torso = Character.Torso
  146.  
  147. local Music = Instance.new("Sound")
  148.  
  149.  
  150. local bgmusic = Instance.new("Sound")
  151. bgmusic.Volume = 3.5
  152. bgmusic.SoundId = "rbxassetid://2805148291"
  153. bgmusic.Looped = true
  154. bgmusic.Parent = owner.Character.Torso
  155. bgmusic:Play()
  156.  
  157. GasMask = false
  158.  
  159. if GasMask == true then
  160. o1 = Instance.new("Model")
  161. o2 = Instance.new("Part")
  162. o3 = Instance.new("SpecialMesh")
  163. o4 = Instance.new("Part")
  164. o5 = Instance.new("Part")
  165. o6 = Instance.new("Part")
  166. o7 = Instance.new("SpecialMesh")
  167. o8 = Instance.new("Part")
  168. o9 = Instance.new("Part")
  169. o10 = Instance.new("SpecialMesh")
  170. o11 = Instance.new("Part")
  171. o12 = Instance.new("Part")
  172. o13 = Instance.new("SpecialMesh")
  173. o14 = Instance.new("Part")
  174. o15 = Instance.new("Part")
  175. o16 = Instance.new("Part")
  176. o17 = Instance.new("Part")
  177. o1.Name = "MODEL"
  178. o2.Name = "Middle"
  179. o2.Parent = o1
  180. o2.BrickColor = BrickColor.new("Pastel brown")
  181. o2.Transparency = 1
  182. o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
  183. o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
  184. o2.Anchored = true
  185. o2.FormFactor = Enum.FormFactor.Custom
  186. o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  187. 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)
  188. o2.BottomSurface = Enum.SurfaceType.Smooth
  189. o2.TopSurface = Enum.SurfaceType.Smooth
  190. o2.Color = Color3.new(1, 0.8, 0.6)
  191. o3.Parent = o2
  192. o3.Scale = Vector3.new(6.25, 6.25, 6.25)
  193. o3.MeshType = Enum.MeshType.FileMesh
  194. o4.Name = "Lense 1"
  195. o4.Parent = o1
  196. o4.Material = Enum.Material.Metal
  197. o4.Transparency = 0.050000011920929
  198. o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
  199. o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
  200. o4.Anchored = true
  201. o4.CanCollide = false
  202. o4.FormFactor = Enum.FormFactor.Custom
  203. o4.Shape = Enum.PartType.Cylinder
  204. o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
  205. 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)
  206. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  207. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  208. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  209. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  210. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  211. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  212. o5.Name = "Lense2"
  213. o5.Parent = o1
  214. o5.Material = Enum.Material.Metal
  215. o5.Transparency = 0.050000011920929
  216. o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
  217. o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
  218. o5.Anchored = true
  219. o5.CanCollide = false
  220. o5.FormFactor = Enum.FormFactor.Custom
  221. o5.Shape = Enum.PartType.Cylinder
  222. o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
  223. 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)
  224. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  225. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  226. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  227. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  228. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  229. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  230. o6.Name = "Handle"
  231. o6.Parent = o1
  232. o6.Material = Enum.Material.Metal
  233. o6.BrickColor = BrickColor.new("Really black")
  234. o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
  235. o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
  236. o6.Anchored = true
  237. o6.CanCollide = false
  238. o6.FormFactor = Enum.FormFactor.Plate
  239. o6.Size = Vector3.new(1, 0.400000006, 1)
  240. 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)
  241. o6.BottomSurface = Enum.SurfaceType.Weld
  242. o6.TopSurface = Enum.SurfaceType.Smooth
  243. o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  244. o7.Parent = o6
  245. o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
  246. o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
  247. o7.MeshType = Enum.MeshType.FileMesh
  248. o8.Name = "Straps"
  249. o8.Parent = o1
  250. o8.Material = Enum.Material.Fabric
  251. o8.BrickColor = BrickColor.new("Really black")
  252. o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
  253. o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  254. o8.Anchored = true
  255. o8.CanCollide = false
  256. o8.FormFactor = Enum.FormFactor.Custom
  257. o8.Shape = Enum.PartType.Cylinder
  258. o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  259. 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)
  260. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  261. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  262. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  263. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  264. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  265. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  266. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  267. o9.Name = "Ring2"
  268. o9.Parent = o1
  269. o9.BrickColor = BrickColor.new("Dark stone grey")
  270. o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
  271. o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
  272. o9.Anchored = true
  273. o9.CanCollide = false
  274. o9.FormFactor = Enum.FormFactor.Custom
  275. o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
  276. 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)
  277. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  278. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  279. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  280. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  281. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  282. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  283. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  284. o10.Parent = o9
  285. o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
  286. o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  287. o10.MeshType = Enum.MeshType.FileMesh
  288. o11.Name = "Straps"
  289. o11.Parent = o1
  290. o11.Material = Enum.Material.Fabric
  291. o11.BrickColor = BrickColor.new("Really black")
  292. o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
  293. o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  294. o11.Anchored = true
  295. o11.CanCollide = false
  296. o11.FormFactor = Enum.FormFactor.Custom
  297. o11.Shape = Enum.PartType.Cylinder
  298. o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  299. 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)
  300. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  301. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  302. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  303. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  304. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  305. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  306. o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  307. o12.Name = "Ring1"
  308. o12.Parent = o1
  309. o12.BrickColor = BrickColor.new("Dark stone grey")
  310. o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
  311. o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
  312. o12.Anchored = true
  313. o12.CanCollide = false
  314. o12.FormFactor = Enum.FormFactor.Custom
  315. o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
  316. 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)
  317. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  318. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  319. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  320. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  321. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  322. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  323. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  324. o13.Parent = o12
  325. o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
  326. o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  327. o13.MeshType = Enum.MeshType.FileMesh
  328. o14.Name = "Breather"
  329. o14.Parent = o1
  330. o14.Material = Enum.Material.Metal
  331. o14.BrickColor = BrickColor.new("Really black")
  332. o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
  333. o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  334. o14.Anchored = true
  335. o14.CanCollide = false
  336. o14.FormFactor = Enum.FormFactor.Custom
  337. o14.Shape = Enum.PartType.Cylinder
  338. o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
  339. 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)
  340. o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  341. o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  342. o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  343. o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  344. o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  345. o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  346. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  347. o15.Name = "Breather"
  348. o15.Parent = o1
  349. o15.Material = Enum.Material.Metal
  350. o15.BrickColor = BrickColor.new("Really black")
  351. o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
  352. o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  353. o15.Anchored = true
  354. o15.CanCollide = false
  355. o15.FormFactor = Enum.FormFactor.Custom
  356. o15.Shape = Enum.PartType.Cylinder
  357. o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
  358. 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)
  359. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  360. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  361. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  362. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  363. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  364. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  365. o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  366. o16.Name = "Breather"
  367. o16.Parent = o1
  368. o16.Material = Enum.Material.Metal
  369. o16.BrickColor = BrickColor.new("Really black")
  370. o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
  371. o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  372. o16.Anchored = true
  373. o16.CanCollide = false
  374. o16.FormFactor = Enum.FormFactor.Custom
  375. o16.Shape = Enum.PartType.Cylinder
  376. o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
  377. 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)
  378. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  379. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  380. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  381. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  382. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  383. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  384. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  385. o17.Name = "Breather"
  386. o17.Parent = o1
  387. o17.Material = Enum.Material.Metal
  388. o17.BrickColor = BrickColor.new("Really black")
  389. o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
  390. o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  391. o17.Anchored = true
  392. o17.CanCollide = false
  393. o17.FormFactor = Enum.FormFactor.Custom
  394. o17.Shape = Enum.PartType.Cylinder
  395. o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
  396. 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)
  397. o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  398. o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  399. o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  400. o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  401. o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  402. o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  403. o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  404. function onTouched(hit)
  405. local d = hit.Parent:GetChildren()
  406. for i=1, #d do
  407. if (d[i].className == "Hat") then
  408. d[i]:remove()
  409. end
  410. end
  411. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
  412. local g = o1:clone()
  413. g.Parent = hit.Parent
  414. local C = g:GetChildren()
  415. for i=1, #C do
  416. if C[i].className == "Part" then
  417. local W = Instance.new("Weld")
  418. W.Part0 = g.Middle
  419. W.Part1 = C[i]
  420. local CJ = CFrame.new(g.Middle.Position)
  421. local C0 = g.Middle.CFrame:inverse()*CJ
  422. local C1 = C[i].CFrame:inverse()*CJ
  423. W.C0 = C0
  424. W.C1 = C1
  425. W.Parent = g.Middle
  426. g.Middle.Transparency = 1
  427. end
  428. local Y = Instance.new("Weld")
  429. Y.Part0 = hit.Parent.Head
  430. Y.Part1 = g.Middle
  431. Y.C0 = CFrame.new(0, 0, 0)
  432. Y.Parent = Y.Part0
  433. end
  434.  
  435. local h = g:GetChildren()
  436. for i = 1, # h do
  437. h[i].Anchored = false
  438. h[i].CanCollide = false
  439. end
  440.  
  441. end
  442. end
  443.  
  444. onTouched(game.Players.LocalPlayer.Character.Head)
  445. end
  446. local Player = game:service'Players'.localPlayer
  447. local chara = Player.Character
  448.  
  449. shirt= Instance.new("Shirt", Character)
  450. shirt.Name = "Shirt"
  451. pants = Instance.new("Pants", Character)
  452. pants.Name = "Pants"
  453. chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=245656735"
  454. chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=245656766"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement