Advertisement
Ant8893

FE pen*s

May 28th, 2022 (edited)
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.92 KB | None | 0 0
  1. --[[
  2. pen*s
  3. hats (all free):
  4. https://www.roblox.com/catalog/48474294/ROBLOX-Girl-Hair
  5. https://www.roblox.com/catalog/6531974818/Metaverse-Explorer-s-Backpack
  6. https://www.roblox.com/catalog/6470135113/Fan-Hand-Sign-Why-Dont-We-WDW
  7. ]]
  8.  
  9. function rmesh(a)
  10. if not (workspace[game.Players.LocalPlayer.Name][a].Handle:FindFirstChild('Mesh') or workspace[game.Players.LocalPlayer.Name][a].Handle:FindFirstChild('SpecialMesh')) then return end
  11. old=game.Players.LocalPlayer.Character
  12. game.Players.LocalPlayer.Character=workspace[game.Players.LocalPlayer.Name]
  13. for i,v in next, workspace[game.Players.LocalPlayer.Name]:FindFirstChild(a).Handle:GetDescendants() do
  14. if v:IsA('Mesh') or v:IsA('SpecialMesh') then
  15. v:Remove()
  16. end
  17. end
  18. for i = 1 , 2 do
  19. game.Players.LocalPlayer.Character=old
  20. end
  21. end
  22.  
  23. HumanDied = false for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do if v:IsA("BasePart") then _G.netless=game:GetService("RunService").Heartbeat:connect(function() v.AssemblyLinearVelocity = Vector3.new(-30,0,0) sethiddenproperty(game.Players.LocalPlayer,"MaximumSimulationRadius",math.huge) sethiddenproperty(game.Players.LocalPlayer,"SimulationRadius",999999999) end) end end local plr = game.Players.LocalPlayer local char = plr.Character local srv = game:GetService('RunService') local ct = {} char.Archivable = true local reanim = char:Clone() reanim.Name = 'Nexo '..plr.Name..'' fl=Instance.new('Folder',char) fl.Name ='Nexo' char.HumanoidRootPart:Destroy() char.Humanoid:ChangeState(16) for i,v in next, char.Humanoid:GetPlayingAnimationTracks() do v:Stop() end char.Animate:Remove() function create(part, parent, p, r) Instance.new("Attachment",part) Instance.new("AlignPosition",part) Instance.new("AlignOrientation",part) Instance.new("Attachment",parent) part.Attachment.Name = part.Name parent.Attachment.Name = part.Name part.AlignPosition.Attachment0 = part[part.Name] part.AlignOrientation.Attachment0 = part[part.Name] part.AlignPosition.Attachment1 = parent[part.Name] part.AlignOrientation.Attachment1 = parent[part.Name] parent[part.Name].Position = p or Vector3.new() part[part.Name].Orientation = r or Vector3.new() part.AlignPosition.MaxForce = 999999999 part.AlignPosition.MaxVelocity = math.huge part.AlignPosition.ReactionForceEnabled = false part.AlignPosition.Responsiveness = math.huge part.AlignOrientation.Responsiveness = math.huge part.AlignPosition.RigidityEnabled = false part.AlignOrientation.MaxTorque = 999999999 end for i,v in next, char:GetDescendants() do if v:IsA('Accessory') then v.Handle:BreakJoints() create(v.Handle,reanim[v.Name].Handle) end end char.Torso['Left Shoulder']:Destroy() char.Torso['Right Shoulder']:Destroy() char.Torso['Left Hip']:Destroy() char.Torso['Right Hip']:Destroy() create(char['Torso'],reanim['Torso']) create(char['Left Arm'],reanim['Left Arm']) create(char['Right Arm'],reanim['Right Arm']) create(char['Left Leg'],reanim['Left Leg']) create(char['Right Leg'],reanim['Right Leg']) for i,v in next, reanim:GetDescendants() do if v:IsA('BasePart') or v:IsA('Decal') then v.Transparency = 1 end end reanim.Parent = fl for i,v in next, reanim:GetDescendants() do if v:IsA('BasePart') then table.insert(ct,srv.RenderStepped:Connect(function() v.CanCollide = false end)) end end for i,v in next, char:GetDescendants() do if v:IsA('BasePart') then table.insert(ct,srv.RenderStepped:Connect(function() v.CanCollide = false end)) end end for i,v in next, reanim:GetDescendants() do if v:IsA('BasePart') then table.insert(ct,srv.Stepped:Connect(function() v.CanCollide = false end)) end end for i,v in next, char:GetDescendants() do if v:IsA('BasePart') then table.insert(ct,srv.Stepped:Connect(function() v.CanCollide = false end)) end end table.insert(ct,reanim.Humanoid.Died:Connect(function() plr.Character = char char:BreakJoints() reanim:Destroy() game.Players:Chat('-gr') _G.netless:Disconnect() HumanDied = true for _,v in pairs(ct) do v:Disconnect() end end)) plr.Character = reanim workspace.CurrentCamera.CameraSubject = reanim.Humanoid
  24.  
  25. IT = Instance.new
  26. CF = CFrame.new
  27. VT = Vector3.new
  28. RAD = math.rad
  29. C3 = Color3.new
  30. UD2 = UDim2.new
  31. BRICKC = BrickColor.new
  32. ANGLES = CFrame.Angles
  33. EULER = CFrame.fromEulerAnglesXYZ
  34. COS = math.cos
  35. ACOS = math.acos
  36. SIN = math.sin
  37. ASIN = math.asin
  38. ABS = math.abs
  39. MRANDOM = math.random
  40. FLOOR = math.floor
  41.  
  42. speed = 1
  43. sine = 1
  44. srv = game:GetService('RunService')
  45.  
  46. reanim = game.Players.LocalPlayer.Character
  47.  
  48. function hat(h,p,c1,c0,m)
  49. reanim[h].Handle.AccessoryWeld.Part1=reanim[p]
  50. reanim[h].Handle.AccessoryWeld.C1=c1 or CFrame.new()
  51. reanim[h].Handle.AccessoryWeld.C0=reanim[h].Handle.AccessoryWeld.C0:Lerp(c0 or CFrame.new(),1)
  52. if m == true then
  53. rmesh(h)
  54. end
  55. end
  56.  
  57. m=game.Players.LocalPlayer:GetMouse()
  58. RJ = reanim.HumanoidRootPart.RootJoint
  59. RS = reanim.Torso['Right Shoulder']
  60. LS = reanim.Torso['Left Shoulder']
  61. RH = reanim.Torso['Right Hip']
  62. LH = reanim.Torso['Left Hip']
  63. Root = reanim.HumanoidRootPart
  64. NECK = reanim.Torso.Neck
  65. NECK.C0 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  66. NECK.C1 = CF(0,-0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  67. RJ.C1 = CF(0,-1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  68. RJ.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  69. RS.C1 = CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  70. LS.C1 = CF(0,0.5,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  71. RH.C1 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  72. LH.C1 = CF(0,1,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  73. RH.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  74. LH.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  75. RS.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  76. LS.C0 = CF(0,0,0)*ANGLES(RAD(0),RAD(0),RAD(0))
  77.  
  78. -- for modes u can go in this link : https://Nexo.notxeneon15.repl.co/nexo/modes.lua
  79.  
  80. coroutine.wrap(function()
  81. while true do -- anim changer
  82. if HumanDied then break end
  83. sine = sine + speed
  84. local rlegray = Ray.new(reanim["Right Leg"].Position + Vector3.new(0, 0.5, 0), Vector3.new(0, -2, 0))
  85. local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
  86. local llegray = Ray.new(reanim["Left Leg"].Position + Vector3.new(0, 0.5, 0), Vector3.new(0, -2, 0))
  87. local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
  88. local rightvector = (Root.Velocity * Root.CFrame.rightVector).X + (Root.Velocity * Root.CFrame.rightVector).Z
  89. local lookvector = (Root.Velocity * Root.CFrame.lookVector).X + (Root.Velocity * Root.CFrame.lookVector).Z
  90. if lookvector > reanim.Humanoid.WalkSpeed then
  91. lookvector = reanim.Humanoid.WalkSpeed
  92. end
  93. if lookvector < -reanim.Humanoid.WalkSpeed then
  94. lookvector = -reanim.Humanoid.WalkSpeed
  95. end
  96. if rightvector > reanim.Humanoid.WalkSpeed then
  97. rightvector = reanim.Humanoid.WalkSpeed
  98. end
  99. if rightvector < -reanim.Humanoid.WalkSpeed then
  100. rightvector = -reanim.Humanoid.WalkSpeed
  101. end
  102. local lookvel = lookvector / reanim.Humanoid.WalkSpeed
  103. local rightvel = rightvector / reanim.Humanoid.WalkSpeed
  104.  
  105. NECK.C0=NECK.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  106. RJ.C0=RJ.C0:Lerp(CFrame.new(0+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  107. RS.C0=RS.C0:Lerp(CFrame.new(1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(90+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  108. LS.C0=LS.C0:Lerp(CFrame.new(-1.5+0*math.cos(sine/10),0.5+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(-90+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  109. RH.C0=RH.C0:Lerp(CFrame.new(0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(90+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  110. LH.C0=LH.C0:Lerp(CFrame.new(-0.5+0*math.cos(sine/10),-1+0*math.cos(sine/10),0+0*math.cos(sine/10))*CFrame.Angles(math.rad(0+0*math.cos(sine/10)),math.rad(-90+0*math.cos(sine/10)),math.rad(0+0*math.cos(sine/10))),.2)
  111.  
  112. hat('Pink Hair','Torso',CFrame.new(0,0,0),CFrame.new(0+0*math["cos"](sine/10),0+0*math["cos"](sine/10),1.2+0*math["cos"](sine/10))*CFrame.Angles(math.rad(90+0*math["cos"](sine/10)),math.rad(0+0*math["cos"](sine/10)),math.rad(0+0*math["cos"](sine/10))),true)
  113. hat('Back Pack','Torso',CFrame.new(0,0,0),CFrame.new(0+0*math["cos"](sine/10),0.5+0*math["cos"](sine/10),-1+0*math["cos"](sine/10))*CFrame.Angles(math.rad(0+0*math["cos"](sine/10)),math.rad(0+0*math["cos"](sine/10)),math.rad(0+0*math["cos"](sine/10))),true)
  114. hat('WDW_FoamFinger','Torso',CFrame.new(0,0,0),CFrame.new(-1.3+0*math["cos"](sine/10),-0.2+0*math["cos"](sine/10),0+0*math["cos"](sine/10))*CFrame.Angles(math.rad(90+0*math["cos"](sine/10)),math.rad(5+5*math["cos"](sine/10)),math.rad(90+0*math["cos"](sine/10))),false)
  115.  
  116. srv.RenderStepped:Wait()
  117. end
  118. end)()
  119. --Created using Nexo Animator V4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement