kikot

SPOODERMAN

Jun 14th, 2018
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.78 KB | None | 0 0
  1. script.Parent = workspace.CurrentCamera
  2. local plr = game:GetService("Players").LocalPlayer
  3.  
  4. local tool = Instance.new("Tool",plr:WaitForChild("Backpack"))
  5. tool.Grip = CFrame.new(0,-0.8,-0.2) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  6. tool.Name = "bluE"
  7.  
  8. local part = Instance.new("Part",tool)
  9. part.Name = "Handle"
  10. part.Size = Vector3.new(4,6,4)
  11. part.TopSurface = "Smooth"
  12. part.BottomSurface = "Smooth"
  13. part.CanCollide = false
  14. part:BreakJoints()
  15.  
  16. local mesh = Instance.new("SpecialMesh",part)
  17. mesh.MeshId = "rbxassetid://431003868" --mesh.MeshId = "rbxassetid://132920499"
  18. mesh.TextureId = "rbxassetid://430627740" --"http://www.roblox.com/asset/?id=134479421"
  19. mesh.Scale = Vector3.new(2,2,2)
  20.  
  21. local sound = Instance.new("Sound",part)
  22. sound.SoundId = "rbxassetid://511340819"
  23. sound.Volume = 3
  24.  
  25. local sound2 = Instance.new("Sound",part)
  26. sound2.SoundId = "rbxassetid://280667448"
  27. sound2.Volume = 5
  28.  
  29. local sound3 = Instance.new("Sound",part)
  30. sound3.SoundId = "rbxassetid://139100774"
  31. sound3.Volume = 10
  32.  
  33. local sound4 = Instance.new("Sound",part)
  34. sound4.SoundId = "rbxassetid://258057783"
  35. sound4.Volume = 10
  36.  
  37. local sound5 = Instance.new("Sound",part)
  38. sound5.SoundId = "rbxassetid://130932305"
  39. sound5.Volume = 10
  40.  
  41. local sound6 = Instance.new("Sound",part)
  42. sound6.SoundId = "rbxassetid://906084456"
  43. sound6.Volume = 10
  44. sound6.TimePosition = 2
  45.  
  46. function firstHum(target)
  47. for i,v in pairs(target:GetChildren()) do
  48. if v:IsA("Humanoid") then
  49. return v
  50. end
  51. end
  52. return nil
  53. end
  54.  
  55. local slap = false
  56. local cd = false
  57.  
  58. plr:GetMouse().Button1Down:connect(function()
  59. if tool.Parent == plr.Character then
  60. if slap == false then
  61. slap = true
  62. sound2:Play()
  63. local str = Instance.new("StringValue")
  64. str.Name = "toolanim"
  65. str.Value = "Slash"
  66. str.Parent = tool
  67. wait(1)
  68. slap = false
  69. end
  70. end
  71. end)
  72.  
  73. part.Touched:connect(function(hit)
  74. if slap == true then
  75. if cd == false then
  76. if not hit:IsDescendantOf(plr.Character) then
  77. if hit.Parent:IsA("Model") then
  78. local fhum = firstHum(hit.Parent)
  79. if fhum then
  80. cd = true
  81. fhum.PlatformStand = true
  82. sound:Play()
  83. local con1
  84. con1 = game:GetService("RunService").Heartbeat:connect(function()
  85. fhum.PlatformStand = true
  86. end)
  87. wait(0.1)
  88. local vel = Instance.new("BodyVelocity",hit)
  89. vel.Velocity = ((hit.Position - plr.Character:WaitForChild("HumanoidRootPart").Position).unit + Vector3.new(0,0.5,0))*50
  90. vel.MaxForce = Vector3.new(10000000,10000000,10000000)
  91. wait(1)
  92. cd = false
  93. vel:Destroy()
  94. local vel2 = Instance.new("BodyVelocity",hit)
  95. vel2.Velocity = Vector3.new(0,12.5,0)
  96. vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
  97. local p2 = Instance.new("Part",hit)
  98. p2.Anchored = true
  99. p2.Transparency = 0.6
  100. p2.CanCollide = false
  101. p2.Size = Vector3.new(0.2,0.2,0.2)
  102. p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  103. p2.BrickColor = BrickColor.new("New Yeller")
  104. p2.Material = "Neon"
  105. local m2 = Instance.new("CylinderMesh",p2)
  106. m2.Scale = Vector3.new(60,10000,60)
  107. local scln = sound3:Clone()
  108. scln.Parent = hit
  109. scln:Play()
  110. local con2
  111. con2 = game:GetService("RunService").Heartbeat:connect(function()
  112. p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  113. end)
  114. wait(7)
  115. vel2.Velocity = Vector3.new(0,0,0)
  116. wait(0.5)
  117. scln:Stop()
  118. local scln3 = sound5:Clone()
  119. scln3.Parent = hit
  120. scln3:Play()
  121. wait(1)
  122. local bav = Instance.new("BodyAngularVelocity",hit)
  123. bav.AngularVelocity = Vector3.new(math.random(0,360),math.random(0,360),math.random(0,360))
  124. vel2.Velocity = Vector3.new(0,-250,0)
  125. p2.BrickColor = BrickColor.new("Really red")
  126. local scln6 = sound6:Clone()
  127. scln6.Parent = hit
  128. scln6:Play()
  129. local continue = false
  130. local htc
  131. htc = hit.Touched:connect(function(hitp)
  132. if not hitp:IsDescendantOf(hit.Parent) then
  133. continue = true
  134. scln6:Stop()
  135. vel2:Destroy()
  136. con2:Disconnect()
  137. con1:Disconnect()
  138. htc:Disconnect()
  139. p2:Destroy()
  140. end
  141. end)
  142. repeat wait() until continue == true
  143. local ctab = {}
  144. for i=1,4 do
  145. local p = Instance.new("Part",hit)
  146. p.Size = Vector3.new(30,30,30)
  147. p.Anchored = true
  148. p.CanCollide = false
  149. p.TopSurface = "Smooth"
  150. p.BottomSurface = "Smooth"
  151. p.Color = Color3.fromRGB(255,math.random(0,255),0)
  152. p.CFrame = hit.CFrame
  153. local con
  154. con = game:GetService("RunService").Heartbeat:connect(function()
  155. p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  156. p.Transparency = p.Transparency + 0.01
  157. if p.Transparency >= 1 then
  158. con:Disconnect()
  159. end
  160. end)
  161. table.insert(ctab,con)
  162. end
  163. Instance.new("Explosion",workspace).Position = hit.Position
  164. local scln2 = sound4:Clone()
  165. scln2.Parent = hit
  166. scln2:Play()
  167. vel2:Destroy()
  168. hit.Parent:BreakJoints()
  169. repeat wait() until not hit:IsDescendantOf(workspace)
  170. con2:Disconnect()
  171. end
  172. end
  173. end
  174. end
  175. end
  176. end)
  177.  
  178.  
  179.  
  180.  
  181.  
  182. local plr = game:GetService('Players').LocalPlayer
  183. local mouse = plr:GetMouse()
  184. local chr = plr.Character
  185. local rope = nil
  186. local working = false
  187. local working2 = false
  188. local forward = false
  189. local backward = false
  190. local shooting = false
  191. local left = false
  192. local right = false
  193. local crawling = false
  194. local active = true
  195. local wing1 = nil
  196. local wing2 = nil
  197. local hats = {}
  198. local gui = Instance.new('ScreenGui')
  199. gui.Parent = plr.PlayerGui
  200. gui.Name = "Spiderman"
  201. gui.ResetOnSpawn = false
  202. local frame = Instance.new('Frame',gui)
  203. frame.Size = UDim2.new(0.2,0,0.2,0)
  204. frame.Position = UDim2.new(0,0,0.9,0)
  205. frame.BackgroundColor3 = Color3.fromRGB(255, 66, 66)
  206. frame.BorderSizePixel = 4
  207. frame.BorderColor3 = Color3.fromRGB(66, 134, 244)
  208. frame.Active = true
  209. frame.Draggable = true
  210. local txt = Instance.new('TextLabel',frame)
  211. txt.Text = "Spiderman Gui"
  212. txt.TextColor3 = Color3.fromRGB(66, 134, 244)
  213. txt.Size = UDim2.new(1,0,0.3,0)
  214. txt.TextScaled = true
  215. txt.BackgroundTransparency = 1
  216. local but = Instance.new('TextButton',frame)
  217. but.Text = "Toggle Suit"
  218. but.TextColor3 = Color3.fromRGB(255, 66, 66)
  219. but.Size = UDim2.new(0.7,0,0.3,0)
  220. but.Position = UDim2.new(0.15,0,0.5,0)
  221. but.BorderSizePixel = 0
  222. but.TextScaled = true
  223. but.BackgroundColor3 = Color3.fromRGB(66, 134, 244)
  224. but.MouseButton1Down:connect(function()
  225. active = not active
  226. end)
  227. local txt2 = Instance.new('TextLabel',frame)
  228. txt2.Text = "Toggle wall climb on with C."
  229. txt2.TextColor3 = Color3.fromRGB(66, 134, 244)
  230. txt2.Size = UDim2.new(1,0,0.15,0)
  231. txt2.Position = UDim2.new(0,0,0.85,0)
  232. txt2.TextScaled = true
  233. txt2.BackgroundTransparency = 1
  234. function webshot(char)
  235. local haaaaaaaaa = coroutine.wrap(function()
  236. if char:FindFirstChildOfClass('Humanoid').Health > 0 then
  237. for i,v in pairs(char:GetChildren()) do
  238. local partz = {Enum.NormalId.Back,Enum.NormalId.Right,Enum.NormalId.Left,Enum.NormalId.Top,Enum.NormalId.Bottom,Enum.NormalId.Front}
  239. if v:IsA('Part') and v.Transparency ~= 1 and v.Name ~= "Head" then
  240. for a,c in pairs(partz) do
  241. local dec = Instance.new('Decal',v)
  242. dec.Texture = 'http://www.roblox.com/asset/?id=148633485'
  243. dec.Face = c
  244. end
  245. end
  246. end
  247. char:FindFirstChildOfClass('Humanoid').Health = char:FindFirstChildOfClass('Humanoid').Health - char:FindFirstChildOfClass('Humanoid').MaxHealth*0.3
  248. if char:FindFirstChild('HumanoidRootPart') then
  249. local heyyyy = nil
  250. if char:FindFirstChild('Animate') then
  251. heyyyy = char.Animate:Clone()
  252. char.Animate:Destroy()
  253. end
  254. char:FindFirstChildOfClass('Humanoid').PlatformStand = true
  255. local ahhhhhhh = true
  256. char.HumanoidRootPart.CFrame = CFrame.new(char.HumanoidRootPart.Position)*CFrame.Angles(0,0,math.pi/2)
  257. if char:FindFirstChildOfClass('Humanoid') then
  258. char:FindFirstChildOfClass('Humanoid').Changed:connect(function(change)
  259. if change == "PlatformStand" and ahhhhhhh then
  260. char:FindFirstChildOfClass('Humanoid').PlatformStand = true
  261. end
  262. end)
  263. end
  264. wait(15)
  265. ahhhhhhh = false
  266. if char:FindFirstChildOfClass('Humanoid') then
  267. char:FindFirstChildOfClass('Humanoid').PlatformStand = false
  268. end
  269. if force then
  270. force:Destroy()
  271. end
  272. if heyyyy then
  273. heyyyy.Parent = char
  274. end
  275. for i,v in pairs(char:GetChildren()) do
  276. if v.Name ~= "Head" then
  277. for a,c in pairs(v:GetChildren()) do
  278. if c:IsA('Decal') then
  279. c:Destroy()
  280. end
  281. end
  282. end
  283. end
  284. end
  285. end
  286. end)
  287. haaaaaaaaa()
  288. end
  289. mouse.KeyDown:connect(function(key)
  290. if key == "f" then
  291. if rope == nil then
  292. 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
  293. if game.CoreGui:FindFirstChild('hekking spiderman') then
  294. game.CoreGui:FindFirstChild('hekking spiderman'):Destroy()
  295. end
  296. local Head = plr.Character.Head
  297. local RightShoulder = plr.Character.Torso["Left Shoulder"]
  298. local RightArm = plr.Character["Left Arm"]
  299. local MousePosition = mouse.Hit.p
  300. local ToMouse = (MousePosition - Head.Position).unit
  301. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, -1, 0)))
  302. 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)))
  303. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(-1 ,0, -1)).unit
  304. local Look = (Head.CFrame.lookVector * Vector3.new(-1, 0, -1)).unit
  305. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  306. if tostring(LateralAngle) == "-1.#IND" then
  307. LateralAngle = 0
  308. end
  309. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  310. if LateralAngle < (-math.pi / 2) then
  311. LateralAngle = (-math.pi / 2)
  312. end
  313. if Cross.Y > 0 then
  314. LateralAngle = -LateralAngle
  315. end
  316. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((-math.pi / 2) + Angle), ((-math.pi / 2) - LateralAngle), -math.pi/2)
  317. wait()
  318. local pa = Instance.new('Part',workspace)
  319. pa.Name = "SPOODERMEN"
  320. pa.Size = Vector3.new(0.2,0.2,0.2)
  321. pa.Anchored = true
  322. pa.CFrame = CFrame.new(MousePosition)
  323. pa.Transparency = 1
  324. local att = Instance.new('Attachment',pa)
  325. local att2 = Instance.new('Attachment',RightArm)
  326. att2.CFrame = CFrame.new(0,-1,0)
  327. att2.Axis = Vector3.new(0,0,0)
  328. local ropez = Instance.new('RopeConstraint',RightArm)
  329. ropez.Color = BrickColor.new('Institutional white')
  330. ropez.Attachment0 = att
  331. ropez.Attachment1 = att2
  332. ropez.Length = ropez.CurrentDistance-5
  333. ropez.Visible = true
  334. rope = ropez
  335. crawling = false
  336. txt2.Text = "Toggle wall climb on with C."
  337. end
  338. else
  339. 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
  340. local RightShoulder = plr.Character.Torso["Left Shoulder"]
  341. rope:Destroy()
  342. rope = nil
  343. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p)*CFrame.Angles(0,-math.pi/2,0)
  344. working = false
  345. working2 = false
  346. forward = false
  347. backward = false
  348. right = false
  349. left = false
  350. -- Objects
  351.  
  352. local ScreenGui = Instance.new("ScreenGui")
  353. local Frame = Instance.new("Frame")
  354. local TextLabel = Instance.new("TextLabel")
  355.  
  356. -- Properties
  357. ScreenGui.Name = "hekking spiderman"
  358. ScreenGui.Parent = game.CoreGui
  359.  
  360. Frame.Parent = ScreenGui
  361. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  362. Frame.BorderSizePixel = 0
  363. Frame.Size = UDim2.new(1, 0, 0.0500000007, 0)
  364.  
  365. TextLabel.Parent = Frame
  366. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  367. TextLabel.BackgroundTransparency = 1
  368. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  369. TextLabel.Font = Enum.Font.SourceSans
  370. TextLabel.FontSize = Enum.FontSize.Size14
  371. TextLabel.Text = "!! PRESS BACKSPACE TO REGAIN BALANCE !!"
  372. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  373. TextLabel.TextScaled = true
  374. TextLabel.TextSize = 14
  375. TextLabel.TextWrapped = true
  376. end
  377. end
  378. elseif key == "q" and rope ~= nil then
  379. working = true
  380. working2 = false
  381. elseif key == "e" and rope ~= nil then
  382. working2 = true
  383. working = false
  384. elseif key == "w" and rope ~= nil then
  385. forward = true
  386. elseif key == "s" and rope ~= nil then
  387. backward = true
  388. elseif key == "a" and rope ~= nil then
  389. left = true
  390. elseif key == "d" and rope ~= nil then
  391. right = true
  392. elseif key == "x" and shooting == false then
  393. 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
  394. shooting = true
  395. local Head = plr.Character.Head
  396. local RightShoulder = plr.Character.Torso["Right Shoulder"]
  397. local RightArm = plr.Character["Right Arm"]
  398. local MousePosition = mouse.Hit.p
  399. local ToMouse = (MousePosition - Head.Position).unit
  400. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  401. 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)))
  402. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  403. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  404. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  405. if tostring(LateralAngle) == "-1.#IND" then
  406. LateralAngle = 0
  407. end
  408. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  409. if LateralAngle > (math.pi / 2) then
  410. LateralAngle = (math.pi / 2)
  411. end
  412. if Cross.Y < 0 then
  413. LateralAngle = -LateralAngle
  414. end
  415. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)
  416. wait()
  417. local shot = Instance.new('Part',workspace)
  418. shot.Name = "AAAA"
  419. shot.CanCollide = false
  420. shot.BrickColor = BrickColor.new('Institutional white')
  421. shot.Size = Vector3.new(3,3,0.2)
  422. shot.Transparency = 1
  423. shot.CFrame = CFrame.new(chr['Right Arm'].CFrame.p, mouse.Hit.p)*CFrame.Angles(0,0,0)
  424. local dec = Instance.new('Decal',shot)
  425. dec.Texture = 'rbxassetid://148633485'
  426. local dec2 = Instance.new('Decal',shot)
  427. dec2.Texture = 'rbxassetid://148633485'
  428. dec2.Face = Enum.NormalId.Back
  429. local heck = Instance.new('BodyVelocity',shot)
  430. heck.Velocity = (shot.CFrame*CFrame.Angles(0,0,0)).lookVector*120
  431. shot.Touched:connect(function(hit)
  432. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent ~= chr then
  433. webshot(hit.Parent)
  434. shot:Destroy()
  435. elseif hit.Parent.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent.Parent ~= chr then
  436. webshot(hit.Parent.Parent)
  437. shot:Destroy()
  438. elseif hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent:FindFirstChildOfClass('Humanoid') == nil then
  439. shot:Destroy()
  440. end
  441. end)
  442. wait(1)
  443. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p)*CFrame.Angles(0,math.pi/2,0)
  444. shooting = false
  445. end
  446. elseif key == "c" and rope == nil then
  447. if crawling then
  448. crawling = false
  449. txt2.Text = "Toggle wall climb on with C."
  450. else
  451. crawling = true
  452. txt2.Text = "Toggle wall climb off with C."
  453. end
  454. elseif key == "z" and rope == nil and wing1 == nil and wing2 == nil then
  455. local plr = game.Players.LocalPlayer
  456. if chr:FindFirstChild('HumanoidRootPart') and chr.HumanoidRootPart:FindFirstChild('RootJoint') then
  457. chr.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(180))
  458. end
  459. if chr.Torso:FindFirstChild('Right Shoulder') then
  460. chr.Torso["Right Shoulder"].C0 = CFrame.new(1.5,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))
  461. end
  462. if chr.Torso:FindFirstChild('Left Shoulder') then
  463. chr.Torso["Left Shoulder"].C0 = CFrame.new(-1.5,0,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(-90))
  464. end
  465. if chr:FindFirstChildOfClass('Humanoid'):FindFirstChild('Animator') and chr:FindFirstChild('Animate') then
  466. animator = chr:FindFirstChildOfClass('Humanoid'):FindFirstChild('Animator')
  467. animator:remove()
  468. chr.Animate.Disabled = true
  469. end
  470. if chr:FindFirstChildOfClass('Humanoid') then
  471. chr:FindFirstChildOfClass('Humanoid').HipHeight = -3
  472. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 40
  473. end
  474. if chr:FindFirstChild('Torso') then
  475. wing1 = Instance.new('WedgePart',chr)
  476. wing1.Size = Vector3.new(0.2,1.5,3)
  477. wing1.Transparency = 1
  478. local dec = Instance.new('Decal',wing1)
  479. dec.Texture = 'http://www.roblox.com/asset/?id=148633485'
  480. dec.Face = Enum.NormalId.Right
  481. local dec2 = Instance.new('Decal',wing1)
  482. dec2.Texture = 'http://www.roblox.com/asset/?id=148633485'
  483. dec2.Face = Enum.NormalId.Left
  484. local dec3 = Instance.new('Decal',wing1)
  485. dec3.Texture = 'http://www.roblox.com/asset/?id=148633485'
  486. dec3.Face = Enum.NormalId.Front
  487. local weld = Instance.new('Weld',wing1)
  488. weld.Part0 = wing1
  489. weld.Part1 = chr.Torso
  490. weld.C0 = CFrame.new(0,-1.5,1)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  491. wing2 = Instance.new('WedgePart',chr)
  492. wing2.Size = Vector3.new(0.2,1.5,3)
  493. wing2.Transparency = 1
  494. local dec4 = Instance.new('Decal',wing2)
  495. dec4.Texture = 'http://www.roblox.com/asset/?id=148633485'
  496. dec4.Face = Enum.NormalId.Right
  497. local dec5 = Instance.new('Decal',wing2)
  498. dec5.Texture = 'http://www.roblox.com/asset/?id=148633485'
  499. dec5.Face = Enum.NormalId.Left
  500. local dec6 = Instance.new('Decal',wing2)
  501. dec6.Texture = 'http://www.roblox.com/asset/?id=148633485'
  502. dec6.Face = Enum.NormalId.Front
  503. local weld2 = Instance.new('Weld',wing2)
  504. weld2.Part0 = wing2
  505. weld2.Part1 = chr.Torso
  506. weld2.C0 = CFrame.new(0,-1.5,1)*CFrame.Angles(math.rad(180),math.rad(270),math.rad(90))
  507. for i,v in pairs(chr:GetChildren()) do
  508. if v:IsA('Part') then
  509. v.Velocity = Vector3.new(0,0,0)
  510. local BodyForce = Instance.new('BodyForce',v)
  511. local Part = v
  512. BodyForce.Name = "stop destroying me"
  513. BodyForce.Force = Vector3.new(0,Part.Size.X * Part.Size.Y * Part.Size.Z * (game.Workspace.Gravity-45),0)
  514. end
  515. end
  516. end
  517. elseif key == string.char(8) then
  518. if game.CoreGui:FindFirstChild('hekking spiderman') then
  519. game.CoreGui:FindFirstChild('hekking spiderman'):Destroy()
  520. end
  521. elseif key == string.char(47) or key == string.char(48) then
  522. if chr:FindFirstChildOfClass('Humanoid') then
  523. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 30
  524. end
  525. end
  526. end)
  527.  
  528. mouse.KeyUp:connect(function(key)
  529. if key == "q" and rope ~= nil then
  530. working = false
  531. elseif key == "e" and rope ~= nil then
  532. working2 = false
  533. elseif key == "w" and rope ~= nil then
  534. forward = false
  535. elseif key == "s" and rope ~= nil then
  536. backward = false
  537. elseif key == "a" and rope ~= nil then
  538. left = false
  539. elseif key == "d" and rope ~= nil then
  540. right = false
  541. elseif key == "z" and wing1 ~= nil and wing2 ~= nil then
  542. if animator and chr:FindFirstChildOfClass('Humanoid') and chr:FindFirstChild('Animate') then
  543. animator.Parent = chr:FindFirstChildOfClass('Humanoid')
  544. chr.Animate.Disabled = false
  545. end
  546. if chr.Torso:FindFirstChild('Right Shoulder') then
  547. chr.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0)*CFrame.Angles(0,math.pi/2,0)
  548. end
  549. if chr.Torso:FindFirstChild('Left Shoulder') then
  550. chr.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0)*CFrame.Angles(0,-math.pi/2,0)
  551. end
  552. if chr:FindFirstChild('HumanoidRootPart') and chr.HumanoidRootPart:FindFirstChild('RootJoint') then
  553. chr.HumanoidRootPart.RootJoint.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(-270),math.rad(180),math.rad(0))
  554. end
  555. if chr:FindFirstChildOfClass('Humanoid') then
  556. chr:FindFirstChildOfClass('Humanoid').HipHeight = 0
  557. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  558. end
  559. if wing1 then
  560. wing1:Destroy()
  561. wing1 = nil
  562. end
  563. if wing2 then
  564. wing2:Destroy()
  565. wing2 = nil
  566. end
  567. for i,v in pairs(plr.Character:GetChildren()) do
  568. if v:IsA('Part') then
  569. for a,c in pairs(v:GetChildren()) do
  570. if c:IsA('BodyForce') then
  571. c:Destroy()
  572. end
  573. end
  574. end
  575. end
  576. elseif key == string.char(47) or key == string.char(48) then
  577. if chr:FindFirstChildOfClass('Humanoid') then
  578. chr:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  579. end
  580. end
  581. end)
  582.  
  583. plr.CharacterAppearanceLoaded:connect(function()
  584. wait()
  585. for i,v in pairs(hats) do
  586. table.remove(hats,i)
  587. end
  588. if plr.Character:FindFirstChild('Torso') then
  589. local chr = plr.Character
  590. chr.Torso.Touched:connect(function(hit)
  591. if hit:IsA('TrussPart') == false and rope == nil and crawling and hit.CanCollide then
  592. local c = Instance.new('TrussPart',workspace.CurrentCamera)
  593. c.Anchored = true
  594. c.Transparency = 1
  595. c.CFrame = CFrame.new(chr.Torso.Position + (chr.Torso.CFrame.lookVector * 1), chr.Torso.Position + (chr.Torso.CFrame.lookVector * 12))
  596. game:GetService('Debris'):AddItem(c,0.5)
  597. end
  598. end)
  599. end
  600. end)
  601.  
  602. if plr.Character:FindFirstChild('Torso') then
  603. local chr = plr.Character
  604. chr.Torso.Touched:connect(function(hit)
  605. if hit:IsA('TrussPart') == false and rope == nil and crawling and hit.CanCollide then
  606. local c = Instance.new('TrussPart',workspace.CurrentCamera)
  607. c.Anchored = true
  608. c.Transparency = 1
  609. c.CFrame = CFrame.new(chr.Torso.Position + (chr.Torso.CFrame.lookVector * 1), chr.Torso.Position + (chr.Torso.CFrame.lookVector * 12))
  610. game:GetService('Debris'):AddItem(c,0.5)
  611. end
  612. end)
  613. end
  614.  
  615. game:GetService('RunService').Stepped:connect(function()
  616. chr = plr.Character
  617. local cam = game.Workspace.CurrentCamera
  618. for i,v in pairs(plr.PlayerGui:GetChildren()) do
  619. if v.Name == "SPOOOODA" then
  620. v:Destroy()
  621. end
  622. end
  623. if chr:FindFirstChild('HumanoidRootPart') and (cam.CoordinateFrame.p - chr.HumanoidRootPart.Position).magnitude < 2 then
  624. local haay = Instance.new('ScreenGui',plr.PlayerGui)
  625. haay.Name = "SPOOOODA"
  626. local img = Instance.new('ImageLabel',haay)
  627. img.Image = 'rbxassetid://744896574'
  628. img.BackgroundTransparency = 1
  629. img.Size = UDim2.new(1,0,1,0)
  630. end
  631. if plr.Character:FindFirstChild('Torso') then
  632. for a,c in pairs(plr.Character:GetChildren()) do
  633. for i,v in pairs(c:GetChildren()) do
  634. if v:IsA('BodyForce') and v.Name ~= "stop destroying me" then
  635. v:Destroy()
  636. end
  637. end
  638. end
  639. end
  640. if rope ~= nil and plr.Character and plr.Character:FindFirstChildOfClass('Humanoid') then
  641. plr.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  642. end
  643. if working then
  644. rope.Length = rope.Length-2
  645. if rope ~= nil and plr.Character and plr.Character:FindFirstChild('Torso') then
  646. for i,v in pairs(plr.Character:GetChildren()) do
  647. if v:IsA('Part') then
  648. local BodyForce = Instance.new('BodyForce',v)
  649. local Part = v
  650. BodyForce.Force = Vector3.new(0,Part.Size.X * Part.Size.Y * Part.Size.Z * 196.2,0)
  651. end
  652. end
  653. end
  654. end
  655. if working2 then
  656. rope.Length = rope.Length+1
  657. end
  658. if forward and plr.Character and plr.Character:FindFirstChild('Torso') then
  659. local force = Instance.new('BodyForce',plr.Character.Torso)
  660. force.Force = Vector3.new(cam.CFrame.lookVector.x*1000,0,cam.CFrame.lookVector.z*1000)
  661. end
  662. if right and plr.Character and plr.Character:FindFirstChild('Torso') then
  663. local force = Instance.new('BodyForce',plr.Character.Torso)
  664. force.Force = Vector3.new(cam.CFrame.rightVector.x*1000,0,cam.CFrame.rightVector.z*1000)
  665. end
  666. if left and plr.Character and plr.Character:FindFirstChild('Torso') then
  667. local force = Instance.new('BodyForce',plr.Character.Torso)
  668. force.Force = Vector3.new(-cam.CFrame.rightVector.x*1000,0,-cam.CFrame.rightVector.z*1000)
  669. end
  670. if backward and plr.Character and plr.Character:FindFirstChild('Torso') then
  671. local force = Instance.new('BodyForce',plr.Character.Torso)
  672. force.Force = Vector3.new(-cam.CFrame.lookVector.x*1000,0,-cam.CFrame.lookVector.z*1000)
  673. end
  674. for i,v in pairs(chr:GetChildren()) do
  675. if v:IsA('Part') and v.Anchored == true then
  676. v.Anchored = false
  677. end
  678. end
  679. if active then
  680. for i,v in pairs(plr.Character:GetChildren()) do
  681. if v:IsA('Accessory') then
  682. if v:FindFirstChildOfClass('Part') then
  683. if v:FindFirstChildOfClass('Part'):FindFirstChildOfClass('SpecialMesh') then
  684. if v:FindFirstChildOfClass('Part'):FindFirstChildOfClass('SpecialMesh').TextureId ~= "rbxassetid://454487924" then
  685. table.insert(hats,v:Clone())
  686. end
  687. end
  688. end
  689. v:Destroy()
  690. elseif v:IsA('Shirt') then
  691. if v.ShirtTemplate ~= 'rbxassetid://616223451' then
  692. table.insert(hats,v:Clone())
  693. end
  694. v:Destroy()
  695. elseif v:IsA('Pants') then
  696. if v.PantsTemplate ~= 'rbxassetid://616226602' then
  697. table.insert(hats,v:Clone())
  698. end
  699. v:Destroy()
  700. end
  701. end
  702. local shirt = Instance.new('Shirt',plr.Character)
  703. shirt.ShirtTemplate = 'rbxassetid://616223451'
  704. local pants = Instance.new('Pants',plr.Character)
  705. pants.PantsTemplate = 'rbxassetid://616226602'
  706. local ac = Instance.new('Accessory',plr.Character)
  707. local pa = Instance.new('Part',ac)
  708. pa.Size = Vector3.new(1,1,1)
  709. local me = Instance.new('SpecialMesh',pa)
  710. me.MeshType = Enum.MeshType.FileMesh
  711. me.MeshId = 'rbxassetid://151354047'
  712. me.TextureId = 'rbxassetid://454487924'
  713. me.Scale = Vector3.new(1.26,1.26,1.26)
  714. local weld = Instance.new('Weld',pa)
  715. weld.Part0 = pa
  716. weld.Part1 = plr.Character.Head
  717. else
  718. for i,v in pairs(plr.Character:GetChildren()) do
  719. if v:IsA('Accessory') or v:IsA('Shirt') or v:IsA('Pants') then
  720. v:Destroy()
  721. end
  722. end
  723. for i,v in pairs(hats) do
  724. v:Clone().Parent = chr
  725. end
  726. end
  727. end)
  728.  
  729.  
  730.  
  731. local plr = game.Players.LocalPlayer
  732. local chr = plr.Character or plr.CharacterAdded:wait()
  733. local running = false
  734. function new(classname)
  735. return Instance.new(classname)
  736. end
  737.  
  738. chr:WaitForChild("Right Leg")
  739.  
  740. local pistol = {gun={}}
  741. pistol.gun.Handle = new("Part", chr)
  742. pistol.gun.Handle.Size = Vector3.new(0.2, 0.8, 0.8)
  743. pistol.gun.Mesh = new("SpecialMesh")
  744. pistol.gun.Mesh.MeshType = Enum.MeshType.FileMesh
  745. pistol.gun.Mesh.MeshId = "http://www.roblox.com/asset/?id=72012879"
  746. pistol.gun.Mesh.TextureId = "http://www.roblox.com/asset/?id=72012859"
  747. pistol.gun.Mesh.Scale = Vector3.new(1.25,1.25,1.25)
  748. pistol.gun.Mesh.Parent = pistol.gun.Handle
  749. pistol.gun.Handle.CanCollide = false
  750. pistol.gun.Handle.Anchored = true
  751. pistol.gun.Handle.Parent = workspace
  752. pistol.gun.Sound = new("Sound")
  753. pistol.gun.Sound.SoundId = "rbxassetid://214504315"
  754. pistol.gun.Sound.Parent = pistol.gun.Handle
  755. wait()
  756. pistol.gun.CFrame = chr["Right Leg"].CFrame
  757. local w = Instance.new("Weld",chr["Right Leg"])
  758. w.Part0 = pistol.gun.Handle
  759. w.Part1 = chr["Right Leg"]
  760. w.C0 = chr["Right Leg"].CFrame
  761. w.C1 = CFrame.new(0.6,0.5,0) * CFrame.Angles(math.rad(180),0,0) * chr["Right Leg"].CFrame
  762. pistol.gun.Handle.Anchored = false
  763.  
  764. local il = {chr,pistol.gun.Handle}
  765.  
  766. function fire(start,stop)
  767. pistol.gun.Sound:play()
  768. local part,pos = game.Workspace:FindPartOnRayWithIgnoreList(Ray.new(start,(stop-start).unit*90),il)
  769. local bullet = new("Part")
  770. table.insert(il,bullet)
  771. bullet.BrickColor = BrickColor.new("Pastel yellow")
  772. bullet.FormFactor = "Custom"
  773. bullet.Anchored = true
  774. bullet.CanCollide = false
  775. bullet.Size = Vector3.new(0.1, 0.1, (start - pos).magnitude)
  776. bullet.CFrame = CFrame.new(start, pos) * CFrame.new(0, 0, -(start - pos).magnitude / 2)
  777. bullet.Parent = game.Workspace
  778. local bm = new("BlockMesh")
  779. bm.Scale = Vector3.new(.5,.5,1)
  780. bm.Parent = bullet
  781. if part ~= nil then
  782. if part.Parent:findFirstChild("Humanoid") then
  783. part.Parent:BreakJoints()
  784. end
  785. end
  786. spawn(function() wait(.07) bullet:Destroy() end)
  787. end
  788.  
  789. game:GetService("UserInputService").InputBegan:connect(function(inp,gpe)
  790. if not gpe then
  791. if inp.UserInputType == Enum.UserInputType.Keyboard then
  792. if inp.KeyCode == Enum.KeyCode.E then
  793. if running == false then
  794. running = true
  795. chr.Humanoid.WalkSpeed = 0
  796. w.Part1 = chr["Right Arm"]
  797. w.C0 = chr["Right Arm"].CFrame
  798. w.C1 = CFrame.new(0,-1.4,-.4) * CFrame.Angles(math.rad(180),0,0) * chr["Right Arm"].CFrame
  799. local w2 = new("Weld")
  800. w2.Name = "Right_Weld"
  801. w2.Parent = chr.HumanoidRootPart
  802. w2.Part0 = chr.HumanoidRootPart
  803. w2.Part1 = chr["Right Arm"]
  804. w2.C1 = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(-90))
  805. wait(1)
  806. for i = 1,45 do
  807. if i%3 == 0 then
  808. fire(pistol.gun.Handle.CFrame.p,(pistol.gun.Handle.CFrame * CFrame.Angles(math.rad(90),0,0)).lookVector*100)
  809. end
  810. chr.Torso.CFrame = chr.Torso.CFrame * CFrame.Angles(0,math.rad(8),0)
  811. wait(.01)
  812. end
  813. wait(.5)
  814. chr.Humanoid.WalkSpeed = 16
  815. w2:Destroy()
  816. w.Part1 = chr["Right Leg"]
  817. w.C0 = chr["Right Leg"].CFrame
  818. w.C1 = CFrame.new(0.6,0.5,0) * CFrame.Angles(math.rad(180),0,0) * chr["Right Leg"].CFrame
  819. wait(1)
  820. running = false
  821. end
  822. end
  823. end
  824. end
  825. end)
Advertisement
Add Comment
Please, Sign In to add comment