Dark_EccentricYT

Untitled

Oct 23rd, 2020 (edited)
2,245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.36 KB | None | 0 0
  1. HumanDied = false
  2. local CountSCIFIMOVIELOL = 1
  3. function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
  4. local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
  5. AlignPos.ApplyAtCenterOfMass = true;
  6. AlignPos.MaxForce = 5772000--67752;
  7. AlignPos.MaxVelocity = math.huge/9e110;
  8. AlignPos.ReactionForceEnabled = false;
  9. AlignPos.Responsiveness = 200;
  10. AlignPos.RigidityEnabled = false;
  11. local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
  12. AlignOri.MaxAngularVelocity = math.huge/9e110;
  13. AlignOri.MaxTorque = 5772000
  14. AlignOri.PrimaryAxisOnly = false;
  15. AlignOri.ReactionTorqueEnabled = false;
  16. AlignOri.Responsiveness = 200;
  17. AlignOri.RigidityEnabled = false;
  18. local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "AthPO_"..CountSCIFIMOVIELOL
  19. local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "AthPO_"..CountSCIFIMOVIELOL
  20. AttachmentA.Orientation = Angle or Vector3.new(0,0,0)
  21. AttachmentA.Position = (Position or Vector3.new(0,0,0)) + Part0.CenterOfMass
  22. AlignPos.Attachment1 = AttachmentA;
  23. AlignPos.Attachment0 = AttachmentB;
  24. AlignOri.Attachment1 = AttachmentA;
  25. AlignOri.Attachment0 = AttachmentB;
  26. CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
  27. return {AlignPos,AttachmentA,AttachmentB,AlignOri,AttachmentC,AttachmentD}
  28. end
  29.  
  30. if _G.netted ~= true then
  31. _G.netted = true
  32. coroutine.wrap(function()
  33. settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  34. settings().Physics.ThrottleAdjustTime = math.huge*math.huge
  35. settings().Physics.AllowSleep = false
  36. game:GetService("RunService").RenderStepped:Connect(function()
  37. game:FindFirstChildOfClass("Players").LocalPlayer.MaximumSimulationRadius=math.pow(math.huge,math.huge)
  38. sethiddenproperty(game:FindFirstChildOfClass("Players").LocalPlayer,"SimulationRadius",math.huge*math.huge)
  39. end)
  40. end)()
  41. end
  42.  
  43. warn([==[
  44.  
  45. Bypass made by Mizt
  46. Thanks for choosing my bypass
  47.  
  48. ]==])
  49. game:FindFirstChildOfClass("Players").LocalPlayer["Character"].Archivable = true
  50. local hatnameclone = {}
  51. for _,v in next, game:FindFirstChildOfClass("Players").LocalPlayer["Character"]:GetChildren() do
  52. if v:IsA("Accessory") then
  53. if hatnameclone[v.Name] then
  54. if hatnameclone[v.Name] == "s" then
  55. hatnameclone[v.Name] = {}
  56. end
  57. table.insert(hatnameclone[v.Name],v)
  58. else
  59. hatnameclone[v.Name] = "s"
  60. end
  61. end
  62. end
  63. for _,v in pairs(hatnameclone) do
  64. if type(v) == "table" then
  65. local num = 1
  66. for _,w in pairs(v) do
  67. w.Name = w.Name..num
  68. num = num + 1
  69. end
  70. end
  71. end
  72. hatnameclone = nil
  73.  
  74. local DeadChar = game:FindFirstChildOfClass("Players").LocalPlayer.Character
  75.  
  76. local fldr = Instance.new("Folder",workspace)
  77. fldr.Name = "Bypass by Mizt"
  78. local CloneChar = game:GetObjects("rbxassetid://5227463276")[1]
  79. CloneChar.Parent = fldr
  80. CloneChar.HumanoidRootPart.CFrame = game:FindFirstChildOfClass("Players").LocalPlayer["Character"].HumanoidRootPart.CFrame
  81. CloneChar.Humanoid.BreakJointsOnDeath = false
  82. CloneChar.Name = "non"
  83. CloneChar.Humanoid.DisplayDistanceType = "None"
  84.  
  85. for _,v in next, DeadChar:GetChildren() do
  86. if v:IsA("Accessory") then
  87. local topacc = false
  88. if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
  89. local clonnedhat = v:Clone()
  90. clonnedhat.Parent = CloneChar
  91. local hatath = clonnedhat.Handle:FindFirstChildOfClass("Attachment")
  92. local partath
  93. for _,v in pairs(CloneChar:GetChildren()) do
  94. if v:IsA("BasePart") then
  95. for _,w in pairs(v:GetChildren()) do
  96. if w.Name == hatath.Name then
  97. partath = w
  98. break
  99. end
  100. end
  101. if partath then break end
  102. end
  103. end
  104. local accweld = Instance.new("Weld",clonnedhat.Handle)
  105. accweld.Name = "AccessoryWeld"
  106. accweld.Part0 = clonnedhat.Handle
  107. accweld.Part1 = partath.Parent
  108. accweld.C0 = hatath.CFrame
  109. accweld.C1 = partath.CFrame
  110. if v.Handle:FindFirstChildOfClass("Attachment") then
  111. local ath__ = v.Handle:FindFirstChildOfClass("Attachment")
  112. if ath__.Name == "HatAttachment" or ath__.Name == "HairAttachment" or ath__.Name == "FaceFrontAttachment" or ath__.Name == "FaceCenterAttachment" then
  113. topacc = ath__.Name
  114. end
  115. end
  116. local bv = Instance.new("BodyVelocity",v.Handle)
  117. bv.Velocity = Vector3.new(0,0,0)
  118. coroutine.wrap(function()
  119. if topacc then
  120. local allthings = SCIFIMOVIELOL(v.Handle,DeadChar.UpperTorso,Vector3.new(0,1.35,0)+ (DeadChar.Head[topacc].Position + (v.Handle[topacc].Position*-1)),Vector3.new(0,0,0))
  121. local normaltop = allthings[1].Attachment1
  122. local alipos = allthings[1]
  123. local alirot = allthings[4]
  124. local p0 = v.Handle
  125. local p1 = DeadChar.Head
  126. while true do
  127. game:GetService("RunService").RenderStepped:wait()
  128. if HumanDied then break end
  129. coroutine.wrap(function()
  130. if alipos.Attachment1 == normaltop then
  131. p0.CFrame = (((DeadChar.UpperTorso.CFrame * CFrame.new(0,1.35,0)) * p1[topacc].CFrame) * p0[topacc].CFrame:inverse())
  132. else
  133. v.Handle.CFrame = alipos.Attachment1.Parent.CFrame * CFrame.new(alipos.Attachment1.Position) * CFrame.Angles(math.rad(alirot.Attachment1.Rotation.X),math.rad(alirot.Attachment1.Rotation.Y),math.rad(alirot.Attachment1.Rotation.Z))
  134. end
  135. end)()
  136. end
  137. else
  138. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  139. --[[while true do
  140. game:GetService("RunService").RenderStepped:wait()
  141. if HumanDied then break end
  142. local alipos = CloneChar[v.Name].Handle:FindFirstChildOfClass("AlignPosition")
  143. local alirot = CloneChar[v.Name].Handle:FindFirstChildOfClass("AlignOrientation")
  144. v.Handle.CFrame = alipos.Attachment1.Parent.CFrame * CFrame.new(alipos.Attachment1.Position) * CFrame.Angles(math.rad(alirot.Attachment1.Rotation.X),math.rad(alirot.Attachment1.Rotation.Y),math.rad(alirot.Attachment1.Rotation.Z))
  145. end]]
  146. end
  147. end)()
  148. end
  149. end
  150.  
  151. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  152. game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  153. DeadChar.Parent = game
  154. local a = DeadChar.UpperTorso
  155. local b = DeadChar.HumanoidRootPart
  156. local c = DeadChar.Humanoid
  157. DeadChar.LowerTorso.Root.Parent = b
  158. DeadChar.Head.Neck.Parent = a
  159. a.Parent = game:FindFirstChildOfClass("Workspace")
  160. c.Parent = game:FindFirstChildOfClass("Workspace")
  161. local told = a:Clone()
  162. local told1 = c:Clone()
  163. b["Root"].Part1 = told
  164. b["Root"].Part0 = DeadChar.Head
  165. a.Name = "torso"
  166. a.Neck:Destroy()
  167. c.Name = "hum"
  168. told.Parent = DeadChar
  169. told1.Parent = DeadChar
  170. DeadChar.PrimaryPart = told
  171. told1.Health = 0
  172. a.Parent = DeadChar
  173. c.Parent = DeadChar
  174. b["Root"]:Destroy()
  175. DeadChar.HumanoidRootPart.Parent = workspace
  176.  
  177. told:Destroy()
  178. told1:Destroy()
  179. a.Name = "UpperTorso"
  180. DeadChar.Parent = workspace
  181.  
  182. if CloneChar.Head:FindFirstChildOfClass("Decal") then CloneChar.Head:FindFirstChildOfClass("Decal").Transparency = 1 end
  183. if DeadChar:FindFirstChild("Animate") then DeadChar:FindFirstChild("Animate"):Destroy() end
  184.  
  185.  
  186. local con
  187. function UnCollide()
  188. if HumanDied then con:Disconnect(); return end
  189. --[[for _,Parts in next, CloneChar:GetDescendants() do
  190. if Parts:IsA("BasePart") then
  191. Parts.CanCollide = false
  192. end
  193. end]]
  194. for _,Parts in next, DeadChar:GetDescendants() do
  195. if Parts:IsA("BasePart") then
  196. Parts.CanCollide = false
  197. end
  198. end
  199. end
  200. con = game:GetService("RunService").Stepped:Connect(UnCollide)
  201.  
  202. local resetBindable = Instance.new("BindableEvent")
  203. resetBindable.Event:connect(function()
  204. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  205. resetBindable:Destroy()
  206. pcall(function()
  207. game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  208. DeadChar.Head:Destroy()
  209. DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  210. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  211. if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  212. end)
  213. end)
  214. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  215.  
  216. coroutine.wrap(function()
  217. while true do
  218. game:GetService("RunService").RenderStepped:wait()
  219. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChildOfClass("Humanoid") or CloneChar:FindFirstChildOfClass("Humanoid").Health <= 0 and not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChildOfClass("Humanoid") or DeadChar:FindFirstChildOfClass("Humanoid").Health <= 0 then
  220. HumanDied = true
  221. print("DEAD")
  222. pcall(function()
  223. game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  224. DeadChar.Head:Destroy()
  225. DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  226. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  227. if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  228. end)
  229. if resetBindable then
  230. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  231. resetBindable:Destroy()
  232. end
  233. break
  234. end
  235. end
  236. end)()
  237.  
  238. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"],Vector3.new(0,0,0),Vector3.new(0,0,0))
  239. SCIFIMOVIELOL(DeadChar["UpperTorso"],CloneChar["Torso"],Vector3.new(0,0.15,0),Vector3.new(0,0,0))
  240. SCIFIMOVIELOL(DeadChar["LowerTorso"],CloneChar["Torso"],Vector3.new(0,-0.78,0),Vector3.new(0,0,0))
  241.  
  242. SCIFIMOVIELOL(DeadChar["LeftUpperArm"],CloneChar["Left Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  243. SCIFIMOVIELOL(DeadChar["LeftLowerArm"],CloneChar["Left Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  244. SCIFIMOVIELOL(DeadChar["LeftHand"],CloneChar["Left Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  245. SCIFIMOVIELOL(DeadChar["RightUpperArm"],CloneChar["Right Arm"],Vector3.new(0,0.375,0),Vector3.new(0,0,0))
  246. SCIFIMOVIELOL(DeadChar["RightLowerArm"],CloneChar["Right Arm"],Vector3.new(0,-0.215,0),Vector3.new(0,0,0))
  247. SCIFIMOVIELOL(DeadChar["RightHand"],CloneChar["Right Arm"],Vector3.new(0,-0.825,0),Vector3.new(0,0,0))
  248.  
  249. SCIFIMOVIELOL(DeadChar["LeftUpperLeg"],CloneChar["Left Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  250. SCIFIMOVIELOL(DeadChar["LeftLowerLeg"],CloneChar["Left Leg"],Vector3.new(0,-0.2,0),Vector3.new(0,0,0))
  251. SCIFIMOVIELOL(DeadChar["LeftFoot"],CloneChar["Left Leg"],Vector3.new(0,-0.85,0),Vector3.new(0,0,0))
  252. SCIFIMOVIELOL(DeadChar["RightUpperLeg"],CloneChar["Right Leg"],Vector3.new(0,0.575,0),Vector3.new(0,0,0))
  253. SCIFIMOVIELOL(DeadChar["RightLowerLeg"],CloneChar["Right Leg"],Vector3.new(0,-0.2,0),Vector3.new(0,0,0))
  254. SCIFIMOVIELOL(DeadChar["RightFoot"],CloneChar["Right Leg"],Vector3.new(0,-0.85,0),Vector3.new(0,0,0))
  255.  
  256. for _,v in pairs(DeadChar:GetChildren()) do
  257. if v:IsA("BasePart") and v.Name ~= "Head" then
  258. --[[local bv = Instance.new("BodyVelocity",v)
  259. bv.Velocity = Vector3.new(0,0,0)
  260. coroutine.wrap(function()
  261. while true do
  262. game:GetService("RunService").RenderStepped:wait()
  263. if HumanDied then break end
  264. v.CFrame = CloneChar[v.Name].CFrame
  265. end
  266. end)()]]
  267. elseif v:IsA("BasePart") and v.Name == "Head" then
  268. local bv = Instance.new("BodyVelocity",v)
  269. bv.Velocity = Vector3.new(0,0,0)
  270. coroutine.wrap(function()
  271. while true do
  272. game:GetService("RunService").RenderStepped:wait()
  273. if HumanDied then break end
  274. v.CFrame = DeadChar.UpperTorso.CFrame * CFrame.new(0,1.35,0)
  275. end
  276. end)()
  277. end
  278. end
  279.  
  280. for _,BodyParts in next, CloneChar:GetDescendants() do
  281. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  282. BodyParts.Transparency = 1 end end
  283. game:GetService("RunService").RenderStepped:wait()
  284. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  285. game:FindFirstChildOfClass("Workspace"):FindFirstChildOfClass("Camera").CameraSubject = CloneChar.Humanoid
  286.  
  287. for _,v in pairs(DeadChar:GetDescendants()) do
  288. if v.ClassName == "Motor6D" then
  289. v:Destroy()
  290. end
  291. end
  292. fldr.Parent = DeadChar
  293.  
  294. function RUNANIMATESCRIPT(FOLDER)
  295.  
  296. local Figure = FOLDER.Parent
  297. local Torso = Figure:WaitForChild("Torso")
  298. local RightShoulder = Torso:WaitForChild("Right Shoulder")
  299. local LeftShoulder = Torso:WaitForChild("Left Shoulder")
  300. local RightHip = Torso:WaitForChild("Right Hip")
  301. local LeftHip = Torso:WaitForChild("Left Hip")
  302. local Neck = Torso:WaitForChild("Neck")
  303. local Humanoid = Figure:WaitForChild("Humanoid")
  304. local pose = "Standing"
  305.  
  306. local currentAnim = ""
  307. local currentAnimInstance = nil
  308. local currentAnimTrack = nil
  309. local currentAnimKeyframeHandler = nil
  310. local currentAnimSpeed = 1.0
  311. local animTable = {}
  312. local animNames = {
  313. idle = {
  314. { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
  315. { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
  316. },
  317. walk = {
  318. { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
  319. },
  320. run = {
  321. { id = "run.xml", weight = 10 }
  322. },
  323. jump = {
  324. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  325. },
  326. fall = {
  327. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  328. },
  329. climb = {
  330. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  331. },
  332. sit = {
  333. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  334. },
  335. toolnone = {
  336. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  337. },
  338. toolslash = {
  339. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  340. -- { id = "slash.xml", weight = 10 }
  341. },
  342. toollunge = {
  343. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  344. },
  345. wave = {
  346. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  347. },
  348. point = {
  349. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  350. },
  351. dance1 = {
  352. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  353. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  354. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  355. },
  356. dance2 = {
  357. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  358. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  359. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  360. },
  361. dance3 = {
  362. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  363. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  364. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  365. },
  366. laugh = {
  367. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  368. },
  369. cheer = {
  370. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  371. },
  372. }
  373. local dances = {"dance1", "dance2", "dance3"}
  374.  
  375. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  376. local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  377.  
  378. function configureAnimationSet(name, fileList)
  379. if (animTable[name] ~= nil) then
  380. for _, connection in pairs(animTable[name].connections) do
  381. connection:disconnect()
  382. end
  383. end
  384. animTable[name] = {}
  385. animTable[name].count = 0
  386. animTable[name].totalWeight = 0
  387. animTable[name].connections = {}
  388.  
  389. -- check for config values
  390. local config = FOLDER:FindFirstChild(name)
  391. if (config ~= nil) then
  392. -- print("Loading anims " .. name)
  393. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  394. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  395. local idx = 1
  396. for _, childPart in pairs(config:GetChildren()) do
  397. if (childPart:IsA("Animation")) then
  398. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  399. animTable[name][idx] = {}
  400. animTable[name][idx].anim = childPart
  401. local weightObject = childPart:FindFirstChild("Weight")
  402. if (weightObject == nil) then
  403. animTable[name][idx].weight = 1
  404. else
  405. animTable[name][idx].weight = weightObject.Value
  406. end
  407. animTable[name].count = animTable[name].count + 1
  408. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  409. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  410. idx = idx + 1
  411. end
  412. end
  413. end
  414.  
  415. -- fallback to defaults
  416. if (animTable[name].count <= 0) then
  417. for idx, anim in pairs(fileList) do
  418. animTable[name][idx] = {}
  419. animTable[name][idx].anim = Instance.new("Animation")
  420. animTable[name][idx].anim.Name = name
  421. animTable[name][idx].anim.AnimationId = anim.id
  422. animTable[name][idx].weight = anim.weight
  423. animTable[name].count = animTable[name].count + 1
  424. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  425. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  426. end
  427. end
  428. end
  429.  
  430. -- Setup animation objects
  431. function scriptChildModified(child)
  432. local fileList = animNames[child.Name]
  433. if (fileList ~= nil) then
  434. configureAnimationSet(child.Name, fileList)
  435. end
  436. end
  437.  
  438. FOLDER.ChildAdded:connect(scriptChildModified)
  439. FOLDER.ChildRemoved:connect(scriptChildModified)
  440.  
  441.  
  442. for name, fileList in pairs(animNames) do
  443. configureAnimationSet(name, fileList)
  444. end
  445.  
  446. -- ANIMATION
  447.  
  448. -- declarations
  449. local toolAnim = "None"
  450. local toolAnimTime = 0
  451.  
  452. local jumpAnimTime = 0
  453. local jumpAnimDuration = 0.3
  454.  
  455. local toolTransitionTime = 0.1
  456. local fallTransitionTime = 0.3
  457. local jumpMaxLimbVelocity = 0.75
  458.  
  459. -- functions
  460.  
  461. function stopAllAnimations()
  462. local oldAnim = currentAnim
  463.  
  464. -- return to idle if finishing an emote
  465. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  466. oldAnim = "idle"
  467. end
  468.  
  469. currentAnim = ""
  470. currentAnimInstance = nil
  471. if (currentAnimKeyframeHandler ~= nil) then
  472. currentAnimKeyframeHandler:disconnect()
  473. end
  474.  
  475. if (currentAnimTrack ~= nil) then
  476. currentAnimTrack:Stop()
  477. currentAnimTrack:Destroy()
  478. currentAnimTrack = nil
  479. end
  480. return oldAnim
  481. end
  482.  
  483. function setAnimationSpeed(speed)
  484. if speed ~= currentAnimSpeed then
  485. currentAnimSpeed = speed
  486. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  487. end
  488. end
  489.  
  490. function keyFrameReachedFunc(frameName)
  491. if (frameName == "End") then
  492.  
  493. local repeatAnim = currentAnim
  494. -- return to idle if finishing an emote
  495. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  496. repeatAnim = "idle"
  497. end
  498.  
  499. local animSpeed = currentAnimSpeed
  500. playAnimation(repeatAnim, 0.0, Humanoid)
  501. setAnimationSpeed(animSpeed)
  502. end
  503. end
  504.  
  505. -- Preload animations
  506. function playAnimation(animName, transitionTime, humanoid)
  507.  
  508. local roll = math.random(1, animTable[animName].totalWeight)
  509. local origRoll = roll
  510. local idx = 1
  511. while (roll > animTable[animName][idx].weight) do
  512. roll = roll - animTable[animName][idx].weight
  513. idx = idx + 1
  514. end
  515. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  516. local anim = animTable[animName][idx].anim
  517.  
  518. -- switch animation
  519. if (anim ~= currentAnimInstance) then
  520.  
  521. if (currentAnimTrack ~= nil) then
  522. currentAnimTrack:Stop(transitionTime)
  523. currentAnimTrack:Destroy()
  524. end
  525.  
  526. currentAnimSpeed = 1.0
  527.  
  528. -- load it to the humanoid; get AnimationTrack
  529. currentAnimTrack = humanoid:LoadAnimation(anim)
  530. currentAnimTrack.Priority = Enum.AnimationPriority.Core
  531.  
  532. -- play the animation
  533. currentAnimTrack:Play(transitionTime)
  534. currentAnim = animName
  535. currentAnimInstance = anim
  536.  
  537. -- set up keyframe name triggers
  538. if (currentAnimKeyframeHandler ~= nil) then
  539. currentAnimKeyframeHandler:disconnect()
  540. end
  541. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  542.  
  543. end
  544.  
  545. end
  546.  
  547. -------------------------------------------------------------------------------------------
  548. -------------------------------------------------------------------------------------------
  549.  
  550. local toolAnimName = ""
  551. local toolAnimTrack = nil
  552. local toolAnimInstance = nil
  553. local currentToolAnimKeyframeHandler = nil
  554.  
  555. function toolKeyFrameReachedFunc(frameName)
  556. if (frameName == "End") then
  557. -- print("Keyframe : ".. frameName)
  558. playToolAnimation(toolAnimName, 0.0, Humanoid)
  559. end
  560. end
  561.  
  562.  
  563. function playToolAnimation(animName, transitionTime, humanoid, priority)
  564.  
  565. local roll = math.random(1, animTable[animName].totalWeight)
  566. local origRoll = roll
  567. local idx = 1
  568. while (roll > animTable[animName][idx].weight) do
  569. roll = roll - animTable[animName][idx].weight
  570. idx = idx + 1
  571. end
  572. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  573. local anim = animTable[animName][idx].anim
  574.  
  575. if (toolAnimInstance ~= anim) then
  576.  
  577. if (toolAnimTrack ~= nil) then
  578. toolAnimTrack:Stop()
  579. toolAnimTrack:Destroy()
  580. transitionTime = 0
  581. end
  582.  
  583. -- load it to the humanoid; get AnimationTrack
  584. toolAnimTrack = humanoid:LoadAnimation(anim)
  585. if priority then
  586. toolAnimTrack.Priority = priority
  587. end
  588.  
  589. -- play the animation
  590. toolAnimTrack:Play(transitionTime)
  591. toolAnimName = animName
  592. toolAnimInstance = anim
  593.  
  594. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  595. end
  596. end
  597.  
  598. function stopToolAnimations()
  599. local oldAnim = toolAnimName
  600.  
  601. if (currentToolAnimKeyframeHandler ~= nil) then
  602. currentToolAnimKeyframeHandler:disconnect()
  603. end
  604.  
  605. toolAnimName = ""
  606. toolAnimInstance = nil
  607. if (toolAnimTrack ~= nil) then
  608. toolAnimTrack:Stop()
  609. toolAnimTrack:Destroy()
  610. toolAnimTrack = nil
  611. end
  612.  
  613.  
  614. return oldAnim
  615. end
  616.  
  617. -------------------------------------------------------------------------------------------
  618. -------------------------------------------------------------------------------------------
  619.  
  620.  
  621. function onRunning(speed)
  622. if speed > 0.01 then
  623. playAnimation("walk", 0.1, Humanoid)
  624. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  625. setAnimationSpeed(speed / 14.5)
  626. end
  627. pose = "Running"
  628. else
  629. if emoteNames[currentAnim] == nil then
  630. playAnimation("idle", 0.1, Humanoid)
  631. pose = "Standing"
  632. end
  633. end
  634. end
  635.  
  636. function onDied()
  637. pose = "Dead"
  638. end
  639.  
  640. function onJumping()
  641. playAnimation("jump", 0.1, Humanoid)
  642. jumpAnimTime = jumpAnimDuration
  643. pose = "Jumping"
  644. end
  645.  
  646. function onClimbing(speed)
  647. playAnimation("climb", 0.1, Humanoid)
  648. setAnimationSpeed(speed / 12.0)
  649. pose = "Climbing"
  650. end
  651.  
  652. function onGettingUp()
  653. pose = "GettingUp"
  654. end
  655.  
  656. function onFreeFall()
  657. if (jumpAnimTime <= 0) then
  658. playAnimation("fall", fallTransitionTime, Humanoid)
  659. end
  660. pose = "FreeFall"
  661. end
  662.  
  663. function onFallingDown()
  664. pose = "FallingDown"
  665. end
  666.  
  667. function onSeated()
  668. pose = "Seated"
  669. end
  670.  
  671. function onPlatformStanding()
  672. pose = "PlatformStanding"
  673. end
  674.  
  675. function onSwimming(speed)
  676. if speed > 0 then
  677. pose = "Running"
  678. else
  679. pose = "Standing"
  680. end
  681. end
  682.  
  683. function getTool()
  684. for _, kid in ipairs(Figure:GetChildren()) do
  685. if kid.className == "Tool" then return kid end
  686. end
  687. return nil
  688. end
  689.  
  690. function getToolAnim(tool)
  691. for _, c in ipairs(tool:GetChildren()) do
  692. if c.Name == "toolanim" and c.className == "StringValue" then
  693. return c
  694. end
  695. end
  696. return nil
  697. end
  698.  
  699. function animateTool()
  700.  
  701. if (toolAnim == "None") then
  702. playToolAnimation("toolnone", toolTransitionTime, Humanoid, Enum.AnimationPriority.Idle)
  703. return
  704. end
  705.  
  706. if (toolAnim == "Slash") then
  707. playToolAnimation("toolslash", 0, Humanoid, Enum.AnimationPriority.Action)
  708. return
  709. end
  710.  
  711. if (toolAnim == "Lunge") then
  712. playToolAnimation("toollunge", 0, Humanoid, Enum.AnimationPriority.Action)
  713. return
  714. end
  715. end
  716.  
  717. function moveSit()
  718. RightShoulder.MaxVelocity = 0.15
  719. LeftShoulder.MaxVelocity = 0.15
  720. RightShoulder:SetDesiredAngle(3.14 /2)
  721. LeftShoulder:SetDesiredAngle(-3.14 /2)
  722. RightHip:SetDesiredAngle(3.14 /2)
  723. LeftHip:SetDesiredAngle(-3.14 /2)
  724. end
  725.  
  726. local lastTick = 0
  727.  
  728. function move(time)
  729. local amplitude = 1
  730. local frequency = 1
  731. local deltaTime = time - lastTick
  732. lastTick = time
  733.  
  734. local climbFudge = 0
  735. local setAngles = false
  736.  
  737. if (jumpAnimTime > 0) then
  738. jumpAnimTime = jumpAnimTime - deltaTime
  739. end
  740.  
  741. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  742. playAnimation("fall", fallTransitionTime, Humanoid)
  743. elseif (pose == "Seated") then
  744. playAnimation("sit", 0.5, Humanoid)
  745. return
  746. elseif (pose == "Running") then
  747. playAnimation("walk", 0.1, Humanoid)
  748. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  749. -- print("Wha " .. pose)
  750. stopAllAnimations()
  751. amplitude = 0.1
  752. frequency = 1
  753. setAngles = true
  754. end
  755.  
  756. if (setAngles) then
  757. local desiredAngle = amplitude * math.sin(time * frequency)
  758.  
  759. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  760. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  761. RightHip:SetDesiredAngle(-desiredAngle)
  762. LeftHip:SetDesiredAngle(-desiredAngle)
  763. end
  764.  
  765. -- Tool Animation handling
  766. local tool = getTool()
  767. if tool and tool:FindFirstChild("Handle") then
  768.  
  769. local animStringValueObject = getToolAnim(tool)
  770.  
  771. if animStringValueObject then
  772. toolAnim = animStringValueObject.Value
  773. -- message recieved, delete StringValue
  774. animStringValueObject.Parent = nil
  775. toolAnimTime = time + .3
  776. end
  777.  
  778. if time > toolAnimTime then
  779. toolAnimTime = 0
  780. toolAnim = "None"
  781. end
  782.  
  783. animateTool()
  784. else
  785. stopToolAnimations()
  786. toolAnim = "None"
  787. toolAnimInstance = nil
  788. toolAnimTime = 0
  789. end
  790. end
  791.  
  792.  
  793. local events = {}
  794. local eventHum = Humanoid
  795.  
  796. local function onUnhook()
  797. for i = 1, #events do
  798. events[i]:Disconnect()
  799. end
  800. events = {}
  801. end
  802.  
  803. local function onHook()
  804. onUnhook()
  805.  
  806. pose = eventHum.Sit and "Seated" or "Standing"
  807.  
  808. events = {
  809. eventHum.Died:connect(onDied),
  810. eventHum.Running:connect(onRunning),
  811. eventHum.Jumping:connect(onJumping),
  812. eventHum.Climbing:connect(onClimbing),
  813. eventHum.GettingUp:connect(onGettingUp),
  814. eventHum.FreeFalling:connect(onFreeFall),
  815. eventHum.FallingDown:connect(onFallingDown),
  816. eventHum.Seated:connect(onSeated),
  817. eventHum.PlatformStanding:connect(onPlatformStanding),
  818. eventHum.Swimming:connect(onSwimming)
  819. }
  820. end
  821.  
  822.  
  823. onHook()
  824. --FOLDER:WaitForChild("Loaded").Value = true
  825.  
  826.  
  827. -- main program
  828.  
  829. -- initialize to idle
  830. playAnimation("idle", 0.1, Humanoid)
  831. pose = "Standing"
  832.  
  833. spawn(function()
  834. while Figure.Parent ~= nil do
  835. local _, time = wait(0.1)
  836. move(time)
  837. end
  838. end)
  839.  
  840. return {
  841. onRunning = onRunning,
  842. onDied = onDied,
  843. onJumping = onJumping,
  844. onClimbing = onClimbing,
  845. onGettingUp = onGettingUp,
  846. onFreeFall = onFreeFall,
  847. onFallingDown = onFallingDown,
  848. onSeated = onSeated,
  849. onPlatformStanding = onPlatformStanding,
  850. onHook = onHook,
  851. onUnhook = onUnhook
  852. }
  853.  
  854. end
  855. RUNANIMATESCRIPT(CloneChar.Animate)
  856.  
  857. -----------------------
  858. --[[ Name : Chips ]]--
  859. --[[ Description : I think I found my specialty in scripts ]]--
  860. --[[ \ None / ]]--
  861. -------------------------------------------------------
  862. --A script By Creterisk/makhail07
  863. --Discord Creterisk#2958
  864. -------------------------------------------------------
  865.  
  866. --Everything is Meaningless.....
  867.  
  868. wait(1 / 60)
  869.  
  870. loadstring(game:GetObjects("rbxassetid://5425999987")[1].Source)()
  871.  
  872. local plr = game.Players.LocalPlayer
  873. local mouse = plr:GetMouse()
  874. local char = plr.Character
  875. local hum = char:FindFirstChildOfClass'Humanoid'
  876. local hed = char.Head
  877. local root = char:FindFirstChild'HumanoidRootPart'
  878. local rootj = root.RootJoint
  879. local tors = char.Torso
  880. local ra = char["Right Arm"]
  881. local la = char["Left Arm"]
  882. local rl = char["Right Leg"]
  883. local ll = char["Left Leg"]
  884. local neck = tors["Neck"]
  885. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  886. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  887. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  888. local maincolor = BrickColor.new("Institutional white")
  889. -------------------------------------------------------
  890. --Start Good Stuff--
  891. -------------------------------------------------------
  892. cam = game.Workspace.CurrentCamera
  893. CF = CFrame.new
  894. angles = CFrame.Angles
  895. attack = false
  896. Euler = CFrame.fromEulerAnglesXYZ
  897. Rad = math.rad
  898. IT = Instance.new
  899. BrickC = BrickColor.new
  900. Cos = math.cos
  901. Acos = math.acos
  902. Sin = math.sin
  903. Asin = math.asin
  904. Abs = math.abs
  905. Mrandom = math.random
  906. Floor = math.floor
  907. -------------------------------------------------------
  908. --End Good Stuff--
  909. -------------------------------------------------------
  910. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  911. RSH, LSH = nil, nil
  912. RW = Instance.new("Weld")
  913. LW = Instance.new("Weld")
  914. RH = tors["Right Hip"]
  915. LH = tors["Left Hip"]
  916. RSH = tors["Right Shoulder"]
  917. LSH = tors["Left Shoulder"]
  918. RSH.Parent = nil
  919. LSH.Parent = nil
  920. RW.Name = "RW"
  921. RW.Part0 = tors
  922. RW.C0 = CF(1.5, 0.5, 0)
  923. RW.C1 = CF(0, 0.5, 0)
  924. RW.Part1 = ra
  925. RW.Parent = tors
  926. LW.Name = "LW"
  927. LW.Part0 = tors
  928. LW.C0 = CF(-1.5, 0.5, 0)
  929. LW.C1 = CF(0, 0.5, 0)
  930. LW.Part1 = la
  931. LW.Parent = tors
  932. Effects = {}
  933. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  934. local wld = Instance.new("Weld", wp1)
  935. wld.Part0 = wp0
  936. wld.Part1 = wp1
  937. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  938. end
  939. newWeld(tors, ll, -0.5, -1, 0)
  940. ll.Weld.C1 = CFrame.new(0, 1, 0)
  941. newWeld(tors, rl, 0.5, -1, 0)
  942. rl.Weld.C1 = CFrame.new(0, 1, 0)
  943. -------------------------------------------------------
  944. --Start Important Functions--
  945. -------------------------------------------------------
  946. function swait(num)
  947. if num == 0 or num == nil then
  948. game:service("RunService").Stepped:wait(0)
  949. else
  950. for i = 0, num do
  951. game:service("RunService").Stepped:wait(0)
  952. end
  953. end
  954. end
  955. function thread(f)
  956. coroutine.resume(coroutine.create(f))
  957. end
  958. function clerp(a, b, t)
  959. local qa = {
  960. QuaternionFromCFrame(a)
  961. }
  962. local qb = {
  963. QuaternionFromCFrame(b)
  964. }
  965. local ax, ay, az = a.x, a.y, a.z
  966. local bx, by, bz = b.x, b.y, b.z
  967. local _t = 1 - t
  968. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  969. end
  970. function QuaternionFromCFrame(cf)
  971. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  972. local trace = m00 + m11 + m22
  973. if trace > 0 then
  974. local s = math.sqrt(1 + trace)
  975. local recip = 0.5 / s
  976. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  977. else
  978. local i = 0
  979. if m00 < m11 then
  980. i = 1
  981. end
  982. if m22 > (i == 0 and m00 or m11) then
  983. i = 2
  984. end
  985. if i == 0 then
  986. local s = math.sqrt(m00 - m11 - m22 + 1)
  987. local recip = 0.5 / s
  988. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  989. elseif i == 1 then
  990. local s = math.sqrt(m11 - m22 - m00 + 1)
  991. local recip = 0.5 / s
  992. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  993. elseif i == 2 then
  994. local s = math.sqrt(m22 - m00 - m11 + 1)
  995. local recip = 0.5 / s
  996. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  997. end
  998. end
  999. end
  1000. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1001. local xs, ys, zs = x + x, y + y, z + z
  1002. local wx, wy, wz = w * xs, w * ys, w * zs
  1003. local xx = x * xs
  1004. local xy = x * ys
  1005. local xz = x * zs
  1006. local yy = y * ys
  1007. local yz = y * zs
  1008. local zz = z * zs
  1009. 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))
  1010. end
  1011. function QuaternionSlerp(a, b, t)
  1012. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1013. local startInterp, finishInterp
  1014. if cosTheta >= 1.0E-4 then
  1015. if 1 - cosTheta > 1.0E-4 then
  1016. local theta = math.acos(cosTheta)
  1017. local invSinTheta = 1 / Sin(theta)
  1018. startInterp = Sin((1 - t) * theta) * invSinTheta
  1019. finishInterp = Sin(t * theta) * invSinTheta
  1020. else
  1021. startInterp = 1 - t
  1022. finishInterp = t
  1023. end
  1024. elseif 1 + cosTheta > 1.0E-4 then
  1025. local theta = math.acos(-cosTheta)
  1026. local invSinTheta = 1 / Sin(theta)
  1027. startInterp = Sin((t - 1) * theta) * invSinTheta
  1028. finishInterp = Sin(t * theta) * invSinTheta
  1029. else
  1030. startInterp = t - 1
  1031. finishInterp = t
  1032. end
  1033. 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
  1034. end
  1035. function rayCast(Position, Direction, Range, Ignore)
  1036. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1037. end
  1038. local RbxUtility = LoadLibrary("RbxUtility")
  1039. local Create = RbxUtility.Create
  1040.  
  1041. -------------------------------------------------------
  1042. --Start Damage Function--
  1043. -------------------------------------------------------
  1044. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1045. return true
  1046. end
  1047. -------------------------------------------------------
  1048. --End Damage Function--
  1049. -------------------------------------------------------
  1050.  
  1051. -------------------------------------------------------
  1052. --Start Damage Function Customization--
  1053. -------------------------------------------------------
  1054. function ShowDamage(Pos, Text, Time, Color)
  1055. local Rate = (1 / 30)
  1056. local Pos = (Pos or Vector3.new(0, 0, 0))
  1057. local Text = (Text or "")
  1058. local Time = (Time or 2)
  1059. local Color = (Color or Color3.new(1, 0, 1))
  1060. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1061. EffectPart.Anchored = true
  1062. local BillboardGui = Create("BillboardGui"){
  1063. Size = UDim2.new(3, 0, 3, 0),
  1064. Adornee = EffectPart,
  1065. Parent = EffectPart,
  1066. }
  1067. local TextLabel = Create("TextLabel"){
  1068. BackgroundTransparency = 1,
  1069. Size = UDim2.new(1, 0, 1, 0),
  1070. Text = Text,
  1071. Font = "Bodoni",
  1072. TextColor3 = Color,
  1073. TextScaled = true,
  1074. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  1075. Parent = BillboardGui,
  1076. }
  1077. game.Debris:AddItem(EffectPart, (Time))
  1078. EffectPart.Parent = game:GetService("Workspace")
  1079. delay(0, function()
  1080. local Frames = (Time / Rate)
  1081. for Frame = 1, Frames do
  1082. wait(Rate)
  1083. local Percent = (Frame / Frames)
  1084. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1085. TextLabel.TextTransparency = Percent
  1086. end
  1087. if EffectPart and EffectPart.Parent then
  1088. EffectPart:Destroy()
  1089. end
  1090. end)
  1091. end
  1092. -------------------------------------------------------
  1093. --End Damage Function Customization--
  1094. -------------------------------------------------------
  1095.  
  1096. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1097. for _, c in pairs(workspace:children()) do
  1098. local hum = c:findFirstChild("Humanoid")
  1099. if hum ~= nil then
  1100. local head = c:findFirstChild("Head")
  1101. if head ~= nil then
  1102. local targ = head.Position - Part.Position
  1103. local mag = targ.magnitude
  1104. if magni >= mag and c.Name ~= plr.Name then
  1105. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1106. end
  1107. end
  1108. end
  1109. end
  1110. end
  1111.  
  1112.  
  1113. CFuncs = {
  1114. Part = {
  1115. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1116. local Part = Create("Part")({
  1117. Parent = Parent,
  1118. Reflectance = Reflectance,
  1119. Transparency = Transparency,
  1120. CanCollide = false,
  1121. Locked = true,
  1122. BrickColor = BrickColor.new(tostring(BColor)),
  1123. Name = Name,
  1124. Size = Size,
  1125. Material = Material
  1126. })
  1127. RemoveOutlines(Part)
  1128. return Part
  1129. end
  1130. },
  1131. Mesh = {
  1132. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1133. local Msh = Create(Mesh)({
  1134. Parent = Part,
  1135. Offset = OffSet,
  1136. Scale = Scale
  1137. })
  1138. if Mesh == "SpecialMesh" then
  1139. Msh.MeshType = MeshType
  1140. Msh.MeshId = MeshId
  1141. end
  1142. return Msh
  1143. end
  1144. },
  1145. Mesh = {
  1146. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1147. local Msh = Create(Mesh)({
  1148. Parent = Part,
  1149. Offset = OffSet,
  1150. Scale = Scale
  1151. })
  1152. if Mesh == "SpecialMesh" then
  1153. Msh.MeshType = MeshType
  1154. Msh.MeshId = MeshId
  1155. end
  1156. return Msh
  1157. end
  1158. },
  1159. Weld = {
  1160. Create = function(Parent, Part0, Part1, C0, C1)
  1161. local Weld = Create("Weld")({
  1162. Parent = Parent,
  1163. Part0 = Part0,
  1164. Part1 = Part1,
  1165. C0 = C0,
  1166. C1 = C1
  1167. })
  1168. return Weld
  1169. end
  1170. },
  1171. Sound = {
  1172. Create = function(id, par, vol, pit)
  1173. coroutine.resume(coroutine.create(function()
  1174. local S = Create("Sound")({
  1175. Volume = vol,
  1176. Pitch = pit or 1,
  1177. SoundId = id,
  1178. Parent = par or workspace
  1179. })
  1180. wait()
  1181. S:play()
  1182. game:GetService("Debris"):AddItem(S, 6)
  1183. end))
  1184. end
  1185. },
  1186. ParticleEmitter = {
  1187. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1188. local fp = Create("ParticleEmitter")({
  1189. Parent = Parent,
  1190. Color = ColorSequence.new(Color1, Color2),
  1191. LightEmission = LightEmission,
  1192. Size = Size,
  1193. Texture = Texture,
  1194. Transparency = Transparency,
  1195. ZOffset = ZOffset,
  1196. Acceleration = Accel,
  1197. Drag = Drag,
  1198. LockedToPart = LockedToPart,
  1199. VelocityInheritance = VelocityInheritance,
  1200. EmissionDirection = EmissionDirection,
  1201. Enabled = Enabled,
  1202. Lifetime = LifeTime,
  1203. Rate = Rate,
  1204. Rotation = Rotation,
  1205. RotSpeed = RotSpeed,
  1206. Speed = Speed,
  1207. VelocitySpread = VelocitySpread
  1208. })
  1209. return fp
  1210. end
  1211. }
  1212. }
  1213. function RemoveOutlines(part)
  1214. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1215. end
  1216. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1217. local Part = Create("Part")({
  1218. formFactor = FormFactor,
  1219. Parent = Parent,
  1220. Reflectance = Reflectance,
  1221. Transparency = Transparency,
  1222. CanCollide = false,
  1223. Locked = true,
  1224. BrickColor = BrickColor.new(tostring(BColor)),
  1225. Name = Name,
  1226. Size = Size,
  1227. Material = Material
  1228. })
  1229. RemoveOutlines(Part)
  1230. return Part
  1231. end
  1232. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1233. local Msh = Create(Mesh)({
  1234. Parent = Part,
  1235. Offset = OffSet,
  1236. Scale = Scale
  1237. })
  1238. if Mesh == "SpecialMesh" then
  1239. Msh.MeshType = MeshType
  1240. Msh.MeshId = MeshId
  1241. end
  1242. return Msh
  1243. end
  1244. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1245. local Weld = Create("Weld")({
  1246. Parent = Parent,
  1247. Part0 = Part0,
  1248. Part1 = Part1,
  1249. C0 = C0,
  1250. C1 = C1
  1251. })
  1252. return Weld
  1253. end
  1254.  
  1255.  
  1256. -------------------------------------------------------
  1257. --Start Effect Function--
  1258. -------------------------------------------------------
  1259. EffectModel = Instance.new("Model", char)
  1260. Effects = {
  1261. Block = {
  1262. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1263. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1264. prt.Anchored = true
  1265. prt.CFrame = cframe
  1266. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1267. game:GetService("Debris"):AddItem(prt, 10)
  1268. if Type == 1 or Type == nil then
  1269. table.insert(Effects, {
  1270. prt,
  1271. "Block1",
  1272. delay,
  1273. x3,
  1274. y3,
  1275. z3,
  1276. msh
  1277. })
  1278. elseif Type == 2 then
  1279. table.insert(Effects, {
  1280. prt,
  1281. "Block2",
  1282. delay,
  1283. x3,
  1284. y3,
  1285. z3,
  1286. msh
  1287. })
  1288. else
  1289. table.insert(Effects, {
  1290. prt,
  1291. "Block3",
  1292. delay,
  1293. x3,
  1294. y3,
  1295. z3,
  1296. msh
  1297. })
  1298. end
  1299. end
  1300. },
  1301. Sphere = {
  1302. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1303. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1304. prt.Anchored = true
  1305. prt.CFrame = cframe
  1306. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1307. game:GetService("Debris"):AddItem(prt, 10)
  1308. table.insert(Effects, {
  1309. prt,
  1310. "Cylinder",
  1311. delay,
  1312. x3,
  1313. y3,
  1314. z3,
  1315. msh
  1316. })
  1317. end
  1318. },
  1319. Cylinder = {
  1320. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1321. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1322. prt.Anchored = true
  1323. prt.CFrame = cframe
  1324. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1325. game:GetService("Debris"):AddItem(prt, 10)
  1326. table.insert(Effects, {
  1327. prt,
  1328. "Cylinder",
  1329. delay,
  1330. x3,
  1331. y3,
  1332. z3,
  1333. msh
  1334. })
  1335. end
  1336. },
  1337. Wave = {
  1338. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1339. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1340. prt.Anchored = true
  1341. prt.CFrame = cframe
  1342. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1343. game:GetService("Debris"):AddItem(prt, 10)
  1344. table.insert(Effects, {
  1345. prt,
  1346. "Cylinder",
  1347. delay,
  1348. x3 / 60,
  1349. y3 / 60,
  1350. z3 / 60,
  1351. msh
  1352. })
  1353. end
  1354. },
  1355. Ring = {
  1356. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1357. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1358. prt.Anchored = true
  1359. prt.CFrame = cframe
  1360. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1361. game:GetService("Debris"):AddItem(prt, 10)
  1362. table.insert(Effects, {
  1363. prt,
  1364. "Cylinder",
  1365. delay,
  1366. x3,
  1367. y3,
  1368. z3,
  1369. msh
  1370. })
  1371. end
  1372. },
  1373. Break = {
  1374. Create = function(brickcolor, cframe, x1, y1, z1)
  1375. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1376. prt.Anchored = true
  1377. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1378. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1379. local num = math.random(10, 50) / 1000
  1380. game:GetService("Debris"):AddItem(prt, 10)
  1381. table.insert(Effects, {
  1382. prt,
  1383. "Shatter",
  1384. num,
  1385. prt.CFrame,
  1386. math.random() - math.random(),
  1387. 0,
  1388. math.random(50, 100) / 100
  1389. })
  1390. end
  1391. },
  1392. Spiral = {
  1393. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1394. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1395. prt.Anchored = true
  1396. prt.CFrame = cframe
  1397. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1398. game:GetService("Debris"):AddItem(prt, 10)
  1399. table.insert(Effects, {
  1400. prt,
  1401. "Cylinder",
  1402. delay,
  1403. x3,
  1404. y3,
  1405. z3,
  1406. msh
  1407. })
  1408. end
  1409. },
  1410. Push = {
  1411. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1412. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1413. prt.Anchored = true
  1414. prt.CFrame = cframe
  1415. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1416. game:GetService("Debris"):AddItem(prt, 10)
  1417. table.insert(Effects, {
  1418. prt,
  1419. "Cylinder",
  1420. delay,
  1421. x3,
  1422. y3,
  1423. z3,
  1424. msh
  1425. })
  1426. end
  1427. }
  1428. }
  1429. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1430. local fp = IT("Part")
  1431. fp.formFactor = formfactor
  1432. fp.Parent = parent
  1433. fp.Reflectance = reflectance
  1434. fp.Transparency = transparency
  1435. fp.CanCollide = false
  1436. fp.Locked = true
  1437. fp.BrickColor = brickcolor
  1438. fp.Name = name
  1439. fp.Size = size
  1440. fp.Position = tors.Position
  1441. RemoveOutlines(fp)
  1442. fp.Material = "SmoothPlastic"
  1443. fp:BreakJoints()
  1444. return fp
  1445. end
  1446.  
  1447. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1448. local mesh = IT(Mesh)
  1449. mesh.Parent = part
  1450. if Mesh == "SpecialMesh" then
  1451. mesh.MeshType = meshtype
  1452. if meshid ~= "nil" then
  1453. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1454. end
  1455. end
  1456. mesh.Offset = offset
  1457. mesh.Scale = scale
  1458. return mesh
  1459. end
  1460.  
  1461. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1462. local type = type
  1463. local rng = Instance.new("Part", char)
  1464. rng.Anchored = true
  1465. rng.BrickColor = color
  1466. rng.CanCollide = false
  1467. rng.FormFactor = 3
  1468. rng.Name = "Ring"
  1469. rng.Material = "Neon"
  1470. rng.Size = Vector3.new(1, 1, 1)
  1471. rng.Transparency = 0
  1472. rng.TopSurface = 0
  1473. rng.BottomSurface = 0
  1474. rng.CFrame = pos
  1475. local rngm = Instance.new("SpecialMesh", rng)
  1476. rngm.MeshType = MType
  1477. rngm.Scale = scale
  1478. local scaler2 = 1
  1479. if type == "Add" then
  1480. scaler2 = 1 * value
  1481. elseif type == "Divide" then
  1482. scaler2 = 1 / value
  1483. end
  1484. coroutine.resume(coroutine.create(function()
  1485. for i = 0, 10 / bonuspeed, 0.1 do
  1486. swait()
  1487. if type == "Add" then
  1488. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1489. elseif type == "Divide" then
  1490. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1491. end
  1492. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1493. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1494. end
  1495. rng:Destroy()
  1496. end))
  1497. end
  1498.  
  1499. function Eviscerate(dude)
  1500. if dude.Name ~= char then
  1501. local bgf = IT("BodyGyro", dude.Head)
  1502. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1503. local val = IT("BoolValue", dude)
  1504. val.Name = "IsHit"
  1505. local ds = coroutine.wrap(function()
  1506. dude:WaitForChild("Head"):BreakJoints()
  1507. wait(0.5)
  1508. target = nil
  1509. coroutine.resume(coroutine.create(function()
  1510. for i, v in pairs(dude:GetChildren()) do
  1511. if v:IsA("Accessory") then
  1512. v:Destroy()
  1513. end
  1514. if v:IsA("Humanoid") then
  1515. v:Destroy()
  1516. end
  1517. if v:IsA("CharacterMesh") then
  1518. v:Destroy()
  1519. end
  1520. if v:IsA("Model") then
  1521. v:Destroy()
  1522. end
  1523. if v:IsA("Part") or v:IsA("MeshPart") then
  1524. for x, o in pairs(v:GetChildren()) do
  1525. if o:IsA("Decal") then
  1526. o:Destroy()
  1527. end
  1528. end
  1529. coroutine.resume(coroutine.create(function()
  1530. v.Material = "Neon"
  1531. v.CanCollide = false
  1532. local PartEmmit1 = IT("ParticleEmitter", v)
  1533. PartEmmit1.LightEmission = 1
  1534. PartEmmit1.Texture = "rbxassetid://284205403"
  1535. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1536. PartEmmit1.Rate = 150
  1537. PartEmmit1.Lifetime = NumberRange.new(1)
  1538. PartEmmit1.Size = NumberSequence.new({
  1539. NumberSequenceKeypoint.new(0, 0.75, 0),
  1540. NumberSequenceKeypoint.new(1, 0, 0)
  1541. })
  1542. PartEmmit1.Transparency = NumberSequence.new({
  1543. NumberSequenceKeypoint.new(0, 0, 0),
  1544. NumberSequenceKeypoint.new(1, 1, 0)
  1545. })
  1546. PartEmmit1.Speed = NumberRange.new(0, 0)
  1547. PartEmmit1.VelocitySpread = 30000
  1548. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1549. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1550. local BodPoss = IT("BodyPosition", v)
  1551. BodPoss.P = 3000
  1552. BodPoss.D = 1000
  1553. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1554. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1555. v.Color = maincolor.Color
  1556. coroutine.resume(coroutine.create(function()
  1557. for i = 0, 49 do
  1558. swait(1)
  1559. v.Transparency = v.Transparency + 0.08
  1560. end
  1561. wait(0.5)
  1562. PartEmmit1.Enabled = false
  1563. wait(3)
  1564. v:Destroy()
  1565. dude:Destroy()
  1566. end))
  1567. end))
  1568. end
  1569. end
  1570. end))
  1571. end)
  1572. ds()
  1573. end
  1574. end
  1575.  
  1576. function FindNearestHead(Position, Distance, SinglePlayer)
  1577. if SinglePlayer then
  1578. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1579. end
  1580. local List = {}
  1581. for i, v in pairs(workspace:GetChildren()) do
  1582. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1583. table.insert(List, v)
  1584. end
  1585. end
  1586. return List
  1587. end
  1588.  
  1589. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1590. local type = type
  1591. local rng = Instance.new("Part", char)
  1592. rng.Anchored = true
  1593. rng.BrickColor = color
  1594. rng.CanCollide = false
  1595. rng.FormFactor = 3
  1596. rng.Name = "Ring"
  1597. rng.Material = "Neon"
  1598. rng.Size = Vector3.new(1, 1, 1)
  1599. rng.Transparency = 0
  1600. rng.TopSurface = 0
  1601. rng.BottomSurface = 0
  1602. rng.CFrame = pos
  1603. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1604. local rngm = Instance.new("SpecialMesh", rng)
  1605. rngm.MeshType = MType
  1606. rngm.Scale = Vector3.new(x1, y1, z1)
  1607. local scaler2 = 1
  1608. local speeder = FastSpeed
  1609. if type == "Add" then
  1610. scaler2 = 1 * value
  1611. elseif type == "Divide" then
  1612. scaler2 = 1 / value
  1613. end
  1614. coroutine.resume(coroutine.create(function()
  1615. for i = 0, 10 / bonuspeed, 0.1 do
  1616. swait()
  1617. if type == "Add" then
  1618. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1619. elseif type == "Divide" then
  1620. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1621. end
  1622. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1623. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1624. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1625. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1626. end
  1627. rng:Destroy()
  1628. end))
  1629. end
  1630.  
  1631. function SoulSteal(dude)
  1632. if dude.Name ~= char then
  1633. local bgf = IT("BodyGyro", dude.Head)
  1634. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1635. local val = IT("BoolValue", dude)
  1636. val.Name = "IsHit"
  1637. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1638. local soulst = coroutine.wrap(function()
  1639. local soul = Instance.new("Part",dude)
  1640. soul.Size = Vector3.new(1,1,1)
  1641. soul.CanCollide = false
  1642. soul.Anchored = false
  1643. soul.Position = torso.Position
  1644. soul.Transparency = 1
  1645. local PartEmmit1 = IT("ParticleEmitter", soul)
  1646. PartEmmit1.LightEmission = 1
  1647. PartEmmit1.Texture = "rbxassetid://569507414"
  1648. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1649. PartEmmit1.Rate = 250
  1650. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1651. PartEmmit1.Size = NumberSequence.new({
  1652. NumberSequenceKeypoint.new(0, 1, 0),
  1653. NumberSequenceKeypoint.new(1, 0, 0)
  1654. })
  1655. PartEmmit1.Transparency = NumberSequence.new({
  1656. NumberSequenceKeypoint.new(0, 0, 0),
  1657. NumberSequenceKeypoint.new(1, 1, 0)
  1658. })
  1659. PartEmmit1.Speed = NumberRange.new(0, 0)
  1660. PartEmmit1.VelocitySpread = 30000
  1661. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1662. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1663. local BodPoss = IT("BodyPosition", soul)
  1664. BodPoss.P = 3000
  1665. BodPoss.D = 1000
  1666. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1667. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1668. wait(1.6)
  1669. soul.Touched:connect(function(hit)
  1670. if hit.Parent == char then
  1671. soul:Destroy()
  1672. end
  1673. end)
  1674. wait(1.2)
  1675. while soul do
  1676. swait()
  1677. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1678. BodPoss.Position = tors.Position
  1679. end
  1680. end)
  1681. soulst()
  1682. end
  1683. end
  1684. function FaceMouse()
  1685. local Cam = workspace.CurrentCamera
  1686. return {
  1687. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1688. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1689. }
  1690. end
  1691. Effects = {
  1692. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  1693. local p = Instance.new("Part",EffectModel)
  1694. p.BrickColor = BrickColor.new(colour)
  1695. p.Size = partsize
  1696. p.Anchored = true
  1697. p.CanCollide = false
  1698. p.Material = matr
  1699. p.CFrame = cf
  1700. if inverse == true then
  1701. p.Transparency = 1
  1702. else
  1703. p.Transparency = 0
  1704. end
  1705. local m = Instance.new("BlockMesh",p)
  1706. m.Scale = meshstart
  1707. coroutine.wrap(function()
  1708. for i = 0, 1, factor do
  1709. swait()
  1710. if inverse == true then
  1711. p.Transparency = 1-i
  1712. else
  1713. p.Transparency = i
  1714. end
  1715. m.Scale = m.Scale + meshadd
  1716. if spin == true then
  1717. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1718. end
  1719. end
  1720. p:Destroy()
  1721. end)()
  1722. return p
  1723. end,
  1724. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1725. local p = Instance.new("Part",EffectModel)
  1726. p.BrickColor = BrickColor.new(colour)
  1727. p.Size = partsize
  1728. p.Anchored = true
  1729. p.CanCollide = false
  1730. p.Material = matr
  1731. p.CFrame = cf
  1732. if inverse == true then
  1733. p.Transparency = 1
  1734. else
  1735. p.Transparency = 0
  1736. end
  1737. local m = Instance.new("SpecialMesh",p)
  1738. m.MeshType = "Sphere"
  1739. m.Scale = meshstart
  1740. coroutine.wrap(function()
  1741. for i=0,1,factor do
  1742. swait()
  1743. if inverse == true then
  1744. p.Transparency = 1-i
  1745. else
  1746. p.Transparency = i
  1747. end
  1748. m.Scale = m.Scale + meshadd
  1749. end
  1750. p:Destroy()
  1751. end)()
  1752. return p
  1753. end,
  1754.  
  1755. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1756. local p = Instance.new("Part",EffectModel)
  1757. p.BrickColor = BrickColor.new(colour)
  1758. p.Size = partsize
  1759. p.Anchored = true
  1760. p.CanCollide = false
  1761. p.Material = matr
  1762. p.CFrame = cf
  1763. if inverse == true then
  1764. p.Transparency = 1
  1765. else
  1766. p.Transparency = 0
  1767. end
  1768. local m = Instance.new("CylinderMesh",p)
  1769. m.Scale = meshstart
  1770. coroutine.wrap(function()
  1771. for i=0,1,factor do
  1772. swait()
  1773. if inverse == true then
  1774. p.Transparency = 1-i
  1775. else
  1776. p.Transparency = i
  1777. end
  1778. m.Scale = m.Scale + meshadd
  1779. end
  1780. p:Destroy()
  1781. end)()
  1782. return p
  1783. end,
  1784.  
  1785. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  1786. local p = Instance.new("Part",EffectModel)
  1787. p.BrickColor = BrickColor.new(colour)
  1788. p.Size = Vector3.new()
  1789. p.Anchored = true
  1790. p.CanCollide = false
  1791. p.CFrame = cf
  1792. if inverse == true then
  1793. p.Transparency = 1
  1794. else
  1795. p.Transparency = 0
  1796. end
  1797. local m = Instance.new("SpecialMesh",p)
  1798. m.MeshId = "rbxassetid://20329976"
  1799. m.Scale = meshstart
  1800. coroutine.wrap(function()
  1801. for i=0,1,factor do
  1802. swait()
  1803. if inverse == true then
  1804. p.Transparency = 1-i
  1805. else
  1806. p.Transparency = i
  1807. end
  1808. m.Scale = m.Scale + meshadd
  1809. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1810. end
  1811. p:Destroy()
  1812. end)()
  1813. return p
  1814. end,
  1815.  
  1816. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  1817. local p = Instance.new("Part",EffectModel)
  1818. p.BrickColor = BrickColor.new(colour)
  1819. p.Size = Vector3.new()
  1820. p.Anchored = true
  1821. p.CanCollide = false
  1822. p.CFrame = cf
  1823. if inverse == true then
  1824. p.Transparency = 1
  1825. else
  1826. p.Transparency = 0
  1827. end
  1828. local m = Instance.new("SpecialMesh",p)
  1829. m.MeshId = "rbxassetid://3270017"
  1830. m.Scale = meshstart
  1831. coroutine.wrap(function()
  1832. for i=0,1,factor do
  1833. swait()
  1834. if inverse == true then
  1835. p.Transparency = 1-i
  1836. else
  1837. p.Transparency = i
  1838. end
  1839. m.Scale = m.Scale + meshadd
  1840. end
  1841. p:Destroy()
  1842. end)()
  1843. return p
  1844. end,
  1845.  
  1846. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  1847. local p = Instance.new("Part",EffectModel)
  1848. p.BrickColor = BrickColor.new(colour)
  1849. p.Size = Vector3.new()
  1850. p.Anchored = true
  1851. p.CanCollide = false
  1852. p.CFrame = cf
  1853. if inverse == true then
  1854. p.Transparency = 1
  1855. else
  1856. p.Transparency = 0
  1857. end
  1858. local m = Instance.new("SpecialMesh",p)
  1859. m.MeshId = meshid
  1860. m.TextureId = textid
  1861. m.Scale = meshstart
  1862. coroutine.wrap(function()
  1863. for i=0,1,factor do
  1864. swait()
  1865. if inverse == true then
  1866. p.Transparency = 1-i
  1867. else
  1868. p.Transparency = i
  1869. end
  1870. m.Scale = m.Scale + meshadd
  1871. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1872. end
  1873. p:Destroy()
  1874. end)()
  1875. return p
  1876. end,
  1877.  
  1878. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  1879. local p = Instance.new("Part",EffectModel)
  1880. p.BrickColor = BrickColor.new(colour)
  1881. p.Size = partsize
  1882. p.Anchored = true
  1883. p.CanCollide = false
  1884. p.Material = matr
  1885. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1886. if inverse == true then
  1887. p.Transparency = 1
  1888. else
  1889. p.Transparency = 0
  1890. end
  1891. local m = Instance.new("SpecialMesh",p)
  1892. m.MeshType = "Sphere"
  1893. m.Scale = meshstart
  1894. coroutine.wrap(function()
  1895. for i=0,1,factor do
  1896. swait()
  1897. if inverse == true then
  1898. p.Transparency = 1-i
  1899. else
  1900. p.Transparency = i
  1901. end
  1902. m.Scale = m.Scale + meshadd
  1903. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  1904. end
  1905. p:Destroy()
  1906. end)()
  1907. return p
  1908. end,
  1909.  
  1910. }
  1911. -------------------------------------------------------
  1912. --End Effect Function--
  1913. -------------------------------------------------------
  1914. function Cso(ID, PARENT, VOLUME, PITCH)
  1915. local NSound = nil
  1916. coroutine.resume(coroutine.create(function()
  1917. NSound = IT("Sound", PARENT)
  1918. NSound.Volume = VOLUME
  1919. NSound.Pitch = PITCH
  1920. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1921. swait()
  1922. NSound:play()
  1923. game:GetService("Debris"):AddItem(NSound, 10)
  1924. end))
  1925. return NSound
  1926. end
  1927. function CamShake(Length, Intensity)
  1928. coroutine.resume(coroutine.create(function()
  1929. local intensity = 1 * Intensity
  1930. local rotM = 0.01 * Intensity
  1931. for i = 0, Length, 0.1 do
  1932. swait()
  1933. intensity = intensity - 0.05 * Intensity / Length
  1934. rotM = rotM - 5.0E-4 * Intensity / Length
  1935. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1936. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1937. end
  1938. hum.CameraOffset = Vector3.new(0, 0, 0)
  1939. end))
  1940. end
  1941. NewInstance = function(instance,parent,properties)
  1942. local inst = Instance.new(instance)
  1943. inst.Parent = parent
  1944. if(properties)then
  1945. for i,v in next, properties do
  1946. pcall(function() inst[i] = v end)
  1947. end
  1948. end
  1949. return inst;
  1950. end
  1951. hum.MaxHealth = 1.0E298
  1952. hum.Health = 1.0E298
  1953. game:GetService("RunService"):BindToRenderStep("HOT", 0, function()
  1954. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  1955. hum.MaxHealth = 1.0E298
  1956. hum.Health = 1.0E298
  1957. end
  1958. end)
  1959. -------------------------------------------------------
  1960. --End Important Functions--
  1961. -------------------------------------------------------
  1962.  
  1963.  
  1964. -------------------------------------------------------
  1965. --Start Customization--
  1966. -------------------------------------------------------
  1967. local Player_Size = 1
  1968. if Player_Size ~= 1 then
  1969. root.Size = root.Size * Player_Size
  1970. tors.Size = tors.Size * Player_Size
  1971. hed.Size = hed.Size * Player_Size
  1972. ra.Size = ra.Size * Player_Size
  1973. la.Size = la.Size * Player_Size
  1974. rl.Size = rl.Size * Player_Size
  1975. ll.Size = ll.Size * Player_Size
  1976. ----------------------------------------------------------------------------------
  1977. rootj.Parent = root
  1978. neck.Parent = tors
  1979. RW.Parent = tors
  1980. LW.Parent = tors
  1981. RH.Parent = tors
  1982. LH.Parent = tors
  1983. ----------------------------------------------------------------------------------
  1984. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1985. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1986. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1987. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1988. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1989. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1990. ----------------------------------------------------------------------------------
  1991. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1992. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1993. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1994. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1995. --hat.Parent = Character
  1996. end
  1997. ----------------------------------------------------------------------------------
  1998. local SONG = 525565668
  1999. local SONG2 = 0
  2000. local Music = Instance.new("Sound",tors)
  2001. Music.Volume = 2.5
  2002. Music.Looped = true
  2003. Music.Pitch = 1 --Pitcher
  2004. ----------------------------------------------------------------------------------
  2005. local equipped = false
  2006. local idle = 0
  2007. local change = 1
  2008. local val = 0
  2009. local toim = 0
  2010. local idleanim = 0.4
  2011. local sine = 0
  2012. local Sit = 1
  2013. local WasAir = false
  2014. local InAir = false
  2015. local LandTick = 0
  2016. local movelegs = false
  2017. local FF = Instance.new("ForceField",char)
  2018. FF.Visible = false
  2019. local Speed = 56
  2020. local Chips = "onebearnakedwoman"
  2021. ----------------------------------------------------------------------------------
  2022. hum.JumpPower = 55
  2023. hum.Animator.Parent = nil
  2024. ----------------------------------------------------------------------------------
  2025. Chips = IT("Model")
  2026. Chips.Parent = char
  2027. Chips.Name = "Chips"
  2028. RHe = IT("Part")
  2029. RHe.Parent = Chips
  2030. RHe.BrickColor = BrickColor.new("Really black")
  2031. RHe.Locked = true
  2032. RHe.CanCollide = false
  2033. RHe.Transparency = 0
  2034. PMesh = IT("SpecialMesh")
  2035. RHe.formFactor = "Symmetric"
  2036. PMesh.MeshType = "FileMesh"
  2037. PMesh.MeshId = "rbxassetid://19106014"
  2038. PMesh.TextureId = "rbxassetid://342435650"
  2039. PMesh.Scale = Vector3.new(1, 1.4, 0.8)
  2040. PMesh.Parent = RHe
  2041. local RWeld = IT("Weld")
  2042. RWeld.Parent = RHe
  2043. RWeld.Part0 = RHe
  2044. RWeld.Part1 = ra
  2045. RWeld.C0 = CF(-1.2, -0.5, 0) * angles(Rad(90), Rad(0), Rad(90))
  2046. -------------------------------------------------------
  2047. --End Customization--
  2048. -------------------------------------------------------
  2049.  
  2050.  
  2051. -------------------------------------------------------
  2052. --Start Attacks N Stuff--
  2053. -------------------------------------------------------
  2054. function AttackTemplate()
  2055. attack = true
  2056. for i = 0, 2, 0.1 do
  2057. swait()
  2058. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  2059. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  2060. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2061. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2062. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  2063. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  2064. end
  2065. attack = false
  2066. end
  2067. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  2068. local Hitboxpart = Instance.new("Part", EffectModel)
  2069. RemoveOutlines(Hitboxpart)
  2070. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  2071. Hitboxpart.CanCollide = false
  2072. Hitboxpart.Transparency = 1
  2073. Hitboxpart.Anchored = true
  2074. Hitboxpart.CFrame = Pose
  2075. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  2076. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  2077. end
  2078. wait2 = false
  2079. combo = 1
  2080. mouse.Button1Down:connect(function(key)
  2081. if attack == false then
  2082. attack = true
  2083. Speed = 3.01
  2084. if combo == 1 and wait2 == false then
  2085. wait2 = true
  2086. for i = 0, 1.6, 0.1 do
  2087. swait()
  2088. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.2)
  2089. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.2)
  2090. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-45), Rad(0)) * angles(Rad(0), Rad(0), Rad(15)), 0.2)
  2091. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-15)), 0.2)
  2092. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0 + 5 * Sin(sine / 20)), Rad(25 + 5 * Sin(sine / 20))), 0.2)
  2093. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.2)
  2094. end
  2095. Cso("138097048", ra, 1.2, 0.8)
  2096. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  2097. for i = 0, 1.2, 0.1 do
  2098. swait()
  2099. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(45)), 0.3)
  2100. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.3)
  2101. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(15)), 0.3)
  2102. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(45), Rad(0)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  2103. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(85), Rad(0 + 5 * Sin(sine / 20)), Rad(45 + 5 * Sin(sine / 20))), 0.3)
  2104. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-45), Rad(0 - 5 * Sin(sine / 20)), Rad(-25 - 5 * Sin(sine / 20))), 0.3)
  2105. end
  2106. combo = 1
  2107. end
  2108. Speed = 56
  2109. wait2 = false
  2110. attack = false
  2111. end
  2112. end)
  2113. function Taunt()
  2114. attack = true
  2115. Speed = 3
  2116. if Chips == "onebearnakedwoman" then
  2117. local Munch = Cso("1575472350", hed, 5, 1)
  2118. swait(2)
  2119. repeat
  2120. swait()
  2121. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  2122. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2123. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  2124. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  2125. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1)
  2126. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
  2127. until Munch.Playing == false
  2128. elseif Chips == "layonme" then
  2129. for i = 0, 6, 0.1 do
  2130. swait()
  2131. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  2132. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0 - 255.45 * i)), 0.15)
  2133. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2134. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2135. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(30 + 5 * Sin(sine / 20)), Rad(45 + 5 * Sin(sine / 20))), 0.1)
  2136. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-30 - 5 * Sin(sine / 20)), Rad(-45 - 5 * Sin(sine / 20))), 0.1)
  2137. end
  2138. elseif Chips == "howitfeelstochew5gum" then
  2139. local Munch = Cso("1575472350", hed, 5, 1)
  2140. swait(2)
  2141. repeat
  2142. swait()
  2143. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  2144. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2145. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  2146. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  2147. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1)
  2148. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
  2149. until Munch.Playing == false
  2150. Cso("172324194", hed, 5, 1)
  2151. for i = 0, 5, 0.1 do
  2152. swait()
  2153. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 * Player_Size) * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  2154. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35), Rad(0), Rad(0)), 0.3)
  2155. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  2156. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  2157. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1)
  2158. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0), Rad(-10)), 0.3)
  2159. end
  2160. local RUN = Cso("957655044", hed, 5, 1)
  2161. swait(2)
  2162. repeat
  2163. swait()
  2164. Speed = 56
  2165. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  2166. root.Velocity = root.CFrame.lookVector * 75
  2167. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.65 * Cos(sine / ( WALKSPEEDVALUE / 2 ))) * angles(Rad(-25), Rad(0), Rad(0 - 1.75 * Cos(sine / ( WALKSPEEDVALUE / 2))) + root.RotVelocity.Y / 75), 0.1)
  2168. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0) + root.RotVelocity.Y / 13), 0.1)
  2169. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-15 - 95 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2170. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-15 + 95 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2171. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(45)), 0.1)
  2172. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(-45)), 0.1)
  2173. until RUN.Playing == false
  2174. elseif Chips == "5gumdowngrade" then
  2175. Cso("1826625760", hed, 5, 1)
  2176. for i = 0, 5, 0.1 do
  2177. swait()
  2178. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  2179. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  2180. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2181. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2182. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  2183. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  2184. end
  2185. end
  2186. Speed = 56
  2187. movelegs = false
  2188. attack = false
  2189. end
  2190. function Gum()
  2191. attack = true
  2192. Speed = 0
  2193. local Senses = Cso("605297168", hed, 6, 1)
  2194. swait(2)
  2195. repeat
  2196. swait()
  2197. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.2)
  2198. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.2)
  2199. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.2)
  2200. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.2)
  2201. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.2)
  2202. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.2)
  2203. until Senses.TimePosition > 2.7
  2204. for i = 0, 3, 0.1 do
  2205. swait()
  2206. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size) * angles(Rad(-30), Rad(0), Rad(0)), 0.5)
  2207. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  2208. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5)
  2209. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5)
  2210. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5)
  2211. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  2212. end
  2213. root.Anchored = true
  2214. repeat
  2215. swait()
  2216. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(90), Rad(0), Rad(0)), 0.5)
  2217. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  2218. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5)
  2219. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5)
  2220. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5)
  2221. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  2222. until Senses.Playing == false
  2223. Speed = 56
  2224. attack = false
  2225. root.Anchored = false
  2226. end
  2227. function OHHHHHHH()
  2228. attack = true
  2229. Speed = 0
  2230. Cso("663306786", tors, 3, 1)
  2231. for i = 0, 12, 0.1 do
  2232. swait()
  2233. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0 + 1 * i * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.1)
  2234. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  2235. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(47), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2236. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2237. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  2238. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(143), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  2239. end
  2240. Cso("663307468", tors, 6, 1)
  2241. for i = 0, 6, 0.1 do
  2242. swait()
  2243. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 4500 * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2244. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  2245. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(47), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2246. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2247. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  2248. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(156), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  2249. end
  2250. Speed = 56
  2251. attack = false
  2252. end
  2253. function WoodyGotWood()
  2254. attack = true
  2255. Speed = 0
  2256. local Woodlenny = Cso("1764642350", hed, 6, 1)
  2257. swait(2)
  2258. repeat
  2259. swait()
  2260. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 5)) * angles(Rad(20), Rad(0), Rad(5)), 0.2)
  2261. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20), Rad(0), Rad(-5 - 15 * Sin(sine / 20))), 0.2)
  2262. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.2)
  2263. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.2)
  2264. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.2)
  2265. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(0), Rad(-10)), 0.2)
  2266. until Woodlenny.TimePosition > 3.6
  2267. root.Anchored = true
  2268. repeat
  2269. swait()
  2270. for i = 0, 2, 0.1 do
  2271. swait()
  2272. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5)
  2273. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  2274. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5)
  2275. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5)
  2276. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(90)), 0.5)
  2277. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  2278. end
  2279. for i = 0, 1.6, 0.1 do
  2280. swait()
  2281. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.4 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5)
  2282. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  2283. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5)
  2284. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5)
  2285. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(75)), 0.5)
  2286. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-75)), 0.5)
  2287. end
  2288. until Woodlenny.Playing == false
  2289. Speed = 56
  2290. attack = false
  2291. root.Anchored = false
  2292. end
  2293. -------------------------------------------------------
  2294. --End Attacks N Stuff--
  2295. -------------------------------------------------------
  2296. mouse.KeyDown:connect(function(key)
  2297. if attack == false then
  2298. if key == "t" then
  2299. Taunt()
  2300. elseif key == "z" then
  2301. Gum()
  2302. elseif key == "x" then
  2303. OHHHHHHH()
  2304. elseif key == "c" then
  2305. WoodyGotWood()
  2306. elseif key == "f" then
  2307. SONG = 690663957
  2308. Music.TimePosition = 0
  2309. PMesh.TextureId = "rbxassetid://206977326"
  2310. Chips = "cheesexd"
  2311.  
  2312. elseif key == "m" then
  2313. SONG = 525565668
  2314. Music.TimePosition = 0
  2315. PMesh.TextureId = "rbxassetid://342435650"
  2316. Chips = "onebearnakedwoman"
  2317. elseif key == "n" then
  2318. SONG = 937445925
  2319. Music.TimePosition = 0
  2320. PMesh.TextureId = "rbxassetid://342436716"
  2321. Chips = "layonme"
  2322. elseif key == "b" then
  2323. SONG = 1386299751
  2324. Music.TimePosition = 0
  2325. PMesh.TextureId = "rbxassetid://341999291"
  2326. Chips = "howitfeelstochew5gum"
  2327. elseif key == "v" then
  2328. SONG = 554967156
  2329. Music.TimePosition = 0
  2330. PMesh.TextureId = "rbxassetid://341999245"
  2331. Chips = "5gumdowngrade"
  2332. end
  2333. end
  2334. end)
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343. -------------------------------------------------------
  2344. --Start Animations--
  2345. -------------------------------------------------------
  2346. while true do
  2347. swait()
  2348. sine = sine + change
  2349. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2350. local velderp = root.Velocity.y
  2351. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, workspace[plr.Name])
  2352. if equipped == true or equipped == false then
  2353. if attack == false then
  2354. idle = idle + 1
  2355. else
  2356. idle = 0
  2357. end
  2358. local Landed = false
  2359. if(hitfloor)then
  2360. WasAir = false
  2361. else
  2362. WasAir = true
  2363. end
  2364. if(WasAir == false)then
  2365. if(InAir == true)then
  2366. LandTick = time()
  2367. Landed = true
  2368. end
  2369. end
  2370. if(time()-LandTick < .3)then
  2371. Landed = true
  2372. end
  2373. if(hitfloor)then
  2374. InAir = false
  2375. else
  2376. InAir = true
  2377. end
  2378. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  2379. local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
  2380. local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  2381. if(State == 'Jump')then
  2382. hum.JumpPower = 55
  2383. if attack == false then
  2384. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1)
  2385. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2386. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  2387. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  2388. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  2389. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  2390. end
  2391. elseif(State == 'Fall')then
  2392. if attack == false then
  2393. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  2394. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2395. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  2396. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  2397. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2398. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2399. end
  2400. elseif(State == 'Land')then
  2401. hum.JumpPower = 0
  2402. if attack == false then
  2403. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2404. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2405. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15)
  2406. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-5)), 0.15)
  2407. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(0), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
  2408. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(0), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  2409. end
  2410. elseif(State == 'Idle')then
  2411. change = 1
  2412. if attack == false then
  2413. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  2414. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  2415. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2416. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2417. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + 15 * Sin(sine / 20)), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  2418. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + 15 * Sin(sine / 20)), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  2419. end
  2420. elseif(State == 'Walk')then
  2421. change = 0.55
  2422. hum.JumpPower = 55
  2423. if attack == false then
  2424. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.65 * Cos(sine / ( WALKSPEEDVALUE / 2 ))) * angles(Rad(-25), Rad(0), Rad(0 - 1.75 * Cos(sine / ( WALKSPEEDVALUE / 2))) + root.RotVelocity.Y / 75), 0.1)
  2425. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0) + root.RotVelocity.Y / 13), 0.1)
  2426. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-15 - 95 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2427. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-15 + 95 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2428. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(45)), 0.1)
  2429. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(-45)), 0.1)
  2430. elseif attack == true and movelegs == true then
  2431. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2432. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  2433. end
  2434. end
  2435. end
  2436. hum.Name = "HUM"
  2437. hum.WalkSpeed = Speed
  2438. Music.SoundId = "rbxassetid://"..SONG
  2439. Music.Looped = true
  2440. Music.Pitch = 1
  2441. Music.Volume = 1.5
  2442. Music.Parent = tors
  2443. Music.Playing = true
  2444. if 0 < #Effects then
  2445. for e = 1, #Effects do
  2446. if Effects[e] ~= nil then
  2447. local Thing = Effects[e]
  2448. if Thing ~= nil then
  2449. local Part = Thing[1]
  2450. local Mode = Thing[2]
  2451. local Delay = Thing[3]
  2452. local IncX = Thing[4]
  2453. local IncY = Thing[5]
  2454. local IncZ = Thing[6]
  2455. if 1 >= Thing[1].Transparency then
  2456. if Thing[2] == "Block1" then
  2457. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2458. local Mesh = Thing[1].Mesh
  2459. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2460. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2461. elseif Thing[2] == "Block2" then
  2462. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2463. local Mesh = Thing[7]
  2464. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2465. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2466. elseif Thing[2] == "Block3" then
  2467. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2468. local Mesh = Thing[7]
  2469. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2470. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2471. elseif Thing[2] == "Cylinder" then
  2472. local Mesh = Thing[1].Mesh
  2473. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2474. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2475. elseif Thing[2] == "Blood" then
  2476. local Mesh = Thing[7]
  2477. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2478. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2479. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2480. elseif Thing[2] == "Elec" then
  2481. local Mesh = Thing[1].Mesh
  2482. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2483. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2484. elseif Thing[2] == "Disappear" then
  2485. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2486. elseif Thing[2] == "Shatter" then
  2487. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2488. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2489. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2490. Thing[6] = Thing[6] + Thing[5]
  2491. end
  2492. else
  2493. Part.Parent = nil
  2494. table.remove(Effects, e)
  2495. end
  2496. end
  2497. end
  2498. end
  2499. end
  2500. end
  2501. -------------------------------------------------------
  2502. --End Animations And Script--
  2503. -------------------------------------------------------
Add Comment
Please, Sign In to add comment