Advertisement
voidscriptbuilderr

FE chips edit i found it from pastebin

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