Advertisement
Guest User

script spider-man

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