Advertisement
yaminameis59

turn into spider

Jan 16th, 2022
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.54 KB | None | 0 0
  1. --BROUGHT TO YOU BY RSCRIPTS.NET--
  2.  
  3.  
  4.  
  5.  
  6. setsimulationradius(math.huge, math.huge)
  7.  
  8. local mouse = game.Players.LocalPlayer:GetMouse()
  9.  
  10. game.Players.LocalPlayer.Character.Archivable = true
  11. game.Players.LocalPlayer.Character.Animate.Disabled = true
  12. local clonec =  game.Players.LocalPlayer.Character:Clone()
  13. clonec.Parent = workspace
  14. clonec.Name = "POOCLONE"
  15. clonec.Humanoid.HipHeight = -1.2 -- change this to look taller.
  16. game.Players.LocalPlayer.Character = clonec
  17. clonec.Animate.Disabled = false
  18.  
  19. workspace.Camera.CameraSubject = clonec.Humanoid
  20. game.Players.LocalPlayer.Character = workspace[game.Players.LocalPlayer.Name]
  21. game.Players.LocalPlayer.Character.Animate.Disabled = true
  22. ---game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  23. game.Players.LocalPlayer.Character.Humanoid.Animator:Destroy()
  24.  
  25. spawn(function()
  26.  
  27.  
  28. while true do
  29. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  30. clonec.Humanoid.Jump = game.Players.LocalPlayer.Character.Humanoid.Jump
  31.  
  32. local veco = workspace.Camera.CFrame:VectorToObjectSpace(game.Players.LocalPlayer.Character.Humanoid.MoveDirection)
  33. clonec.Humanoid:Move(veco, true)
  34.  
  35. end
  36. wait()
  37. end
  38.  
  39. end)
  40.  
  41. for i,v in pairs(clonec:GetDescendants())do
  42.    
  43.     if v:IsA("Part") then
  44.     v.Transparency = 1
  45.     end
  46. end
  47.  
  48.  
  49.  
  50.  
  51.  
  52. local bodyvelocity = Instance.new("BodyVelocity",game.Players.LocalPlayer.Character["HumanoidRootPart"])
  53. bodyvelocity.MaxForce = Vector3.new(9.9999999805064e+18, 9.999999869911e+14, 9.999999869911e+14)
  54. bodyvelocity.Velocity = Vector3.new(0, 0, 0)
  55. game:GetService("RunService").Stepped:connect(function()
  56.    
  57.     game.Players.LocalPlayer.Character.Torso.CanCollide = false
  58.     game.Players.LocalPlayer.Character.Head.CanCollide = false
  59.         game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  60.        game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true  
  61.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = (clonec.HumanoidRootPart.CFrame * CFrame.Angles(math.rad(-90),0,0)) * CFrame.new(0,-0,-1)
  62.            game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
  63.  game.Players.LocalPlayer.Character.HumanoidRootPart.RotVelocity = Vector3.new(0,0,0)
  64.  
  65. end)
  66.  
  67.  
  68.  
  69.  
  70. local segments = Instance.new("Folder")
  71. local part = Instance.new("Part")
  72. local part_2 = Instance.new("Part")
  73.  
  74. segments.Name = "segments"
  75. segments.Parent = workspace
  76. part.Anchored = true
  77. part.CanCollide = false
  78. part.Transparency = 1
  79. part.Size = Vector3.new(1, 1, 2)
  80. part.BottomSurface = Enum.SurfaceType.Smooth
  81. part.BrickColor = BrickColor.new("Alder")
  82. part.TopSurface = Enum.SurfaceType.Smooth
  83. part.Color = Color3.new(0.666667, 0.333333, 1)
  84. part.Parent = segments
  85. part.Name = "seg1"
  86. part.CFrame = CFrame.new(-4.1, 2.1, -37.5)
  87. part_2.Anchored = true
  88. part_2.CanCollide = false
  89. part_2.Size = Vector3.new(1, 1, 2)
  90. part_2.BottomSurface = Enum.SurfaceType.Smooth
  91. part_2.BrickColor = BrickColor.new("Cool yellow")
  92. part_2.TopSurface = Enum.SurfaceType.Smooth
  93. part_2.Color = Color3.new(0.992157, 0.917647, 0.552941)
  94. part_2.Parent = segments
  95. part_2.CFrame = CFrame.new(-4.1, 2.1, -37.5)
  96. part_2.Name = "seg2"
  97. part_2.Transparency = 1
  98.  
  99. local segments2 = Instance.new("Folder")
  100. local part = Instance.new("Part")
  101. local part_2 = Instance.new("Part")
  102.  
  103. segments2.Name = "segments2"
  104. segments2.Parent = workspace
  105. part.Anchored = true
  106. part.CanCollide = false
  107. part.Size = Vector3.new(1, 1, 2)
  108. part.BottomSurface = Enum.SurfaceType.Smooth
  109. part.BrickColor = BrickColor.new("Alder")
  110. part.TopSurface = Enum.SurfaceType.Smooth
  111. part.Name = "seg1"
  112. part.Color = Color3.new(0.666667, 0.333333, 1)
  113. part.Parent = segments2
  114. part.CFrame = CFrame.new(-4.1, 2.1, -37.5)
  115. part_2.Anchored = true
  116. part_2.CanCollide = false
  117. part_2.Size = Vector3.new(1, 1, 2)
  118. part_2.BottomSurface = Enum.SurfaceType.Smooth
  119. part_2.BrickColor = BrickColor.new("Alder")
  120. part_2.TopSurface = Enum.SurfaceType.Smooth
  121. part_2.Color = Color3.new(0.666667, 0.333333, 1)
  122. part_2.Parent = segments2
  123. part_2.CFrame = CFrame.new(-4.1, 2.1, -37.5)
  124. part_2.Name = "seg2"
  125. part_2.Transparency = 1
  126. part.Transparency = 1
  127.  
  128.  
  129.  
  130. local leg1 = Instance.new("Part")
  131. leg1.Anchored = true
  132. leg1.Size = Vector3.new(0.5, 0.2, 0.5)
  133. leg1.BottomSurface = Enum.SurfaceType.Smooth
  134. leg1.Color = Color3.new(0, 1, 0)
  135. leg1.BrickColor = BrickColor.new("New Yeller")
  136. leg1.TopSurface = Enum.SurfaceType.Smooth
  137. leg1.Name = "leg1"
  138. leg1.Parent = workspace
  139. leg1.CFrame = CFrame.new(-31.15, 0.1, 8.65)
  140. leg1.CanCollide = false
  141. leg1.Transparency = 1
  142.  
  143.  
  144.  
  145.  
  146.  
  147. local leg1 =workspace.leg1:Clone()
  148. leg1.Parent = workspace
  149.  
  150. local leg2= workspace.leg1:Clone()
  151. leg2.Parent = workspace
  152.  
  153. local lp = game.Players.LocalPlayer
  154. local head = game.Players.LocalPlayer.Character.Head
  155.  
  156. function coffset(x,y,z)
  157.     return (head.CFrame * CFrame.new(x,y,z)).Position
  158. end
  159.  
  160.  
  161.  
  162.  
  163. mouse.KeyDown:connect(function(k)
  164.    
  165.     if k == "z" then
  166.        
  167.         leg1.Position = mouse.Hit.Position
  168.     elseif k == "x" then
  169.        
  170.        
  171.         leg2.Position = mouse.Hit.Position
  172.     end
  173.    
  174. end)
  175.  
  176.    
  177.  
  178.        
  179. spawn(function()
  180. --
  181. while true do
  182.    
  183.    
  184. if game.Players.LocalPlayer.Character.Humanoid.MoveDirection.Magnitude >0.1 then
  185.         wait(1.6/lp.Character.Humanoid.WalkSpeed)
  186.        
  187.     local ray1 =Ray.new(coffset(3,-0,0),Vector3.new(0,-10,0) )
  188.     local hit,pos = workspace:FindPartOnRayWithIgnoreList(ray1,{leg1,leg2,lp.Character})
  189.     if pos then
  190.         leg1.Position = pos
  191.         end
  192.        
  193.  
  194.    
  195.         wait(1.6/lp.Character.Humanoid.WalkSpeed)
  196.     local ray2 =Ray.new(coffset(-3,-0,0),Vector3.new(0,-10,0) )
  197.     local hit,pos = workspace:FindPartOnRayWithIgnoreList(ray2,{leg1,leg2,lp.Character})
  198.     if pos then
  199.     leg2.Position = pos
  200.         end
  201.    
  202.     end
  203.     game:GetService("RunService").RenderStepped:wait()
  204. end
  205.  
  206. end)
  207.  
  208.  
  209.  
  210.  
  211. spawn(function()
  212.  
  213. local mouse = game.Players.LocalPlayer:GetMouse()
  214.  
  215.  
  216.  
  217. local len  = 2
  218.  
  219. local offset = Vector3.new(1,-3,0)
  220.    
  221.     local offset = Vector3.new(1,-1,0)
  222.    
  223. local segs = {}
  224.  
  225. local posn =  game.Players.LocalPlayer.Character.Head.Position + Vector3.new(0,-2.5,0)
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232. for i,v in pairs(workspace.segments:GetChildren()) do
  233.    
  234.    
  235.    
  236.     table.insert(segs,v)
  237.    
  238.    
  239. end
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246. function vectorabsy(vec)
  247.     local v = Vector3.new(vec.X,math.abs(vec.Y),vec.Z)
  248.     return v
  249. end
  250.  
  251.  
  252. local count = #segs
  253.  
  254.  
  255. while true do
  256.    
  257.     for i = 1,5 do
  258.        
  259.     for i = 1,count do
  260.        
  261.         if i == 1 then
  262.            
  263.             local seg = segs[i]
  264.            
  265.             local pos1 =    segs[i].Position - (segs[i].CFrame.LookVector* (len/2) )  -- Calculating position that is on back of the part
  266.             local pos2 =leg1.Position
  267.             local vec = (pos2 - pos1).Unit
  268.            
  269.             local cframe = CFrame.new(pos2 - (vec*(len/2) ),pos2)
  270.            
  271.             seg.CFrame = cframe
  272.            
  273.         else
  274.                 local seg = segs[i]
  275.             local pos1 =    segs[i].Position - (segs[i].CFrame.LookVector* (len/2) )
  276.             local pos2 =    segs[i-1].Position - (segs[i-1].CFrame.LookVector* (len/2) )
  277.             local vec = (pos2 - pos1).Unit
  278.                 local cframe = CFrame.new(pos2 - (vec*(len/2) ),pos2)
  279.            
  280.             seg.CFrame = cframe
  281.         end
  282.  
  283.     end
  284.    
  285.     --Back
  286.  
  287.    
  288.         for i = 1,count do
  289.        
  290.         local i = ( count - i ) + 1
  291.         if i == count then
  292.            
  293.             local seg = segs[i]
  294.            
  295.             local pos1 =    segs[i].Position + (segs[i].CFrame.LookVector* (len/2) )  -- Calculating position that is on back of the part
  296.             local pos2 =(game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(offset)).Position  
  297.             local vec =(pos2 - pos1).Unit
  298.             if vec.Y > 0 then
  299.                
  300.             vec = Vector3.new(vec.X, vec.Y-0.01 ,vec.Z)
  301.                
  302.             end
  303.            
  304.             local cframe = CFrame.new(pos2 - (vec*(len/2) ),pos2) * CFrame.Angles(0,math.rad(-180),0)
  305.            
  306.             seg.CFrame =cframe
  307.            
  308.         else
  309.                 local seg = segs[i]
  310.             local pos1 =    segs[i].Position + (segs[i].CFrame.LookVector* (len/2) )
  311.            
  312.             local pos2 =    segs[i+1].Position + (segs[i+1].CFrame.LookVector* (len/2) )
  313.             local vec = (pos2 - pos1).Unit
  314.            
  315.                 local cframe = CFrame.new(pos2 - (vec*(len/2) ),pos2)  * CFrame.Angles(0,math.rad(-180),0)
  316.            
  317.             seg.CFrame = cframe
  318.         end
  319.  
  320.         end
  321.        
  322.     end
  323.     game:GetService("RunService").Heartbeat:wait()
  324. end
  325.    
  326. end)
  327.  
  328.  
  329.  
  330.  
  331. spawn(function()
  332.  
  333. local mouse = game.Players.LocalPlayer:GetMouse()
  334.  
  335.  
  336.  
  337. local len  = 2
  338.  
  339. local offset = Vector3.new(-1,-1,0)
  340.  
  341. local segs = {}
  342.  
  343. local posn =  game.Players.LocalPlayer.Character.Head.Position + Vector3.new(0,-2.5,0)
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350. for i,v in pairs(workspace.segments2:GetChildren()) do
  351.    
  352.    
  353.  
  354.     table.insert(segs,v)
  355.    
  356.    
  357. end
  358.  
  359.  
  360.  
  361.  
  362.  
  363. function vectorabsy(vec)
  364.     local v = Vector3.new(vec.X,math.abs(vec.Y),vec.Z)
  365.     return v
  366. end
  367.  
  368.  
  369. local count = #segs
  370.  
  371.  
  372. while true do
  373.  
  374.     for i = 1,5 do
  375.        
  376.     for i = 1,count do
  377.        
  378.         if i == 1 then
  379.            
  380.             local seg = segs[i]
  381.            
  382.             local pos1 =    segs[i].Position - (segs[i].CFrame.LookVector* (len/2) )  -- Calculating position that is on back of the part
  383.             local pos2 =leg2.Position
  384.             local vec = (pos2 - pos1).Unit
  385.        
  386.             local cframe = CFrame.new(pos2 - (vec*(len/2) ),pos2)
  387.            
  388.             seg.CFrame = cframe
  389.            
  390.         else
  391.                 local seg = segs[i]
  392.             local pos1 =    segs[i].Position - (segs[i].CFrame.LookVector* (len/2) )
  393.             local pos2 =    segs[i-1].Position - (segs[i-1].CFrame.LookVector* (len/2) )
  394.             local vec = (pos2 - pos1).Unit
  395.                 local cframe = CFrame.new(pos2 - (vec*(len/2) ),pos2)
  396.            
  397.             seg.CFrame = cframe
  398.         end
  399.  
  400.     end
  401.    
  402.     --Back
  403.  
  404.    
  405.         for i = 1,count do
  406.        
  407.         local i = ( count - i ) + 1
  408.         if i == count then
  409.            
  410.             local seg = segs[i]
  411.            
  412.             local pos1 =    segs[i].Position + (segs[i].CFrame.LookVector* (len/2) )  -- Calculating position that is on back of the part
  413.             local pos2 =(game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(offset)).Position  
  414.             local vec =(pos2 - pos1).Unit
  415.             if vec.Y > 0 then
  416.                
  417.             vec = Vector3.new(vec.X, vec.Y-0.01 ,vec.Z)
  418.                
  419.             end
  420.            
  421.             local cframe = CFrame.new(pos2 - (vec*(len/2) ),pos2) * CFrame.Angles(0,math.rad(-180),0)
  422.            
  423.             seg.CFrame =cframe
  424.            
  425.         else
  426.                 local seg = segs[i]
  427.             local pos1 =    segs[i].Position + (segs[i].CFrame.LookVector* (len/2) )
  428.            
  429.             local pos2 =    segs[i+1].Position + (segs[i+1].CFrame.LookVector* (len/2) )
  430.             local vec = (pos2 - pos1).Unit
  431.            
  432.                 local cframe = CFrame.new(pos2 - (vec*(len/2) ),pos2)  * CFrame.Angles(0,math.rad(-180),0)
  433.            
  434.             seg.CFrame = cframe
  435.         end
  436.  
  437.         end
  438.        
  439.     end
  440.     game:GetService("RunService").Heartbeat:wait()
  441. end
  442.    
  443. end)
  444.  
  445.  
  446. game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Destroy()
  447. game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Destroy()
  448. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Destroy()
  449. game.Players.LocalPlayer.Character.Torso["Left Hip"]:Destroy()
  450.  
  451.  
  452.    
  453. local bodyvelocity = Instance.new("BodyVelocity",game.Players.LocalPlayer.Character["Right Arm"])
  454. bodyvelocity.MaxForce = Vector3.new(9.9999999805064e+18, 9.999999869911e+14, 9.999999869911e+14)
  455. bodyvelocity.Velocity = Vector3.new(0, 200, 0)
  456.  
  457. local bodyvelocity = Instance.new("BodyVelocity",game.Players.LocalPlayer.Character["Left Arm"])
  458. bodyvelocity.MaxForce = Vector3.new(9.9999999805064e+18, 9.999999869911e+14, 9.999999869911e+14)
  459. bodyvelocity.Velocity = Vector3.new(0, 200, 0)
  460.  
  461. local bodyvelocity = Instance.new("BodyVelocity",game.Players.LocalPlayer.Character["Left Leg"])
  462. bodyvelocity.MaxForce = Vector3.new(9.9999999805064e+18, 9.999999869911e+14, 9.999999869911e+14)
  463. bodyvelocity.Velocity = Vector3.new(0, 200, 0)
  464.  
  465. local bodyvelocity = Instance.new("BodyVelocity",game.Players.LocalPlayer.Character["Right Leg"])
  466. bodyvelocity.MaxForce = Vector3.new(9.9999999805064e+18, 9.999999869911e+14, 9.999999869911e+14)
  467. bodyvelocity.Velocity = Vector3.new(0, 200, 0)
  468.  
  469. spawn(function()
  470.    
  471.  
  472.     game.Players.LocalPlayer.Character.Humanoid.Died:connect(function()
  473.        
  474.         segments:Destroy()
  475.         segments2:Destroy()
  476.        
  477.     end)
  478.    
  479.     game:GetService("RunService").Stepped:connect(function()
  480.         game.Players.LocalPlayer.Character["Right Arm"].CanCollide = false
  481.     game.Players.LocalPlayer.Character["Left Arm"].CanCollide = false
  482.        
  483.      game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  484.     game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  485.  
  486.        end)
  487.    
  488.     repeat game:GetService("RunService").Heartbeat:wait()
  489.        
  490.     game.Players.LocalPlayer.Character["Right Arm"].CFrame =    segments.seg1 .CFrame * CFrame.Angles(math.rad(90),0,0 )
  491.     game.Players.LocalPlayer.Character["Left Arm"].CFrame =     segments.seg2.CFrame * CFrame.Angles(math.rad(90),0,0 )
  492.        
  493.      game.Players.LocalPlayer.Character["Right Leg"].CFrame =   segments2.seg1.CFrame * CFrame.Angles(math.rad(90),0,0 )
  494.     game.Players.LocalPlayer.Character["Left Leg"].CFrame =     segments2.seg2.CFrame * CFrame.Angles(math.rad(90),0,0 )
  495.    
  496.     until game.Players.LocalPlayer.Character.Humanoid.Health  < 1
  497.  
  498.        
  499.        
  500.        
  501.    
  502.    
  503. end)
  504.  
  505. --thisisascript
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement