Advertisement
Ban43_GodOfEdits

sspood

Dec 29th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.85 KB | None | 0 0
  1. --[[
  2. ______ __ __ ____ __ ______
  3. / _/ _/ / \/ \ / __/___ __ _______/ /_ / / /
  4. / // / / /\/ /\ \ __/ /_/ __ \/ / / / ___/ __ \ / // /
  5. / // / / / /_/ \ \/_ __/ /_/ / /_/ / / / /_/ / / // /
  6. / // / /_/ \_\/_/ \____/\__,_/_/ /_.___/ _/ // /
  7. /__/__/ /__/__/
  8.  
  9. --]]
  10. --https://github.com/Mokiros/roblox-FE-compatibility
  11. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  12. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  13. local RealPlayer = Player
  14. 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
  15. local plr = game:GetService('Players').LocalPlayer
  16. local mouse = plr:GetMouse()
  17. local chr = plr.Character
  18. local rope = nil
  19. local working = false
  20. local working2 = false
  21. local forward = false
  22. local backward = false
  23. local shooting = false
  24. local left = false
  25. local right = false
  26. local crawling = false
  27. local active = true
  28. local wing1 = nil
  29. local wing2 = nil
  30. local hats = {}
  31. local gui = Instance.new('ScreenGui')
  32. gui.Parent = plr.PlayerGui
  33. gui.Name = "Spiderman"
  34. gui.ResetOnSpawn = false
  35. local frame = Instance.new('Frame',gui)
  36. frame.Size = UDim2.new(0.2,0,0.2,0)
  37. frame.Position = UDim2.new(0,0,0.9,0)
  38. frame.BackgroundColor3 = Color3.fromRGB(255, 66, 66)
  39. frame.BorderSizePixel = 4
  40. frame.BorderColor3 = Color3.fromRGB(66, 134, 244)
  41. frame.Active = true
  42. frame.Draggable = true
  43. local txt = Instance.new('TextLabel',frame)
  44. txt.Text = "Spiderman Gui"
  45. txt.TextColor3 = Color3.fromRGB(66, 134, 244)
  46. txt.Size = UDim2.new(1,0,0.3,0)
  47. txt.TextScaled = true
  48. txt.BackgroundTransparency = 1
  49. local but = Instance.new('TextButton',frame)
  50. but.Text = "Toggle Suit"
  51. but.TextColor3 = Color3.fromRGB(255, 66, 66)
  52. but.Size = UDim2.new(0.7,0,0.3,0)
  53. but.Position = UDim2.new(0.15,0,0.5,0)
  54. but.BorderSizePixel = 0
  55. but.TextScaled = true
  56. but.BackgroundColor3 = Color3.fromRGB(66, 134, 244)
  57. but.MouseButton1Down:connect(function()
  58. active = not active
  59. end)
  60. local txt2 = Instance.new('TextLabel',frame)
  61. txt2.Text = "Toggle wall climb on with C."
  62. txt2.TextColor3 = Color3.fromRGB(66, 134, 244)
  63. txt2.Size = UDim2.new(1,0,0.15,0)
  64. txt2.Position = UDim2.new(0,0,0.85,0)
  65. txt2.TextScaled = true
  66. txt2.BackgroundTransparency = 1
  67. function webshot(char)
  68. local haaaaaaaaa = coroutine.wrap(function()
  69. if char:FindFirstChildOfClass('Humanoid').Health > 0 then
  70. for i,v in pairs(char:GetChildren()) do
  71. local partz = {Enum.NormalId.Back,Enum.NormalId.Right,Enum.NormalId.Left,Enum.NormalId.Top,Enum.NormalId.Bottom,Enum.NormalId.Front}
  72. if v:IsA('Part') and v.Transparency ~= 1 and v.Name ~= "Head" then
  73. for a,c in pairs(partz) do
  74. local dec = Instance.new('Decal',v)
  75. dec.Texture = 'http://www.roblox.com/asset/?id=148633485'
  76. dec.Face = c
  77. end
  78. end
  79. end
  80. char:FindFirstChildOfClass('Humanoid').Health = char:FindFirstChildOfClass('Humanoid').Health - char:FindFirstChildOfClass('Humanoid').MaxHealth*0.3
  81. if char:FindFirstChild('HumanoidRootPart') then
  82. local heyyyy = nil
  83. if char:FindFirstChild('Animate') then
  84. heyyyy = char.Animate:Clone()
  85. char.Animate:Destroy()
  86. end
  87. char:FindFirstChildOfClass('Humanoid').PlatformStand = true
  88. local ahhhhhhh = true
  89. char.HumanoidRootPart.CFrame = CFrame.new(char.HumanoidRootPart.Position)*CFrame.Angles(0,0,math.pi/2)
  90. if char:FindFirstChildOfClass('Humanoid') then
  91. char:FindFirstChildOfClass('Humanoid').Changed:connect(function(change)
  92. if change == "PlatformStand" and ahhhhhhh then
  93. char:FindFirstChildOfClass('Humanoid').PlatformStand = true
  94. end
  95. end)
  96. end
  97. wait(15)
  98. ahhhhhhh = false
  99. if char:FindFirstChildOfClass('Humanoid') then
  100. char:FindFirstChildOfClass('Humanoid').PlatformStand = false
  101. end
  102. if force then
  103. force:Destroy()
  104. end
  105. if heyyyy then
  106. heyyyy.Parent = char
  107. end
  108. for i,v in pairs(char:GetChildren()) do
  109. if v.Name ~= "Head" then
  110. for a,c in pairs(v:GetChildren()) do
  111. if c:IsA('Decal') then
  112. c:Destroy()
  113. end
  114. end
  115. end
  116. end
  117. end
  118. end
  119. end)
  120. haaaaaaaaa()
  121. end
  122. mouse.KeyDown:connect(function(key)
  123. if key == "f" then
  124. if rope == nil then
  125. if plr.Character and mouse.Hit and mouse.Target and plr.Character:FindFirstChild('Head') and plr.Character:FindFirstChild('Left Arm') and plr.Character:FindFirstChild('Torso') and plr.Character.Torso:FindFirstChild('Left Shoulder') then
  126. if game.CoreGui:FindFirstChild('hekking spiderman') then
  127. game.CoreGui:FindFirstChild('hekking spiderman'):Destroy()
  128. end
  129. local Head = plr.Character.Head
  130. local RightShoulder = plr.Character.Torso["Left Shoulder"]
  131. local RightArm = plr.Character["Left Arm"]
  132. local MousePosition = mouse.Hit.p
  133. local ToMouse = (MousePosition - Head.Position).unit
  134. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, -1, 0)))
  135. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  136. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(-1 ,0, -1)).unit
  137. local Look = (Head.CFrame.lookVector * Vector3.new(-1, 0, -1)).unit
  138. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  139. if tostring(LateralAngle) == "-1.#IND" then
  140. LateralAngle = 0
  141. end
  142. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  143. if LateralAngle < (-math.pi / 2) then
  144. LateralAngle = (-math.pi / 2)
  145. end
  146. if Cross.Y > 0 then
  147. LateralAngle = -LateralAngle
  148. end
  149. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((-math.pi / 2) + Angle), ((-math.pi / 2) - LateralAngle), -math.pi/2)
  150. wait()
  151. local pa = Instance.new('Part',workspace)
  152. pa.Name = "SPOODERMEN"
  153. pa.Size = Vector3.new(0.2,0.2,0.2)
  154. pa.Anchored = true
  155. pa.CFrame = CFrame.new(MousePosition)
  156. pa.Transparency = 1
  157. local att = Instance.new('Attachment',pa)
  158. local att2 = Instance.new('Attachment',RightArm)
  159. att2.CFrame = CFrame.new(0,-1,0)
  160. att2.Axis = Vector3.new(0,0,0)
  161. local ropez = Instance.new('RopeConstraint',RightArm)
  162. ropez.Color = BrickColor.new('Institutional white')
  163. ropez.Attachment0 = att
  164. ropez.Attachment1 = att2
  165. ropez.Length = ropez.CurrentDistance-5
  166. ropez.Visible = true
  167. rope = ropez
  168. crawling = false
  169. txt2.Text = "Toggle wall climb on with C."
  170. end
  171. else
  172. if plr.Character and plr.Character:FindFirstChildOfClass('Humanoid') and plr.Character:FindFirstChild('Right Arm') and plr.Character:FindFirstChild('Torso') and plr.Character.Torso:FindFirstChild('Left Shoulder') then
  173. local RightShoulder = plr.Character.Torso["Left Shoulder"]
  174. rope:Destroy()
  175. rope = nil
  176. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p)*CFrame.Angles(0,-math.pi/2,0)
  177. working = false
  178. working2 = false
  179. forward = false
  180. backward = false
  181. right = false
  182. left = false
  183. -- Objects
  184.  
  185. local ScreenGui = Instance.new("ScreenGui")
  186. local Frame = Instance.new("Frame")
  187. local TextLabel = Instance.new("TextLabel")
  188.  
  189. -- Properties
  190. ScreenGui.Name = "hekking spiderman"
  191. ScreenGui.Parent = game.CoreGui
  192.  
  193. Frame.Parent = ScreenGui
  194. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  195. Frame.BorderSizePixel = 0
  196. Frame.Size = UDim2.new(1, 0, 0.0500000007, 0)
  197.  
  198. TextLabel.Parent = Frame
  199. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  200. TextLabel.BackgroundTransparency = 1
  201. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  202. TextLabel.Font = Enum.Font.SourceSans
  203. TextLabel.FontSize = Enum.FontSize.Size14
  204. TextLabel.Text = "!! PRESS BACKSPACE TO REGAIN BALANCE !!"
  205. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  206. TextLabel.TextScaled = true
  207. TextLabel.TextSize = 14
  208. TextLabel.TextWrapped = true
  209. end
  210. end
  211. elseif key == "q" and rope ~= nil then
  212. working = true
  213. working2 = false
  214. elseif key == "e" and rope ~= nil then
  215. working2 = true
  216. working = false
  217. elseif key == "w" and rope ~= nil then
  218. forward = true
  219. elseif key == "s" and rope ~= nil then
  220. backward = true
  221. elseif key == "a" and rope ~= nil then
  222. left = true
  223. elseif key == "d" and rope ~= nil then
  224. right = true
  225. elseif key == "x" and shooting == false then
  226. if plr.Character and mouse.Hit and plr.Character:FindFirstChild('Head') and plr.Character:FindFirstChild('Right Arm') and plr.Character:FindFirstChild('Torso') and plr.Character.Torso:FindFirstChild('Right Shoulder') then
  227. shooting = true
  228. local Head = plr.Character.Head
  229. local RightShoulder = plr.Character.Torso["Right Shoulder"]
  230. local RightArm = plr.Character["Right Arm"]
  231. local MousePosition = mouse.Hit.p
  232. local ToMouse = (MousePosition - Head.Position).unit
  233. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  234. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  235. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  236. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  237. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  238. if tostring(LateralAngle) == "-1.#IND" then
  239. LateralAngle = 0
  240. end
  241. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  242. if LateralAngle > (math.pi / 2) then
  243. LateralAngle = (math.pi / 2)
  244. end
  245. if Cross.Y < 0 then
  246. LateralAngle = -LateralAngle
  247. end
  248. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)
  249. wait()
  250. local shot = Instance.new('Part',workspace)
  251. shot.Name = "AAAA"
  252. shot.CanCollide = false
  253. shot.BrickColor = BrickColor.new('Institutional white')
  254. shot.Size = Vector3.new(3,3,0.2)
  255. shot.Transparency = 1
  256. shot.CFrame = CFrame.new(chr['Right Arm'].CFrame.p, mouse.Hit.p)*CFrame.Angles(0,0,0)
  257. local dec = Instance.new('Decal',shot)
  258. dec.Texture = 'rbxassetid://148633485'
  259. local dec2 = Instance.new('Decal',shot)
  260. dec2.Texture = 'rbxassetid://148633485'
  261. dec2.Face = Enum.NormalId.Back
  262. local heck = Instance.new('BodyVelocity',shot)
  263. heck.Velocity = (shot.CFrame*CFrame.Angles(0,0,0)).lookVector*120
  264. shot.Touched:connect(function(hit)
  265. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent ~= chr then
  266. webshot(hit.Parent)
  267. shot:Destroy()
  268. elseif hit.Parent.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent.Parent ~= chr then
  269. webshot(hit.Parent.Parent)
  270. shot:Destroy()
  271. elseif hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent:FindFirstChildOfClass('Humanoid') == nil then
  272. shot:Destroy()
  273. end
  274. end)
  275. wait(1)
  276. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p)*CFrame.Angles(0,math.pi/2,0)
  277. shooting = false
  278. end
  279. elseif key == "c" and rope == nil then
  280. if crawling then
  281. crawling = false
  282. txt2.Text = "Toggle wall climb on with C."
  283. else
  284. crawling = true
  285. txt2.Text = "Toggle wall climb off with C."
  286. end
  287. elseif key == "z" and rope == nil and wing1 == nil and wing2 == nil then
  288. local plr = game.Players.LocalPlayer
  289. if chr:FindFirstChild('HumanoidRootPart') and chr.HumanoidRootPart:FindFirstChild('RootJoint') then
  290. chr.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(180))
  291. end
  292. if chr.Torso:FindFirstChild('Right Shoulder') then
  293. chr.Torso["Right Shoulder"].C0 = CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))
  294. end
  295. if chr.Torso:FindFirstChild('Left Shoulder') then
  296. chr.Torso["Left Shoulder"].C0 = CFrame.new(-1.5,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(-90))
  297. end
  298. if chr:FindFirstChildOfClass('Humanoid'):FindFirstChild('Animator') and chr:FindFirstChild('Animate') then
  299. animator = chr:FindFirstChildOfClass('Humanoid'):FindFirstChild('Animator')
  300. animator:remove()
  301. chr.Animate.Disabled = true
  302. end
  303. if chr:FindFirstChildOfClass('Humanoid') then
  304. chr:FindFirstChildOfClass('Humanoid').HipHeight = -3
  305. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 40
  306. end
  307. if chr:FindFirstChild('Torso') then
  308. wing1 = Instance.new('WedgePart',chr)
  309. wing1.Size = Vector3.new(0.2,1.5,3)
  310. wing1.Transparency = 1
  311. local dec = Instance.new('Decal',wing1)
  312. dec.Texture = 'http://www.roblox.com/asset/?id=148633485'
  313. dec.Face = Enum.NormalId.Right
  314. local dec2 = Instance.new('Decal',wing1)
  315. dec2.Texture = 'http://www.roblox.com/asset/?id=148633485'
  316. dec2.Face = Enum.NormalId.Left
  317. local dec3 = Instance.new('Decal',wing1)
  318. dec3.Texture = 'http://www.roblox.com/asset/?id=148633485'
  319. dec3.Face = Enum.NormalId.Front
  320. local weld = Instance.new('Weld',wing1)
  321. weld.Part0 = wing1
  322. weld.Part1 = chr.Torso
  323. weld.C0 = CFrame.new(0,-1.5,1)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  324. wing2 = Instance.new('WedgePart',chr)
  325. wing2.Size = Vector3.new(0.2,1.5,3)
  326. wing2.Transparency = 1
  327. local dec4 = Instance.new('Decal',wing2)
  328. dec4.Texture = 'http://www.roblox.com/asset/?id=148633485'
  329. dec4.Face = Enum.NormalId.Right
  330. local dec5 = Instance.new('Decal',wing2)
  331. dec5.Texture = 'http://www.roblox.com/asset/?id=148633485'
  332. dec5.Face = Enum.NormalId.Left
  333. local dec6 = Instance.new('Decal',wing2)
  334. dec6.Texture = 'http://www.roblox.com/asset/?id=148633485'
  335. dec6.Face = Enum.NormalId.Front
  336. local weld2 = Instance.new('Weld',wing2)
  337. weld2.Part0 = wing2
  338. weld2.Part1 = chr.Torso
  339. weld2.C0 = CFrame.new(0,-1.5,1)*CFrame.Angles(math.rad(180),math.rad(270),math.rad(90))
  340. for i,v in pairs(chr:GetChildren()) do
  341. if v:IsA('Part') then
  342. v.Velocity = Vector3.new(0,0,0)
  343. local BodyForce = Instance.new('BodyForce',v)
  344. local Part = v
  345. BodyForce.Name = "stop destroying me"
  346. BodyForce.Force = Vector3.new(0,Part.Size.X * Part.Size.Y * Part.Size.Z * (game.Workspace.Gravity-45),0)
  347. end
  348. end
  349. end
  350. elseif key == string.char(8) then
  351. if game.CoreGui:FindFirstChild('hekking spiderman') then
  352. game.CoreGui:FindFirstChild('hekking spiderman'):Destroy()
  353. end
  354. elseif key == string.char(47) or key == string.char(48) then
  355. if chr:FindFirstChildOfClass('Humanoid') then
  356. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 30
  357. end
  358. end
  359. end)
  360.  
  361. mouse.KeyUp:connect(function(key)
  362. if key == "q" and rope ~= nil then
  363. working = false
  364. elseif key == "e" and rope ~= nil then
  365. working2 = false
  366. elseif key == "w" and rope ~= nil then
  367. forward = false
  368. elseif key == "s" and rope ~= nil then
  369. backward = false
  370. elseif key == "a" and rope ~= nil then
  371. left = false
  372. elseif key == "d" and rope ~= nil then
  373. right = false
  374. elseif key == "z" and wing1 ~= nil and wing2 ~= nil then
  375. if animator and chr:FindFirstChildOfClass('Humanoid') and chr:FindFirstChild('Animate') then
  376. animator.Parent = chr:FindFirstChildOfClass('Humanoid')
  377. chr.Animate.Disabled = false
  378. end
  379. if chr.Torso:FindFirstChild('Right Shoulder') then
  380. chr.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.pi/2,0)
  381. end
  382. if chr.Torso:FindFirstChild('Left Shoulder') then
  383. chr.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0)*CFrame.Angles(0,-math.pi/2,0)
  384. end
  385. if chr:FindFirstChild('HumanoidRootPart') and chr.HumanoidRootPart:FindFirstChild('RootJoint') then
  386. chr.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-270),math.rad(180),math.rad(0))
  387. end
  388. if chr:FindFirstChildOfClass('Humanoid') then
  389. chr:FindFirstChildOfClass('Humanoid').HipHeight = 0
  390. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  391. end
  392. if wing1 then
  393. wing1:Destroy()
  394. wing1 = nil
  395. end
  396. if wing2 then
  397. wing2:Destroy()
  398. wing2 = nil
  399. end
  400. for i,v in pairs(plr.Character:GetChildren()) do
  401. if v:IsA('Part') then
  402. for a,c in pairs(v:GetChildren()) do
  403. if c:IsA('BodyForce') then
  404. c:Destroy()
  405. end
  406. end
  407. end
  408. end
  409. elseif key == string.char(47) or key == string.char(48) then
  410. if chr:FindFirstChildOfClass('Humanoid') then
  411. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  412. end
  413. end
  414. end)
  415.  
  416. plr.CharacterAppearanceLoaded:connect(function()
  417. wait()
  418. for i,v in pairs(hats) do
  419. table.remove(hats,i)
  420. end
  421. if plr.Character:FindFirstChild('Torso') then
  422. local chr = plr.Character
  423. chr.Torso.Touched:connect(function(hit)
  424. if hit:IsA('TrussPart') == false and rope == nil and crawling and hit.CanCollide then
  425. local c = Instance.new('TrussPart',workspace.CurrentCamera)
  426. c.Anchored = true
  427. c.Transparency = 1
  428. c.CFrame = CFrame.new(chr.Torso.Position + (chr.Torso.CFrame.lookVector * 1), chr.Torso.Position + (chr.Torso.CFrame.lookVector * 12))
  429. game:GetService('Debris'):AddItem(c,0.5)
  430. end
  431. end)
  432. end
  433. end)
  434.  
  435. if plr.Character:FindFirstChild('Torso') then
  436. local chr = plr.Character
  437. chr.Torso.Touched:connect(function(hit)
  438. if hit:IsA('TrussPart') == false and rope == nil and crawling and hit.CanCollide then
  439. local c = Instance.new('TrussPart',workspace.CurrentCamera)
  440. c.Anchored = true
  441. c.Transparency = 1
  442. c.CFrame = CFrame.new(chr.Torso.Position + (chr.Torso.CFrame.lookVector * 1), chr.Torso.Position + (chr.Torso.CFrame.lookVector * 12))
  443. game:GetService('Debris'):AddItem(c,0.5)
  444. end
  445. end)
  446. end
  447.  
  448. game:GetService('RunService').Stepped:connect(function()
  449. chr = plr.Character
  450. local cam = game.Workspace.CurrentCamera
  451. for i,v in pairs(plr.PlayerGui:GetChildren()) do
  452. if v.Name == "SPOOOODA" then
  453. v:Destroy()
  454. end
  455. end
  456. if chr:FindFirstChild('HumanoidRootPart') and (cam.CoordinateFrame.p - chr.HumanoidRootPart.Position).magnitude < 2 then
  457. local haay = Instance.new('ScreenGui',plr.PlayerGui)
  458. haay.Name = "SPOOOODA"
  459. local img = Instance.new('ImageLabel',haay)
  460. img.Image = 'rbxassetid://744896574'
  461. img.BackgroundTransparency = 1
  462. img.Size = UDim2.new(1,0,1,0)
  463. end
  464. if plr.Character:FindFirstChild('Torso') then
  465. for a,c in pairs(plr.Character:GetChildren()) do
  466. for i,v in pairs(c:GetChildren()) do
  467. if v:IsA('BodyForce') and v.Name ~= "stop destroying me" then
  468. v:Destroy()
  469. end
  470. end
  471. end
  472. end
  473. if rope ~= nil and plr.Character and plr.Character:FindFirstChildOfClass('Humanoid') then
  474. plr.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  475. end
  476. if working then
  477. rope.Length = rope.Length-2
  478. if rope ~= nil and plr.Character and plr.Character:FindFirstChild('Torso') then
  479. for i,v in pairs(plr.Character:GetChildren()) do
  480. if v:IsA('Part') then
  481. local BodyForce = Instance.new('BodyForce',v)
  482. local Part = v
  483. BodyForce.Force = Vector3.new(0,Part.Size.X * Part.Size.Y * Part.Size.Z * 196.2,0)
  484. end
  485. end
  486. end
  487. end
  488. if working2 then
  489. rope.Length = rope.Length+1
  490. end
  491. if forward and plr.Character and plr.Character:FindFirstChild('Torso') then
  492. local force = Instance.new('BodyForce',plr.Character.Torso)
  493. force.Force = Vector3.new(cam.CFrame.lookVector.x*1000,0,cam.CFrame.lookVector.z*1000)
  494. end
  495. if right and plr.Character and plr.Character:FindFirstChild('Torso') then
  496. local force = Instance.new('BodyForce',plr.Character.Torso)
  497. force.Force = Vector3.new(cam.CFrame.rightVector.x*1000,0,cam.CFrame.rightVector.z*1000)
  498. end
  499. if left and plr.Character and plr.Character:FindFirstChild('Torso') then
  500. local force = Instance.new('BodyForce',plr.Character.Torso)
  501. force.Force = Vector3.new(-cam.CFrame.rightVector.x*1000,0,-cam.CFrame.rightVector.z*1000)
  502. end
  503. if backward and plr.Character and plr.Character:FindFirstChild('Torso') then
  504. local force = Instance.new('BodyForce',plr.Character.Torso)
  505. force.Force = Vector3.new(-cam.CFrame.lookVector.x*1000,0,-cam.CFrame.lookVector.z*1000)
  506. end
  507. for i,v in pairs(chr:GetChildren()) do
  508. if v:IsA('Part') and v.Anchored == true then
  509. v.Anchored = false
  510. end
  511. end
  512. if active then
  513. for i,v in pairs(plr.Character:GetChildren()) do
  514. if v:IsA('Accessory') then
  515. if v:FindFirstChildOfClass('Part') then
  516. if v:FindFirstChildOfClass('Part'):FindFirstChildOfClass('SpecialMesh') then
  517. if v:FindFirstChildOfClass('Part'):FindFirstChildOfClass('SpecialMesh').TextureId ~= "rbxassetid://454487924" then
  518. table.insert(hats,v:Clone())
  519. end
  520. end
  521. end
  522. v:Destroy()
  523. elseif v:IsA('Shirt') then
  524. if v.ShirtTemplate ~= 'rbxassetid://616223451' then
  525. table.insert(hats,v:Clone())
  526. end
  527. v:Destroy()
  528. elseif v:IsA('Pants') then
  529. if v.PantsTemplate ~= 'rbxassetid://616226602' then
  530. table.insert(hats,v:Clone())
  531. end
  532. v:Destroy()
  533. end
  534. end
  535. local shirt = Instance.new('Shirt',plr.Character)
  536. shirt.ShirtTemplate = 'rbxassetid://616223451'
  537. local pants = Instance.new('Pants',plr.Character)
  538. pants.PantsTemplate = 'rbxassetid://616226602'
  539. local ac = Instance.new('Accessory',plr.Character)
  540. local pa = Instance.new('Part',ac)
  541. pa.Size = Vector3.new(1,1,1)
  542. local me = Instance.new('SpecialMesh',pa)
  543. me.MeshType = Enum.MeshType.FileMesh
  544. me.MeshId = 'rbxassetid://151354047'
  545. me.TextureId = 'rbxassetid://454487924'
  546. me.Scale = Vector3.new(1.26,1.26,1.26)
  547. local weld = Instance.new('Weld',pa)
  548. weld.Part0 = pa
  549. weld.Part1 = plr.Character.Head
  550. else
  551. for i,v in pairs(plr.Character:GetChildren()) do
  552. if v:IsA('Accessory') or v:IsA('Shirt') or v:IsA('Pants') then
  553. v:Destroy()
  554. end
  555. end
  556. for i,v in pairs(hats) do
  557. v:Clone().Parent = chr
  558. end
  559. end
  560. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement