timof121

fe gun

Dec 13th, 2021
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.86 KB | None | 0 0
  1.  
  2. -- {<CONVERTED BY CREO>} -- FE Nullion
  3. -- Join my discord server for early scripts :)
  4. -- https://discord.gg/SWt5Uzpd
  5.  
  6. --[[ {<HATS NEEDED>}
  7. https://www.roblox.com/catalog/48474313/Red-Roblox-Cap
  8.  
  9. https://www.roblox.com/catalog/4391384843/International-Fedora-Russia
  10.  
  11. https://www.roblox.com/catalog/48474294/ROBLOX-Girl-Hair
  12.  
  13. https://www.roblox.com/catalog/62724852/Chestnut-Bun
  14.  
  15. https://www.roblox.com/catalog/451220849/Lavender-Updo
  16.  
  17. https://www.roblox.com/catalog/63690008/Pal-Hair
  18.  
  19. https://www.roblox.com/catalog/62234425/Brown-Hair
  20. ]]
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34. FakeLimbs = {["Head"] = nil,["Torso1"] = nil,["Torso2"] = nil,["Right Arm"] = nil,["Left Arm"] = nil,["Right Leg"] = nil,["Left Leg"] = nil}
  35. Accessorys = {}
  36.  
  37. local ModelsRequire = game:GetObjects("rbxassetid://7981107344")
  38. print(ModelsRequire[1])
  39.  
  40.  
  41. local HumanRoot = game.Players.LocalPlayer.Character.HumanoidRootPart
  42. function StickAcc(Part0,Part1,Angle,Position)
  43. Part0:FindFirstChildWhichIsA("Weld"):Destroy()
  44. local AlignPos = Instance.new('AlignPosition', Part1)
  45. AlignPos.ApplyAtCenterOfMass = true;
  46. AlignPos.MaxForce = 67752;
  47. AlignPos.MaxVelocity = math.huge/9e110;
  48. AlignPos.ReactionForceEnabled = false;
  49. AlignPos.Responsiveness = 200;
  50. AlignPos.RigidityEnabled = false;
  51. local AlignOri = Instance.new('AlignOrientation', Part1)
  52. AlignOri.MaxAngularVelocity = math.huge/9e110;
  53. AlignOri.MaxTorque = 67752;
  54. AlignOri.PrimaryAxisOnly = false;
  55. AlignOri.ReactionTorqueEnabled = false;
  56. AlignOri.Responsiveness = 200;
  57. AlignOri.RigidityEnabled = false;
  58. local AttachmentA=Instance.new('Attachment',Part1)
  59. local AttachmentB=Instance.new('Attachment',Part0)
  60. local AttachmentC=Instance.new('Attachment',Part1)
  61. local AttachmentD=Instance.new('Attachment',Part0)
  62. AlignPos.Attachment1 = AttachmentA;
  63. AlignPos.Attachment0 = AttachmentB;
  64. AlignOri.Attachment1 = AttachmentC;
  65. AlignOri.Attachment0 = AttachmentD;
  66. AttachmentC.Orientation = Angle
  67. Part0.Parent = FakeCharacter
  68. if Position then
  69. AttachmentA.Position = Position
  70. end
  71. game:GetService("RunService").Heartbeat:connect(function()
  72. Part0.Velocity = Vector3.new(0,35,0)
  73. end)
  74. end
  75.  
  76. for i, part in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  77. if part:IsA("Accessory") then
  78. if part.Handle.Size == Vector3.new(1, 1, 2) then
  79. if FakeLimbs["Right Arm"] == nil then
  80. FakeLimbs["Right Arm"] = part.Handle
  81. elseif FakeLimbs["Left Arm"] == nil then
  82. FakeLimbs["Left Arm"] = part.Handle
  83.  
  84. elseif FakeLimbs["Right Leg"] == nil then
  85. FakeLimbs["Right Leg"] = part.Handle
  86. elseif FakeLimbs["Left Leg"] == nil then
  87. FakeLimbs["Left Leg"] = part.Handle
  88. elseif FakeLimbs["Torso1"] == nil then
  89. FakeLimbs["Torso1"] = part.Handle
  90. elseif FakeLimbs["Torso2"] == nil then
  91. FakeLimbs["Torso2"] = part.Handle
  92. end
  93. elseif part.Handle.Size == Vector3.new(1,1,1) then
  94. FakeLimbs["Head"] = part.Handle
  95. end
  96. end
  97. end
  98. game.Players.LocalPlayer.Character.Archivable = true
  99. function sandbox(var,func)
  100. local env = getfenv(func)
  101. local newenv = setmetatable({},{
  102. __index = function(self,k)
  103. if k=="script" then
  104. return var
  105. else
  106. return env[k]
  107. end
  108. end,
  109. })
  110. setfenv(func,newenv)
  111. return func
  112. end
  113. cors = {}
  114. mas = Instance.new("Model",game:GetService("Lighting"))
  115. Model0 = Instance.new("Model")
  116. Part1 = Instance.new("Part")
  117. Motor6D2 = Instance.new("Motor6D")
  118. Part3 = Instance.new("Part")
  119. Motor6D4 = Instance.new("Motor6D")
  120. Motor6D5 = Instance.new("Motor6D")
  121. Motor6D6 = Instance.new("Motor6D")
  122. Motor6D7 = Instance.new("Motor6D")
  123. Motor6D8 = Instance.new("Motor6D")
  124. Part9 = Instance.new("Part")
  125. Part10 = Instance.new("Part")
  126. Part11 = Instance.new("Part")
  127. Part12 = Instance.new("Part")
  128. Part13 = Instance.new("Part")
  129. Decal14 = Instance.new("Decal")
  130. SpecialMesh15 = Instance.new("SpecialMesh")
  131. Humanoid16 = Instance.new("Humanoid")
  132. Model0.Name = "Dummy"
  133. Model0.Parent = mas
  134. Model0.PrimaryPart = Part1
  135. Part1.Name = "HumanoidRootPart"
  136. Part1.Parent = Model0
  137. Part1.Position =game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  138. Part1.Transparency = 0.5
  139. Part1.Size = Vector3.new(2, 2, 1)
  140. Part1.Anchored = false
  141. Part1.BottomSurface = Enum.SurfaceType.Smooth
  142. Part1.TopSurface = Enum.SurfaceType.Smooth
  143. Motor6D2.Name = "Root Hip"
  144. Motor6D2.Parent = Part1
  145. Motor6D2.MaxVelocity = 0.10000000149012
  146. Motor6D2.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  147. Motor6D2.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  148. Motor6D2.Part0 = Part1
  149. Motor6D2.Part1 = Part3
  150. Motor6D2.part1 = Part3
  151. Part3.Name = "Torso"
  152. Part3.Parent = Model0
  153. Part3.CFrame = CFrame.new(282.536926, 2.99999976, 343.539185, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  154. Part3.Position = Vector3.new(282.53692626953, 2.9999997615814, 343.53918457031)
  155. Part3.Size = Vector3.new(2, 2, 1)
  156. Part3.BottomSurface = Enum.SurfaceType.Smooth
  157. Part3.CanCollide = false
  158. Part3.TopSurface = Enum.SurfaceType.Smooth
  159. Motor6D4.Name = "Left Hip"
  160. Motor6D4.Parent = Part3
  161. Motor6D4.MaxVelocity = 0.10000000149012
  162. Motor6D4.C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  163. Motor6D4.C1 = CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  164. Motor6D4.Part0 = Part3
  165. Motor6D4.Part1 = Part9
  166. Motor6D4.part1 = Part9
  167. Motor6D5.Name = "Right Hip"
  168. Motor6D5.Parent = Part3
  169. Motor6D5.MaxVelocity = 0.10000000149012
  170. Motor6D5.C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  171. Motor6D5.C1 = CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  172. Motor6D5.Part0 = Part3
  173. Motor6D5.Part1 = Part10
  174. Motor6D5.part1 = Part10
  175. Motor6D6.Name = "Left Shoulder"
  176. Motor6D6.Parent = Part3
  177. Motor6D6.MaxVelocity = 0.10000000149012
  178. Motor6D6.C0 = CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  179. Motor6D6.C1 = CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  180. Motor6D6.Part0 = Part3
  181. Motor6D6.Part1 = Part11
  182. Motor6D6.part1 = Part11
  183. Motor6D7.Name = "Right Shoulder"
  184. Motor6D7.Parent = Part3
  185. Motor6D7.MaxVelocity = 0.10000000149012
  186. Motor6D7.C0 = CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  187. Motor6D7.C1 = CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  188. Motor6D7.Part0 = Part3
  189. Motor6D7.Part1 = Part12
  190. Motor6D7.part1 = Part12
  191. Motor6D8.Name = "Neck"
  192. Motor6D8.Parent = Part3
  193. Motor6D8.MaxVelocity = 0.10000000149012
  194. Motor6D8.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  195. Motor6D8.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  196. Motor6D8.Part0 = Part3
  197. Motor6D8.Part1 = Part13
  198. Motor6D8.part1 = Part13
  199. Part9.Name = "Left Leg"
  200. Part9.Parent = Model0
  201. Part9.CFrame = CFrame.new(282.036926, 0.999999881, 343.539185, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  202. Part9.Position = Vector3.new(282.03692626953, 0.99999988079071, 343.53918457031)
  203. Part9.Size = Vector3.new(1, 2, 1)
  204. Part9.BottomSurface = Enum.SurfaceType.Smooth
  205. Part9.CanCollide = false
  206. Part9.TopSurface = Enum.SurfaceType.Smooth
  207. Part10.Name = "Right Leg"
  208. Part10.Parent = Model0
  209. Part10.CFrame = CFrame.new(283.036926, 0.999999881, 343.539185, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  210. Part10.Position = Vector3.new(283.03692626953, 0.99999988079071, 343.53918457031)
  211. Part10.Size = Vector3.new(1, 2, 1)
  212. Part10.BottomSurface = Enum.SurfaceType.Smooth
  213. Part10.CanCollide = false
  214. Part10.TopSurface = Enum.SurfaceType.Smooth
  215. Part11.Name = "Left Arm"
  216. Part11.Parent = Model0
  217. Part11.CFrame = CFrame.new(281.036926, 2.99999976, 343.539185, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  218. Part11.Position = Vector3.new(281.03692626953, 2.9999997615814, 343.53918457031)
  219. Part11.Size = Vector3.new(1, 2, 1)
  220. Part11.BottomSurface = Enum.SurfaceType.Smooth
  221. Part11.CanCollide = false
  222. Part11.TopSurface = Enum.SurfaceType.Smooth
  223. Part12.Name = "Right Arm"
  224. Part12.Parent = Model0
  225. Part12.CFrame = CFrame.new(284.036926, 2.99999976, 343.539185, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  226. Part12.Position = Vector3.new(284.03692626953, 2.9999997615814, 343.53918457031)
  227. Part12.Size = Vector3.new(1, 2, 1)
  228. Part12.BottomSurface = Enum.SurfaceType.Smooth
  229. Part12.CanCollide = false
  230. Part12.TopSurface = Enum.SurfaceType.Smooth
  231. Part13.Name = "Head"
  232. Part13.Parent = Model0
  233. Part13.CFrame = CFrame.new(282.536926, 4.5, 343.539185, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  234. Part13.Position = Vector3.new(282.53692626953, 4.5, 343.53918457031)
  235. Part13.Size = Vector3.new(2, 1, 1)
  236. Part13.BottomSurface = Enum.SurfaceType.Smooth
  237. Part13.TopSurface = Enum.SurfaceType.Smooth
  238. Decal14.Name = "Face"
  239. Decal14.Parent = Part13
  240. Decal14.Texture = "rbxasset://textures/face.png"
  241. SpecialMesh15.Parent = Part13
  242. SpecialMesh15.Scale = Vector3.new(1.25, 1.25, 1.25)
  243. Humanoid16.Parent = Model0
  244. Humanoid16.LeftLeg = Part9
  245. Humanoid16.RightLeg = Part10
  246. Humanoid16.Torso = Part1
  247. for i,v in pairs(mas:GetChildren()) do
  248. v.Parent = script
  249. pcall(function() v:MakeJoints() end)
  250. end
  251. mas:Destroy()
  252. for i,v in pairs(cors) do
  253. spawn(function()
  254. pcall(v)
  255. end)
  256. end
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270. -- Kill Player
  271. FakeCharacter = Model0
  272. FakeCharacter.Parent = workspace
  273.  
  274.  
  275.  
  276. for i, part in pairs(FakeCharacter:GetDescendants()) do
  277. if part:IsA("Part") or part:IsA("MeshPart") then
  278. part.Transparency = 1
  279. elseif part:IsA("Accessory") then
  280. part:Destroy()
  281. end
  282. end
  283. for i = 1,#Accessorys do
  284. StickAcc(Accessorys[i],FakeCharacter.Head,Vector3.new(0,0,0))
  285. end
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294. function StickParts(Part0,Part1,Angle,Position)
  295. Part0:FindFirstChildWhichIsA("Weld"):Destroy()
  296. Part0:FindFirstChildWhichIsA("SpecialMesh"):Destroy()
  297. local AlignPos = Instance.new('AlignPosition', Part1)
  298. AlignPos.ApplyAtCenterOfMass = true;
  299. AlignPos.MaxForce = 67752;
  300. AlignPos.MaxVelocity = math.huge/9e110;
  301. AlignPos.ReactionForceEnabled = false;
  302. AlignPos.Responsiveness = 200;
  303. AlignPos.RigidityEnabled = false;
  304. local AlignOri = Instance.new('AlignOrientation', Part1)
  305. AlignOri.MaxAngularVelocity = math.huge/9e110;
  306. AlignOri.MaxTorque = 67752;
  307. AlignOri.PrimaryAxisOnly = false;
  308. AlignOri.ReactionTorqueEnabled = false;
  309. AlignOri.Responsiveness = 200;
  310. AlignOri.RigidityEnabled = false;
  311. local AttachmentA=Instance.new('Attachment',Part1)
  312. local AttachmentB=Instance.new('Attachment',Part0)
  313. local AttachmentC=Instance.new('Attachment',Part1)
  314. local AttachmentD=Instance.new('Attachment',Part0)
  315. AlignPos.Attachment1 = AttachmentA;
  316. AlignPos.Attachment0 = AttachmentB;
  317. AlignOri.Attachment1 = AttachmentC;
  318. AlignOri.Attachment0 = AttachmentD;
  319. AttachmentC.Orientation = Angle
  320. Part0.Parent = FakeCharacter
  321. if Position then
  322. AttachmentA.Position = Position
  323. end
  324. s = game:GetService("RunService").Heartbeat:connect(function()
  325. Part0.Velocity = Vector3.new(0,50,0)
  326. end)
  327. spawn(function()
  328. while true do
  329. wait()
  330. if HumanDied then
  331. s:Disconnect()
  332. break
  333. end
  334. end
  335. end)
  336. end
  337.  
  338.  
  339.  
  340.  
  341. Bypass = "death"
  342. if not Bypass then Bypass = "limbs" end
  343. HumanDied = false
  344.  
  345. CountSCIFIMOVIELOL = 1
  346. function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
  347. local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
  348. AlignPos.ApplyAtCenterOfMass = true;
  349. AlignPos.MaxForce = 67752;
  350. AlignPos.MaxVelocity = math.huge/9e110;
  351. AlignPos.ReactionForceEnabled = false;
  352. AlignPos.Responsiveness = 200;
  353. AlignPos.RigidityEnabled = false;
  354. local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
  355. AlignOri.MaxAngularVelocity = math.huge/9e110;
  356. AlignOri.MaxTorque = 67752;
  357. AlignOri.PrimaryAxisOnly = false;
  358. AlignOri.ReactionTorqueEnabled = false;
  359. AlignOri.Responsiveness = 200;
  360. AlignOri.RigidityEnabled = false;
  361. local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "AthP_"..CountSCIFIMOVIELOL
  362. local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "AthP_"..CountSCIFIMOVIELOL
  363. local AttachmentC=Instance.new('Attachment',Part1); AttachmentC.Name = "AthO_"..CountSCIFIMOVIELOL
  364. local AttachmentD=Instance.new('Attachment',Part0); AttachmentD.Name = "AthO_"..CountSCIFIMOVIELOL
  365. AttachmentC.Orientation = Angle
  366. AttachmentA.Position = Position
  367. AlignPos.Attachment1 = AttachmentA;
  368. AlignPos.Attachment0 = AttachmentB;
  369. AlignOri.Attachment1 = AttachmentC;
  370. AlignOri.Attachment0 = AttachmentD;
  371. CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
  372.  
  373. end
  374.  
  375. coroutine.wrap(function()
  376. local player = game.Players.LocalPlayer
  377. local char = player.Character or player.CharacterAdded:wait()
  378. if sethiddenproperty then
  379. while true do
  380. game:GetService("RunService").RenderStepped:Wait()
  381. settings().Physics.AllowSleep = false
  382. local TBL = game:GetService("Players"):GetChildren()
  383. for _ = 1,#TBL do local Players = TBL[_]
  384. if Players ~= game:GetService("Players").LocalPlayer then
  385. Players.MaximumSimulationRadius = 0
  386. sethiddenproperty(Players,"SimulationRadius",0)
  387. end
  388. end
  389. game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
  390. sethiddenproperty(game:GetService("Players").LocalPlayer,"SimulationRadius",math.pow(math.huge,math.huge)*math.huge)
  391. if HumanDied then break end
  392. end
  393. else
  394. while true do
  395. game:GetService("RunService").RenderStepped:Wait()
  396. settings().Physics.AllowSleep = false
  397. local TBL = game:GetService("Players"):GetChildren()
  398. for _ = 1,#TBL do local Players = TBL[_]
  399. if Players ~= game:GetService("Players").LocalPlayer then
  400. Players.MaximumSimulationRadius = 0
  401. end
  402. end
  403. game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
  404. if HumanDied then break end
  405. end
  406. end
  407. end)()
  408.  
  409. if game:GetService("Players").LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  410. if Bypass == "limbs" then --------------------------------------------------------------------------------------------------------------------
  411. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  412. local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
  413. CloneChar.Parent = workspace
  414. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,2,0)
  415. wait()
  416. CloneChar.Humanoid.BreakJointsOnDeath = false
  417. workspace.Camera.CameraSubject = CloneChar.Humanoid
  418. CloneChar.Name = "non"
  419. CloneChar.Humanoid.DisplayDistanceType = "None"
  420. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  421. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  422.  
  423. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  424. DeadChar.HumanoidRootPart:Destroy()
  425.  
  426. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  427. local CONVEC
  428. local function VECTORUNIT()
  429. if HumanDied then CONVEC:Disconnect(); return end
  430. local lookVec = workspace.Camera.CFrame.lookVector
  431. local Root = CloneChar["HumanoidRootPart"]
  432. LVecPart.Position = Root.Position
  433. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  434. end
  435. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  436.  
  437. local CONDOWN
  438. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  439. local function KEYDOWN(_,Processed)
  440. if HumanDied then CONDOWN:Disconnect(); return end
  441. if Processed ~= true then
  442. local Key = _.KeyCode
  443. if Key == Enum.KeyCode.W then
  444. WDown = true end
  445. if Key == Enum.KeyCode.A then
  446. ADown = true end
  447. if Key == Enum.KeyCode.S then
  448. SDown = true end
  449. if Key == Enum.KeyCode.D then
  450. DDown = true end
  451. if Key == Enum.KeyCode.Space then
  452. SpaceDown = true end end end
  453. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  454.  
  455. local CONUP
  456. local function KEYUP(_)
  457. if HumanDied then CONUP:Disconnect(); return end
  458. local Key = _.KeyCode
  459. if Key == Enum.KeyCode.W then
  460. WDown = false end
  461. if Key == Enum.KeyCode.A then
  462. ADown = false end
  463. if Key == Enum.KeyCode.S then
  464. SDown = false end
  465. if Key == Enum.KeyCode.D then
  466. DDown = false end
  467. if Key == Enum.KeyCode.Space then
  468. SpaceDown = false end end
  469. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  470.  
  471. local function MoveClone(X,Y,Z)
  472. VEL = 1
  473. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  474. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  475. wait()
  476. VEL = 0
  477. end
  478.  
  479. coroutine.wrap(function()
  480. while true do game:GetService("RunService").RenderStepped:Wait()
  481. if HumanDied then break end
  482. if WDown then MoveClone(0,0,1e4) end
  483. if ADown then MoveClone(1e4,0,0) end
  484. if SDown then MoveClone(0,0,-1e4) end
  485. if DDown then MoveClone(-1e4,0,0) end
  486. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  487. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  488. workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
  489. end
  490. end)()
  491.  
  492. local con
  493. function UnCollide()
  494. if HumanDied then con:Disconnect(); return end
  495. for _,Parts in next, CloneChar:GetDescendants() do
  496. if Parts:IsA("BasePart") then
  497. Parts.CanCollide = false
  498. end
  499. end
  500. for _,Parts in next, DeadChar:GetDescendants() do
  501. if Parts:IsA("BasePart") then
  502. Parts.CanCollide = false
  503. end
  504. end
  505. end
  506. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  507.  
  508. local resetBindable = Instance.new("BindableEvent")
  509. resetBindable.Event:connect(function()
  510. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  511. resetBindable:Destroy()
  512. pcall(function()
  513. CloneChar.Humanoid.Health = 0
  514. DeadChar.Humanoid.Health = 0
  515. end)
  516. end)
  517. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  518.  
  519. coroutine.wrap(function()
  520. while true do
  521. game:GetService("RunService").RenderStepped:wait()
  522. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 or not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
  523. HumanDied = true
  524. pcall(function()
  525. game.Players.LocalPlayer.Character = CloneChar
  526. CloneChar:Destroy()
  527. game.Players.LocalPlayer.Character = DeadChar
  528. if resetBindable then
  529. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  530. resetBindable:Destroy()
  531. end
  532. DeadChar.Humanoid.Health = 0
  533. end)
  534. break
  535. end
  536. end
  537. end)()
  538.  
  539. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  540. SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  541. SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  542. SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  543. SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  544. SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  545.  
  546. coroutine.wrap(function()
  547. while true do
  548. game:GetService("RunService").RenderStepped:wait()
  549. if HumanDied then break end
  550. DeadChar["Torso"].CFrame = CloneChar["Torso"].CFrame
  551. end
  552. end)()
  553.  
  554. for _,v in next, DeadChar:GetChildren() do
  555. if v:IsA("Accessory") and table.find(SETHATS,v.Handle) == nil then
  556. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  557. end
  558. end
  559.  
  560. for _,BodyParts in next, CloneChar:GetDescendants() do
  561. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  562. BodyParts.Transparency = 1 end end
  563.  
  564. DeadChar.Torso["Left Shoulder"]:Destroy()
  565. DeadChar.Torso["Right Shoulder"]:Destroy()
  566. DeadChar.Torso["Left Hip"]:Destroy()
  567. DeadChar.Torso["Right Hip"]:Destroy()
  568.  
  569. elseif Bypass == "death" then --------------------------------------------------------------------------------------------------------------------
  570. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  571. local CloneChar = game:GetService("Players").LocalPlayer["Character"]:Clone()
  572. game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0
  573. game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0
  574. game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
  575. local FalseChar = Instance.new("Model", workspace); FalseChar.Name = ""
  576. Instance.new("Part",FalseChar).Name = "Head"
  577. Instance.new("Part",FalseChar).Name = "Torso"
  578. Instance.new("Humanoid",FalseChar).Name = "Humanoid"
  579. game:GetService("Players").LocalPlayer["Character"] = FalseChar
  580. game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
  581. local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
  582. Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
  583. Clone.Name = "Humanoid"
  584. game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy()
  585. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  586. game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name]
  587. wait(5.65)
  588. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  589. CloneChar.Parent = workspace
  590. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,2,0)
  591.  
  592.  
  593. StickParts(FakeLimbs["Head"],CloneChar.Head,Vector3.new(0,0,0))
  594. StickParts(FakeLimbs["Right Arm"],CloneChar["Right Arm"],Vector3.new(90,0,0))
  595. StickParts(FakeLimbs["Left Arm"],CloneChar["Left Arm"],Vector3.new(90,0,0))
  596. StickParts(FakeLimbs["Right Leg"],CloneChar["Right Leg"],Vector3.new(90,0,0))
  597. StickParts(FakeLimbs["Left Leg"],CloneChar["Left Leg"],Vector3.new(90,0,0))
  598. StickParts(FakeLimbs["Torso1"],CloneChar.Torso,Vector3.new(90,0,0),Vector3.new(0.5,0,0))
  599. StickParts(FakeLimbs["Torso2"],CloneChar.Torso,Vector3.new(90,0,0),Vector3.new(-0.5,0,0))
  600.  
  601. wait()
  602.  
  603.  
  604.  
  605.  
  606. CloneChar.Humanoid.BreakJointsOnDeath = false
  607. workspace.Camera.CameraSubject = CloneChar.Humanoid
  608. CloneChar.Name = "non"
  609. CloneChar.Humanoid.DisplayDistanceType = "None"
  610. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  611. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  612.  
  613. FalseChar:Destroy()
  614.  
  615. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  616.  
  617. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  618. local CONVEC
  619. local function VECTORUNIT()
  620. if HumanDied then CONVEC:Disconnect(); return end
  621. local lookVec = workspace.Camera.CFrame.lookVector
  622. local Root = CloneChar["HumanoidRootPart"]
  623. LVecPart.Position = Root.Position
  624. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  625. end
  626. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  627.  
  628. local CONDOWN
  629. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  630. local function KEYDOWN(_,Processed)
  631. if HumanDied then CONDOWN:Disconnect(); return end
  632. if Processed ~= true then
  633. local Key = _.KeyCode
  634. if Key == Enum.KeyCode.W then
  635. WDown = true end
  636. if Key == Enum.KeyCode.A then
  637. ADown = true end
  638. if Key == Enum.KeyCode.S then
  639. SDown = true end
  640. if Key == Enum.KeyCode.D then
  641. DDown = true end
  642. if Key == Enum.KeyCode.Space then
  643. SpaceDown = true end end end
  644. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  645.  
  646. local CONUP
  647. local function KEYUP(_)
  648. if HumanDied then CONUP:Disconnect(); return end
  649. local Key = _.KeyCode
  650. if Key == Enum.KeyCode.W then
  651. WDown = false end
  652. if Key == Enum.KeyCode.A then
  653. ADown = false end
  654. if Key == Enum.KeyCode.S then
  655. SDown = false end
  656. if Key == Enum.KeyCode.D then
  657. DDown = false end
  658. if Key == Enum.KeyCode.Space then
  659. SpaceDown = false end end
  660. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  661.  
  662. local function MoveClone(X,Y,Z)
  663. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  664. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  665. end
  666.  
  667. coroutine.wrap(function()
  668. while true do game:GetService("RunService").RenderStepped:Wait()
  669. if HumanDied then break end
  670. if WDown then MoveClone(0,0,1e4) end
  671. if ADown then MoveClone(1e4,0,0) end
  672. if SDown then MoveClone(0,0,-1e4) end
  673. if DDown then MoveClone(-1e4,0,0) end
  674. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  675. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  676. CloneChar.Humanoid.WalkToPoint = CloneChar.HumanoidRootPart.Position end
  677. end
  678. end)()
  679.  
  680. local con
  681. function UnCollide()
  682. if HumanDied then con:Disconnect(); return end
  683. for _,Parts in next, CloneChar:GetDescendants() do
  684. if Parts:IsA("BasePart") then
  685. HumanRoot.CanCollide = false
  686. Parts.CanCollide = false
  687. end
  688. end
  689. for _,Parts in next, DeadChar:GetDescendants() do
  690. if Parts:IsA("BasePart") then
  691. Parts.CanCollide = false
  692. HumanRoot.CanCollide = false
  693. end
  694. end
  695. end
  696. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  697.  
  698. local resetBindable = Instance.new("BindableEvent")
  699. resetBindable.Event:connect(function()
  700. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  701. resetBindable:Destroy()
  702. CloneChar.Humanoid.Health = 0
  703. end)
  704. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  705.  
  706. coroutine.wrap(function()
  707. while true do
  708. game:GetService("RunService").RenderStepped:wait()
  709. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 then
  710. HumanDied = true
  711. pcall(function()
  712. game.Players.LocalPlayer.Character = CloneChar
  713. CloneChar:Destroy()
  714. game.Players.LocalPlayer.Character = DeadChar
  715. if resetBindable then
  716. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  717. resetBindable:Destroy()
  718. end
  719. DeadChar.Humanoid.Health = 0
  720. end)
  721. break
  722. end
  723. end
  724. end)()
  725.  
  726.  
  727.  
  728. for _,BodyParts in next, CloneChar:GetDescendants() do
  729. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  730. BodyParts.Transparency = 1 end end
  731. elseif Bypass == "hats" then
  732. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  733. local DeadChar = game.Players.LocalPlayer.Character
  734. DeadChar.Name = "non"
  735. local HatPosition = Vector3.new(0,0,0)
  736. local HatName = "MediHood"
  737. local HatsLimb = {
  738. Rarm = DeadChar:FindFirstChild("Hat1"),
  739. Larm = DeadChar:FindFirstChild("Pink Hair"),
  740. Rleg = DeadChar:FindFirstChild("Robloxclassicred"),
  741. Lleg = DeadChar:FindFirstChild("Kate Hair"),
  742. Torso1 = DeadChar:FindFirstChild("Pal Hair"),
  743. Torso2 = DeadChar:FindFirstChild("LavanderHair")
  744. }
  745. HatName = DeadChar:FindFirstChild(HatName)
  746.  
  747. coroutine.wrap(function()
  748. while true do
  749. game:GetService("RunService").RenderStepped:wait()
  750. if not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
  751. HumanDied = true
  752. pcall(function()
  753. if resetBindable then
  754. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  755. resetBindable:Destroy()
  756. end
  757. DeadChar.Humanoid.Health = 0
  758. end)
  759. break
  760. end
  761. end
  762. end)()
  763.  
  764. local con
  765. function UnCollide()
  766. if HumanDied then con:Disconnect(); return end
  767. for _,Parts in next, DeadChar:GetDescendants() do
  768. if Parts:IsA("BasePart") then
  769. Parts.CanCollide = false
  770. end
  771. end
  772. end
  773. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  774.  
  775. SCIFIMOVIELOL(HatName.Handle,DeadChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  776. SCIFIMOVIELOL(HatsLimb.Torso1.Handle,DeadChar["Torso"],Vector3.new(0.5,0,0),Vector3.new(90,0,0))
  777. SCIFIMOVIELOL(HatsLimb.Torso2.Handle,DeadChar["Torso"],Vector3.new(-0.5,0,0),Vector3.new(90,0,0))
  778. SCIFIMOVIELOL(HatsLimb.Larm.Handle,DeadChar["Left Arm"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  779. SCIFIMOVIELOL(HatsLimb.Rarm.Handle,DeadChar["Right Arm"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  780. SCIFIMOVIELOL(HatsLimb.Lleg.Handle,DeadChar["Left Leg"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  781. SCIFIMOVIELOL(HatsLimb.Rleg.Handle,DeadChar["Right Leg"],Vector3.new(0,0,0),Vector3.new(90,0,0))
  782.  
  783. for i,v in pairs(HatsLimb) do
  784. v.Handle:FindFirstChild("AccessoryWeld"):Destroy()
  785. if v.Handle:FindFirstChild("Mesh") then v.Handle:FindFirstChild("Mesh"):Destroy() end
  786. if v.Handle:FindFirstChild("SpecialMesh") then v.Handle:FindFirstChild("SpecialMesh"):Destroy() end
  787. end
  788. HatName.Handle:FindFirstChild("AccessoryWeld"):Destroy()
  789. end
  790. else
  791. if Bypass == "limbs" then --------------------------------------------------------------------------------------------------------------------
  792. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  793. local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
  794. CloneChar.Parent = workspace
  795. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,0.5,0.1)
  796. CloneChar.Humanoid.BreakJointsOnDeath = false
  797. workspace.Camera.CameraSubject = CloneChar.Humanoid
  798. CloneChar.Name = "non"
  799. CloneChar.Humanoid.DisplayDistanceType = "None"
  800. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  801. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  802.  
  803. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  804. DeadChar.HumanoidRootPart:Destroy()
  805.  
  806. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  807. local CONVEC
  808. local function VECTORUNIT()
  809. if HumanDied then CONVEC:Disconnect(); return end
  810. local lookVec = workspace.Camera.CFrame.lookVector
  811. local Root = CloneChar["HumanoidRootPart"]
  812. LVecPart.Position = Root.Position
  813. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  814. end
  815. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  816.  
  817. local CONDOWN
  818. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  819. local function KEYDOWN(_,Processed)
  820. if HumanDied then CONDOWN:Disconnect(); return end
  821. if Processed ~= true then
  822. local Key = _.KeyCode
  823. if Key == Enum.KeyCode.W then
  824. WDown = true end
  825. if Key == Enum.KeyCode.A then
  826. ADown = true end
  827. if Key == Enum.KeyCode.S then
  828. SDown = true end
  829. if Key == Enum.KeyCode.D then
  830. DDown = true end
  831. if Key == Enum.KeyCode.Space then
  832. SpaceDown = true end end end
  833. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  834.  
  835. local CONUP
  836. local function KEYUP(_)
  837. if HumanDied then CONUP:Disconnect(); return end
  838. local Key = _.KeyCode
  839. if Key == Enum.KeyCode.W then
  840. WDown = false end
  841. if Key == Enum.KeyCode.A then
  842. ADown = false end
  843. if Key == Enum.KeyCode.S then
  844. SDown = false end
  845. if Key == Enum.KeyCode.D then
  846. DDown = false end
  847. if Key == Enum.KeyCode.Space then
  848. SpaceDown = false end end
  849. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  850.  
  851. local function MoveClone(X,Y,Z)
  852. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  853. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  854. end
  855.  
  856. coroutine.wrap(function()
  857. while true do game:GetService("RunService").RenderStepped:Wait()
  858. if HumanDied then break end
  859. if WDown then MoveClone(0,0,1e4) end
  860. if ADown then MoveClone(1e4,0,0) end
  861. if SDown then MoveClone(0,0,-1e4) end
  862. if DDown then MoveClone(-1e4,0,0) end
  863. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  864. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  865. workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
  866. end
  867. end)()
  868.  
  869. local con
  870. function UnCollide()
  871. if HumanDied then con:Disconnect(); return end
  872. for _,Parts in next, CloneChar:GetDescendants() do
  873. if Parts:IsA("BasePart") then
  874. Parts.CanCollide = false
  875. end
  876. end
  877. for _,Parts in next, DeadChar:GetDescendants() do
  878. if Parts:IsA("BasePart") then
  879. Parts.CanCollide = false
  880. end
  881. end
  882. end
  883. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  884.  
  885. local resetBindable = Instance.new("BindableEvent")
  886. resetBindable.Event:connect(function()
  887. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  888. resetBindable:Destroy()
  889. CloneChar.Humanoid.Health = 0
  890. end)
  891. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  892.  
  893. coroutine.wrap(function()
  894. while true do
  895. game:GetService("RunService").RenderStepped:wait()
  896. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 or not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChild("Humanoid") or DeadChar:FindFirstChild("Humanoid").Health <= 0 then
  897. HumanDied = true
  898. pcall(function()
  899. game.Players.LocalPlayer.Character = CloneChar
  900. CloneChar:Destroy()
  901. game.Players.LocalPlayer.Character = DeadChar
  902. if resetBindable then
  903. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  904. resetBindable:Destroy()
  905. end
  906. DeadChar.Humanoid.Health = 0
  907. end)
  908. break
  909. end
  910. end
  911. end)()
  912.  
  913. for _,v in next, DeadChar:GetChildren() do
  914. if v:IsA("Accessory") then
  915. v:Clone().Parent = CloneChar
  916. end
  917. end
  918.  
  919. for _,v in next, DeadChar:GetDescendants() do
  920. if v:IsA("Motor6D") and v.Name ~= "Neck" then
  921. v:Destroy()
  922. end
  923. end
  924.  
  925. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  926. SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.2,0),Vector3.new(0,0,0))
  927. SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
  928. SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  929. SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  930. SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  931. SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  932. SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  933. SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  934.  
  935. SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  936. SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  937. SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  938. SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  939. SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  940. SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  941.  
  942. coroutine.wrap(function()
  943. while true do
  944. game:GetService("RunService").RenderStepped:wait()
  945. if HumanDied then break end
  946. DeadChar["UpperTorso"].CFrame = CloneChar["Torso"].CFrame * CFrame.new(0,0.2,0)
  947. end
  948. end)()
  949.  
  950. for _,v in next, DeadChar:GetChildren() do
  951. if v:IsA("Accessory") then
  952. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  953. end
  954. end
  955.  
  956. for _,BodyParts in next, CloneChar:GetDescendants() do
  957. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  958. BodyParts.Transparency = 1 end end
  959.  
  960. elseif Bypass == "death" then --------------------------------------------------------------------------------------------------------------------
  961. game:GetService("Players").LocalPlayer["Character"].Archivable = true
  962. local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
  963. game:GetService("Players").LocalPlayer["Character"].Humanoid.WalkSpeed = 0
  964. game:GetService("Players").LocalPlayer["Character"].Humanoid.JumpPower = 0
  965. game:GetService("Players").LocalPlayer["Character"].Humanoid.AutoRotate = false
  966. local FalseChar = Instance.new("Model", workspace); FalseChar.Name = ""
  967. Instance.new("Part",FalseChar).Name = "Head"
  968. Instance.new("Part",FalseChar).Name = "UpperTorso"
  969. Instance.new("Humanoid",FalseChar).Name = "Humanoid"
  970. game:GetService("Players").LocalPlayer["Character"] = FalseChar
  971. game:GetService("Players").LocalPlayer["Character"].Humanoid.Name = "FalseHumanoid"
  972. local Clone = game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Clone()
  973. Clone.Parent = game:GetService("Players").LocalPlayer["Character"]
  974. Clone.Name = "Humanoid"
  975. game:GetService("Players").LocalPlayer["Character"]:FindFirstChild("FalseHumanoid"):Destroy()
  976. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  977. game:GetService("Players").LocalPlayer["Character"] = workspace[game:GetService("Players").LocalPlayer.Name]
  978. wait(5.65)
  979. game:GetService("Players").LocalPlayer["Character"].Humanoid.Health = 0
  980. CloneChar.Parent = workspace
  981. CloneChar.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame * CFrame.new(0,0.5,0.1)
  982. wait()
  983. CloneChar.Humanoid.BreakJointsOnDeath = false
  984. workspace.Camera.CameraSubject = CloneChar.Humanoid
  985. CloneChar.Name = "non"
  986. CloneChar.Humanoid.DisplayDistanceType = "None"
  987. if CloneChar.Head:FindFirstChild("face") then CloneChar.Head:FindFirstChild("face"):Destroy() end
  988. if workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face") then workspace[game:GetService("Players").LocalPlayer.Name].Head:FindFirstChild("face").Parent = CloneChar.Head end
  989.  
  990. FalseChar:Destroy()
  991.  
  992. local DeadChar = workspace[game:GetService("Players").LocalPlayer.Name]
  993.  
  994. local LVecPart = Instance.new("Part", workspace) LVecPart.CanCollide = false LVecPart.Transparency = 1
  995. local CONVEC
  996. local function VECTORUNIT()
  997. if HumanDied then CONVEC:Disconnect(); return end
  998. local lookVec = workspace.Camera.CFrame.lookVector
  999. local Root = CloneChar["HumanoidRootPart"]
  1000. LVecPart.Position = Root.Position
  1001. LVecPart.CFrame = CFrame.new(LVecPart.Position, Vector3.new(lookVec.X * 9999, lookVec.Y, lookVec.Z * 9999))
  1002. end
  1003. CONVEC = game:GetService("RunService").Heartbeat:Connect(VECTORUNIT)
  1004.  
  1005. local CONDOWN
  1006. local WDown, ADown, SDown, DDown, SpaceDown = false, false, false, false, false
  1007. local function KEYDOWN(_,Processed)
  1008. if HumanDied then CONDOWN:Disconnect(); return end
  1009. if Processed ~= true then
  1010. local Key = _.KeyCode
  1011. if Key == Enum.KeyCode.W then
  1012. WDown = true end
  1013. if Key == Enum.KeyCode.A then
  1014. ADown = true end
  1015. if Key == Enum.KeyCode.S then
  1016. SDown = true end
  1017. if Key == Enum.KeyCode.D then
  1018. DDown = true end
  1019. if Key == Enum.KeyCode.Space then
  1020. SpaceDown = true end end end
  1021. CONDOWN = game:GetService("UserInputService").InputBegan:Connect(KEYDOWN)
  1022.  
  1023. local CONUP
  1024. local function KEYUP(_)
  1025. if HumanDied then CONUP:Disconnect(); return end
  1026. local Key = _.KeyCode
  1027. if Key == Enum.KeyCode.W then
  1028. WDown = false end
  1029. if Key == Enum.KeyCode.A then
  1030. ADown = false end
  1031. if Key == Enum.KeyCode.S then
  1032. SDown = false end
  1033. if Key == Enum.KeyCode.D then
  1034. DDown = false end
  1035. if Key == Enum.KeyCode.Space then
  1036. SpaceDown = false end end
  1037. CONUP = game:GetService("UserInputService").InputEnded:Connect(KEYUP)
  1038.  
  1039. local function MoveClone(X,Y,Z)
  1040. LVecPart.CFrame = LVecPart.CFrame * CFrame.new(-X,Y,-Z)
  1041. workspace["non"].Humanoid.WalkToPoint = LVecPart.Position
  1042. end
  1043.  
  1044. coroutine.wrap(function()
  1045. while true do game:GetService("RunService").RenderStepped:Wait()
  1046. if HumanDied then break end
  1047. if WDown then MoveClone(0,0,1e4) end
  1048. if ADown then MoveClone(1e4,0,0) end
  1049. if SDown then MoveClone(0,0,-1e4) end
  1050. if DDown then MoveClone(-1e4,0,0) end
  1051. if SpaceDown then CloneChar["Humanoid"].Jump = true end
  1052. if WDown ~= true and ADown ~= true and SDown ~= true and DDown ~= true then
  1053. workspace["non"].Humanoid.WalkToPoint = workspace["non"].HumanoidRootPart.Position end
  1054. end
  1055. end)()
  1056.  
  1057. local con
  1058. function UnCollide()
  1059. if HumanDied then con:Disconnect(); return end
  1060. for _,Parts in next, CloneChar:GetDescendants() do
  1061. if Parts:IsA("BasePart") then
  1062. Parts.CanCollide = false
  1063. end
  1064. end
  1065. for _,Parts in next, DeadChar:GetDescendants() do
  1066. if Parts:IsA("BasePart") then
  1067. Parts.CanCollide = false
  1068. end
  1069. end
  1070. end
  1071. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  1072.  
  1073. local resetBindable = Instance.new("BindableEvent")
  1074. resetBindable.Event:connect(function()
  1075. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  1076. resetBindable:Destroy()
  1077. CloneChar.Humanoid.Health = 0
  1078. end)
  1079. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  1080.  
  1081. coroutine.wrap(function()
  1082. while true do
  1083. game:GetService("RunService").RenderStepped:wait()
  1084. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChild("Humanoid") or CloneChar:FindFirstChild("Humanoid").Health <= 0 then
  1085. HumanDied = true
  1086. pcall(function()
  1087. game.Players.LocalPlayer.Character = CloneChar
  1088. CloneChar:Destroy()
  1089. game.Players.LocalPlayer.Character = DeadChar
  1090. if resetBindable then
  1091. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  1092. resetBindable:Destroy()
  1093. end
  1094. DeadChar.Humanoid.Health = 0
  1095. end)
  1096. break
  1097. end
  1098. end
  1099. end)()
  1100.  
  1101. for _,v in next, DeadChar:GetChildren() do
  1102. if v:IsA("Accessory") then
  1103. v:Clone().Parent = CloneChar
  1104. end
  1105. end
  1106.  
  1107. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  1108. SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.2,0),Vector3.new(0,0,0))
  1109. SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
  1110. SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  1111. SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  1112. SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  1113. SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  1114. SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  1115. SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  1116.  
  1117. SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  1118. SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  1119. SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  1120. SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  1121. SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.137,0),Vector3.new(0,0,0))
  1122. SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.787,0),Vector3.new(0,0,0))
  1123.  
  1124. SCIFIMOVIELOL(DeadChar["HumanoidRootPart"],CloneChar["HumanoidRootPart"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  1125.  
  1126. for _,v in next, DeadChar:GetChildren() do
  1127. if v:IsA("Accessory") then
  1128. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  1129. end
  1130. end
  1131.  
  1132. for _,BodyParts in next, CloneChar:GetDescendants() do
  1133. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  1134. BodyParts.Transparency = 1 end end
  1135. if DeadChar.Head:FindFirstChild("Neck") then
  1136. game.Players.LocalPlayer.Character:BreakJoints()
  1137. end
  1138. end
  1139. end
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146. local CloneChar = workspace.non
  1147.  
  1148. turnto = function(position)
  1149. CloneChar.HumanoidRootPart.CFrame=CFrame.new(CloneChar.HumanoidRootPart.CFrame.p,Vector3.new(position.X,CloneChar.HumanoidRootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1150. end
  1151.  
  1152. local HumanRoot = game.Players.LocalPlayer.Character.HumanoidRootPart
  1153. local SHOW = Instance.new("SelectionBox",workspace)
  1154. SHOW.Adornee = HumanRoot
  1155. local bambam = Instance.new("BodyThrust")
  1156. bambam.Parent = HumanRoot
  1157. bambam.Force = Vector3.new(500,0,500)
  1158.  
  1159.  
  1160.  
  1161. s = game:GetService("RunService").Heartbeat:connect(function()
  1162. game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,35,0)
  1163. end)
  1164. spawn(function()
  1165. while true do
  1166. wait()
  1167. if HumanDied == true then
  1168. s:Disconnect()
  1169. break
  1170. end
  1171. end
  1172. end)
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192. -- <Nullioner Start> --
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213. local math=setmetatable({random=function(Arg1,Arg2,DIV) DIV=DIV or 1 return math.random(Arg1*DIV,Arg2*DIV)/DIV end,CosSin=function(Arg) return (math.sin(Arg/2)*math.cos(Arg/2)) end,},{__index=math,})
  1214. local CFrame=setmetatable({Angles=function(Arg1,Arg2,Arg3,Angles) if not Angles then return CFrame.Angles(Arg1,Arg2,Arg3) else return CFrame.Angles(math.rad(Arg1),math.rad(Arg2),math.rad(Arg3)) end end,},{__index=CFrame,})
  1215. local Instance=setmetatable({new=function(type,args) local instance=Instance.new(type) if args then if string.lower(typeof(args)) == "instance" then instance.Parent=args elseif string.lower(typeof(args))=="table" then for i,v in pairs(args) do pcall(function() instance[i]=v end) end end end return instance end,Remove=function(Instance_,Time) if string.lower(typeof(Instance_))=="instance" then game:GetService("Debris"):AddItem(Instance_,Time or 0) elseif string.lower(typeof(Instance_))=="table" then table.foreach(Instance_,function(_,v) game:GetService("Debris"):AddItem(v,Time or 0) end) end end},{__index=Instance,})
  1216. local Player,Mouse = game.Players.LocalPlayer,game.Players.LocalPlayer:GetMouse()
  1217.  
  1218.  
  1219.  
  1220.  
  1221. --// Shortcuts
  1222. local ins=Instance.new
  1223. local v3=Vector3.new
  1224. local v2=Vector2.new
  1225. local cf=CFrame.new
  1226. local angles=CFrame.Angles
  1227. local ud=UDim.new
  1228. local ud2=UDim2.new
  1229. local c3=Color3.new
  1230. local rgb=Color3.fromRGB
  1231. local hsv=Color3.fromHSV
  1232. local bc=BrickColor.new
  1233. local bcRandom=BrickColor.Random
  1234. local palette=BrickColor.palatte
  1235. local cs=ColorSequence.new
  1236. local ns=NumberSequence.new
  1237. local nsk=NumberSequenceKeypoint.new
  1238. local nr=NumberRange.new
  1239. local random=math.random
  1240. local rad=math.rad
  1241. local sin=math.sin
  1242. local cos=math.cos
  1243. local tan=math.tan
  1244. local CosSin=math.CosSin
  1245. local floor=math.floor
  1246. local pi=math.floor
  1247. local abs=math.abs
  1248. local sqrt=math.sqrt
  1249. local clamp=math.clamp
  1250. local ray=Ray.new
  1251. local huge=math.huge
  1252. --// Basic functions
  1253. function Tween(Object,Args,Info)
  1254. if Object and Args then
  1255. Info = Info or TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
  1256. if typeof(Info) == "table" then Info = TweenInfo.new(unpack(Info)) end
  1257. game:GetService("TweenService"):Create(Object,Info,Args):Play()
  1258. end
  1259. end
  1260. function Sound(Id,Volume,Pitch,Parent,MaxDistance,EmitterSize,Looped)
  1261. local S=ins("Sound",{Volume=Volume or 1,Pitch=Pitch or 1,MaxDistance=MaxDistance or 500,EmitterSize=EmitterSize or 5,Looped=Looped or false,SoundId="rbxassetid://"..Id,Parent=Parent})
  1262. S:Play()
  1263. coroutine.wrap(function()
  1264. if S.Looped then return end
  1265. if S.IsLoaded then
  1266. Instance.Remove(S,S.TimeLength/S.Pitch)
  1267. else
  1268. S.Loaded:Connect(function()
  1269. Instance.Remove(S,S.TimeLength/S.Pitch)
  1270. end)
  1271. end
  1272. end)()
  1273. return S
  1274. end
  1275. function Raycast(Origin,Direction,Blacklist,MaxDistance,IgnoreWater)
  1276. return workspace:FindPartOnRayWithIgnoreList(ray(Origin,Direction.Unit*MaxDistance),Blacklist or {},false,IgnoreWater)
  1277. end
  1278. --// Setup 1
  1279. for i,v in pairs(Player.Character:GetDescendants()) do
  1280. if (v.Name=="Animate" and v:IsA("LocalScript")) or v:IsA("Animator") then
  1281. Instance.Remove(v)
  1282. end
  1283. end
  1284. --// Character indexing
  1285. local LockWS,LockJP=false,false
  1286. local Type="R6"
  1287. local Char,char= CloneChar,CloneChar
  1288. local Hum,hum=Char:FindFirstChildOfClass("Humanoid"),Char:FindFirstChildOfClass("Humanoid")
  1289. local hrp,HRP=Char.HumanoidRootPart,Char.HumanoidRootPart
  1290. local h,t,rs,ls,rl,ll
  1291. local nec,rs,ls,rh,lh,rutj
  1292. local necC0,necC1=cf(),cf()
  1293. local rutjC0,rutjC1=cf(),cf()
  1294. local rsC0,rsC1=cf(),cf()
  1295. local lsC0,lsC1=cf(),cf()
  1296. local rhC0,rhC1=cf(),cf()
  1297. local lhC0,lhC1=cf(),cf()
  1298. local h,ut,lt,rua,rla,rh,lua,lla,lh,ral,rll,rf,lul,lll,lf
  1299. local CFs={}
  1300. local Joints={}
  1301. if Type=="R6" then
  1302. h,t,ra,la,rl,ll=char.Head,char.Torso,char["Right Arm"],char["Left Arm"],char["Right Leg"],char["Left Leg"]
  1303. nec,rutj,rs,ls,rh,lh=t.Neck,hrp.RootJoint,t["Right Shoulder"],t["Left Shoulder"],t["Right Hip"],t["Left Hip"]
  1304. necC0,necC1=cf(0,t.Size.Y/2,0),cf(0,-h.Size.Y/2,0)
  1305. rutjC0,rutjC1=cf(0,0,0),cf(0,0,0)
  1306. rsC0,rsC1=cf(t.Size.X/2,t.Size.Y/4,0),cf(-ra.Size.X/2,ra.Size.Y/4,0)
  1307. lsC0,lsC1=cf(-t.Size.X/2,t.Size.Y/4,0),cf(la.Size.X/2,la.Size.Y/4,0)
  1308. rhC0,rhC1=cf(t.Size.X/4,-t.Size.Y/2,0),cf(0,rl.Size.Y/2,0)
  1309. lhC0,lhC1=cf(-t.Size.X/4,-t.Size.Y/2,0),cf(0,ll.Size.Y/2,0)
  1310. Instance.Remove({nec,rutj,rs,ls,rh,lh})
  1311. nec=ins("Motor6D",{Name="Neck",Part0=t,Part1=h,C0=necC0,C1=necC1,Parent=t,})
  1312. rutj=ins("Motor6D",{Name="RootJoint",Part0=hrp,Part1=t,C0=rutjC0,C1=rutjC1,Parent=hrp,})
  1313. rs=ins("Motor6D",{Name="Right Shoulder",Part0=t,Part1=ra,C0=rsC0,C1=rsC1,Parent=t,})
  1314. ls=ins("Motor6D",{Name="Left Shoulder",Part0=t,Part1=la,C0=lsC0,C1=lsC1,Parent=t,})
  1315. rh=ins("Motor6D",{Name="Right Hip",Part0=t,Part1=rl,C0=rhC0,C1=rhC1,Parent=t,})
  1316. lh=ins("Motor6D",{Name="Left Hip",Part0=t,Part1=ll,C0=lhC0,C1=lhC1,Parent=t,})
  1317. elseif Type=="R15" then
  1318. h,hrp=Char.Head,Char.HumanoidRootPart
  1319. ut,lt=Char.UpperTorso,Char.LowerTorso
  1320. rua,rla,rh=Char.RightUpperArm,Char.RightLowerArm,Char.RightHand
  1321. lua,lla,lh=Char.LeftUpperArm,Char.LeftLowerArm,Char.LeftHand
  1322. rul,rll,rf=Char.RightUpperLeg,Char.RightLowerLeg,Char.RightFoot
  1323. lul,lll,lf=Char.LeftUpperLeg,Char.LeftLowerLeg,Char.LeftFoot
  1324. for i,v in pairs(Char:GetDescendants()) do
  1325. if v:IsA("Motor6D") then
  1326. local CFData={C0=cf(v.C0.Position),C1=cf(v.C1.Position),Part0=v.Part0,Part1=v.Part1,Parent=v.Parent}
  1327. local Joint=ins("Motor6D",{C0=CFData.C0,C1=CFData.C1,Part0=CFData.Part0,Part1=CFData.Part1,Name=v.Name,Parent=CFData.Parent,})
  1328. CFs[v.Name]=CFData
  1329. Joints[v.Name]=setmetatable({Object=Joint,Link=CFData,Remove=function(Time) Instance.Remove(Joint,Time) end},{__index=Joint,__newindex=function(self,k,v) Joint[k]=v end})
  1330. v.Parent=nil
  1331. Instance.Remove(v)
  1332. end
  1333. end
  1334. end
  1335. --// Variables
  1336. local Using=false
  1337. local Muted=false
  1338. local Holding=false
  1339. local TimePos=0
  1340. local Sine=0
  1341. local Change=1
  1342. local WS,JP=16,50
  1343. local Step="R"
  1344.  
  1345.  
  1346. local StepSounds={Plastic=2812418291,SmoothPlastic=2812418291,Neon=2812418291,ForceField=2812418291,Metal=2812417769,DiamondPlate=2812417769,CorrodedMetal=2812417769,Foil=2812417769,Sand=619188333,Grass=619188333,Slate=941640049,Concrete=941640049,Granite=941640049,Pebble=941640049,Marble=941640049,Cobblestone=941640049,Brick=941640049,Water=685857471,Wood=2812419402,WoodPlanks=2812419402,Fabric=133705377,Snow=619083295}
  1347. --// Setup 2
  1348. local Effects=ins("Model",{Name="Effects",Parent=Char})
  1349. local Theme=Sound(243924503,not Muted and 1.5 or 0,1,t,250,15,true)
  1350. ins("ForceField",{Parent=char,Visible=false})
  1351. local Rifle=ModelsRequire[1].Rifle Rifle.Parent=t
  1352. local RW=ins("Motor6D",{Parent=t,Part0=ra,Part1=Rifle.Dark,C0=cf(-.1,-ra.Size.Y/2,0),C1=cf(Rifle.Dark.HandlePos.Position)*angles(-90,180,90,true)})
  1353. --// Functions
  1354. function Kill(Model,StartPart,HUM)
  1355. if Model==Char then return end
  1356. local function CheckWeldedParts(Part)
  1357. local Parts={}
  1358. for i,v in pairs(Model:GetDescendants()) do
  1359. if v:IsA("Motor6D") or v:IsA("Weld") then
  1360. if v.Part1==Part then
  1361. table.insert(Parts,v.Part0)
  1362. elseif v.Part0==Part then
  1363. table.insert(Parts,v.Part1)
  1364. end
  1365. end
  1366. end
  1367. return Parts
  1368. end
  1369. local NewThread
  1370. NewThread=function(Parts)
  1371. if #Parts<1 then return end
  1372. for i,v in pairs(Parts) do
  1373. local Parts=CheckWeldedParts(v)
  1374. v:BreakJoints()
  1375. local Time=random(.4,.9,100)
  1376. Instance.Remove(v,Time*2)
  1377. v.Material="Neon"
  1378. v.Color=bc("Neon orange").Color
  1379. v.Anchored=true
  1380. v.CanCollide=false
  1381. v.Massless=true
  1382. v.Locked=true
  1383. v.Transparency=0
  1384. v:ClearAllChildren()
  1385. v.Parent=Effects
  1386. Tween(v,{Transparency=1},{Time,Enum.EasingStyle.Cubic,Enum.EasingDirection.Out,0,false,0})
  1387. NewThread(CheckWeldedParts(Parts))
  1388. local E=ModelsRequire[1].Emit:Clone()
  1389. E.Parent=v
  1390. v:GetPropertyChangedSignal("Transparency"):Connect(function()
  1391. if v.Transparency>.8 then
  1392. E.Enabled=false
  1393. end
  1394. end)
  1395. wait(random(.01,.05,100))
  1396. end
  1397. end
  1398. local Parts=CheckWeldedParts(StartPart)
  1399. StartPart:BreakJoints()
  1400. local Time=random(.4,.9,100)
  1401. Instance.Remove(StartPart,Time*2)
  1402. StartPart.Material="Neon"
  1403. StartPart.Color=bc("Neon orange").Color
  1404. StartPart.Anchored=true
  1405. StartPart.CanCollide=false
  1406. StartPart.Massless=true
  1407. StartPart.Locked=true
  1408. StartPart.Transparency=0
  1409. StartPart:ClearAllChildren()
  1410. StartPart.Parent=Effects
  1411. Tween(StartPart,{Transparency=1},{Time,Enum.EasingStyle.Cubic,Enum.EasingDirection.Out,0,false,0})
  1412. local E=ModelsRequire[1].Emit:Clone()
  1413. E.Parent=StartPart
  1414. StartPart:GetPropertyChangedSignal("Transparency"):Connect(function()
  1415. if StartPart.Transparency>.8 then
  1416. E.Enabled=false
  1417. end
  1418. end)
  1419. NewThread(Parts)
  1420. wait(1)
  1421. if HUM.Health>.01 then return end
  1422. Model.Archivable=true
  1423. local Clone=Model:Clone()
  1424. Clone.Parent=workspace
  1425. for i,v in pairs(Model:GetChildren()) do
  1426. if not v:IsA("Humanoid") then
  1427. Instance.Remove(v)
  1428. end
  1429. end
  1430. Instance.Remove(Model,6)
  1431. for i,v in pairs(Clone:GetDescendants()) do
  1432. if v:IsA("BasePart") then
  1433. v:BreakJoints()
  1434. local Time=random(.4,.9,100)
  1435. Instance.Remove(v,Time*2)
  1436. v.Material="Neon"
  1437. v.Color=bc("Neon orange").Color
  1438. v.Anchored=true
  1439. v.CanCollide=false
  1440. v.Massless=true
  1441. v.Locked=true
  1442. v.Transparency=0
  1443. v:ClearAllChildren()
  1444. v.Parent=Effects
  1445. Tween(v,{Transparency=1},{Time,Enum.EasingStyle.Cubic,Enum.EasingDirection.Out,0,false,0})
  1446. local E=ModelsRequire[1].Emit:Clone()
  1447. E.Parent=v
  1448. v:GetPropertyChangedSignal("Transparency"):Connect(function()
  1449. if v.Transparency>.8 then
  1450. E.Enabled=false
  1451. end
  1452. end)
  1453. wait(random(.01,.05,100))
  1454. end
  1455. end
  1456. Instance.Remove(Clone)
  1457. end
  1458. local function Connect(Model)
  1459. Model.ChildAdded:Connect(function(Child)
  1460. if Child.Name=="Bullet" then
  1461. local Ignore={Char}
  1462. for i,v in pairs(workspace:GetDescendants()) do
  1463. if v:IsA("Accessory") or v:IsA("Hat") or v.Name=="BulletImpact" or v.Name=="PhysicalSpark" then
  1464. table.insert(Ignore,v)
  1465. end
  1466. end
  1467. local RHit,RPos,RNID=Raycast(Child.Position,Child.CFrame.LookVector,Ignore,500,true)
  1468. for i = 1,13 do
  1469. wait()
  1470. game.Players.LocalPlayer.Character.HumanoidRootPart.Position = RPos
  1471. bambam.Location = RPos
  1472. end
  1473. if RHit then
  1474. Child.Name="DeadBullet"
  1475. Child.Anchored=true
  1476. Child.CFrame=CFrame.new(RPos)
  1477. game.Debris:AddItem(Child,1.5)
  1478. for i,v in pairs(Child:GetChildren()) do
  1479. if v:IsA("ParticleEmitter") or v:IsA("Trail") then
  1480. v.Enabled=false
  1481. end
  1482. end
  1483. end
  1484. Instance.new("BodyVelocity",{Parent=Child;MaxForce=Vector3.new(200000,200000,200000);Velocity=Child.CFrame.LookVector*500})
  1485. end
  1486. end)
  1487. end
  1488. Connect(Effects)
  1489. function CreateBullet()
  1490. local B=ModelsRequire[1].Bullet:Clone()
  1491. B.CFrame=cf((Rifle.Tubes.CFrame*cf(Rifle.Tubes.FireEffect.Position)).Position,Mouse.Hit.Position)
  1492. B.Parent=Effects
  1493. Instance.Remove(B,5)
  1494. end
  1495. --// Moves
  1496. function Fire(Start)
  1497. Using=true
  1498. if Start then
  1499. local Time=.25
  1500. Tween(nec,{C0=necC0*cf(0,0,0)*angles(0,85,0,true)*angles(0,0,-40,true)},{Time,Enum.EasingStyle.Back,Enum.EasingDirection.Out,0,false,0})
  1501. Tween(rutj,{C1=rutjC1*(cf(0,0,0)*angles(0,-85,0,true)):Inverse()},{Time,Enum.EasingStyle.Back,Enum.EasingDirection.Out,0,false,0})
  1502. Tween(rs,{C0=rsC0*cf(.1,-.2,-.2)*angles(90,0,0,true)*angles(0,0,-85,true)*angles(10,0,0,true)},{Time,Enum.EasingStyle.Back,Enum.EasingDirection.Out,0,false,0})
  1503. Tween(ls,{C0=lsC0*cf(.7,-.35,.1)*angles(90,0,0,true)*angles(0,0,-45,true)*angles(50,90,0,true)},{Time,Enum.EasingStyle.Back,Enum.EasingDirection.Out,0,false,0})
  1504. Tween(rh,{C1=rhC1*(cf(0,0,0)*angles(0,0,0,true)):Inverse()},{Time,Enum.EasingStyle.Back,Enum.EasingDirection.Out,0,false,0})
  1505. Tween(lh,{C1=lhC1*(cf(0,0,0)*angles(0,0,0,true)):Inverse()},{Time,Enum.EasingStyle.Back,Enum.EasingDirection.Out,0,false,0})
  1506. Tween(RW,{C0=cf(-.1,-ra.Size.Y/2,0)*angles(-10,0,0,true)},{Time,Enum.EasingStyle.Back,Enum.EasingDirection.Out,0,false,0})
  1507. wait(Time)
  1508. end
  1509. if not Holding then Using=false return end
  1510. Using=true
  1511. local Time=.025
  1512. Tween(nec,{C0=necC0*cf(0,0,0)*angles(0,85,0,true)*angles(0,0,-40,true)*angles(5,0,0,true)},{Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out,0,false,0})
  1513. Tween(rutj,{C1=rutjC1*(cf(0,0,.05)*angles(5,0,0,true)*angles(0,-85,0,true)):Inverse()},{Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out,0,false,0})
  1514. Tween(rs,{C0=rsC0*cf(.1,-.2,-.2)*angles(90,0,0,true)*angles(0,0,-85,true)*angles(5,0,0,true)*angles(10,0,0,true)},{Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out,0,false,0})
  1515. Tween(ls,{C0=lsC0*cf(.7,-.275,.1)*angles(90,0,0,true)*angles(0,0,-45,true)*angles(5,0,0,true)*angles(50,90,0,true)},{Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out,0,false,0})
  1516. Tween(rh,{C1=rhC1*(cf(0,0,0)*angles(0,0,5,true)):Inverse()},{Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out,0,false,0})
  1517. Tween(lh,{C1=lhC1*(cf(0,0,0)*angles(0,0,5,true)):Inverse()},{Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out,0,false,0})
  1518. Tween(RW,{C0=cf(-.1,-ra.Size.Y/2,0)*angles(-10,0,0,true)},{Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out,0,false,0})
  1519. Sound(1905343596,1.5,random(.9,1.1,100),Rifle.Tubes,150,7.5)
  1520. Rifle.TubesGlow.Color=rgb(255,65,0)
  1521. Tween(Rifle.TubesGlow,{Color=c3(0,0,0)},{1,Enum.EasingStyle.Circular,Enum.EasingDirection.Out,0,false,0})
  1522. coroutine.wrap(function()
  1523. wait(.1)
  1524. Sound(2781583369,.5,random(5,6.5,100),Rifle.Tubes,65,5)
  1525. end)()
  1526. for i=1,random(3,7) do
  1527. local Time=random(.15,.5,100)
  1528. local Scale=random(.75,1.25,1000)
  1529. local Spark=ModelsRequire[1].PhysicalSpark:Clone()
  1530. Spark.CFrame=Rifle.Tubes.CFrame*cf(Rifle.Tubes.FireEffect.Position)*angles(random(-180,180,10),random(-180,180,10),random(-180,180,10),true)
  1531. Spark.Attachment1.Position=Spark.Attachment1.Position*v3(1,Scale,1)
  1532. Spark.Attachment2.Position=Spark.Attachment2.Position*v3(1,Scale,1)
  1533. Spark.Parent=workspace
  1534. ins("BodyVelocity",{MaxForce=v3(huge,huge,huge),Velocity=Rifle.Tubes.CFrame.RightVector*random(5,40),Parent=Spark})
  1535. ins("BodyAngularVelocity",{MaxTorque=v3(huge,huge,huge),AngularVelocity=v3(random(-20,20),random(-20,20),random(-20,20)),Parent=Spark})
  1536. Tween(Spark.Attachment1,{Position=Spark.Attachment1.Position*v3(1,0,1)},{Time,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0,false,0})
  1537. Tween(Spark.Attachment2,{Position=Spark.Attachment2.Position*v3(1,0,1)},{Time,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0,false,0})
  1538. Instance.Remove(Spark,Time*2.5)
  1539. end
  1540. for i,v in pairs(Rifle.Tubes:GetDescendants()) do
  1541. if v:IsA("ParticleEmitter") then
  1542. if v:FindFirstChild("Amount") then
  1543. v:Emit(clamp(v.Amount.Value+random(-5,5),1,25))
  1544. end
  1545. if v.Name==v.ClassName then
  1546. coroutine.wrap(function()
  1547. v.Enabled=true
  1548. wait(.225)
  1549. v.Enabled=false
  1550. end)()
  1551. end
  1552. end
  1553. end
  1554. CreateBullet()
  1555. local Time=math.random(.25,.5,1000)
  1556. local Blur=Instance.new("BlurEffect",{Parent=game:GetService("Lighting"),Size=math.random(10,15,10)})
  1557. Instance.Remove(Blur,Time)
  1558. Tween(Blur,{Size=0},{Time,Enum.EasingStyle.Cubic,Enum.EasingDirection.Out,0,false,0})
  1559. for i=1,math.random(2,4) do
  1560. Tween(game.Workspace.CurrentCamera,{CFrame=game.Workspace.CurrentCamera.CFrame*CFrame.Angles(.35,0,0,true)*CFrame.Angles(math.random(-1,1,100),math.random(-1,1,100),math.random(-1,1,100),true)},{.03,Enum.EasingStyle.Back,Enum.EasingDirection.InOut,0,true,0})
  1561. game:GetService("RunService").RenderStepped:Wait()
  1562. end
  1563. wait(.025)
  1564. local Time=.2
  1565. Tween(nec,{C0=necC0*cf(0,0,0)*angles(0,85,0,true)*angles(0,0,-40,true)},{Time,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,0})
  1566. Tween(rutj,{C1=rutjC1*(cf(0,0,0)*angles(0,-85,0,true)):Inverse()},{Time,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,0})
  1567. Tween(rs,{C0=rsC0*cf(.1,-.2,-.2)*angles(90,0,0,true)*angles(0,0,-85,true)*angles(10,0,0,true)},{Time,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,0})
  1568. Tween(ls,{C0=lsC0*cf(.7,-.35,.1)*angles(90,0,0,true)*angles(0,0,-45,true)*angles(50,90,0,true)},{Time,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,0})
  1569. Tween(rh,{C1=rhC1*(cf(0,0,0)*angles(0,0,0,true)):Inverse()},{Time,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,0})
  1570. Tween(lh,{C1=lhC1*(cf(0,0,0)*angles(0,0,0,true)):Inverse()},{Time,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,0})
  1571. Tween(RW,{C0=cf(-.1,-ra.Size.Y/2,0)*angles(-10,0,0,true)},{Time,Enum.EasingStyle.Sine,Enum.EasingDirection.InOut,0,false,0})
  1572. wait(Time-.05)
  1573. Using=false
  1574. end
  1575. --// Connections
  1576.  
  1577. Mouse.Button1Up:Connect(function()
  1578. Holding = nil
  1579. end)
  1580. Mouse.Button1Down:Connect(function()
  1581. Fire(true)
  1582. Holding = true
  1583. spawn(function()
  1584. while Holding == true do
  1585. game:GetService("RunService").Heartbeat:wait()
  1586. turnto(Mouse.Hit.Position)
  1587. end
  1588. end)
  1589. repeat
  1590. Fire()
  1591. until not Holding
  1592. end)
  1593.  
  1594.  
  1595. game:GetService("RunService").Heartbeat:Connect(function()
  1596. Sine=Sine+Change
  1597. if not Effects or not Effects.Parent then
  1598. Instance.Remove(Effects)
  1599. Effects=ins("Model",{Name="Effects",Parent=Char})
  1600. end
  1601. if not Theme or Theme.Parent~=t then
  1602. Instance.Remove(Theme)
  1603. Theme=Sound(243924503,not Muted and 1.5 or 0,1,t,250,15,true)
  1604. end
  1605. Theme:Resume()
  1606. Theme.SoundId="rbxassetid://"..243924503
  1607. Theme.Pitch=1
  1608. Theme.Volume=not Muted and 1.5 or 0
  1609. Theme.Looped=true
  1610. Theme.MaxDistance=250
  1611. Theme.EmitterSize=15
  1612. TimePos=Theme.TimePosition
  1613. local Direction=hum.MoveDirection
  1614. if Direction.Magnitude==0 then Direction=hrp.Velocity/7.5 end
  1615. local MoveZ=clamp((Direction*(t or lt).CFrame.LookVector).X+(Direction*(t or lt).CFrame.LookVector).Z,-1,1)
  1616. local MoveX=clamp((Direction*(t or lt).CFrame.RightVector).X+(Direction*(t or lt).CFrame.RightVector).Z,-1,1)
  1617. local Moving=(hrp.Velocity*v3(1,0,1)).Magnitude>.01
  1618. local VerY=hrp.Velocity.Y
  1619. local StandR,RPos,RNID=Raycast(hrp.CFrame*cf(hrp.Size.X/4,-hrp.Size.Y/2,0).Position,-hrp.CFrame.UpVector,{char},3,false)
  1620. local StandL,LPos,LNID=Raycast(hrp.CFrame*cf(-hrp.Size.X/4,-hrp.Size.Y/2,0).Position,-hrp.CFrame.UpVector,{char},3,false)
  1621. local Stand=StandR or StandL
  1622. hum.WalkSpeed,hum.JumpPower=(LockWS and WS or hum.WalkSpeed),(LockJP and JP or hum.JumpPower)
  1623. if not Moving and Stand then
  1624. Change=1
  1625. local IdleVal=20
  1626. nec.C0=nec.C0:Lerp(necC0*cf(0,0,0)*angles(sin(Sine/IdleVal)*2,CosSin(Sine/(IdleVal*3))*7.5,0,true)*cf(0,0,0)*angles(-2,0,0,true),.1)
  1627. rutj.C0=rutj.C0:Lerp(rutjC0*cf(0,.05*cos(Sine/IdleVal),0)*angles(CosSin(Sine/(IdleVal*1.5))*2.5,cos(Sine/(IdleVal*2))*2.5,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1628. rs.C0=rs.C0:Lerp(rsC0*cf(0,-.05*cos(Sine/IdleVal),0)*angles(sin(Sine/IdleVal)*-3,0,0,true)*cf(0,-.15,-.1)*angles(40,0,-60,true)*angles(-20,50,25,true),.1)
  1629. ls.C0=ls.C0:Lerp(lsC0*cf(0,-.05*cos(Sine/IdleVal),0)*angles(sin(Sine/IdleVal)*-3,0,0,true)*cf(-.15,-.1,-.5)*angles(60,0,15,true)*angles(0,100,0,true),.1)
  1630. rh.C0=rh.C0:Lerp(rhC0*cf(0,-.05*cos(Sine/IdleVal),0)*angles(CosSin(Sine/(IdleVal*1.5))*-3.65,0,0,true)*angles(cos(Sine/(IdleVal*2))*-2,0,0,true)*cf(0,0,0)*angles(0,-5,2.5,true),.1)
  1631. lh.C0=lh.C0:Lerp(lhC0*cf(0,-.05*cos(Sine/IdleVal),0)*angles(CosSin(Sine/(IdleVal*1.5))*-3.65,0,0,true)*angles(cos(Sine/(IdleVal*2))*2,0,0,true)*cf(0,0,0)*angles(0,5,-2.5,true),.1)
  1632. RW.C0=RW.C0:Lerp(cf(-.1,-ra.Size.Y/2,0)*angles(5,0,-10,true),.1)
  1633. elseif Moving and Stand then
  1634. local WSVal=6/clamp(hum.WalkSpeed/16,.25,2)*hrp.Size.Y/2
  1635. Change=1
  1636. nec.C0=nec.C0:Lerp(necC0*cf(0,0,0)*angles(cos(Sine/(WSVal/2))*-5,CosSin(Sine/WSVal)*-10,0,true)*cf(0,0,0)*angles(2.5*MoveZ,-55*MoveX,0,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1637. rutj.C0=rutj.C0:Lerp(rutjC0*cf(0,.65*cos(Sine/(WSVal/2)),0)*angles(sin(Sine/(WSVal/2))*5,CosSin(Sine/WSVal)*10,0,true)*cf(0,0,0)*angles(-5*MoveZ,0,-5*MoveX,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1638. rs.C0=rs.C0:Lerp(rsC0*cf(0,.2*sin(Sine/(WSVal/2)),0)*angles(CosSin(Sine/(WSVal/2))*5,0,0,true)*cf(0,-.15,-.1)*angles(40,0,-60,true)*angles(-20,50,25,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1639. ls.C0=ls.C0:Lerp(lsC0*cf(0,.2*sin(Sine/(WSVal/2)),0)*angles(CosSin(Sine/(WSVal/2))*5,0,0,true)*cf(-.15,-.1,-.5)*angles(60,0,15,true)*angles(0,100,0,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1640. rh.C0=rh.C0:Lerp(rhC0*cf(0,-.5*cos(Sine/WSVal),-.15+.6*cos(Sine/WSVal))*angles(-(10*abs(MoveZ))+CosSin(Sine/WSVal)*-140*MoveZ,0,CosSin(Sine/WSVal)*-100*MoveX,true)*cf(0,0,0)*angles(0,0,0,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1641. lh.C0=lh.C0:Lerp(lhC0*cf(0,.5*cos(Sine/WSVal),-.15-.6*cos(Sine/WSVal))*angles(-(10*abs(MoveZ))+CosSin(Sine/WSVal)*140*MoveZ,0,CosSin(Sine/WSVal)*100*MoveX,true)*cf(0,0,0)*angles(0,0,0,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1642. RW.C0=RW.C0:Lerp(cf(-.1,-ra.Size.Y/2,0)*angles(5,0,-15,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1643. --thanks to kyu or neb.. whatever
  1644. if cos(Sine/WSVal)/2>.2 and Step=="L" then
  1645. Step="R"
  1646. if StandR then
  1647. local SoundId=StepSounds[StandR.Material.Name] or 0
  1648. if StandR.Material=="Sand" and (StandR.Color.r>.7 and StandR.Color.g>.7 and StandR.Color.b>.7) then
  1649. SoundId=StepSounds["Snow"]
  1650. end
  1651. local SizeVal=StandR.Size*RNID
  1652. if SoundId==941640049 then
  1653. SizeVal=SizeVal/2
  1654. end
  1655. Sound(SoundId,(.35*clamp((WSVal)/1.5,.5,3.5))/clamp(math.max(SizeVal.X,SizeVal.Y,SizeVal.Z),.5,1.25),random(.9,1.1,100)*clamp(math.max(SizeVal.X,SizeVal.Y,SizeVal.Z)/10,.5,1.2)*clamp((WSVal)/1.5,.5,2),t)
  1656. end
  1657. end
  1658. if cos(Sine/WSVal)/2<-.2 and Step=="R" then
  1659. Step="L"
  1660. if StandL then
  1661. local SoundId=StepSounds[StandL.Material.Name] or 0
  1662. if StandL.Material==Enum.Material.Sand and (StandL.Color.r>.7 and StandL.Color.g>.7 and StandL.Color.b>.7) then
  1663. SoundId=StepSounds["Snow"]
  1664. end
  1665. local SizeVal=StandL.Size*LNID
  1666. if SoundId==941640049 then
  1667. SizeVal=SizeVal/2
  1668. end
  1669. Sound(SoundId,(.35*clamp((WSVal)/1.5,.5,3.5))/clamp(math.max(SizeVal.X,SizeVal.Y,SizeVal.Z),.5,1.25),random(.9,1.1,100)*clamp(math.max(SizeVal.X,SizeVal.Y,SizeVal.Z)/10,.5,1.2)*clamp((WSVal)/1.5,.5,2),t)
  1670. end
  1671. end
  1672. --[[
  1673. nec.C0=nec.C0:Lerp(necC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1674. rutj.C0=rutj.C0:Lerp(rutjC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1675. rs.C0=rs.C0:Lerp(rsC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1676. ls.C0=ls.C0:Lerp(lsC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1677. rh.C0=rh.C0:Lerp(rhC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1678. lh.C0=lh.C0:Lerp(lhC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1679.  
  1680. nec.C0=nec.C0:Lerp(necC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1681. rutj.C0=rutj.C0:Lerp(rutjC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1682. rs.C0=rs.C0:Lerp(rsC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1683. ls.C0=ls.C0:Lerp(lsC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1684. rh.C0=rh.C0:Lerp(rhC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1685. lh.C0=lh.C0:Lerp(lhC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.2/(t.Size.Y/2)*(hum.WalkSpeed/16)/3)
  1686.  
  1687. - -
  1688.  
  1689. Joints.Neck.C0=Joints.Neck.C0:Lerp(Joints.Neck.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1690. Joints.Root.C0=Joints.Root.C0:Lerp(Joints.Root.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1691. Joints.Waist.C0=Joints.Waist.C0:Lerp(Joints.Waist.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1692. Joints.RightShoulder.C0=Joints.RightShoulder.C0:Lerp(Joints.RightShoulder.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1693. Joints.RightElbow.C0=Joints.RightElbow.C0:Lerp(Joints.RightElbow.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1694. Joints.RightWrist.C0=Joints.RightWrist.C0:Lerp(Joints.RightWrist.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1695. Joints.LeftShoulder.C0=Joints.LeftShoulder.C0:Lerp(Joints.LeftShoulder.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1696. Joints.LeftElbow.C0=Joints.LeftElbow.C0:Lerp(Joints.LeftElbow.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1697. Joints.LeftWrist.C0=Joints.LeftWrist.C0:Lerp(Joints.LeftWrist.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1698. Joints.RightHip.C0=Joints.RightHip.C0:Lerp(Joints.RightHip.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1699. Joints.RightKnee.C0=Joints.RightKnee.C0:Lerp(Joints.RightKnee.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1700. Joints.RightAnkle.C0=Joints.RightAnkle.C0:Lerp(Joints.RightAnkle.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1701. Joints.LeftHip.C0=Joints.LeftHip.C0:Lerp(Joints.LeftHip.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1702. Joints.LeftKnee.C0=Joints.LeftKnee.C0:Lerp(Joints.LeftKnee.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1703. Joints.LeftAnkle.C0=Joints.LeftAnkle.C0:Lerp(Joints.LeftAnkle.Link.C0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(0,0,0,true),.1)
  1704. --]]
  1705. elseif not Stand then
  1706. Change=1
  1707. nec.C0=nec.C0:Lerp(necC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(clamp(hrp.Velocity.Y,-15,15),0,0,true),.1)
  1708. rutj.C0=rutj.C0:Lerp(rutjC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,0,0)*angles(clamp(hrp.Velocity.Y,-30,20),0,0,true),.1)
  1709. rs.C0=rs.C0:Lerp(rsC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,-.15,-.1)*angles(40,0,-60,true)*angles(-20,50,25,true),.1)
  1710. ls.C0=ls.C0:Lerp(lsC0*cf(0,0,0)*angles(0,0,0,true)*cf(-.15,-.1,-.5)*angles(60,0,15,true)*angles(0,100,0,true),.1)
  1711. rh.C0=rh.C0:Lerp(rhC0*cf(0,0,0)*angles(0,0,0,true)*cf(0,.4,-.35)*angles(-10,-5,5,true),.1)
  1712. lh.C0=lh.C0:Lerp(lhC0*cf(0,0,0)*angles(clamp(-hrp.Velocity.Y,-25,35),0,0,true)*cf(0,.2,-.15)*angles(-2.5,5,-5,true),.1)
  1713. RW.C0=RW.C0:Lerp(cf(-.1,-ra.Size.Y/2,0)*angles(5,0,-10,true),.1)
  1714. end
  1715. if Type=="R6" then
  1716. if not Using then
  1717. nec.C1=nec.C1:Lerp(necC1,.2)
  1718. rutj.C1=rutj.C1:Lerp(rutjC1,.2)
  1719. rs.C1=rs.C1:Lerp(rsC1,.2)
  1720. ls.C1=ls.C1:Lerp(lsC1,.2)
  1721. rh.C1=rh.C1:Lerp(rhC1,.2)
  1722. lh.C1=lh.C1:Lerp(lhC1,.2)
  1723. end
  1724. necC0,necC1=cf(0,t.Size.Y/2,0),cf(0,-h.Size.Y/2,0)
  1725. rutjC0,rutjC1=cf(0,0,0),cf(0,0,0)
  1726. rsC0,rsC1=cf(t.Size.X/2,t.Size.Y/4,0),cf(-ra.Size.X/2,ra.Size.Y/4,0)
  1727. lsC0,lsC1=cf(-t.Size.X/2,t.Size.Y/4,0),cf(la.Size.X/2,la.Size.Y/4,0)
  1728. rhC0,rhC1=cf(t.Size.X/4,-t.Size.Y/2,0),cf(0,rl.Size.Y/2,0)
  1729. lhC0,lhC1=cf(-t.Size.X/4,-t.Size.Y/2,0),cf(0,ll.Size.Y/2,0)
  1730. end
  1731. if Using == false then
  1732. HumanRoot.Position = CloneChar.Torso.Position
  1733. bambam.Location = CloneChar.Torso.Position
  1734. end
  1735. end)
Advertisement
Add Comment
Please, Sign In to add comment