Guest User

ROBLOX Spider-Man Web Shooters NEW

a guest
Jul 6th, 2017
3,559
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.86 KB | None | 0 0
  1. wait()
  2. local plr = game:GetService('Players').LocalPlayer
  3. local mouse = plr:GetMouse()
  4. local chr = plr.Character
  5. local rope = nil
  6. local working = false
  7. local working2 = false
  8. local forward = false
  9. local backward = false
  10. local shooting = false
  11. local left = false
  12. local right = false
  13. local crawling = false
  14. local punching = false
  15. local active = true
  16. local wing1 = nil
  17. local wing2 = nil
  18. local hats = {}
  19.  
  20. local websound = Instance.new("Sound", chr)
  21. websound.SoundId = "rbxassetid://151859785"
  22. websound.TimePosition = 0.1
  23. local glidesound = Instance.new("Sound", chr)
  24. glidesound.SoundId = "rbxassetid://257002377"
  25. glidesound.TimePosition = 0.1
  26. local webthrow = Instance.new("Sound", chr)
  27. webthrow.SoundId = "rbxassetid://151859785"
  28. webthrow.Pitch = 1.7
  29. local webcatch = Instance.new("Sound", chr)
  30. webcatch.SoundId = "rbxassetid://166083610"
  31. webcatch.Pitch = 3.5
  32. local punchswingsound = Instance.new("Sound", chr)
  33. punchswingsound.SoundId = "rbxassetid://608537390"
  34. punchswingsound.TimePosition = 0.1
  35. local punchhitsound = Instance.new("Sound", chr)
  36. punchhitsound.SoundId = "rbxassetid://260430060"
  37.  
  38. local gui = Instance.new('ScreenGui')
  39. gui.Parent = plr.PlayerGui
  40. gui.Name = "Spiderman"
  41. gui.ResetOnSpawn = false
  42. local frame = Instance.new('Frame',gui)
  43. frame.Size = UDim2.new(0.2,0,0.2,0)
  44. frame.Position = UDim2.new(0,0,0.9,0)
  45. frame.BackgroundColor3 = Color3.fromRGB(255, 66, 66)
  46. frame.BorderSizePixel = 4
  47. frame.BorderColor3 = Color3.fromRGB(66, 134, 244)
  48. frame.Active = true
  49. frame.Draggable = true
  50. local txt = Instance.new('TextLabel',frame)
  51. txt.Text = "Spiderman Gui"
  52. txt.TextColor3 = Color3.fromRGB(66, 134, 244)
  53. txt.Size = UDim2.new(1,0,0.3,0)
  54. txt.TextScaled = true
  55. txt.BackgroundTransparency = 1
  56. local but = Instance.new('TextButton',frame)
  57. but.Text = "Toggle Suit"
  58. but.TextColor3 = Color3.fromRGB(255, 66, 66)
  59. but.Size = UDim2.new(0.7,0,0.3,0)
  60. but.Position = UDim2.new(0.15,0,0.5,0)
  61. but.BorderSizePixel = 0
  62. but.TextScaled = true
  63. but.BackgroundColor3 = Color3.fromRGB(66, 134, 244)
  64. but.MouseButton1Down:connect(function()
  65. active = not active
  66. end)
  67. local txt2 = Instance.new('TextLabel',frame)
  68. txt2.Text = "Toggle wall climb on with C."
  69. txt2.TextColor3 = Color3.fromRGB(66, 134, 244)
  70. txt2.Size = UDim2.new(1,0,0.15,0)
  71. txt2.Position = UDim2.new(0,0,0.85,0)
  72. txt2.TextScaled = true
  73. txt2.BackgroundTransparency = 1
  74. function webshot(char)
  75. local haaaaaaaaa = coroutine.wrap(function()
  76. if char:FindFirstChildOfClass('Humanoid').Health > 0 then
  77. websound:Play()
  78. for i,v in pairs(char:GetChildren()) do
  79. local partz = {Enum.NormalId.Back,Enum.NormalId.Right,Enum.NormalId.Left,Enum.NormalId.Top,Enum.NormalId.Bottom,Enum.NormalId.Front}
  80. if v:IsA('Part') and v.Transparency ~= 1 and v.Name ~= "Head" then
  81. for a,c in pairs(partz) do
  82. local dec = Instance.new('Decal',v)
  83. dec.Texture = 'http://www.roblox.com/asset/?id=148633485'
  84. dec.Face = c
  85. end
  86. end
  87. end
  88. char:FindFirstChildOfClass('Humanoid').Health = char:FindFirstChildOfClass('Humanoid').Health - char:FindFirstChildOfClass('Humanoid').MaxHealth*0.3
  89. if char:FindFirstChild('HumanoidRootPart') then
  90. local heyyyy = nil
  91. if char:FindFirstChild('Animate') then
  92. heyyyy = char.Animate:Clone()
  93. char.Animate:Destroy()
  94. end
  95. char:FindFirstChildOfClass('Humanoid').PlatformStand = true
  96. local ahhhhhhh = true
  97. char.HumanoidRootPart.CFrame = CFrame.new(char.HumanoidRootPart.Position)*CFrame.Angles(0,0,math.pi/2)
  98. if char:FindFirstChildOfClass('Humanoid') then
  99. char:FindFirstChildOfClass('Humanoid').Changed:connect(function(change)
  100. if change == "PlatformStand" and ahhhhhhh then
  101. char:FindFirstChildOfClass('Humanoid').PlatformStand = true
  102. end
  103. end)
  104. end
  105. wait(15)
  106. ahhhhhhh = false
  107. if char:FindFirstChildOfClass('Humanoid') then
  108. char:FindFirstChildOfClass('Humanoid').PlatformStand = false
  109. end
  110. if force then
  111. force:Destroy()
  112. end
  113. if heyyyy then
  114. heyyyy.Parent = char
  115. end
  116. for i,v in pairs(char:GetChildren()) do
  117. if v.Name ~= "Head" then
  118. for a,c in pairs(v:GetChildren()) do
  119. if c:IsA('Decal') then
  120. c:Destroy()
  121. end
  122. end
  123. end
  124. end
  125. end
  126. end
  127. end)
  128. haaaaaaaaa()
  129. end
  130. mouse.KeyDown:connect(function(key)
  131. if key == "f" then
  132. if rope == nil then
  133. 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
  134. if plr.PlayerGui:FindFirstChild('hekking spiderman') then
  135. plr.PlayerGui:FindFirstChild('hekking spiderman'):Destroy()
  136. end
  137. local Head = plr.Character.Head
  138. local RightShoulder = plr.Character.Torso["Left Shoulder"]
  139. local RightArm = plr.Character["Left Arm"]
  140. local MousePosition = mouse.Hit.p
  141. local ToMouse = (MousePosition - Head.Position).unit
  142. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, -1, 0)))
  143. 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)))
  144. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(-1 ,0, -1)).unit
  145. local Look = (Head.CFrame.lookVector * Vector3.new(-1, 0, -1)).unit
  146. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  147. if tostring(LateralAngle) == "-1.#IND" then
  148. LateralAngle = 0
  149. end
  150. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  151. if LateralAngle < (-math.pi / 2) then
  152. LateralAngle = (-math.pi / 2)
  153. end
  154. if Cross.Y > 0 then
  155. LateralAngle = -LateralAngle
  156. end
  157. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((-math.pi / 2) + Angle), ((-math.pi / 2) - LateralAngle), -math.pi/2)
  158. wait()
  159. local pa = Instance.new('Part',workspace)
  160. pa.Name = "SPOODERMEN"
  161. pa.Size = Vector3.new(0.2,0.2,0.2)
  162. pa.Anchored = true
  163. pa.CFrame = CFrame.new(MousePosition)
  164. pa.Transparency = 1
  165. local att = Instance.new('Attachment',pa)
  166. local att2 = Instance.new('Attachment',RightArm)
  167. att2.CFrame = CFrame.new(0,-1,0)
  168. att2.Axis = Vector3.new(0,0,0)
  169. local ropez = Instance.new('RopeConstraint',RightArm)
  170. ropez.Color = BrickColor.new('Institutional white')
  171. ropez.Attachment0 = att
  172. ropez.Attachment1 = att2
  173. ropez.Length = ropez.CurrentDistance-5
  174. ropez.Visible = true
  175. rope = ropez
  176. crawling = false
  177. txt2.Text = "Toggle wall climb on with C."
  178. end
  179. else
  180. 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
  181. local RightShoulder = plr.Character.Torso["Left Shoulder"]
  182. rope:Destroy()
  183. rope = nil
  184. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p)*CFrame.Angles(0,-math.pi/2,0)
  185. working = false
  186. working2 = false
  187. forward = false
  188. backward = false
  189. right = false
  190. left = false
  191. -- Objects
  192.  
  193. local ScreenGui = Instance.new("ScreenGui")
  194. local Frame = Instance.new("Frame")
  195. local TextLabel = Instance.new("TextLabel")
  196.  
  197. -- Properties
  198. ScreenGui.Name = "hekking spiderman"
  199. ScreenGui.Parent = plr.PlayerGui
  200.  
  201. Frame.Parent = ScreenGui
  202. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  203. Frame.BorderSizePixel = 0
  204. Frame.Size = UDim2.new(1, 0, 0.0500000007, 0)
  205.  
  206. TextLabel.Parent = Frame
  207. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  208. TextLabel.BackgroundTransparency = 1
  209. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  210. TextLabel.Font = Enum.Font.SourceSans
  211. TextLabel.FontSize = Enum.FontSize.Size14
  212. TextLabel.Text = "!! PRESS BACKSPACE TO REGAIN BALANCE !!"
  213. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  214. TextLabel.TextScaled = true
  215. TextLabel.TextSize = 14
  216. TextLabel.TextWrapped = true
  217. end
  218. end
  219.  
  220. elseif key == "v" then
  221. if rope == nil then
  222. 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
  223. if plr.PlayerGui:FindFirstChild('hekking spiderman') then
  224. plr.PlayerGui:FindFirstChild('hekking spiderman'):Destroy()
  225. end
  226. local Head = plr.Character.Head
  227. local RightShoulder = plr.Character.Torso["Left Shoulder"]
  228. local RightArm = plr.Character["Left Arm"]
  229. local MousePosition = mouse.Hit.p
  230. local ToMouse = (MousePosition - Head.Position).unit
  231. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, -1, 0)))
  232. 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)))
  233. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(-1 ,0, -1)).unit
  234. local Look = (Head.CFrame.lookVector * Vector3.new(-1, 0, -1)).unit
  235. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  236. if tostring(LateralAngle) == "-1.#IND" then
  237. LateralAngle = 0
  238. end
  239. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  240. if LateralAngle < (-math.pi / 2) then
  241. LateralAngle = (-math.pi / 2)
  242. end
  243. if Cross.Y > 0 then
  244. LateralAngle = -LateralAngle
  245. end
  246. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((-math.pi / 2) + Angle), ((-math.pi / 2) - LateralAngle), -math.pi/2)
  247. wait(0.1)
  248. local pa = Instance.new('Part',workspace)
  249. pa.Name = "SPOODERMEN"
  250. pa.Size = Vector3.new(0.2,0.2,0.2)
  251. pa.Anchored = true
  252. pa.CFrame = CFrame.new(MousePosition)
  253. pa.Transparency = 1
  254. for i,v in pairs(pa:GetTouchingParts()) do
  255. print(v)
  256. ep = v.Parent
  257. if v.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  258. ep.HumanoidRootPart.CFrame = chr.Torso.CFrame * CFrame.new(0, 0, -3)
  259. end
  260. end
  261. local RightShoulder = plr.Character.Torso["Left Shoulder"]
  262. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p)*CFrame.Angles(0,-math.pi/2,0)
  263. working = false
  264. working2 = false
  265. forward = false
  266. backward = false
  267. right = false
  268. left = false
  269. end
  270. end
  271.  
  272.  
  273. elseif key == "q" and rope ~= nil then
  274. working = true
  275. working2 = false
  276. elseif key == "e" and rope ~= nil then
  277. working2 = true
  278. working = false
  279. elseif key == "w" and rope ~= nil then
  280. forward = true
  281. elseif key == "s" and rope ~= nil then
  282. backward = true
  283. elseif key == "a" and rope ~= nil then
  284. left = true
  285. elseif key == "d" and rope ~= nil then
  286. right = true
  287. elseif key == "x" and shooting == false then
  288. 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
  289. shooting = true
  290. local Head = plr.Character.Head
  291. local RightShoulder = plr.Character.Torso["Right Shoulder"]
  292. local RightArm = plr.Character["Right Arm"]
  293. local MousePosition = mouse.Hit.p
  294. local ToMouse = (MousePosition - Head.Position).unit
  295. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  296. 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)))
  297. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  298. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  299. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  300. if tostring(LateralAngle) == "-1.#IND" then
  301. LateralAngle = 0
  302. end
  303. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  304. if LateralAngle > (math.pi / 2) then
  305. LateralAngle = (math.pi / 2)
  306. end
  307. if Cross.Y < 0 then
  308. LateralAngle = -LateralAngle
  309. end
  310. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)
  311. hoope.C0 = CFrame.Angles(0, 0, 1.575) * CFrame.new(0.5, 0.4, 0)
  312. wait()
  313. local shot = Instance.new('Part',workspace)
  314. shot.Name = "AAAA"
  315. shot.CanCollide = false
  316. shot.BrickColor = BrickColor.new('Institutional white')
  317. shot.Size = Vector3.new(3,3,0.2)
  318. shot.Transparency = 1
  319. shot.CFrame = CFrame.new(chr['Right Arm'].CFrame.p, mouse.Hit.p)*CFrame.Angles(0,0,0)
  320. local dec = Instance.new('Decal',shot)
  321. dec.Texture = 'rbxassetid://148633485'
  322. local dec2 = Instance.new('Decal',shot)
  323. dec2.Texture = 'rbxassetid://148633485'
  324. dec2.Face = Enum.NormalId.Back
  325. local heck = Instance.new('BodyVelocity',shot)
  326. heck.Velocity = (shot.CFrame*CFrame.Angles(0,0,0)).lookVector*120
  327. shot.Touched:connect(function(hit)
  328. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent ~= chr then
  329. print(hit)
  330. webshot(hit.Parent)
  331. shot:Destroy()
  332. elseif hit.Parent.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent.Parent ~= chr then
  333. print(hit)
  334. webshot(hit.Parent.Parent)
  335. shot:Destroy()
  336. elseif hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent:FindFirstChildOfClass('Humanoid') == nil then
  337. print(hit)
  338. shot:Destroy()
  339. end
  340. end)
  341. wait(0.1)
  342. hoope.C0 = CFrame.Angles(0, 0, 1.575) * CFrame.new(-0.7, 0.4, 0)
  343. wait(0.1)
  344. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p)*CFrame.Angles(0,math.pi/2,0)
  345. shooting = false
  346. end
  347.  
  348. elseif key == "g" and punching == false then
  349. 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
  350. punching = true
  351. local Head = plr.Character.Head
  352. local RightShoulder = plr.Character.Torso["Right Shoulder"]
  353. local RightArm = plr.Character["Right Arm"]
  354. local MousePosition = mouse.Hit.p
  355. local ToMouse = (MousePosition - Head.Position).unit
  356. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  357. 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)))
  358. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  359. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  360. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  361. punchswingsound:Play()
  362. if tostring(LateralAngle) == "-1.#IND" then
  363. LateralAngle = 0
  364. end
  365. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  366. if LateralAngle > (math.pi / 2) then
  367. LateralAngle = (math.pi / 2)
  368. end
  369. if Cross.Y < 0 then
  370. LateralAngle = -LateralAngle
  371. end
  372. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)
  373. wait()
  374. chr["Right Arm"].Touched:connect(function(hit)
  375. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent ~= chr then
  376. punchhit(hit.Parent)
  377. elseif hit.Parent.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent.Parent ~= chr then
  378. punchhit(hit.Parent.Parent)
  379. end
  380. end)
  381. wait(1)
  382. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p)*CFrame.Angles(0,math.pi/2,0)
  383. punching = false
  384. end
  385.  
  386. elseif key == "c" and rope == nil then
  387. if crawling then
  388. crawling = false
  389. txt2.Text = "Toggle wall climb on with C."
  390. else
  391. crawling = true
  392. txt2.Text = "Toggle wall climb off with C."
  393. end
  394. elseif key == "z" and rope == nil and wing1 == nil and wing2 == nil then
  395. local plr = game.Players.LocalPlayer
  396. if chr:FindFirstChild('HumanoidRootPart') and chr.HumanoidRootPart:FindFirstChild('RootJoint') then
  397. chr.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(180))
  398. end
  399. if chr.Torso:FindFirstChild('Right Shoulder') then
  400. chr.Torso["Right Shoulder"].C0 = CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))
  401. end
  402. if chr.Torso:FindFirstChild('Left Shoulder') then
  403. chr.Torso["Left Shoulder"].C0 = CFrame.new(-1.5,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(-90))
  404. end
  405. if chr:FindFirstChildOfClass('Humanoid'):FindFirstChild('Animator') and chr:FindFirstChild('Animate') then
  406. animator = chr:FindFirstChildOfClass('Humanoid'):FindFirstChild('Animator')
  407. animator:remove()
  408. chr.Animate.Disabled = true
  409. end
  410. if chr:FindFirstChildOfClass('Humanoid') then
  411. chr:FindFirstChildOfClass('Humanoid').HipHeight = -3
  412. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 40
  413. end
  414. if chr:FindFirstChild('Torso') then
  415. wing1 = Instance.new('WedgePart',chr)
  416. wing1.Size = Vector3.new(0.2,1.5,3)
  417. wing1.Transparency = 1
  418. local dec = Instance.new('Decal',wing1)
  419. dec.Texture = 'http://www.roblox.com/asset/?id=148633485'
  420. dec.Face = Enum.NormalId.Right
  421. local dec2 = Instance.new('Decal',wing1)
  422. dec2.Texture = 'http://www.roblox.com/asset/?id=148633485'
  423. dec2.Face = Enum.NormalId.Left
  424. local dec3 = Instance.new('Decal',wing1)
  425. dec3.Texture = 'http://www.roblox.com/asset/?id=148633485'
  426. dec3.Face = Enum.NormalId.Front
  427. local weld = Instance.new('Weld',wing1)
  428. weld.Part0 = wing1
  429. weld.Part1 = chr.Torso
  430. weld.C0 = CFrame.new(0,-1.5,1)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  431. wing2 = Instance.new('WedgePart',chr)
  432. wing2.Size = Vector3.new(0.2,1.5,3)
  433. wing2.Transparency = 1
  434. local dec4 = Instance.new('Decal',wing2)
  435. dec4.Texture = 'http://www.roblox.com/asset/?id=148633485'
  436. dec4.Face = Enum.NormalId.Right
  437. local dec5 = Instance.new('Decal',wing2)
  438. dec5.Texture = 'http://www.roblox.com/asset/?id=148633485'
  439. dec5.Face = Enum.NormalId.Left
  440. local dec6 = Instance.new('Decal',wing2)
  441. dec6.Texture = 'http://www.roblox.com/asset/?id=148633485'
  442. dec6.Face = Enum.NormalId.Front
  443. local weld2 = Instance.new('Weld',wing2)
  444. weld2.Part0 = wing2
  445. weld2.Part1 = chr.Torso
  446. weld2.C0 = CFrame.new(0,-1.5,1)*CFrame.Angles(math.rad(180),math.rad(270),math.rad(90))
  447. for i,v in pairs(chr:GetChildren()) do
  448. if v:IsA('Part') then
  449. v.Velocity = Vector3.new(0,0,0)
  450. local BodyForce = Instance.new('BodyForce',v)
  451. local Part = v
  452. BodyForce.Name = "stop destroying me"
  453. BodyForce.Force = Vector3.new(0,Part.Size.X * Part.Size.Y * Part.Size.Z * (game.Workspace.Gravity-45),0)
  454. end
  455. end
  456. end
  457. elseif key == string.char(8) then
  458. if plr.PlayerGui:FindFirstChild('hekking spiderman') then
  459. plr.PlayerGui:FindFirstChild('hekking spiderman'):Destroy()
  460. end
  461. elseif key == string.char(47) or key == string.char(48) then
  462. if chr:FindFirstChildOfClass('Humanoid') then
  463. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 30
  464. end
  465. end
  466. end)
  467.  
  468. mouse.KeyUp:connect(function(key)
  469. if key == "q" and rope ~= nil then
  470. working = false
  471. elseif key == "e" and rope ~= nil then
  472. working2 = false
  473. elseif key == "w" and rope ~= nil then
  474. forward = false
  475. elseif key == "s" and rope ~= nil then
  476. backward = false
  477. elseif key == "a" and rope ~= nil then
  478. left = false
  479. elseif key == "d" and rope ~= nil then
  480. right = false
  481. elseif key == "z" and wing1 ~= nil and wing2 ~= nil then
  482. if animator and chr:FindFirstChildOfClass('Humanoid') and chr:FindFirstChild('Animate') then
  483. animator.Parent = chr:FindFirstChildOfClass('Humanoid')
  484. chr.Animate.Disabled = false
  485. end
  486. if chr.Torso:FindFirstChild('Right Shoulder') then
  487. chr.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.pi/2,0)
  488. end
  489. if chr.Torso:FindFirstChild('Left Shoulder') then
  490. chr.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0)*CFrame.Angles(0,-math.pi/2,0)
  491. end
  492. if chr:FindFirstChild('HumanoidRootPart') and chr.HumanoidRootPart:FindFirstChild('RootJoint') then
  493. chr.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-270),math.rad(180),math.rad(0))
  494. end
  495. if chr:FindFirstChildOfClass('Humanoid') then
  496. chr:FindFirstChildOfClass('Humanoid').HipHeight = 0
  497. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  498. end
  499. if wing1 then
  500. wing1:Destroy()
  501. wing1 = nil
  502. end
  503. if wing2 then
  504. wing2:Destroy()
  505. wing2 = nil
  506. end
  507. for i,v in pairs(plr.Character:GetChildren()) do
  508. if v:IsA('Part') then
  509. for a,c in pairs(v:GetChildren()) do
  510. if c:IsA('BodyForce') then
  511. c:Destroy()
  512. end
  513. end
  514. end
  515. end
  516. elseif key == string.char(47) or key == string.char(48) then
  517. if chr:FindFirstChildOfClass('Humanoid') then
  518. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  519. end
  520. end
  521. end)
  522.  
  523. plr.CharacterAppearanceLoaded:connect(function()
  524. wait()
  525. for i,v in pairs(hats) do
  526. table.remove(hats,i)
  527. end
  528. if plr.Character:FindFirstChild('Torso') then
  529. local chr = plr.Character
  530. chr.Torso.Touched:connect(function(hit)
  531. if hit:IsA('TrussPart') == false and rope == nil and crawling and hit.CanCollide then
  532. local c = Instance.new('TrussPart',workspace.CurrentCamera)
  533. c.Anchored = true
  534. c.Transparency = 1
  535. c.CFrame = CFrame.new(chr.Torso.Position + (chr.Torso.CFrame.lookVector * 1), chr.Torso.Position + (chr.Torso.CFrame.lookVector * 12))
  536. game:GetService('Debris'):AddItem(c,0.5)
  537. end
  538. end)
  539. end
  540. end)
  541.  
  542. if plr.Character:FindFirstChild('Torso') then
  543. local chr = plr.Character
  544. chr.Torso.Touched:connect(function(hit)
  545. if hit:IsA('TrussPart') == false and rope == nil and crawling and hit.CanCollide then
  546. local c = Instance.new('TrussPart',workspace.CurrentCamera)
  547. c.Anchored = true
  548. c.Transparency = 1
  549. c.CFrame = CFrame.new(chr.Torso.Position + (chr.Torso.CFrame.lookVector * 1), chr.Torso.Position + (chr.Torso.CFrame.lookVector * 12))
  550. game:GetService('Debris'):AddItem(c,0.5)
  551. end
  552. end)
  553. end
  554.  
  555. game:GetService('RunService').Stepped:connect(function()
  556. chr = plr.Character
  557. local cam = game.Workspace.CurrentCamera
  558. for i,v in pairs(plr.PlayerGui:GetChildren()) do
  559. if v.Name == "SPOOOODA" then
  560. v:Destroy()
  561. end
  562. end
  563. if chr:FindFirstChild('HumanoidRootPart') and (cam.CoordinateFrame.p - chr.HumanoidRootPart.Position).magnitude < 2 then
  564. local haay = Instance.new('ScreenGui',plr.PlayerGui)
  565. haay.Name = "SPOOOODA"
  566. local img = Instance.new('ImageLabel',haay)
  567. img.Image = 'rbxassetid://748619510'
  568. img.BackgroundTransparency = 1
  569. img.Size = UDim2.new(1,0,1,0)
  570. end
  571. if plr.Character:FindFirstChild('Torso') then
  572. for a,c in pairs(plr.Character:GetChildren()) do
  573. for i,v in pairs(c:GetChildren()) do
  574. if v:IsA('BodyForce') and v.Name ~= "stop destroying me" then
  575. v:Destroy()
  576. end
  577. end
  578. end
  579. end
  580. if rope ~= nil and plr.Character and plr.Character:FindFirstChildOfClass('Humanoid') then
  581. plr.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  582. end
  583. if working then
  584. rope.Length = rope.Length-2
  585. if rope ~= nil and plr.Character and plr.Character:FindFirstChild('Torso') then
  586. for i,v in pairs(plr.Character:GetChildren()) do
  587. if v:IsA('Part') then
  588. local BodyForce = Instance.new('BodyForce',v)
  589. local Part = v
  590. BodyForce.Force = Vector3.new(0,Part.Size.X * Part.Size.Y * Part.Size.Z * 196.2,0)
  591. end
  592. end
  593. end
  594. end
  595. if working2 then
  596. rope.Length = rope.Length+1
  597. end
  598. if forward and plr.Character and plr.Character:FindFirstChild('Torso') then
  599. local force = Instance.new('BodyForce',plr.Character.Torso)
  600. force.Force = Vector3.new(cam.CFrame.lookVector.x*1000,0,cam.CFrame.lookVector.z*1000)
  601. end
  602. if right and plr.Character and plr.Character:FindFirstChild('Torso') then
  603. local force = Instance.new('BodyForce',plr.Character.Torso)
  604. force.Force = Vector3.new(cam.CFrame.rightVector.x*1000,0,cam.CFrame.rightVector.z*1000)
  605. end
  606. if left and plr.Character and plr.Character:FindFirstChild('Torso') then
  607. local force = Instance.new('BodyForce',plr.Character.Torso)
  608. force.Force = Vector3.new(-cam.CFrame.rightVector.x*1000,0,-cam.CFrame.rightVector.z*1000)
  609. end
  610. if backward and plr.Character and plr.Character:FindFirstChild('Torso') then
  611. local force = Instance.new('BodyForce',plr.Character.Torso)
  612. force.Force = Vector3.new(-cam.CFrame.lookVector.x*1000,0,-cam.CFrame.lookVector.z*1000)
  613. end
  614. for i,v in pairs(chr:GetChildren()) do
  615. if v:IsA('Part') and v.Anchored == true then
  616. v.Anchored = false
  617. end
  618. end
  619. if active then
  620. for i,v in pairs(plr.Character:GetChildren()) do
  621. if v:IsA('Accessory') then
  622. if v:FindFirstChildOfClass('Part') then
  623. if v:FindFirstChildOfClass('Part'):FindFirstChildOfClass('SpecialMesh') then
  624. if v:FindFirstChildOfClass('Part'):FindFirstChildOfClass('SpecialMesh').TextureId ~= "rbxassetid://324560448" then
  625. table.insert(hats,v:Clone())
  626. end
  627. end
  628. end
  629. v:Destroy()
  630. elseif v:IsA('Shirt') then
  631. if v.ShirtTemplate ~= 'rbxassetid://764144795' then
  632. table.insert(hats,v:Clone())
  633. end
  634. v:Destroy()
  635. elseif v:IsA('Pants') then
  636. if v.PantsTemplate ~= 'rbxassetid://393499335' then
  637. table.insert(hats,v:Clone())
  638. end
  639. v:Destroy()
  640. end
  641. end
  642. local shirt = Instance.new('Shirt',plr.Character)
  643. shirt.ShirtTemplate = 'rbxassetid://764144795'
  644. local pants = Instance.new('Pants',plr.Character)
  645. pants.PantsTemplate = 'rbxassetid://393499335'
  646. local ac = Instance.new('Accessory',plr.Character)
  647. local pa = Instance.new('Part',ac)
  648. pa.Size = Vector3.new(1,1,1)
  649. local me = Instance.new('SpecialMesh',pa)
  650. me.MeshType = Enum.MeshType.FileMesh
  651. me.MeshId = 'rbxassetid://151354047'
  652. me.TextureId = 'rbxassetid://324560448'
  653. me.Scale = Vector3.new(1.26,1.26,1.26)
  654. local weld = Instance.new('Weld',pa)
  655. weld.Part0 = pa
  656. weld.Part1 = plr.Character.Head
  657. else
  658. for i,v in pairs(plr.Character:GetChildren()) do
  659. if v:IsA('Accessory') or v:IsA('Shirt') or v:IsA('Pants') then
  660. v:Destroy()
  661. end
  662. end
  663. for i,v in pairs(hats) do
  664. v:Clone().Parent = chr
  665. end
  666. end
  667. end)
  668.  
  669. function punchhit(char)
  670. if punching == false then return end
  671. local blacklivesmatter = coroutine.wrap(function()
  672. if char:FindFirstChildOfClass('Humanoid').Health > 0 then
  673. punching = false
  674. punchhitsound:Play()
  675. char:FindFirstChildOfClass('Humanoid').Health = char:FindFirstChildOfClass('Humanoid').Health - char:FindFirstChildOfClass('Humanoid').MaxHealth*0.4
  676. if char:FindFirstChild('HumanoidRootPart') then
  677. local jebis = nil
  678. if char:FindFirstChild('Animate') then
  679. jebis = char.Animate:Clone()
  680. char.Animate:Remove()
  681. end
  682. char:FindFirstChildOfClass('Humanoid').PlatformStand = true
  683. local ahhhhhhh = true
  684. char.HumanoidRootPart.CFrame = CFrame.new(char.HumanoidRootPart.Position)*CFrame.Angles(0,0,math.pi/2)
  685. if char:FindFirstChildOfClass('Humanoid') then
  686. char:FindFirstChildOfClass('Humanoid').Changed:connect(function(change)
  687. if change == "PlatformStand" and ahhhhhhh then
  688. char:FindFirstChildOfClass('Humanoid').PlatformStand = true
  689. end
  690. end)
  691. end
  692. wait(15)
  693. ahhhhhhh = false
  694. if char:FindFirstChildOfClass('Humanoid') then
  695. char:FindFirstChildOfClass('Humanoid').PlatformStand = false
  696. end
  697. if force then
  698. force:Remove()
  699. end
  700. if jebis then
  701. jebis.Parent = char
  702. end
  703. for i,v in pairs(char:GetChildren()) do
  704. if v.Name ~= "Head" then
  705. for a,c in pairs(v:GetChildren()) do
  706. if c:IsA('Decal') then
  707. c:Remove()
  708. end
  709. end
  710. end
  711. end
  712. end
  713. end
  714. end)
  715. blacklivesmatter()
  716. end
Advertisement
Add Comment
Please, Sign In to add comment