Advertisement
Guest User

Untitled

a guest
Oct 8th, 2023
675
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.09 KB | None | 0 0
  1. -- [[ Name: Goner by Shackluster ]] --
  2. -- [[ Converted: By Melon ]] --
  3. -- [[ Reanimate: By Emper ]] --
  4. -- [[ Description: nothing to put ]] --
  5.  
  6. -- [[ Hats ]] --
  7.  
  8. -- [[ Free ]] --
  9. -- [[ www.roblox.com/catalog/4819740796/Robox ]] --
  10. -- [[ www.roblox.com/catalog/3409612660/International-Fedora-USA ]] --
  11. -- [[ www.roblox.com/catalog/3398308134/International-Fedora-Canada ]] --
  12. -- [[ www.roblox.com/catalog/3033908130/International-Fedora-France ]] --
  13. -- [[ www.roblox.com/catalog/3033910400/International-Fedora-Germany ]] --
  14.  
  15. -- [[ Paid (1) ]] --
  16. -- [[ www.roblox.com/catalog/14255528083/Torso-Extension ]] --
  17. -- [[ www.roblox.com/catalog/14255556501/Extra-Right-White-Arm ]] --
  18. -- [[ www.roblox.com/catalog/14255554762/Extra-Left-White-Arm ]] --
  19. -- [[ www.roblox.com/catalog/14768693948/White-Extended-Right-Arm ]] --
  20. -- [[ www.roblox.com/catalog/14768701869/White-Extended-Left-Arm ]] --
  21.  
  22. -- [[ Paid (2) ]] --
  23. -- [[ www.roblox.com/catalog/14255528083/Torso-Extension ]] --
  24. -- [[ www.roblox.com/catalog/11159410305/Rectangle-Head-For-Headless ]] --
  25. -- [[ www.roblox.com/catalog/11263254795/Dummy-Head-For-Headless ]] --
  26. -- [[ www.roblox.com/catalog/12344545199/Extra-Left-hand-moving-Blocky-white ]] --
  27. -- [[ www.roblox.com/catalog/12344591101/Extra-Right-hand-moving-Blocky-white ]] --
  28.  
  29. -- [[ Swords ]] --
  30. -- [[ www.roblox.com/catalog/12798859142/funny-purple-sword-on-back-that-is-purple-ok ]] --
  31. -- [[ www.roblox.com/catalog/5890467216/Shadow-Lord-Sword ]] --
  32. -- [[ www.roblox.com/catalog/5555611932/Fireaxe ]] --
  33. -- [[ www.roblox.com/catalog/4506945409/Corrupt-Demonic-Greatsword ]] --
  34. -- [[ www.roblox.com/catalog/8131073156/Scythe-of-Retribution ]] --
  35. -- [[ * FREE * www.roblox.com/catalog/10775031176/The-Pogo ]] --
  36. -- [[ * FREE * www.roblox.com/catalog/5552252553/Kinetic-Staff ]] --
  37. -- [[ * FREE * www.roblox.com/catalog/7548993875/Slasher ]] --
  38. -- [[ The list above is the supported hats. ]] --
  39.  
  40. game:GetService("StarterGui"):SetCore("SendNotification", {
  41. Title = "Melon's (FE) Converts/Scripts";
  42. Text = "Thanks for using!";
  43. Icon = "rbxthumb://type=Asset&id=11561641603&w=150&h=150"})
  44. Duration = 3;
  45.  
  46. if not game:IsLoaded() then
  47. game.Loaded:Wait()
  48. end
  49.  
  50. local function FindInstance(Parent, ClassName, Name)
  51. for _, Instance in pairs(Parent:GetChildren()) do
  52. if Instance:IsA(ClassName) and Instance.Name == Name then
  53. return Instance
  54. end
  55. end
  56. end
  57.  
  58. local function WaitForClass(Parent, ClassName)
  59. local Instance = Parent:FindFirstChildOfClass(ClassName)
  60.  
  61. while not Instance and Parent do
  62. Parent.ChildAdded:Wait()
  63. Instance = Parent:FindFirstChildOfClass(ClassName)
  64. end
  65.  
  66. return Instance
  67. end
  68.  
  69. local function WaitForClassOfName(Parent, ...)
  70. local Instance = FindInstance(Parent, ...)
  71.  
  72. while not Instance and Parent do
  73. Parent.ChildAdded:Wait()
  74. Instance = FindInstance(Parent, ...)
  75. end
  76.  
  77. return Instance
  78. end
  79.  
  80. local Fling = { }
  81. local Aligns = { }
  82. local Blacklist = { }
  83. local Accessories = { }
  84. local Attachments = { }
  85.  
  86. local Instancenew = Instance.new
  87.  
  88. local taskwait = task.wait
  89. local taskspawn = task.spawn
  90. local taskdefer = task.defer
  91.  
  92. local mathabs = math.abs
  93. local mathcos = math.cos
  94. local mathrandom = math.random
  95.  
  96. local stringmatch = string.match
  97.  
  98. local osclock = os.clock
  99.  
  100. local tableinsert = table.insert
  101. local tableclear = table.clear
  102. local tablefind = table.find
  103.  
  104. local CFramenew = CFrame.new
  105. local CFrameAngles = CFrame.Angles
  106. local CFrameidentity = CFrame.identity
  107.  
  108. local Vector3new = Vector3.new
  109. local Vector3zero = Vector3.zero
  110.  
  111. local Sleep = CFrameidentity
  112. local Velocity = Vector3new(0, 16384, 0)
  113. local Angular = 0
  114. local Linear = 0
  115.  
  116. local Workspace = game:FindFirstChildOfClass("Workspace")
  117. local CurrentCamera = Workspace.CurrentCamera
  118.  
  119. local Players = game:FindFirstChildOfClass("Players")
  120.  
  121. local LocalPlayer = Players.LocalPlayer
  122. local Mouse = LocalPlayer:GetMouse()
  123.  
  124. local PostSimulation = game:FindFirstChildOfClass("RunService").PostSimulation
  125.  
  126. local Character = LocalPlayer.Character
  127. local CharacterClone = Instancenew("Model")
  128.  
  129. local StarterGui = game:FindFirstChildOfClass("StarterGui")
  130. local BindableEvent = Instancenew("BindableEvent")
  131.  
  132. local UserInputService = game:FindFirstChildOfClass("UserInputService")
  133. local UserInputType = Enum.UserInputType
  134.  
  135. local MouseButton1 = UserInputType.MouseButton1
  136. local Touch = UserInputType.Touch
  137.  
  138. local InputBegan = UserInputService.InputBegan:Connect(function(Input, GameProcessed)
  139. local Type = Input.UserInputType
  140.  
  141. if not GameProcessed and ( Type == MouseButton1 or Type == Touch ) then
  142. local Target = Mouse.Target
  143. if Target and not Target.Anchored and not Target:IsDescendantOf(CharacterClone) and not Target:IsDescendantOf(Character) and not tablefind(Fling, Target) then
  144. local Parent = Target.Parent
  145.  
  146. if Parent:IsA("Model") and Parent ~= Character and Parent:FindFirstChildOfClass("Humanoid") then
  147. local HumanoidRootPart = FindInstance(Parent, "BasePart", "HumanoidRootPart") or FindInstance(Parent, "BasePart", "Torso") or FindInstance(Parent, "BasePart", "Head")
  148.  
  149. if HumanoidRootPart and not tablefind(Fling, HumanoidRootPart) then
  150. tableinsert(Fling, HumanoidRootPart)
  151. return
  152. end
  153. end
  154.  
  155. tableinsert(Fling, Target)
  156. end
  157. end
  158. end)
  159.  
  160. local function Part(Name, Size)
  161. local Part = Instancenew("Part")
  162. Part.Name = Name
  163. Part.Size = Size
  164. Part.Transparency = 1
  165. Part.Parent = CharacterClone
  166.  
  167. return Part
  168. end
  169.  
  170. local function Motor6D(Name, Part0, Part1, C0, C1)
  171. local Motor6D = Instancenew("Motor6D")
  172. Motor6D.Name = Name
  173. Motor6D.Part0 = Part0
  174. Motor6D.Part1 = Part1
  175. Motor6D.C0 = C0
  176. Motor6D.C1 = C1
  177. Motor6D.Parent = Part0
  178.  
  179. return Motor6D
  180. end
  181.  
  182. local function Attachment(Name, CFrame, Parent)
  183. local Attachment = Instancenew("Attachment")
  184. Attachment.Name = Name
  185. Attachment.CFrame = CFrame
  186. Attachment.Parent = Parent
  187.  
  188. tableinsert(Attachments, Attachment)
  189. return Attachment
  190. end
  191.  
  192. local LimbSize = Vector3new(1, 2, 1)
  193. local TorsoSize = Vector3new(2, 2, 1)
  194.  
  195. local Head = Part("Head", Vector3new(2, 1, 1))
  196. local Torso = Part("Torso", TorsoSize)
  197. local LeftArm = Part("Left Arm", LimbSize)
  198. local RightArm = Part("Right Arm", LimbSize)
  199. local LeftLeg = Part("Left Leg", LimbSize)
  200. local RightLeg = Part("Right Leg", LimbSize)
  201. local HumanoidRootPart = Part("HumanoidRootPart", TorsoSize)
  202.  
  203. local FakeRA = Instance.new("Part")
  204. FakeRA.Size = Vector3.new(1,2,1)
  205. FakeRA.Transparency = 1
  206. FakeRA.BrickColor = BrickColor.new("Institutional White")
  207. FakeRA.Parent = RightArm
  208.  
  209. local FRAW = Instance.new("Weld")
  210. FRAW.Part0 = RightArm
  211. FRAW.Part1 = FakeRA
  212. FRAW.C0 = CFrame.new(0, 0, 0)
  213. FRAW.Parent = RightArm
  214.  
  215. local FakeLA = Instance.new("Part")
  216. FakeLA.Size = Vector3.new(1,2,1)
  217. FakeLA.Transparency = 1
  218. FakeLA.BrickColor = BrickColor.new("Institutional White")
  219. FakeLA.Parent = LeftArm
  220.  
  221. local FLAW = Instance.new("Weld")
  222. FLAW.Part0 = LeftArm
  223. FLAW.Part1 = FakeLA
  224. FLAW.C0 = CFrame.new(0, 0, 0)
  225. FLAW.Parent = LeftArm
  226.  
  227. local Part = nil
  228.  
  229. if Character then
  230. Part = FindInstance(Character, "BasePart", "HumanoidRootPart") or FindInstance(Character, "BasePart", "Head") or FindInstance(Character, "BasePart", "Torso") or FindInstance(Character, "BasePart", "UpperTorso")
  231. end
  232.  
  233. if Part then
  234. HumanoidRootPart.CFrame = Part.CFrame
  235. else
  236. local SpawnLocations = { }
  237.  
  238. for _, SpawnLocation in pairs(Workspace:GetDescendants()) do
  239. if SpawnLocation:IsA("SpawnLocation") then
  240. tableinsert(SpawnLocations, SpawnLocation)
  241. end
  242. end
  243.  
  244. local Amount = # SpawnLocations
  245.  
  246. if Amount > 0 then
  247. local SpawnLocation = SpawnLocations[mathrandom(1, Amount)]
  248. HumanoidRootPart.CFrame = SpawnLocation.CFrame * CFramenew(0, SpawnLocation.Size.Y / 2 + 3, 0)
  249. else
  250. HumanoidRootPart.CFrame = CFrameidentity
  251. end
  252. end
  253.  
  254. local face = Instancenew("Decal")
  255. face.Name = "face"
  256. face.Parent = Head
  257.  
  258. local AccessoryTable = {
  259. -- Paid --
  260. { Mesh = "14241018198", Texture = "14251599953", Instance = Torso },
  261. { Mesh = "14255522247", Texture = "14255543546", Instance = RightArm, CFrame = CFrameAngles(0, 1.57, 1.57) },
  262. { Mesh = "14255522247", Texture = "14255543546", Instance = LeftArm, CFrame = CFrameAngles(0, - 1.57, 1.57) },
  263. { Mesh = "14768684979", Texture = "14768683674", Instance = RightLeg, CFrame = CFrameAngles(0, - 1.57, 1.57) },
  264. { Mesh = "14768684979", Texture = "14768683674", Instance = LeftLeg, CFrame = CFrameAngles(0, 1.57, 1.57) },
  265.  
  266. -- Paid (2) --
  267. { Mesh = "14241018198", Texture = "14251599953", Instance = Torso },
  268. { Mesh = "12344206657", Texture = "12344206675", Instance = RightArm, CFrame = CFrameAngles(-115, 0, 0) },
  269. { Mesh = "12344207333", Texture = "12344207341", Instance = LeftArm, CFrame = CFrameAngles(-115, 0, 0) },
  270. { Mesh = "11159370334", Texture = "11159284657", Instance = RightLeg, CFrame = CFrameAngles(0, - 1.57, 1.57) },
  271. { Mesh = "11263221350", Texture = "11263219250", Instance = LeftLeg, CFrame = CFrameAngles(0, 1.57, 1.57) },
  272.  
  273. -- Free --
  274. { Mesh = "4819720316", Texture = "4819722776", Instance = Torso, CFrame = CFrameAngles(0, 0, 105) },
  275. { Mesh = "3030546036", Texture = "3033903209", Instance = RightArm, CFrame = CFrameAngles(-90, 0, -89.5) },
  276. { Mesh = "3030546036", Texture = "3360978739", Instance = LeftArm, CFrame = CFrameAngles(-90, 0, 89.5) },
  277. { Mesh = "3030546036", Texture = "3409604993", Instance = RightLeg, CFrame = CFrameAngles(-90, 0, -89.5) },
  278. { Mesh = "3030546036", Texture = "3033898741", Instance = LeftLeg, CFrame = CFrameAngles(-90, 0, 89.5) },
  279.  
  280. -- Shadow Lord --
  281. { Mesh = "5890419577", Texture = "5890391196", Instance = FakeRA, CFrame = CFramenew(0,-1,-2.65) * CFrameAngles(2.30, 0, 0)},
  282. -- Fire Axe --
  283. { Mesh = "5555532600", Texture = "5555532634", Instance = FakeRA, CFrame = CFramenew(0,-0.85,-1) * CFrameAngles(-1.55, 3.15, 0)},
  284. -- Neptunian Sword --
  285. { Mesh = "12798770968", Texture = "12798770990", Instance = FakeRA, CFrame = CFramenew(0,-1,-2.35) * CFrameAngles(-3.25, 3.15, 0)},
  286. -- Scythe of Retribution --
  287. { Mesh = "8129761285", Texture = "8130936356", Instance = FakeRA, CFrame = CFramenew(0,-0.85,-2.75) * CFrameAngles(-0.80, 3.15, 0)},
  288. -- Demonic Greatsword --
  289. { Mesh = "4315410540", Texture = "4506940486", Instance = FakeRA, CFrame = CFramenew(0,-0.90,-2.65) * CFrameAngles(0,1.55,2.32)},
  290. -- Pogo Stick --
  291. { Mesh = "10775011914", Texture = "10774853167", Instance = FakeRA, CFrame = CFramenew(0,-0.95,-1.25) * CFrameAngles(0,1.65,2.25)},
  292. -- Crystal Staff --
  293. { Mesh = "5548423017", Texture = "5548423938", Instance = FakeRA, CFrame = CFramenew(0,-1.55,-1) * CFrameAngles(0,1.63,-1)},
  294. -- Slasher --
  295. { Mesh = "7547179386", Texture = "7547152243", Instance = FakeRA, CFrame = CFramenew(0,-0.55,-1.45) * CFrameAngles(1.25, 1.65, 1)},
  296.  
  297. }
  298.  
  299. for _, Table in pairs(AccessoryTable) do
  300. if type(Table.Mesh) ~= "string" then
  301. Table.Mesh = ""
  302. end
  303. if type(Table.Texture) ~= "string" then
  304. Table.Texture = ""
  305. end
  306. end
  307.  
  308. Motor6D("Right Shoulder", Torso, RightArm, CFramenew(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
  309. Motor6D("Left Shoulder", Torso, LeftArm, CFramenew(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
  310. Motor6D("Right Hip", Torso, RightLeg, CFramenew(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
  311. Motor6D("Left Hip", Torso, LeftLeg, CFramenew(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
  312. Motor6D("Neck", Torso, Head, CFramenew(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
  313. Motor6D("RootJoint", HumanoidRootPart, Torso, CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
  314.  
  315. Attachment("HairAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  316. Attachment("HatAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  317. Attachment("FaceFrontAttachment", CFramenew(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  318. Attachment("FaceCenterAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
  319. Attachment("NeckAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  320. Attachment("BodyFrontAttachment", CFramenew(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  321. Attachment("BodyBackAttachment", CFramenew(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  322. Attachment("LeftCollarAttachment", CFramenew(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  323. Attachment("RightCollarAttachment", CFramenew(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  324. Attachment("WaistFrontAttachment", CFramenew(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  325. Attachment("WaistCenterAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  326. Attachment("WaistBackAttachment", CFramenew(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
  327. Attachment("LeftShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm)
  328. Attachment("LeftGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm)
  329. Attachment("RightShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm)
  330. Attachment("RightGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm)
  331. Attachment("LeftFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftLeg)
  332. Attachment("RightFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightLeg)
  333. Attachment("RootAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), HumanoidRootPart)
  334.  
  335. local Humanoid = Instancenew("Humanoid", CharacterClone)
  336. Instancenew("Animator", Humanoid)
  337.  
  338. Instancenew("LocalScript", CharacterClone).Name = "Animate"
  339.  
  340. CharacterClone.PrimaryPart = Head
  341. CharacterClone.Parent = Workspace
  342.  
  343. local function DescendantAdded(Instance)
  344. if Instance:IsA("Accessory") then
  345. taskspawn(function()
  346. local Handle = WaitForClassOfName(Instance, "BasePart", "Handle")
  347. local Attachment = WaitForClass(Handle, "Attachment")
  348.  
  349. local Clone = Instance:Clone()
  350.  
  351. local CloneHandle = FindInstance(Clone, "BasePart", "Handle")
  352. CloneHandle.Transparency = 1
  353. CloneHandle:BreakJoints()
  354.  
  355. local AccessoryWeld = Instancenew("Weld")
  356. AccessoryWeld.Name = "AccessoryWeld"
  357. AccessoryWeld.Part0 = CloneHandle
  358. AccessoryWeld.C0 = Attachment.CFrame
  359.  
  360. local Name = Attachment.Name
  361.  
  362. for _, TableAttachment in pairs(Attachments) do
  363. if TableAttachment.Name == Name then
  364. AccessoryWeld.Part1 = TableAttachment.Parent
  365. AccessoryWeld.C1 = TableAttachment.CFrame
  366. end
  367. end
  368.  
  369. AccessoryWeld.Parent = CloneHandle
  370. Clone.Parent = CharacterClone
  371.  
  372. tableinsert(Accessories, Clone)
  373.  
  374. local IsAMeshPart = CloneHandle:IsA("MeshPart")
  375. local Mesh = IsAMeshPart and CloneHandle or WaitForClass(CloneHandle, "SpecialMesh")
  376. local Id = IsAMeshPart and "TextureID" or "TextureId"
  377.  
  378. for _, Table in pairs(AccessoryTable) do
  379. local Instance = Table.Instance
  380.  
  381. if Instance then
  382. if stringmatch(Mesh.MeshId, Table.Mesh) and stringmatch(Mesh[Id], Table.Texture) and not tablefind(Blacklist, Instance) then
  383. tableinsert(Blacklist, Instance)
  384. tableinsert(Aligns, { Handle, Instance, Table.CFrame or CFrameidentity })
  385. return
  386. end
  387. end
  388. end
  389.  
  390. tableinsert(Aligns, { Handle, CloneHandle, CFrameidentity })
  391. end)
  392. elseif Instance:IsA("JointInstance") then
  393. taskspawn(function()
  394. taskwait()
  395. Instance:Destroy()
  396. end)
  397. end
  398. end
  399.  
  400. local function CharacterAdded(Character)
  401. if Character ~= CharacterClone then
  402. PostSimulation:Wait()
  403.  
  404. local Backpack = LocalPlayer:FindFirstChildOfClass("Backpack")
  405.  
  406. if Backpack then
  407. Backpack:ClearAllChildren()
  408. end
  409.  
  410. tableclear(Aligns)
  411. tableclear(Blacklist)
  412.  
  413. for _, Accessory in pairs(Accessories) do
  414. Accessory:Destroy()
  415. end
  416.  
  417. local CurrentCameraCFrame = CurrentCamera.CFrame
  418.  
  419. LocalPlayer.Character = CharacterClone
  420. CurrentCamera.CameraSubject = CharacterClone.Head
  421.  
  422. taskspawn(function()
  423. CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
  424. CurrentCamera.CFrame = CurrentCameraCFrame
  425. end)
  426.  
  427. local CharacterHumanoidRootPart = WaitForClassOfName(Character, "BasePart", "HumanoidRootPart")
  428.  
  429. for Index, Value in pairs(Fling) do
  430. local BasePart = nil
  431.  
  432. if typeof(Value) == "Instance" then
  433. if Value:IsA("BasePart") then
  434. BasePart = Value
  435. elseif Value:IsA("Humanoid") then
  436. local Model = Value.Parent
  437.  
  438. if Model ~= Character and Model:IsA("Model") then
  439. BasePart = FindInstance(Model, "BasePart", "HumanoidRootPart") or FindInstance(Model, "BasePart", "Head") or Model:FindFirstChildOfClass("BasePart")
  440. end
  441. elseif Value:IsA("Model") and Value ~= Character then
  442. BasePart = FindInstance(Value, "BasePart", "HumanoidRootPart") or FindInstance(Value, "BasePart", "Head") or Value:FindFirstChildOfClass("BasePart")
  443. end
  444. end
  445.  
  446. if BasePart then
  447. local clock = osclock()
  448.  
  449. while CharacterHumanoidRootPart and BasePart and osclock() - clock <= 1 and BasePart.AssemblyLinearVelocity.Magnitude <= 60 do
  450. CharacterHumanoidRootPart.AssemblyAngularVelocity = Velocity
  451. CharacterHumanoidRootPart.AssemblyLinearVelocity = Velocity
  452.  
  453. CharacterHumanoidRootPart.CFrame = BasePart.CFrame + Vector3new(0, - 1, 0)
  454. PostSimulation:Wait()
  455. end
  456. end
  457. end
  458.  
  459. tableclear(Fling)
  460.  
  461. if CharacterHumanoidRootPart then
  462. CharacterHumanoidRootPart.AssemblyAngularVelocity = Vector3zero
  463. CharacterHumanoidRootPart.AssemblyLinearVelocity = Vector3zero
  464.  
  465. CharacterHumanoidRootPart.CFrame = CFramenew(HumanoidRootPart.Position + Vector3new(mathrandom(- 32, 32), 0, mathrandom(- 32, 32)))
  466. PostSimulation:Wait()
  467. end
  468.  
  469. Character:BreakJoints()
  470.  
  471. for _, Instance in pairs(Character:GetDescendants()) do
  472. DescendantAdded(Instance)
  473. end
  474.  
  475. Character.DescendantAdded:Connect(DescendantAdded)
  476. end
  477. end
  478.  
  479. local function Align(Part0, Part1, CFrame)
  480. if Part0.ReceiveAge == 0 and not Part0.Anchored and # Part0:GetJoints() == 0 then
  481. Part0.AssemblyAngularVelocity = Vector3new(0, Angular, 0)
  482.  
  483. local Part1CFrame = Part1.CFrame
  484. local LinearVelocity = Part1.AssemblyLinearVelocity * Linear
  485. local Magnitude = LinearVelocity.Magnitude < Linear
  486.  
  487. if Magnitude then
  488. local LookVector = Part1CFrame.LookVector * Linear
  489. Part0.AssemblyLinearVelocity = Vector3new(LookVector.X, Linear, LookVector.Z)
  490. else
  491. Part0.AssemblyLinearVelocity = Vector3new(LinearVelocity.X, Linear, LinearVelocity.Z)
  492. end
  493.  
  494. Part0.CFrame = Part1CFrame * ( Magnitude and Sleep or CFrameidentity ) * CFrame
  495. end
  496. end
  497.  
  498. if Character then
  499. CharacterAdded(Character)
  500. end
  501.  
  502. local Added = LocalPlayer.CharacterAdded:Connect(CharacterAdded)
  503.  
  504. local Connection = game:FindFirstChildOfClass("RunService").PostSimulation:Connect(function()
  505. local osclock = osclock()
  506. local Axis = 0.004 * mathcos(osclock * 17.5)
  507.  
  508. Sleep = CFramenew(0, Axis, 0)
  509. Angular = mathcos(osclock)
  510. Linear = 26
  511.  
  512. for _, Table in pairs(Aligns) do
  513. Align(Table[1], Table[2], Table[3])
  514. end
  515.  
  516. if sethiddenproperty then
  517. sethiddenproperty(LocalPlayer, "SimulationRadius", 10000000)
  518. end
  519.  
  520. StarterGui:SetCore("ResetButtonCallback", BindableEvent) -- This is if it gets overriden, just like in MyWorld testing place.
  521. end)
  522.  
  523. local function Event()
  524. CharacterClone:Destroy()
  525. end
  526.  
  527. BindableEvent.Event:Connect(Event)
  528.  
  529. CharacterClone:GetPropertyChangedSignal("Parent"):Connect(function()
  530. if not CharacterClone.Parent then
  531. Added:Disconnect()
  532. Connection:Disconnect()
  533.  
  534. CharacterClone:Destroy()
  535.  
  536. if BindableEvent then
  537. BindableEvent:Destroy()
  538. end
  539.  
  540. StarterGui:SetCore("ResetButtonCallback", true)
  541. end
  542. end)
  543.  
  544. BindableEvent:GetPropertyChangedSignal("Parent"):Connect(Event)
  545.  
  546. game:GetService("StarterGui"):SetCore("SendNotification", {
  547. Title = "Melon's (FE) Converts/Scripts";
  548. Text = "Loaded successfully!";
  549. Icon = "rbxthumb://type=Asset&id=11561641603&w=150&h=150"})
  550. Duration = 3;
  551.  
  552.  
  553.  
  554. Player = game.Players.LocalPlayer
  555. Character = Player.Character
  556. RightArm = Character["Right Arm"]
  557.  
  558.  
  559. local script = game:GetObjects("rbxassetid://10561777706")[1]
  560. local MODULE = script
  561. local PLAYER = game:GetService("Players").LocalPlayer
  562. local CHARACTER = Character
  563. local HUM = CHARACTER.Humanoid
  564.  
  565. local ROOT = HUM.Torso
  566. local HEAD = CHARACTER.Head
  567. local TORSO = CHARACTER.Torso
  568. local RIGHTARM = CHARACTER["Right Arm"]
  569. local LEFTARM = CHARACTER["Left Arm"]
  570. local RIGHTLEG = CHARACTER["Right Leg"]
  571. local LEFTLEG = CHARACTER["Left Leg"]
  572. local ROOTJOINT = ROOT["RootJoint"]
  573. local NECK = TORSO["Neck"]
  574. local RIGHTSHOULDER = TORSO["Right Shoulder"]
  575. local LEFTSHOULDER = TORSO["Left Shoulder"]
  576. local RIGHTHIP = TORSO["Right Hip"]
  577. local LEFTHIP = TORSO["Left Hip"]
  578. local MOUSEPOS = ROOT.Position
  579.  
  580. IT = Instance.new
  581. CF = CFrame.new
  582. VT = Vector3.new
  583. RAD = math.rad
  584. C3 = Color3.new
  585. UD2 = UDim2.new
  586. BRICKC = BrickColor.new
  587. ANGLES = CFrame.Angles
  588. EULER = CFrame.fromEulerAnglesXYZ
  589. COS = math.cos
  590. ACOS = math.acos
  591. SIN = math.sin
  592. ASIN = math.asin
  593. ABS = math.abs
  594. MRANDOM = math.random
  595. FLOOR = math.floor
  596.  
  597. Mouse = PLAYER:GetMouse()
  598. MOUSE = Mouse
  599. --------------------------------------------------------------
  600. --//====================================================\\--
  601. --|| BACKGROUND VALUES
  602. --\\====================================================//--
  603.  
  604. local ANIM_SPEED = 3
  605. local MOUSE = Mouse
  606. local FRAME_SPEED = 1 / 60 -- (1 / 30) OR (1 / 60)
  607. local CHANGE = 2 / ANIM_SPEED
  608. local DAMAGEMULTIPLIER = 1
  609. local ANIM = "Idle"
  610. local KEYHOLD = false
  611. local MOUSEHOLD = false
  612. local SINE = 0
  613. local ATTACKING = false
  614. local Debris = game:GetService("Debris")
  615. local Effects = IT("Folder",CHARACTER)
  616. Effects.Name = "FXFolder"
  617. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  618. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  619. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  620. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  621.  
  622. --//====================================================\\--
  623. --|| HEARTBEAT
  624. --\\====================================================//--
  625.  
  626. ArtificialHB = Instance.new("BindableEvent", script)
  627. ArtificialHB.Name = "ArtificialHB"
  628.  
  629. script:WaitForChild("ArtificialHB")
  630.  
  631. frame = FRAME_SPEED
  632. tf = 0
  633. allowframeloss = false
  634. tossremainder = false
  635. lastframe = tick()
  636. script.ArtificialHB:Fire()
  637.  
  638. game:GetService("RunService").Heartbeat:connect(function(s, p)
  639. tf = tf + s
  640. if tf >= frame then
  641. if allowframeloss then
  642. ArtificialHB:Fire()
  643. lastframe = tick()
  644. else
  645. for i = 1, math.floor(tf / frame) do
  646. ArtificialHB:Fire()
  647. end
  648. lastframe = tick()
  649. end
  650. if tossremainder then
  651. tf = 0
  652. else
  653. tf = tf - frame * math.floor(tf / frame)
  654. end
  655. end
  656. end)
  657.  
  658. function PositiveAngle(NUMBER)
  659. if NUMBER >= 0 then
  660. NUMBER = 0
  661. end
  662. return NUMBER
  663. end
  664.  
  665. function NegativeAngle(NUMBER)
  666. if NUMBER <= 0 then
  667. NUMBER = 0
  668. end
  669. return NUMBER
  670. end
  671.  
  672. function Swait(NUMBER)
  673. if NUMBER == 0 or NUMBER == nil then
  674. ArtificialHB.Event:wait()
  675. else
  676. for i = 1, NUMBER do
  677. ArtificialHB.Event:wait()
  678. end
  679. end
  680. end
  681.  
  682. --//====================================================\\--
  683. --|| CLERP
  684. --\\====================================================//--
  685.  
  686. function QuaternionFromCFrame(cf)
  687. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  688. local trace = m00 + m11 + m22
  689. if trace > 0 then
  690. local s = math.sqrt(1 + trace)
  691. local recip = 0.5 / s
  692. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  693. else
  694. local i = 0
  695. if m11 > m00 then
  696. i = 1
  697. end
  698. if m22 > (i == 0 and m00 or m11) then
  699. i = 2
  700. end
  701. if i == 0 then
  702. local s = math.sqrt(m00 - m11 - m22 + 1)
  703. local recip = 0.5 / s
  704. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  705. elseif i == 1 then
  706. local s = math.sqrt(m11 - m22 - m00 + 1)
  707. local recip = 0.5 / s
  708. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  709. elseif i == 2 then
  710. local s = math.sqrt(m22 - m00 - m11 + 1)
  711. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  712. end
  713. end
  714. end
  715.  
  716. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  717. local xs, ys, zs = x + x, y + y, z + z
  718. local wx, wy, wz = w * xs, w * ys, w * zs
  719. local xx = x * xs
  720. local xy = x * ys
  721. local xz = x * zs
  722. local yy = y * ys
  723. local yz = y * zs
  724. local zz = z * zs
  725. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  726. end
  727.  
  728. function QuaternionSlerp(a, b, t)
  729. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  730. local startInterp, finishInterp;
  731. if cosTheta >= 0.0001 then
  732. if (1 - cosTheta) > 0.0001 then
  733. local theta = ACOS(cosTheta)
  734. local invSinTheta = 1 / SIN(theta)
  735. startInterp = SIN((1 - t) * theta) * invSinTheta
  736. finishInterp = SIN(t * theta) * invSinTheta
  737. else
  738. startInterp = 1 - t
  739. finishInterp = t
  740. end
  741. else
  742. if (1 + cosTheta) > 0.0001 then
  743. local theta = ACOS(-cosTheta)
  744. local invSinTheta = 1 / SIN(theta)
  745. startInterp = SIN((t - 1) * theta) * invSinTheta
  746. finishInterp = SIN(t * theta) * invSinTheta
  747. else
  748. startInterp = t - 1
  749. finishInterp = t
  750. end
  751. end
  752. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  753. end
  754.  
  755. function Clerp(a, b, t)
  756. local qa = {QuaternionFromCFrame(a)}
  757. local qb = {QuaternionFromCFrame(b)}
  758. local ax, ay, az = a.x, a.y, a.z
  759. local bx, by, bz = b.x, b.y, b.z
  760. local _t = 1 - t
  761. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  762. end
  763.  
  764. --//====================================================\\--
  765. --|| FUNCTIONS
  766. --\\====================================================//--
  767.  
  768. function WeldParts(A,B)
  769. local WLD = IT("ManualWeld")
  770. WLD.Part0 = A
  771. WLD.Part1 = B
  772. WLD.C1 = B.CFrame:inverse() * A.CFrame
  773. WLD.Parent = A
  774. return WLD
  775. end
  776.  
  777. --NewSound({ID = 0,PARENT = ROOT,VOLUME = 0.5,PITCH = 1,LOOP = false,MAXDISTANCE = 1000,EMITTERSIZE = 10,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  778. function NewSound(TABLE)
  779. local ID = "rbxassetid://"..(TABLE.ID or 0)
  780. local PARENT = (TABLE.PARENT or ROOT)
  781. local VOLUME = (TABLE.VOLUME or 0.5)
  782. local PITCH = (TABLE.PITCH or 1)
  783. local LOOP = (TABLE.LOOP or false)
  784. local MAXDISTANCE = (TABLE.MAXDISTANCE or 100)
  785. local EMITTERSIZE = (TABLE.EMITTERSIZE or 10)
  786. local PLAYING = (TABLE.PLAYING or true)
  787. local PLAYONREMOVE = (TABLE.PLAYONREMOVE or false)
  788. local DOESDEBRIS = (TABLE.DOESDEBRIS or true)
  789. if ID ~= "rbxassetid://0" then
  790. local SOUND = IT("Sound",PARENT)
  791. SOUND.SoundId = ID
  792. SOUND.Volume = VOLUME
  793. SOUND.Pitch = PITCH
  794. SOUND.Looped = LOOP
  795. SOUND.MaxDistance = MAXDISTANCE
  796. SOUND.EmitterSize = EMITTERSIZE
  797. SOUND.PlayOnRemove = PLAYONREMOVE
  798. if DOESDEBRIS == true and PLAYING == true and LOOP == false then
  799. Debris:AddItem(SOUND,SOUND.TimeLength+5)
  800. end
  801. if PLAYING == true then
  802. SOUND:Play()
  803. end
  804. return SOUND
  805. end
  806. end
  807.  
  808. function OofOuchBlood(LOCATION,TO,AMOUNT)
  809. local P = CreatePart(3, Effects, "Granite", 0, 1, BRICKC("Pearl"), "Blood", VT(0,0,0), true)
  810. P.CFrame = CF(LOCATION,TO)
  811. local BLOOD = MODULE.Blood:Clone()
  812. BLOOD.Parent = P
  813. BLOOD:Emit(AMOUNT)
  814. Debris:AddItem(P,2)
  815. end
  816.  
  817. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  818. local NEWMESH = IT(MESH)
  819. if MESH == "SpecialMesh" then
  820. NEWMESH.MeshType = MESHTYPE
  821. if MESHID ~= "nil" and MESHID ~= "" then
  822. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  823. end
  824. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  825. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  826. end
  827. end
  828. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  829. NEWMESH.Scale = SCALE
  830. NEWMESH.Parent = PARENT
  831. return NEWMESH
  832. end
  833.  
  834. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  835. local NEWPART = IT("Part")
  836. NEWPART.formFactor = FORMFACTOR
  837. NEWPART.Reflectance = REFLECTANCE
  838. NEWPART.Transparency = TRANSPARENCY
  839. NEWPART.CanCollide = false
  840. NEWPART.Locked = true
  841. NEWPART.Anchored = true
  842. if ANCHOR == false then
  843. NEWPART.Anchored = false
  844. end
  845. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  846. NEWPART.Name = NAME
  847. NEWPART.Size = SIZE
  848. NEWPART.Position = ROOT.Position
  849. NEWPART.Material = MATERIAL
  850. NEWPART:BreakJoints()
  851. NEWPART.Parent = PARENT
  852. return NEWPART
  853. end
  854.  
  855. function Raycast(POSITION, DIRECTION, RANGE, TABLE)
  856. local TABLE = ((type(TABLE) == "table" and TABLE) or {TABLE})
  857. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(POSITION, DIRECTION * RANGE), TABLE)
  858. end
  859.  
  860. function CameraShake(AREA,RANGE,SHAKE,TIMER)
  861. end
  862.  
  863. --Debree({Delay = 1.5,Variant = "",Location = ROOT.Position,Color = C3(1,1,1),Size = 1,Distance = 1,Material = "Slate",Scatter = 1,Amount = 1,DebreeCount = 1})
  864. function Debree(Table)
  865. local KindOf = (Table.Variant or "Ring")
  866. local Position = (Table.Location or ROOT.Position)
  867. local Coloration = (Table.Color or C3(1,1,1))
  868. local Texture = (Table.Material or "Slate")
  869. local Fling = (Table.Scatter or 1)
  870. local Number = (Table.Amount or 1)
  871. local Rocks = (Table.DebreeCount or 1)
  872. local Range = (Table.Distance or 1)
  873. local Scale = (Table.Size or 1)
  874. local Timer = (Table.Delay or 1.5)
  875. coroutine.resume(coroutine.create(function()
  876. local ScaleVector = VT(Scale,Scale,Scale)
  877. local Boulders = {}
  878. Position = CF(Position)
  879. if KindOf == "Ring" or KindOf == "Both" then
  880. for RockValue = 1, Number do
  881. local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale/4),math.ceil(Scale/4)),Range)
  882. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  883. BOULDER.CanCollide = true
  884. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  885. BOULDER.Color = Coloration
  886. table.insert(Boulders,BOULDER)
  887. end
  888. end
  889. if KindOf == "Loose" or KindOf == "Both" then
  890. for RockValue = 1, Rocks do
  891. local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale-(Scale/2)),math.ceil(Scale-(Scale/2))),0.7)
  892. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, false)
  893. BOULDER.CanCollide = true
  894. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  895. BOULDER.Velocity = CF(BOULDER.Position-VT(0,4,0),BOULDER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,5,0).p).lookVector*MRANDOM(Fling-(Fling/1.5),Fling+(Fling/1.5))
  896. BOULDER.Color = Coloration
  897. table.insert(Boulders,BOULDER)
  898. end
  899. end
  900. if KindOf == "Random" then
  901. for RockValue = 1, Number do
  902. local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale/4),math.ceil(Scale/4)),MRANDOM(0,Range))
  903. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  904. BOULDER.CanCollide = true
  905. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  906. BOULDER.Color = Coloration
  907. table.insert(Boulders,BOULDER)
  908. end
  909. end
  910. wait(Timer)
  911. for E = 1, 45 do
  912. Swait()
  913. for A = 1, #Boulders do
  914. Boulders[A].Transparency = Boulders[A].Transparency + 1/45
  915. end
  916. end
  917. for A = 1, #Boulders do
  918. Boulders[A]:Destroy()
  919. end
  920. end))
  921. end
  922.  
  923. function Chatter(Text,Timer)
  924. local chat = coroutine.wrap(function()
  925. if CHARACTER:FindFirstChild("SpeechBoard")~= nil then
  926. CHARACTER:FindFirstChild("SpeechBoard"):destroy()
  927. end
  928. local naeeym2 = IT("BillboardGui",CHARACTER)
  929. naeeym2.Size = UD2(0,100,0,40)
  930. naeeym2.StudsOffset = Vector3.new(0,2,0)
  931. naeeym2.Adornee = HEAD
  932. naeeym2.Name = "SpeechBoard"
  933. naeeym2.AlwaysOnTop = true
  934. local tecks2 = IT("TextLabel",naeeym2)
  935. tecks2.BackgroundTransparency = 1
  936. tecks2.BorderSizePixel = 0
  937. tecks2.Text = ""
  938. tecks2.Font = "Legacy"
  939. tecks2.TextSize = 15
  940. tecks2.TextStrokeTransparency = 0
  941. tecks2.TextColor3 = Color3.new(1,1,1)
  942. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  943. tecks2.Size = UDim2.new(1,0,0.5,0)
  944. for i = 1,string.len(Text),1 do
  945. if naeeym2.Parent ~= CHARACTER then
  946. break
  947. end
  948. NewSound({ID = 418252437,PARENT = HEAD,VOLUME = 1,PITCH = MRANDOM(8,12)/10,LOOP = false,MAXDISTANCE = 75,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  949. tecks2.Text = string.sub(Text,1,i)
  950. wait(Timer)
  951. end
  952. wait(1)
  953. naeeym2:Destroy()
  954. end)
  955. chat()
  956. end
  957.  
  958. function SpawnPuddle(POSITION,IGNR,GOO)
  959. local HIT,POS,NOR = Raycast(POSITION, CFrame.new(POSITION,POSITION-Vector3.new(0,1,0)).lookVector, 12, {IGNR,CHARACTER})
  960. if HIT then
  961. coroutine.resume(coroutine.create(function()
  962. local GOREPART = CreatePart(3, Effects, "Slate", 0, 1, "Pearl", "Gore", VT(3,0,3), true)
  963. local SURFACE = script.PuddleSurface:Clone()
  964. SURFACE.Parent = GOREPART
  965. if GOO == true then
  966. SURFACE.Image.ImageColor3 = C3(0,0,0)
  967. end
  968. GOREPART.CFrame = CFrame.new(POS,POS+NOR)*CFrame.Angles(math.rad(-90),math.rad(math.random(0,360)),0)
  969. for i = 1, math.random(25,65) do
  970. Swait()
  971. GOREPART.Size = GOREPART.Size + Vector3.new(0.1,0,0.1)
  972. end
  973. wait(math.random(10,25)/50)
  974. for i = 1, 25 do
  975. Swait()
  976. SURFACE.Image.ImageTransparency = SURFACE.Image.ImageTransparency + 1/25
  977. end
  978. GOREPART:Remove()
  979. end))
  980. end
  981. end
  982.  
  983. function Dismember(MAN,DOWHAT)
  984.  
  985. end
  986.  
  987. function Speak(ID)
  988. end
  989.  
  990. --//====================================================\\--
  991. --|| CHARACTER
  992. --\\====================================================//--
  993.  
  994. local ARMOR = IT("Model",CHARACTER)
  995. ARMOR.Name = "Goner"
  996. local PARTS = {}
  997.  
  998. local SWORD = MODULE.Sword
  999. SWORD.Parent = ARMOR
  1000. SWORD.Anchored = false
  1001. SWORD.Transparency = 1
  1002. local GRIPC0 = CF(0,-0.9,0)*ANGLES(RAD(90),RAD(90),0)
  1003. local HOLD = IT("ManualWeld")
  1004. HOLD.Part0 = RIGHTARM
  1005. HOLD.Part1 = SWORD
  1006. HOLD.C0 = GRIPC0
  1007. HOLD.C1 = CF(0,-SWORD.Size.Y/3,0)
  1008. HOLD.Parent = RIGHTARM
  1009. HOLD.Name = "GripWeld"
  1010. local TRAIL = SWORD.Trail
  1011. local SOUND_SNAP = 150315649
  1012. local SUBMERGED = false
  1013. table.insert(PARTS,SWORD)
  1014. local GUI = MODULE.ControlsGUI
  1015. GUI.Parent = PLAYER.PlayerGui
  1016. GUI.ToggleButton.MouseButton1Click:Connect(function()
  1017. if GUI.ToggleButton.Controls.Visible == false then
  1018. GUI.ToggleButton.Controls.Visible = true
  1019. elseif GUI.ToggleButton.Controls.Visible == true then
  1020. GUI.ToggleButton.Controls.Visible = false
  1021. end
  1022. end)
  1023.  
  1024. --//====================================================\\--
  1025. --|| ABILITIES
  1026. --\\====================================================//--
  1027.  
  1028. function Slash()
  1029. ATTACKING = true
  1030. for i=0, 0.2, 0.1 / ANIM_SPEED do
  1031. Swait()
  1032. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.5 / ANIM_SPEED)
  1033. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1034. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 2 / ANIM_SPEED)
  1035. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 2 / ANIM_SPEED)
  1036. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1037. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1038. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1039. end
  1040. TRAIL.Enabled = true
  1041. NewSound({ID = 211059653,PARENT = SWORD,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1042. for i=0, 0.1, 0.1 / ANIM_SPEED do
  1043. Swait()
  1044. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1045. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  1046. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.65 / ANIM_SPEED)
  1047. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 0.75 / ANIM_SPEED)
  1048. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(-5), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1049. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1050. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1051. end
  1052. for index, CHILD in pairs(workspace:GetChildren()) do
  1053. if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then
  1054. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  1055. local ROOT2 = HUMAN.Torso
  1056. if ROOT2 and HUMAN.Health > 0 then
  1057. if (ROOT2.Position - ROOT.CFrame*CF(0,0,-2).p).Magnitude < 4.5 then
  1058. local HEAD = CHILD:FindFirstChild("Head")
  1059. if HEAD then
  1060. local FACE = HEAD:FindFirstChild("face")
  1061. if FACE then
  1062. FACE.Texture = "http://www.roblox.com/asset/?id=145854465"
  1063. FACE.Transparency = 0.5
  1064. end
  1065. end
  1066. Dismember(CHILD,"Ragdoll")
  1067. Dismember(CHILD,"Head")
  1068. NewSound({ID = 264486467,PARENT = ROOT2,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1069. NewSound({ID = SOUND_SNAP,PARENT = ROOT2,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1070. for i = 1, 7 do
  1071. OofOuchBlood(ROOT2.Position,CF(ROOT2.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45)
  1072. end
  1073. coroutine.resume(coroutine.create(function()
  1074. for i = 1, 25 do
  1075. SpawnPuddle(ROOT2.Position,CHILD,false)
  1076. Swait()
  1077. end
  1078. end))
  1079. end
  1080. end
  1081. end
  1082. end
  1083. for i=0, 0.3, 0.1 / ANIM_SPEED do
  1084. Swait()
  1085. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1086. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  1087. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.65 / ANIM_SPEED)
  1088. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)), 0.75 / ANIM_SPEED)
  1089. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(-5), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1090. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1091. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1092. end
  1093. TRAIL.Enabled = false
  1094. ATTACKING = false
  1095. end
  1096.  
  1097. function Execute(INPUT)
  1098. local TARGET = nil
  1099. local DIST = 6
  1100. for index, CHILD in pairs(workspace:GetChildren()) do
  1101. if CHILD:FindFirstChildOfClass("Humanoid") and CHILD ~= CHARACTER then
  1102. local HUMAN = CHILD:FindFirstChildOfClass("Humanoid")
  1103. local ROOT2 = HUMAN.Torso
  1104. if ROOT2 and HUMAN.Health > 0 then
  1105. if (ROOT2.Position - ROOT.Position).Magnitude < DIST then
  1106. TARGET = CHILD
  1107. DIST = (ROOT2.Position - ROOT.Position).Magnitude
  1108. end
  1109. end
  1110. end
  1111. end
  1112. if TARGET and (SUBMERGED == false or ((INPUT == "x" or INPUT == "z" or INPUT == "c") and SUBMERGED == true)) then
  1113. local DedFace = function()
  1114. local HEAD = TARGET:FindFirstChild("Head")
  1115. if HEAD then
  1116. local FACE = HEAD:FindFirstChild("face")
  1117. if FACE then
  1118. FACE.Texture = "http://www.roblox.com/asset/?id=145854465"
  1119. FACE.Transparency = 0.5
  1120. end
  1121. end
  1122. end
  1123. local TARGETSTATIC = nil
  1124. if game:GetService("Players"):GetPlayerFromCharacter(TARGET) then
  1125. TARGETSTATIC = script.GonerStatic:Clone()
  1126. TARGETSTATIC.Parent = game:GetService("Players"):GetPlayerFromCharacter(TARGET).PlayerGui
  1127. local SOUND = NewSound({ID = 2737898305,PARENT = TARGETSTATIC.Script,VOLUME = 3,PITCH = 1,LOOP = true,MAXDISTANCE = 125,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = false})
  1128. SOUND.Name = "Static"
  1129. Swait()
  1130. TARGETSTATIC.Script.Disabled = false
  1131. end
  1132. local STATIC = script.GonerStatic:Clone()
  1133. STATIC.Parent = PLAYER.PlayerGui
  1134. local SOUND = NewSound({ID = 2737898305,PARENT = STATIC.Script,VOLUME = 3,PITCH = 1,LOOP = true,MAXDISTANCE = 125,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = false})
  1135. SOUND.Name = "Static"
  1136. Swait()
  1137. STATIC.Script.Disabled = false
  1138. local TARGETTORSO = TARGET:FindFirstChild("Torso") or TARGET:FindFirstChild("UpperTorso")
  1139. local GRABA = IT("Attachment",LEFTARM)
  1140. GRABA.Position = VT(0,-1.5,0)
  1141. local GRABB = IT("Attachment",TARGETTORSO)
  1142. local GRAB = IT("BallSocketConstraint",GRABA)
  1143. GRAB.Attachment0 = GRABA
  1144. GRAB.Attachment1 = GRABB
  1145. local GYRO = IT("BodyGyro")
  1146. GYRO.D = 20
  1147. GYRO.P = 5000
  1148. GYRO.MaxTorque = VT(0,4000000,0)
  1149. GYRO.CFrame = CF(TARGETTORSO.Position,ROOT.Position)
  1150. GYRO.Parent = TARGETTORSO
  1151. ATTACKING = true
  1152. ROOT.Anchored = true
  1153. if INPUT == "z" then
  1154. for i=0, 1, 0.1 / ANIM_SPEED do
  1155. Swait()
  1156. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.5 / ANIM_SPEED)
  1157. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1158. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  1159. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 0.5 / ANIM_SPEED)
  1160. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(85), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1161. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1162. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1163. end
  1164. TRAIL.Enabled = true
  1165. NewSound({ID = 211059653,PARENT = SWORD,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1166. for i=0, 0.1, 0.1 / ANIM_SPEED do
  1167. Swait()
  1168. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1169. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  1170. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(35), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1171. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 1.5 / ANIM_SPEED)
  1172. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(85), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1173. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1174. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1175. end
  1176. CameraShake(ROOT.Position,4.6,15,25)
  1177. Dismember(TARGET,"Ragdoll")
  1178. Dismember(TARGET,"Head")
  1179. DedFace()
  1180. GYRO:Remove()
  1181. NewSound({ID = 264486467,PARENT = TARGETTORSO,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1182. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1183. for i = 1, 7 do
  1184. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45)
  1185. end
  1186. coroutine.resume(coroutine.create(function()
  1187. for i = 1, 25 do
  1188. SpawnPuddle(TARGETTORSO.Position,TARGET,false)
  1189. Swait()
  1190. end
  1191. end))
  1192. for i=0, 0.9, 0.1 / ANIM_SPEED do
  1193. Swait()
  1194. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1195. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-1)), 1.5 / ANIM_SPEED)
  1196. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.5, -0.85) * ANGLES(RAD(35), RAD(0), RAD(-90)) * ANGLES(RAD(25), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1197. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 1.5 / ANIM_SPEED)
  1198. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(85), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1199. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1200. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1201. end
  1202. TRAIL.Enabled = false
  1203. elseif INPUT == "x" then
  1204. for i=0, 1, 0.1 / ANIM_SPEED do
  1205. Swait()
  1206. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.5 / ANIM_SPEED)
  1207. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1208. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  1209. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 0.5 / ANIM_SPEED)
  1210. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1211. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1212. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1213. end
  1214. TRAIL.Enabled = true
  1215. NewSound({ID = 536642316,PARENT = SWORD,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1216. for i=0, 0.1, 0.1 / ANIM_SPEED do
  1217. Swait()
  1218. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1219. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-10)), 1.5 / ANIM_SPEED)
  1220. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.35, -0.85) * ANGLES(RAD(-25), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1221. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 1.5 / ANIM_SPEED)
  1222. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(125), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1223. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1224. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1225. end
  1226. CameraShake(ROOT.Position,4.6,15,25)
  1227. Dismember(TARGET,"Ragdoll")
  1228. Dismember(TARGET,"Legs")
  1229. DedFace()
  1230. GYRO:Remove()
  1231. NewSound({ID = 264486467,PARENT = TARGETTORSO,VOLUME = 2,PITCH = 0.7,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1232. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1233. for i = 1, 7 do
  1234. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,45)
  1235. end
  1236. coroutine.resume(coroutine.create(function()
  1237. for i = 1, 25 do
  1238. SpawnPuddle(TARGETTORSO.Position,TARGET,false)
  1239. Swait()
  1240. end
  1241. end))
  1242. for i=0, 0.9, 0.1 / ANIM_SPEED do
  1243. Swait()
  1244. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.5 / ANIM_SPEED)
  1245. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(-1)), 1.5 / ANIM_SPEED)
  1246. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.1, 0.35, -0.85) * ANGLES(RAD(-25), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1247. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(85)) * ANGLES(RAD(0),RAD(90),RAD(0)), 1.5 / ANIM_SPEED)
  1248. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(125), RAD(-10), RAD(20)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1249. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1250. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1251. end
  1252. TRAIL.Enabled = false
  1253. elseif INPUT == "c" then
  1254. if SUBMERGED == false then
  1255. GRABA:Remove()
  1256. GRABB:Remove()
  1257. TARGETTORSO.Anchored = true
  1258. local DEAD = false
  1259. Dismember(TARGET,"Ragdoll")
  1260. coroutine.resume(coroutine.create(function()
  1261. repeat
  1262. Swait()
  1263. TARGETTORSO.CFrame = Clerp(TARGETTORSO.CFrame,ROOT.CFrame*CF(0,-3,-1.5) * ANGLES(RAD(-90), RAD(0), RAD(0)),0.3)
  1264. until DEAD == true
  1265. coroutine.resume(coroutine.create(function()
  1266. for i = 1, 25 do
  1267. SpawnPuddle(TARGETTORSO.Position+VT(0,1,0),TARGET,false)
  1268. Swait()
  1269. end
  1270. end))
  1271. DedFace()
  1272. end))
  1273. for i=0, 1.5, 0.1 / ANIM_SPEED do
  1274. Swait()
  1275. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1276. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1277. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1278. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  1279. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-5)) * CF(0,-0.75,0) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1280. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1281. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1.5 / ANIM_SPEED)
  1282. end
  1283. for i = 1, 7 do
  1284. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,15)
  1285. end
  1286. CameraShake(ROOT.Position,4.6,15,25)
  1287. Dismember(TARGET,"LeftArm")
  1288. local ARM = TARGET:FindFirstChild("Left Arm") or TARGET:FindFirstChild("LeftUpperArm")
  1289. if ARM then
  1290. local BV = IT("BodyVelocity")
  1291. BV.MaxForce = BV.MaxForce * 500
  1292. BV.Velocity = CF(ARM.Position,ROOT.Position+VT(0,2,0)).lookVector*65
  1293. BV.Parent = ARM
  1294. Debris:AddItem(BV,0.05)
  1295. end
  1296. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1.1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1297. for i=0, 0.3, 0.1 / ANIM_SPEED do
  1298. Swait()
  1299. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1300. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1301. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1302. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  1303. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 1) * ANGLES(RAD(90), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1304. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1305. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1.5 / ANIM_SPEED)
  1306. end
  1307. for i=0, 0.3, 0.1 / ANIM_SPEED do
  1308. Swait()
  1309. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1310. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1311. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1312. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  1313. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(85)) * CF(0,-1.25,0) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1314. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1315. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1.5 / ANIM_SPEED)
  1316. end
  1317. for i = 1, 7 do
  1318. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,15)
  1319. end
  1320. CameraShake(ROOT.Position,4.6,15,25)
  1321. Dismember(TARGET,"RightArm")
  1322. local ARM = TARGET:FindFirstChild("Right Arm") or TARGET:FindFirstChild("RightUpperArm")
  1323. if ARM then
  1324. local BV = IT("BodyVelocity")
  1325. BV.MaxForce = BV.MaxForce * 500
  1326. BV.Velocity = CF(ARM.Position,ROOT.Position+VT(0,2,0)).lookVector*65
  1327. BV.Parent = ARM
  1328. Debris:AddItem(BV,0.05)
  1329. end
  1330. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 6,PITCH = 1.1,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1331. DEAD = true
  1332. for i=0, 0.3, 0.1 / ANIM_SPEED do
  1333. Swait()
  1334. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(30), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1335. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1336. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1337. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(70)), 1.5 / ANIM_SPEED)
  1338. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 1) * ANGLES(RAD(90), RAD(0), RAD(85)) * CF(0,0.75,0) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1339. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1340. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1.5 / ANIM_SPEED)
  1341. end
  1342. else
  1343. TARGETTORSO.Anchored = true
  1344. local POS = ROOT.Position
  1345. Dismember(TARGET,"Ragdoll")
  1346. TARGET.Parent = Effects
  1347. for i = 1, 60 do
  1348. Swait()
  1349. SpawnPuddle(TARGETTORSO.Position,TARGET,true)
  1350. TARGETTORSO.CFrame = TARGETTORSO.CFrame*CF(0,-0.1,0)
  1351. end
  1352. for i = 1, 7 do
  1353. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,50,-1).p,3)
  1354. end
  1355. TARGET:Remove()
  1356. end
  1357. elseif INPUT == "v" then
  1358. GRABA:Remove()
  1359. GRABB:Remove()
  1360. TARGETTORSO.Anchored = true
  1361. local DEAD = false
  1362. coroutine.resume(coroutine.create(function()
  1363. repeat
  1364. Swait()
  1365. TARGETTORSO.CFrame = Clerp(TARGETTORSO.CFrame,ROOT.CFrame*CF(0,-3,-1.2) * ANGLES(RAD(-90), RAD(0), RAD(0)),0.3)
  1366. until DEAD == true
  1367. DedFace()
  1368. Dismember(TARGET,"Ragdoll")
  1369. coroutine.resume(coroutine.create(function()
  1370. for i = 1, 25 do
  1371. SpawnPuddle(TARGETTORSO.Position+VT(0,1,0),TARGET,false)
  1372. Swait()
  1373. end
  1374. end))
  1375. end))
  1376. for i=0, 0.5, 0.1 / ANIM_SPEED do
  1377. Swait()
  1378. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1379. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1380. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1381. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  1382. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1383. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0.3, -1) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1384. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(20)), 1.5 / ANIM_SPEED)
  1385. end
  1386. for i = 1, MRANDOM(6,12) do
  1387. for i=0, 0.5, 0.1 / ANIM_SPEED do
  1388. Swait()
  1389. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1390. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1391. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1392. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  1393. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1394. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, 0.3, -1) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1395. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(20)), 1.5 / ANIM_SPEED)
  1396. end
  1397. for i=0, 0.1, 0.1 / ANIM_SPEED do
  1398. Swait()
  1399. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1400. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1401. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1402. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  1403. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1404. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, -1) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1405. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 1.5 / ANIM_SPEED)
  1406. end
  1407. CameraShake(ROOT.Position,4.6,15,25)
  1408. NewSound({ID = SOUND_SNAP,PARENT = TARGETTORSO,VOLUME = 1,PITCH = 1.25,LOOP = false,MAXDISTANCE = 100,EMITTERSIZE = 15,PLAYING = true,PLAYONREMOVE = false,DOESDEBRIS = true})
  1409. for i = 1, 7 do
  1410. OofOuchBlood(TARGETTORSO.Position,CF(TARGETTORSO.Position)*ANGLES(0,RAD(MRANDOM(0,359)),0)*CF(0,1,-1).p,15)
  1411. end
  1412. for i=0, 0.2, 0.1 / ANIM_SPEED do
  1413. Swait()
  1414. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1415. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1416. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1417. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  1418. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1419. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, -1) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1420. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 1.5 / ANIM_SPEED)
  1421. end
  1422. end
  1423. DEAD = true
  1424. for i=0, 0.6, 0.1 / ANIM_SPEED do
  1425. Swait()
  1426. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.025) * ANGLES(RAD(10), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1427. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 1.5 / ANIM_SPEED)
  1428. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(5), RAD(0)) * RIGHTSHOULDERC0, 1.5 / ANIM_SPEED)
  1429. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 1.5 / ANIM_SPEED)
  1430. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 1.5 / ANIM_SPEED)
  1431. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, -1) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1.5 / ANIM_SPEED)
  1432. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 1.5 / ANIM_SPEED)
  1433. end
  1434. end
  1435. GYRO:Remove()
  1436. if (INPUT ~= "c" or SUBMERGED == false) then
  1437. Speak(2291326656)
  1438. end
  1439. STATIC:Remove()
  1440. if TARGETSTATIC then
  1441. TARGETSTATIC:Remove()
  1442. end
  1443. GRABA:Remove()
  1444. GRABB:Remove()
  1445. ROOT.Anchored = false
  1446. ATTACKING = false
  1447. end
  1448. end
  1449.  
  1450. function Shriek()
  1451. ATTACKING = true
  1452. for i=0, 0.15, 0.1 / ANIM_SPEED do
  1453. Swait()
  1454. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / ANIM_SPEED)
  1455. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(5), RAD(0)), 2 / ANIM_SPEED)
  1456. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.7, 0) * ANGLES(RAD(25), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 2 / ANIM_SPEED)
  1457. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 2 / ANIM_SPEED)
  1458. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(45), RAD(-10), RAD(25)) * LEFTSHOULDERC0, 2 / ANIM_SPEED)
  1459. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -0.8, -0.4) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / ANIM_SPEED)
  1460. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.8, -0.4) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(20)), 2 / ANIM_SPEED)
  1461. end
  1462. for i=0, 0.45, 0.1 / ANIM_SPEED do
  1463. Swait()
  1464. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.5 / ANIM_SPEED)
  1465. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(5+MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 0.5 / ANIM_SPEED)
  1466. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  1467. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 0.5 / ANIM_SPEED)
  1468. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(45+MRANDOM(-5,5)), RAD(-10+MRANDOM(-5,5)), RAD(-25+MRANDOM(-5,5))) * ANGLES(RAD(-75), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / ANIM_SPEED)
  1469. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  1470. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  1471. end
  1472. ATTACKING = false
  1473. end
  1474.  
  1475. --//====================================================\\--
  1476. --|| WRAP
  1477. --\\====================================================//--
  1478. Mouse.Button1Up:Connect(function()
  1479. MOUSEHOLD = false
  1480. end)
  1481. Mouse.Button1Down:connect(function()
  1482. if SUBMERGED == false then
  1483. MOUSEHOLD = true
  1484. Slash()
  1485. end
  1486. end)
  1487. Mouse.KeyDown:Connect(function(V2)
  1488. KEYHOLD = true
  1489. if V2 == "g" and SUBMERGED == false then
  1490. Shriek()
  1491. elseif V2 == "q" then
  1492. if SUBMERGED == false then
  1493. SUBMERGED = true
  1494. else
  1495. ROOT.Anchored = false
  1496. SUBMERGED = false
  1497. ROOT.CFrame = ROOT.CFrame*CF(0,3,0)
  1498. end
  1499. elseif V2 == "w" and SUBMERGED == true and ATTACKING == false then
  1500. repeat
  1501. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0,0,-0.5)
  1502. Swait()
  1503. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1504. elseif V2 == "s" and SUBMERGED == true and ATTACKING == false then
  1505. repeat
  1506. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0,0,0.25)
  1507. Swait()
  1508. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1509. elseif V2 == "a" and SUBMERGED == true and ATTACKING == false then
  1510. repeat
  1511. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(-0.1,0,0)
  1512. Swait()
  1513. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1514. elseif V2 == "d" and SUBMERGED == true and ATTACKING == false then
  1515. repeat
  1516. ROOT.CFrame = CF(ROOT.Position,VT(MOUSEPOS.X,ROOT.Position.Y,MOUSEPOS.Z))*CF(0.1,0,0)
  1517. Swait()
  1518. until KEYHOLD == false or SUBMERGED == false or ATTACKING == true
  1519. end
  1520. end)
  1521.  
  1522.  
  1523. HUM.HealthChanged:Connect(function()
  1524. HUM.PlatformStand = false
  1525. HUM.MaxHealth = 3000
  1526. HUM.Health = 3000
  1527. HUM.Name = PLAYER.UserId
  1528. end)
  1529. HUM.PlatformStand = false
  1530. HUM.MaxHealth = 3000
  1531. HUM.Health = 3000
  1532. HUM.Name = PLAYER.UserId
  1533.  
  1534. local TWITCH = 0
  1535. while true do
  1536. Swait()
  1537. SINE = SINE + CHANGE
  1538. if CHARACTER:FindFirstChild("Animate") then
  1539. CHARACTER:FindFirstChild("Animate"):Destroy()
  1540. end
  1541. if CHARACTER:FindFirstChild("Sound") then
  1542. CHARACTER:FindFirstChild("Sound"):Destroy()
  1543. end
  1544. for _,v in next, HUM:GetPlayingAnimationTracks() do
  1545. v:Stop();
  1546. end
  1547. local TORSOVELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
  1548. local TORSOVERTICALVELOCITY = ROOT.Velocity.y
  1549. local HITFLOOR,HITPOS = Raycast(ROOT.Position, (CF(ROOT.Position, ROOT.Position + VT(0, -1, 0))).lookVector, 4+HUM.HipHeight, CHARACTER)
  1550. local WALKSPEEDVALUE = 10
  1551. local SITTING = HUM.Sit
  1552. if ANIM == "Walk" and TORSOVELOCITY > 1 and ATTACKING == false and SITTING == false then
  1553. ROOTJOINT.C1 = Clerp(ROOTJOINT.C1, ROOTC0 * CF(0, 0, -0.015 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (HUM.WalkSpeed / 16) / ANIM_SPEED)
  1554. NECK.C1 = Clerp(NECK.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - HEAD.RotVelocity.Y / 30), 0.2 * (HUM.WalkSpeed / 16) / ANIM_SPEED)
  1555. RIGHTHIP.C1 = Clerp(RIGHTHIP.C1, CF(0.5, 0.875 - 0.3 * SIN(SINE / WALKSPEEDVALUE), -0.5 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / ANIM_SPEED)
  1556. LEFTHIP.C1 = Clerp(LEFTHIP.C1, CF(-0.5, 0.875 + 0.3 * SIN(SINE / WALKSPEEDVALUE), 0.5 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / ANIM_SPEED)
  1557. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or ATTACKING == true or SITTING == true then
  1558. ROOTJOINT.C1 = Clerp(ROOTJOINT.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / ANIM_SPEED)
  1559. NECK.C1 = Clerp(NECK.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / ANIM_SPEED)
  1560. RIGHTHIP.C1 = Clerp(RIGHTHIP.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / ANIM_SPEED)
  1561. LEFTHIP.C1 = Clerp(LEFTHIP.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / ANIM_SPEED)
  1562. end
  1563. if SITTING == false then
  1564. if HITFLOOR then
  1565. if SUBMERGED == false then
  1566. HUM.JumpPower = 50
  1567. HUM.WalkSpeed = 8
  1568. if TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1569. ANIM = "Idle"
  1570. if MRANDOM(1,15) == 1 and ATTACKING == false then
  1571. SpawnPuddle(HITPOS+VT(0,0.5,0),CHARACTER,true)
  1572. end
  1573. if ATTACKING == false then
  1574. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.5 / ANIM_SPEED)
  1575. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10), RAD(5), RAD(0)), 0.5 / ANIM_SPEED)
  1576. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 0.5 / ANIM_SPEED)
  1577. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(-5),RAD(0),RAD(0)), 0.5 / ANIM_SPEED)
  1578. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-10), RAD(-10), RAD(0)) * LEFTSHOULDERC0, 0.5 / ANIM_SPEED)
  1579. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  1580. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.5 / ANIM_SPEED)
  1581. end
  1582. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1583. ANIM = "Walk"
  1584. if MRANDOM(1,5) == 1 and ATTACKING == false then
  1585. SpawnPuddle(HITPOS+VT(0,0.5,0),CHARACTER,true)
  1586. end
  1587. if ATTACKING == false then
  1588. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.25 / ANIM_SPEED)
  1589. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.25 / ANIM_SPEED)
  1590. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5-0.015 * COS(SINE / (WALKSPEEDVALUE / 2)), 0) * ANGLES(RAD(25), RAD(20), RAD(5)) * RIGHTSHOULDERC0, 0.75 / ANIM_SPEED)
  1591. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(5)), 0.5 / ANIM_SPEED)
  1592. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.45, 0.5-0.015 * SIN(SINE / (WALKSPEEDVALUE / 2)), -0.5) * ANGLES(RAD(95), RAD(-5), RAD(-5)) * LEFTSHOULDERC0, 0.75 / ANIM_SPEED)
  1593. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(-15)), 2 / ANIM_SPEED)
  1594. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(15)), 2 / ANIM_SPEED)
  1595. end
  1596. end
  1597. elseif SUBMERGED == true then
  1598. HUM.JumpPower = 0
  1599. HUM.WalkSpeed = 0
  1600. MOUSEPOS = Mouse.Hit.Position
  1601. if MRANDOM(1,2) == 1 then
  1602. SpawnPuddle(HITPOS+VT(0,0.5,0),CHARACTER,true)
  1603. end
  1604. ANIM = "Submerged"
  1605. ROOT.Anchored = true
  1606. if ATTACKING == false then
  1607. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.25 / ANIM_SPEED)
  1608. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.25 / ANIM_SPEED)
  1609. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / ANIM_SPEED)
  1610. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(90)), 0.5 / ANIM_SPEED)
  1611. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / ANIM_SPEED)
  1612. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  1613. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / ANIM_SPEED)
  1614. end
  1615. ROOT.CFrame = CF(HITPOS+VT(0,0.05,0))*ANGLES(0,RAD(ROOT.Orientation.Y),0)
  1616. end
  1617. else
  1618. SUBMERGED = false
  1619. ANIM = "Midair"
  1620. if ATTACKING == false then
  1621. ROOT.Anchored = false
  1622. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / ANIM_SPEED)
  1623. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / ANIM_SPEED)
  1624. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / ANIM_SPEED)
  1625. HOLD.C0 = Clerp(HOLD.C0, GRIPC0 * CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 0.5 / ANIM_SPEED)
  1626. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / ANIM_SPEED)
  1627. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / ANIM_SPEED)
  1628. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / ANIM_SPEED)
  1629. end
  1630. end
  1631. else
  1632. SUBMERGED = false
  1633. ANIM = "Sit"
  1634. if ATTACKING == false then
  1635. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.25 / ANIM_SPEED)
  1636. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.25 / ANIM_SPEED)
  1637. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.65, 0) * ANGLES(RAD(50), RAD(10), RAD(-45))*CF(0,-0.25,0) * RIGHTSHOULDERC0, 1.25 / ANIM_SPEED)
  1638. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.65, 0) * ANGLES(RAD(50), RAD(-10), RAD(45))*CF(0,-0.25,0) * LEFTSHOULDERC0, 1.25 / ANIM_SPEED)
  1639. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -0.25, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1.25 / ANIM_SPEED)
  1640. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.25, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1.25 / ANIM_SPEED)
  1641. end
  1642. end
  1643. if TWITCH > 0 then
  1644. TWITCH = TWITCH - 1
  1645. NECK.C0 = NECK.C0 * ANGLES(RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5)))
  1646. else
  1647. if MRANDOM(1,25) == 1 then
  1648. TWITCH = MRANDOM(2,12)
  1649. end
  1650. end
  1651. end
  1652.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement