Advertisement
DerpzDeNugget

aaaaaaaaaaaaaaaaaaaaa

Aug 6th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.45 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility: by WaverlyCole & Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. if Index == "PlrObj" then
  88. return RealPlayer
  89. end
  90. return RealPlayer[Index]
  91. end
  92. end;
  93. __tostring = function(self)
  94. return RealPlayer.Name
  95. end
  96. })
  97. end
  98. end
  99. if RealGame[Index] then
  100. local Type = type(RealGame[Index])
  101. if Type == "function" then
  102. if Index:lower() == "getservice" or Index:lower() == "service" then
  103. return function (self,Service)
  104. if Service:lower() == "players" then
  105. return setmetatable({},{
  106. __index = function (self2,Index2)
  107. local RealService = RealGame:GetService(Service)
  108. local Type2 = type(Index2)
  109. if Type2 == "function" then
  110. return function (self,...)
  111. return RealService[Index2](RealService,...)
  112. end
  113. else
  114. if Index2:lower() == "localplayer" then
  115. return Sandbox(owner)
  116. end
  117. return RealService[Index2]
  118. end
  119. end;
  120. __tostring = function(self)
  121. return RealGame:GetService(Service).Name
  122. end
  123. })
  124. elseif Service:lower() == "contextactionservice" then
  125. return InternalData["ContextActionService"]
  126. elseif Service:lower() == "contextactionservice" then
  127. return InternalData["UserInputService"]
  128. elseif Service:lower() == "runservice" then
  129. return setmetatable({},{
  130. __index = function(self2,Index2)
  131. local RealService = RealGame:GetService(Service)
  132. local Type2 = type(Index2)
  133. if Type2 == "function" then
  134. return function (self,...)
  135. return RealService[Index2](RealService,...)
  136. end
  137. else
  138. if Index2:lower() == "bindtorenderstep" then
  139. return function (self,Name,Priority,Function)
  140. return RealGame:GetService("RunService").Stepped:Connect(Function)
  141. end
  142. end
  143. if Index2:lower() == "renderstepped" then
  144. return RealService["Stepped"]
  145. end
  146. return RealService[Index2]
  147. end
  148. end
  149. })
  150. else
  151. return RealGame:GetService(Service)
  152. end
  153. end
  154. end
  155. return function (self,...)
  156. return RealGame[Index](RealGame,...)
  157. end
  158. else
  159. if game:GetService(Index) then
  160. return game:GetService(Index)
  161. end
  162. return RealGame[Index]
  163. end
  164. else
  165. return nil
  166. end
  167. end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  169. print("Complete! Running...")
  170.  
  171.  
  172. --//Paste script below this line.
  173.  
  174. --[[ A script By makhail07
  175.  
  176.  
  177. Discord Creterisk#2958
  178.  
  179. Description:
  180.  
  181.  
  182. ]]--
  183.  
  184. local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
  185.  
  186. function swait(num)
  187. if num==0 or num==nil then
  188. game:service'RunService'.Stepped:wait(0)
  189. else
  190. for i=0,num do
  191. game:service'RunService'.Stepped:wait(0)
  192. end
  193. end
  194. end
  195. function thread(f)
  196. coroutine.resume(coroutine.create(f))
  197. end
  198. function clerp(a, b, t)
  199. local qa = {
  200. QuaternionFromCFrame(a)
  201. }
  202. local qb = {
  203. QuaternionFromCFrame(b)
  204. }
  205. local ax, ay, az = a.x, a.y, a.z
  206. local bx, by, bz = b.x, b.y, b.z
  207. local _t = 1 - t
  208. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  209. end
  210. function QuaternionFromCFrame(cf)
  211. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  212. local trace = m00 + m11 + m22
  213. if trace > 0 then
  214. local s = math.sqrt(1 + trace)
  215. local recip = 0.5 / s
  216. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  217. else
  218. local i = 0
  219. if m00 < m11 then
  220. i = 1
  221. end
  222. if m22 > (i == 0 and m00 or m11) then
  223. i = 2
  224. end
  225. if i == 0 then
  226. local s = math.sqrt(m00 - m11 - m22 + 1)
  227. local recip = 0.5 / s
  228. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  229. elseif i == 1 then
  230. local s = math.sqrt(m11 - m22 - m00 + 1)
  231. local recip = 0.5 / s
  232. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  233. elseif i == 2 then
  234. local s = math.sqrt(m22 - m00 - m11 + 1)
  235. local recip = 0.5 / s
  236. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  237. end
  238. end
  239. end
  240. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  241. local xs, ys, zs = x + x, y + y, z + z
  242. local wx, wy, wz = w * xs, w * ys, w * zs
  243. local xx = x * xs
  244. local xy = x * ys
  245. local xz = x * zs
  246. local yy = y * ys
  247. local yz = y * zs
  248. local zz = z * zs
  249. 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))
  250. end
  251. function QuaternionSlerp(a, b, t)
  252. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  253. local startInterp, finishInterp
  254. if cosTheta >= 1.0E-4 then
  255. if 1 - cosTheta > 1.0E-4 then
  256. local theta = math.acos(cosTheta)
  257. local invSinTheta = 1 / math.sin(theta)
  258. startInterp = math.sin((1 - t) * theta) * invSinTheta
  259. finishInterp = math.sin(t * theta) * invSinTheta
  260. else
  261. startInterp = 1 - t
  262. finishInterp = t
  263. end
  264. elseif 1 + cosTheta > 1.0E-4 then
  265. local theta = math.acos(-cosTheta)
  266. local invSinTheta = 1 / math.sin(theta)
  267. startInterp = math.sin((t - 1) * theta) * invSinTheta
  268. finishInterp = math.sin(t * theta) * invSinTheta
  269. else
  270. startInterp = t - 1
  271. finishInterp = t
  272. end
  273. 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
  274. end
  275. function rayCast(Position, Direction, Range, Ignore)
  276. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  277. end
  278. --Wait what okay
  279. wait()
  280. local plr = game:service'Players'.LocalPlayer
  281. local char = plr.Character
  282. local hum = char.Humanoid
  283. local ra = char["Right Arm"]
  284. local la= char["Left Arm"]
  285. local rl= char["Right Leg"]
  286. local ll = char["Left Leg"]
  287. local hed = char.Head
  288. local root = char.HumanoidRootPart
  289. local rootj = root.RootJoint
  290. local tors = char.Torso
  291. local mouse = plr:GetMouse()
  292. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  293. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  294. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  295. local maincolor = BrickColor.new("Magenta")
  296. cf = CFrame.new
  297. angles = CFrame.Angles
  298. attack = false
  299. euler=CFrame.fromEulerAnglesXYZ
  300. equipped = false
  301. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  302. RSH, LSH = nil, nil
  303. RW = Instance.new("Weld")
  304. LW = Instance.new("Weld")
  305. RH = tors["Right Hip"]
  306. LH = tors["Left Hip"]
  307. RSH = tors["Right Shoulder"]
  308. LSH = tors["Left Shoulder"]
  309. RSH.Parent = nil
  310. LSH.Parent = nil
  311. RW.Name = "RW"
  312. RW.Part0 = tors
  313. RW.C0 = CFrame.new(1.5, 0.5, 0)
  314. RW.C1 = CFrame.new(0, 0.5, 0)
  315. RW.Part1 = ra
  316. RW.Parent = tors
  317. LW.Name = "LW"
  318. LW.Part0 = tors
  319. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  320. LW.C1 = CFrame.new(0, 0.5, 0)
  321. LW.Part1 = la
  322. LW.Parent = tors
  323. print('User is '..plr.Name)
  324. Effects = {}
  325.  
  326. ArtificialHB = Instance.new("BindableEvent", script)
  327. ArtificialHB.Name = "Heartbeat"
  328.  
  329. script:WaitForChild("Heartbeat")
  330.  
  331. frame = 1 / 60
  332. tf = 0
  333. allowframeloss = false
  334. tossremainder = false
  335. lastframe = tick()
  336. script.Heartbeat:Fire()
  337.  
  338. game:GetService("RunService").Heartbeat:connect(function(s, p)
  339. tf = tf + s
  340. if tf >= frame then
  341. if allowframeloss then
  342. script.Heartbeat:Fire()
  343. lastframe = tick()
  344. else
  345. for i = 1, math.floor(tf / frame) do
  346. script.Heartbeat:Fire()
  347. end
  348. lastframe = tick()
  349. end
  350. if tossremainder then
  351. tf = 0
  352. else
  353. tf = tf - frame * math.floor(tf / frame)
  354. end
  355. end
  356. end)
  357. local RbxUtility = LoadLibrary("RbxUtility")
  358. local Create = RbxUtility.Create
  359.  
  360. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  361. if hit.Parent == nil then
  362. return
  363. end
  364. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  365. for _, v in pairs(hit.Parent:children()) do
  366. if v:IsA("Humanoid") then
  367. h = v
  368. end
  369. end
  370. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  371. warn'No R15 allowed'
  372. hit.Parent:FindFirstChild("Head"):BreakJoints()
  373. end
  374.  
  375. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  376. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  377. if hit.Parent.DebounceHit.Value == true then
  378. return
  379. end
  380. end
  381. if insta == true then
  382. hit.Parent:FindFirstChild("Head"):BreakJoints()
  383. end
  384. local c = Create("ObjectValue"){
  385. Name = "creator",
  386. Value = game:service("Players").LocalPlayer,
  387. Parent = h,
  388. }
  389. game:GetService("Debris"):AddItem(c, .5)
  390. if HitSound ~= nil and HitPitch ~= nil then
  391. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  392. end
  393. local Damage = math.random(minim, maxim)
  394. local blocked = false
  395. local block = hit.Parent:findFirstChild("Block")
  396. if block ~= nil then
  397. if block.className == "IntValue" then
  398. if block.Value > 0 then
  399. blocked = true
  400. block.Value = block.Value - 1
  401. print(block.Value)
  402. end
  403. end
  404. end
  405. if blocked == false then
  406. h.Health = h.Health - Damage
  407. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  408. else
  409. h.Health = h.Health - (Damage / 2)
  410. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  411. end
  412. if Type == "Knockdown" then
  413. local hum = hit.Parent.Humanoid
  414. hum.PlatformStand = true
  415. coroutine.resume(coroutine.create(function(HHumanoid)
  416. swait(1)
  417. HHumanoid.PlatformStand = false
  418. end), hum)
  419. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  420. local bodvol = Create("BodyVelocity"){
  421. velocity = angle * knockback,
  422. P = 5000,
  423. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  424. Parent = hit,
  425. }
  426. local rl = Create("BodyAngularVelocity"){
  427. P = 3000,
  428. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  429. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  430. Parent = hit,
  431. }
  432. game:GetService("Debris"):AddItem(bodvol, .5)
  433. game:GetService("Debris"):AddItem(rl, .5)
  434. elseif Type == "Normal" then
  435. local vp = Create("BodyVelocity"){
  436. P = 500,
  437. maxForce = Vector3.new(math.huge, 0, math.huge),
  438. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  439. }
  440. if knockback > 0 then
  441. vp.Parent = hit.Parent.Torso
  442. end
  443. game:GetService("Debris"):AddItem(vp, .5)
  444. elseif Type == "Up" then
  445. local bodyVelocity = Create("BodyVelocity"){
  446. velocity = Vector3.new(0, 20, 0),
  447. P = 5000,
  448. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  449. Parent = hit,
  450. }
  451. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  452. elseif Type == "DarkUp" then
  453. coroutine.resume(coroutine.create(function()
  454. for i = 0, 1, 0.1 do
  455. swait()
  456. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  457. end
  458. end))
  459. local bodyVelocity = Create("BodyVelocity"){
  460. velocity = Vector3.new(0, 20, 0),
  461. P = 5000,
  462. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  463. Parent = hit,
  464. }
  465. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  466. elseif Type == "Snare" then
  467. local bp = Create("BodyPosition"){
  468. P = 2000,
  469. D = 100,
  470. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  471. position = hit.Parent.Torso.Position,
  472. Parent = hit.Parent.Torso,
  473. }
  474. game:GetService("Debris"):AddItem(bp, 1)
  475. elseif Type == "Freeze" then
  476. local BodPos = Create("BodyPosition"){
  477. P = 50000,
  478. D = 1000,
  479. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  480. position = hit.Parent.Torso.Position,
  481. Parent = hit.Parent.Torso,
  482. }
  483. local BodGy = Create("BodyGyro") {
  484. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  485. P = 20e+003,
  486. Parent = hit.Parent.Torso,
  487. cframe = hit.Parent.Torso.CFrame,
  488. }
  489. hit.Parent.Torso.Anchored = true
  490. coroutine.resume(coroutine.create(function(Part)
  491. swait(1.5)
  492. Part.Anchored = false
  493. end), hit.Parent.Torso)
  494. game:GetService("Debris"):AddItem(BodPos, 3)
  495. game:GetService("Debris"):AddItem(BodGy, 3)
  496. end
  497. local debounce = Create("BoolValue"){
  498. Name = "DebounceHit",
  499. Parent = hit.Parent,
  500. Value = true,
  501. }
  502. game:GetService("Debris"):AddItem(debounce, Delay)
  503. c = Create("ObjectValue"){
  504. Name = "creator",
  505. Value = Player,
  506. Parent = h,
  507. }
  508. game:GetService("Debris"):AddItem(c, .5)
  509. end
  510. end
  511.  
  512. function ShowDamage(Pos, Text, Time, Color)
  513. local Rate = (1 / 30)
  514. local Pos = (Pos or Vector3.new(0, 0, 0))
  515. local Text = (Text or "")
  516. local Time = (Time or 2)
  517. local Color = (Color or Color3.new(1, 0, 1))
  518. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  519. EffectPart.Anchored = true
  520. local BillboardGui = Create("BillboardGui"){
  521. Size = UDim2.new(3, 0, 3, 0),
  522. Adornee = EffectPart,
  523. Parent = EffectPart,
  524. }
  525. local TextLabel = Create("TextLabel"){
  526. BackgroundTransparency = 1,
  527. Size = UDim2.new(1, 0, 1, 0),
  528. Text = Text,
  529. Font = "Highway",
  530. TextColor3 = Color,
  531. TextScaled = true,
  532. Parent = BillboardGui,
  533. }
  534. game.Debris:AddItem(EffectPart, (Time))
  535. EffectPart.Parent = game:GetService("Workspace")
  536. delay(0, function()
  537. local Frames = (Time / Rate)
  538. for Frame = 1, Frames do
  539. wait(Rate)
  540. local Percent = (Frame / Frames)
  541. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  542. TextLabel.TextTransparency = Percent
  543. end
  544. if EffectPart and EffectPart.Parent then
  545. EffectPart:Destroy()
  546. end
  547. end)
  548. end
  549. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  550. for _, c in pairs(workspace:children()) do
  551. local hum = c:findFirstChild("Humanoid")
  552. if hum ~= nil then
  553. local head = c:findFirstChild("Head")
  554. if head ~= nil then
  555. local targ = head.Position - Part.Position
  556. local mag = targ.magnitude
  557. if magni >= mag and c.Name ~= plr.Name then
  558. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  559. end
  560. end
  561. end
  562. end
  563. end
  564. CFuncs = {
  565. Part = {
  566. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  567. local Part = Create("Part")({
  568. Parent = Parent,
  569. Reflectance = Reflectance,
  570. Transparency = Transparency,
  571. CanCollide = false,
  572. Locked = true,
  573. BrickColor = BrickColor.new(tostring(BColor)),
  574. Name = Name,
  575. Size = Size,
  576. Material = Material
  577. })
  578. RemoveOutlines(Part)
  579. return Part
  580. end
  581. },
  582. Mesh = {
  583. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  584. local Msh = Create(Mesh)({
  585. Parent = Part,
  586. Offset = OffSet,
  587. Scale = Scale
  588. })
  589. if Mesh == "SpecialMesh" then
  590. Msh.MeshType = MeshType
  591. Msh.MeshId = MeshId
  592. end
  593. return Msh
  594. end
  595. },
  596. Mesh = {
  597. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  598. local Msh = Create(Mesh)({
  599. Parent = Part,
  600. Offset = OffSet,
  601. Scale = Scale
  602. })
  603. if Mesh == "SpecialMesh" then
  604. Msh.MeshType = MeshType
  605. Msh.MeshId = MeshId
  606. end
  607. return Msh
  608. end
  609. },
  610. Weld = {
  611. Create = function(Parent, Part0, Part1, C0, C1)
  612. local Weld = Create("Weld")({
  613. Parent = Parent,
  614. Part0 = Part0,
  615. Part1 = Part1,
  616. C0 = C0,
  617. C1 = C1
  618. })
  619. return Weld
  620. end
  621. },
  622. Sound = {
  623. Create = function(id, par, vol, pit)
  624. coroutine.resume(coroutine.create(function()
  625. local S = Create("Sound")({
  626. Volume = vol,
  627. Pitch = pit or 1,
  628. SoundId = id,
  629. Parent = par or workspace
  630. })
  631. wait()
  632. S:play()
  633. game:GetService("Debris"):AddItem(S, 6)
  634. end))
  635. end
  636. },
  637. ParticleEmitter = {
  638. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  639. local fp = Create("ParticleEmitter")({
  640. Parent = Parent,
  641. Color = ColorSequence.new(Color1, Color2),
  642. LightEmission = LightEmission,
  643. Size = Size,
  644. Texture = Texture,
  645. Transparency = Transparency,
  646. ZOffset = ZOffset,
  647. Acceleration = Accel,
  648. Drag = Drag,
  649. LockedToPart = LockedToPart,
  650. VelocityInheritance = VelocityInheritance,
  651. EmissionDirection = EmissionDirection,
  652. Enabled = Enabled,
  653. Lifetime = LifeTime,
  654. Rate = Rate,
  655. Rotation = Rotation,
  656. RotSpeed = RotSpeed,
  657. Speed = Speed,
  658. VelocitySpread = VelocitySpread
  659. })
  660. return fp
  661. end
  662. }
  663. }
  664. function RemoveOutlines(part)
  665. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  666. end
  667. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  668. local Part = Create("Part")({
  669. formFactor = FormFactor,
  670. Parent = Parent,
  671. Reflectance = Reflectance,
  672. Transparency = Transparency,
  673. CanCollide = false,
  674. Locked = true,
  675. BrickColor = BrickColor.new(tostring(BColor)),
  676. Name = Name,
  677. Size = Size,
  678. Material = Material
  679. })
  680. RemoveOutlines(Part)
  681. return Part
  682. end
  683. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  684. local Msh = Create(Mesh)({
  685. Parent = Part,
  686. Offset = OffSet,
  687. Scale = Scale
  688. })
  689. if Mesh == "SpecialMesh" then
  690. Msh.MeshType = MeshType
  691. Msh.MeshId = MeshId
  692. end
  693. return Msh
  694. end
  695. function CreateWeld(Parent, Part0, Part1, C0, C1)
  696. local Weld = Create("Weld")({
  697. Parent = Parent,
  698. Part0 = Part0,
  699. Part1 = Part1,
  700. C0 = C0,
  701. C1 = C1
  702. })
  703. return Weld
  704. end
  705. EffectModel = Instance.new("Model", char)
  706. Effects = {
  707. Block = {
  708. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  709. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  710. prt.Anchored = true
  711. prt.CFrame = cframe
  712. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  713. game:GetService("Debris"):AddItem(prt, 10)
  714. if Type == 1 or Type == nil then
  715. table.insert(Effects, {
  716. prt,
  717. "Block1",
  718. delay,
  719. x3,
  720. y3,
  721. z3,
  722. msh
  723. })
  724. elseif Type == 2 then
  725. table.insert(Effects, {
  726. prt,
  727. "Block2",
  728. delay,
  729. x3,
  730. y3,
  731. z3,
  732. msh
  733. })
  734. else
  735. table.insert(Effects, {
  736. prt,
  737. "Block3",
  738. delay,
  739. x3,
  740. y3,
  741. z3,
  742. msh
  743. })
  744. end
  745. end
  746. },
  747. Sphere = {
  748. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  749. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  750. prt.Anchored = true
  751. prt.CFrame = cframe
  752. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  753. game:GetService("Debris"):AddItem(prt, 10)
  754. table.insert(Effects, {
  755. prt,
  756. "Cylinder",
  757. delay,
  758. x3,
  759. y3,
  760. z3,
  761. msh
  762. })
  763. end
  764. },
  765. Cylinder = {
  766. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  767. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  768. prt.Anchored = true
  769. prt.CFrame = cframe
  770. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  771. game:GetService("Debris"):AddItem(prt, 10)
  772. table.insert(Effects, {
  773. prt,
  774. "Cylinder",
  775. delay,
  776. x3,
  777. y3,
  778. z3,
  779. msh
  780. })
  781. end
  782. },
  783. Wave = {
  784. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  785. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  786. prt.Anchored = true
  787. prt.CFrame = cframe
  788. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  789. game:GetService("Debris"):AddItem(prt, 10)
  790. table.insert(Effects, {
  791. prt,
  792. "Cylinder",
  793. delay,
  794. x3 / 60,
  795. y3 / 60,
  796. z3 / 60,
  797. msh
  798. })
  799. end
  800. },
  801. Ring = {
  802. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  803. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  804. prt.Anchored = true
  805. prt.CFrame = cframe
  806. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  807. game:GetService("Debris"):AddItem(prt, 10)
  808. table.insert(Effects, {
  809. prt,
  810. "Cylinder",
  811. delay,
  812. x3,
  813. y3,
  814. z3,
  815. msh
  816. })
  817. end
  818. },
  819. Break = {
  820. Create = function(brickcolor, cframe, x1, y1, z1)
  821. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  822. prt.Anchored = true
  823. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  824. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  825. local num = math.random(10, 50) / 1000
  826. game:GetService("Debris"):AddItem(prt, 10)
  827. table.insert(Effects, {
  828. prt,
  829. "Shatter",
  830. num,
  831. prt.CFrame,
  832. math.random() - math.random(),
  833. 0,
  834. math.random(50, 100) / 100
  835. })
  836. end
  837. }
  838. }
  839. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  840. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  841. prt.Anchored = true
  842. prt.CFrame = cframe
  843. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  844. game:GetService("Debris"):AddItem(prt, 10)
  845. if Type == 1 or Type == nil then
  846. table.insert(Effects, {
  847. prt,
  848. "Block1",
  849. delay,
  850. x3,
  851. y3,
  852. z3,
  853. msh
  854. })
  855. elseif Type == 2 then
  856. table.insert(Effects, {
  857. prt,
  858. "Block2",
  859. delay,
  860. x3,
  861. y3,
  862. z3,
  863. msh
  864. })
  865. elseif Type == 3 then
  866. table.insert(Effects, {
  867. prt,
  868. "Block3",
  869. delay,
  870. x3,
  871. y3,
  872. z3,
  873. msh
  874. })
  875. end
  876. end
  877. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  878. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  879. prt.Anchored = true
  880. prt.CFrame = cframe
  881. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  882. game:GetService("Debris"):AddItem(prt, 10)
  883. table.insert(Effects, {
  884. prt,
  885. "Cylinder",
  886. delay,
  887. x3,
  888. y3,
  889. z3,
  890. msh
  891. })
  892. end
  893. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  894. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  895. prt.Anchored = true
  896. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  897. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  898. game:GetService("Debris"):AddItem(prt, 10)
  899. table.insert(Effects, {
  900. prt,
  901. "Cylinder",
  902. delay,
  903. x3,
  904. y3,
  905. z3,
  906. msh
  907. })
  908. end
  909. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  910. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  911. prt.Anchored = true
  912. prt.CFrame = cframe
  913. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  914. game:GetService("Debris"):AddItem(prt, 10)
  915. table.insert(Effects, {
  916. prt,
  917. "Cylinder",
  918. delay,
  919. x3,
  920. y3,
  921. z3,
  922. msh
  923. })
  924. end
  925. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  926. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  927. prt.Anchored = true
  928. prt.CFrame = cframe
  929. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  930. game:GetService("Debris"):AddItem(prt, 10)
  931. table.insert(Effects, {
  932. prt,
  933. "Cylinder",
  934. delay,
  935. x3,
  936. y3,
  937. z3,
  938. msh
  939. })
  940. end
  941. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  942. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  943. prt.Anchored = true
  944. prt.CFrame = cframe
  945. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  946. game:GetService("Debris"):AddItem(prt, 10)
  947. table.insert(Effects, {
  948. prt,
  949. "Cylinder",
  950. delay,
  951. x3,
  952. y3,
  953. z3,
  954. msh
  955. })
  956. end
  957. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  958. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  959. prt.Anchored = true
  960. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  961. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  962. local num = math.random(10, 50) / 1000
  963. game:GetService("Debris"):AddItem(prt, 10)
  964. table.insert(Effects, {
  965. prt,
  966. "Shatter",
  967. num,
  968. prt.CFrame,
  969. math.random() - math.random(),
  970. 0,
  971. math.random(50, 100) / 100
  972. })
  973. end
  974. function CreateSound(ID, PARENT, VOLUME, PITCH)
  975. local NEWSOUND = nil
  976. coroutine.resume(coroutine.create(function()
  977. NEWSOUND = Instance.new("Sound", PARENT)
  978. NEWSOUND.Volume = VOLUME
  979. NEWSOUND.Pitch = PITCH
  980. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  981. swait()
  982. NEWSOUND:play()
  983. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  984. end))
  985. return NEWSOUND
  986. end
  987.  
  988.  
  989.  
  990. local sine=0
  991. function SHUTUP()
  992. attack = true
  993. hum.WalkSpeed = 0
  994. CreateSound("131829530", tors, 5, 1)
  995. for i = 0,2,0.1 do
  996. swait()
  997. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(0)),0.15)
  998. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  999. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1000. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  1001. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(3)), 0.1)
  1002. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  1003. end
  1004. for i = 0,1.2,0.1 do
  1005. swait()
  1006. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1007. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1008. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1009. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  1010. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(130), math.rad(0), math.rad(3)), 0.1)
  1011. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  1012. end
  1013. for i = 0,2,0.1 do
  1014. swait()
  1015. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(0)),0.15)
  1016. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1017. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1018. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  1019. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(3)), 0.1)
  1020. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  1021. end
  1022. attack = false
  1023. hum.WalkSpeed = 16
  1024. end
  1025.  
  1026.  
  1027. function Huh()
  1028. attack = true
  1029. hum.WalkSpeed = 0
  1030. CreateSound("1332262714", tors, 10, 1)
  1031. for i = 0,6,0.1 do
  1032. swait()
  1033. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1034. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(15),math.rad(0)),.3)
  1035. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1036. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  1037. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(150)), 0.1)
  1038. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-150)), 0.1)
  1039. end
  1040. attack = false
  1041. hum.WalkSpeed = 16
  1042. end
  1043.  
  1044. function Noni()
  1045. attack = true
  1046. hum.WalkSpeed = 0
  1047. CreateSound("948494432", tors, 5, 1)
  1048. for i = 0,6,0.1 do
  1049. swait()
  1050. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-6),math.rad(0),math.rad(0)),0.15)
  1051. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1052. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  1053. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  1054. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-120), math.rad(0), math.rad(115)), 0.1)
  1055. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-120), math.rad(-0), math.rad(-115)), 0.1)
  1056. end
  1057. attack = false
  1058. hum.WalkSpeed = 16
  1059. end
  1060.  
  1061. function MeSwamp()
  1062. attack = true
  1063. hum.WalkSpeed = 0
  1064. CreateSound("130767645", tors, 10, 1)
  1065. for i = 0,6,0.1 do
  1066. swait()
  1067. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1068. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1069. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  1070. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  1071. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-160), math.rad(0), math.rad(120)), 0.1)
  1072. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-20)), 0.1)
  1073. end
  1074. for i = 0,2,0.1 do
  1075. swait()
  1076. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(0)),0.15)
  1077. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1078. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  1079. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  1080. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(165)), 0.1)
  1081. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-165)), 0.1)
  1082. end
  1083. for i = 0,2,0.1 do
  1084. swait()
  1085. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1086. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1087. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  1088. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  1089. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(0)), 0.1)
  1090. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-0)), 0.1)
  1091. end
  1092. for i = 0,4,0.1 do
  1093. swait()
  1094. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(360*i),math.rad(0)),0.15)
  1095. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1096. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  1097. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  1098. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(90)), 0.1)
  1099. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-90)), 0.1)
  1100. end
  1101. for i = 0,6,0.1 do
  1102. swait()
  1103. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1104. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1105. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),-.2)*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  1106. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  1107. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(130)), 0.1)
  1108. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-130)), 0.1)
  1109. end
  1110. attack = false
  1111. hum.WalkSpeed = 16
  1112. end
  1113.  
  1114.  
  1115. function EndMySuffering()
  1116. attack = true
  1117. hum.WalkSpeed = 0
  1118. CreateSound("1096379637", tors, 5, 1)
  1119. for i = 0,6,0.1 do
  1120. swait()
  1121. hum.Health = hum.Health + 50
  1122. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-10),math.rad(0)),0.15)
  1123. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  1124. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1125. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1126. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(-0), math.rad(0), math.rad(-110)), 0.1)
  1127. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-100)), 0.1)
  1128. end
  1129. attack = false
  1130. hum.WalkSpeed = 16
  1131. end
  1132.  
  1133.  
  1134. function WHATDAUSAY()
  1135. attack = true
  1136. hum.WalkSpeed = 0
  1137. CreateSound("188381340", tors, 5, 1)
  1138. for i = 0,20,0.1 do
  1139. swait()
  1140. rootj.C0=clerp(rootj.C0,RootCF*cf(0,math.random(-10, 10) / 100,-0.1+0.1*math.cos(sine/2))*angles(math.rad(20*math.cos(sine/2)),math.rad(20*math.cos(sine/2)),math.rad(20*math.cos(sine/2))),0.15)
  1141. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  1142. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1143. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1144. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(-180*math.cos(sine/2))), 0.1)
  1145. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-180*math.cos(sine/2))), 0.1)
  1146. end
  1147. for i = 0,2,0.1 do
  1148. swait()
  1149. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1150. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1151. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1152. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1153. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1154. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-20)), 0.1)
  1155. end
  1156. for i = 0,2,0.1 do
  1157. swait()
  1158. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1159. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1160. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1161. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1162. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(125), math.rad(0), math.rad(20)), 0.1)
  1163. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(125), math.rad(-0), math.rad(-20)), 0.1)
  1164. end
  1165. Effects.Sphere.Create(maincolor, la.CFrame * CFrame.new(0, -2.2, 0), 100, 100, 100, 3, 3, 3, .1, .1)
  1166. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0, -2.2, 0), 100, 100, 100, 3, 3, 3, .1, .1)
  1167. for i = 0,2,0.1 do
  1168. swait()
  1169. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1170. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1171. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1172. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1173. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1174. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-20)), 0.1)
  1175. end
  1176. attack = false
  1177. hum.WalkSpeed = 16
  1178. end
  1179.  
  1180. function SippyBoy()
  1181. attack = true
  1182. hum.WalkSpeed = 0
  1183. local Blobby = Instance.new("Part", char)
  1184. Blobby.Name = "Blob"
  1185. Blobby.CanCollide = false
  1186. Blobby.BrickColor = BrickColor.new("Really black")
  1187. Blobby.Transparency = 1
  1188. Blobby.Material = "Plastic"
  1189. Blobby.Size = Vector3.new(1, 1, 2)
  1190. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1191. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1192.  
  1193. local Weld = Instance.new("Weld", Blobby)
  1194. Weld.Part0 = ra
  1195. Weld.Part1 = Blobby
  1196. Weld.C1 = CFrame.new(0, -.1, 1)
  1197. Weld.C0 = CFrame.Angles(math.rad(-90),0,0)
  1198.  
  1199. local M2 = Instance.new("SpecialMesh")
  1200. M2.Parent = Blobby
  1201. M2.MeshId = "http://www.roblox.com/asset/?id=10470609"
  1202. M2.TextureId = "http://www.roblox.com/asset/?id=1219379224"
  1203. M2.Scale = Vector3.new(1,1,1)
  1204.  
  1205.  
  1206. Blobby.Transparency = 0
  1207. for i = 0,6,0.1 do
  1208. swait()
  1209. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1210. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1211. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1212. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1213. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(90), math.rad(0), math.rad(-0)), 0.1)
  1214. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-0)), 0.1)
  1215. end
  1216.  
  1217. CreateSound("1107256445", tors, 10, 1)
  1218. CreateSound("1107256445", tors, 10, 1)
  1219. CreateSound("1107256445", tors, 10, 1)
  1220. CreateSound("1107256445", tors, 10, 1)
  1221. for i = 0,10,0.1 do
  1222. swait()
  1223. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1224. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1225. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1226. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1227. RW.C0 = clerp(RW.C0, CFrame.new(1.35, 0.7+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(115), math.rad(0), math.rad(-55)), 0.1)
  1228. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-0)), 0.1)
  1229. end
  1230. hum.WalkSpeed = 16
  1231. Blobby.Transparency = 1
  1232. attack = false
  1233. end
  1234.  
  1235. function GetOutOfMyCOcK()
  1236. attack = true
  1237. hum.WalkSpeed = 0
  1238. CreateSound("1308566029", tors, 5, 1)
  1239. local Cary = Instance.new("Part", char)
  1240. Cary.Name = "Blob"
  1241. Cary.CanCollide = false
  1242. Cary.BrickColor = BrickColor.new("Really black")
  1243. Cary.Transparency = 0
  1244. Cary.Material = "Plastic"
  1245. Cary.Size = Vector3.new(1, 1, 2)
  1246. Cary.TopSurface = Enum.SurfaceType.Smooth
  1247. Cary.BottomSurface = Enum.SurfaceType.Smooth
  1248.  
  1249. local Weld = Instance.new("Weld", Cary)
  1250. Weld.Part0 = tors
  1251. Weld.Part1 = Cary
  1252. Weld.C1 = CFrame.new(0, 0, 5)
  1253. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1254.  
  1255. local M2 = Instance.new("SpecialMesh")
  1256. M2.Parent = Cary
  1257. M2.MeshId = "http://www.roblox.com/asset/?id=591853691"
  1258. M2.TextureId = "http://www.roblox.com/asset/?id=591854066"
  1259. M2.Scale = Vector3.new(1,1,1)
  1260.  
  1261. for i = 0,2,0.1 do
  1262. swait()
  1263. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1264. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1265. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1266. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1267. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(120), math.rad(0), math.rad(-0)), 0.1)
  1268. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(120), math.rad(-0), math.rad(-0)), 0.1)
  1269. end
  1270. Weld.C1 = CFrame.new(0, 0, 5)
  1271. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1272. for i = 0,10,0.1 do
  1273. swait()
  1274. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1275. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1276. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1277. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1278. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(-0)), 0.1)
  1279. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-0)), 0.1)
  1280. end
  1281. Weld.C1 = CFrame.new(0, 0, 7)
  1282. Weld.C0 = CFrame.Angles(math.rad(90),math.rad(0),0)
  1283. for i = 0,14,0.1 do
  1284. swait()
  1285. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1286. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1287. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1288. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1289. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(-180)), 0.1)
  1290. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(180)), 0.1)
  1291. end
  1292. for i = 1,8 do
  1293. Weld.C1 = CFrame.new(0, 0, 5)
  1294. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1295. for i = 0,1.2,0.1 do
  1296. swait()
  1297. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1298. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1299. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1300. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1301. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(-0)), 0.1)
  1302. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-0)), 0.1)
  1303. end
  1304. Weld.C1 = CFrame.new(0, 0, 7)
  1305. Weld.C0 = CFrame.Angles(math.rad(90),math.rad(0),0)
  1306. for i = 0,1.2,0.1 do
  1307. swait()
  1308. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1309. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1310. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1311. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1312. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.1)
  1313. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(180)), 0.1)
  1314. end
  1315. end
  1316. attack = false
  1317. hum.WalkSpeed = 16
  1318. Cary.Transparency = 1
  1319. end
  1320.  
  1321.  
  1322. mouse.KeyDown:connect(function(key)
  1323. if attack == false then
  1324. if key == 'q' then
  1325. SHUTUP()
  1326. elseif key == 'e' then
  1327. Huh()
  1328. elseif key == 'r' then
  1329. Noni()
  1330. elseif key == 't' then
  1331. MeSwamp()
  1332. elseif key == 'y' then
  1333. EndMySuffering()
  1334. elseif key == 'f' then
  1335. WHATDAUSAY()
  1336. elseif key == 'z' then
  1337. SippyBoy()
  1338. elseif key == 'x' then
  1339. GetOutOfMyCOcK()
  1340. end
  1341. end
  1342. end)
  1343.  
  1344.  
  1345. local idle=0
  1346. local change = 1
  1347. local val = 0
  1348. toim = 0
  1349. hum.Animator.Parent = nil
  1350. idleanim=.4
  1351. while true do
  1352. swait()
  1353. sine = sine + change
  1354. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1355. local velderp=root.Velocity.y
  1356. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1357. if equipped==true or equipped==false then
  1358. if attack==false then
  1359. idle=idle+1
  1360. else
  1361. idle=0
  1362. end
  1363. if root.Velocity.y > 1 and hitfloor==nil then
  1364. Anim="Jump"
  1365. if attack==false then
  1366. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1367. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1368. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1369. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1370. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),-0.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1371. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1372. end
  1373. elseif root.Velocity.y < -1 and hitfloor==nil then
  1374. Anim="Fall"
  1375. if attack==false then
  1376. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1377. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1378. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)), 0.3)
  1379. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1380. LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.6)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1381. RH.C0=clerp(RH.C0,cf(1,-.3-0.1*math.cos(sine/20),-.6)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1382. end
  1383. elseif torvel<1 and hitfloor~=nil then
  1384. Anim="Idle"
  1385. change = 1
  1386. if attack==false then
  1387. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1388. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1389. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1390. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  1391. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(3)), 0.1)
  1392. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  1393. end
  1394.  
  1395. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1396. Anim="Walk"
  1397. change = 1
  1398. if attack==false then
  1399. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(3-2.5*math.cos(sine/3.5)),math.rad(0)+root.RotVelocity.Y/30,math.rad(17*math.cos(sine/7))+root.RotVelocity.Y/30),0.15)
  1400. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1401. RH.C0=clerp(RH.C0,cf(1,-0.9-0.5*math.cos(sine/7)/2,0.055*math.cos(sine/7)/2)*angles(math.rad(0)+ -math.sin(sine/7)/1.5,math.rad(90-0.1*math.cos(sine/7)),math.rad(0)),0.15)
  1402. LH.C0=clerp(LH.C0,cf(-1,-0.9+0.5*math.cos(sine/7)/2,-0.055*math.cos(sine/7)/2)*angles(math.rad(0)+ math.sin(sine/7)/1.5,math.rad(-90-0.1*math.cos(sine/7)),math.rad(0)),0.15)
  1403. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(120 )* math.cos(sine / 7), math.rad(-7*math.sin(sine/25)), math.rad(5)), 0.1)
  1404. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(-125 )* math.cos(sine / 7), math.rad(7*math.sin(sine/25)), math.rad(-5)), 0.1)
  1405. end
  1406. end
  1407. end
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413. if 0 < #Effects then
  1414. for e = 1, #Effects do
  1415. if Effects[e] ~= nil then
  1416. local Thing = Effects[e]
  1417. if Thing ~= nil then
  1418. local Part = Thing[1]
  1419. local Mode = Thing[2]
  1420. local Delay = Thing[3]
  1421. local IncX = Thing[4]
  1422. local IncY = Thing[5]
  1423. local IncZ = Thing[6]
  1424. if 1 >= Thing[1].Transparency then
  1425. if Thing[2] == "Block1" then
  1426. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1427. local Mesh = Thing[1].Mesh
  1428. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1429. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1430. elseif Thing[2] == "Block2" then
  1431. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1432. local Mesh = Thing[7]
  1433. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1434. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1435. elseif Thing[2] == "Block3" then
  1436. 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)
  1437. local Mesh = Thing[7]
  1438. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1439. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1440. elseif Thing[2] == "Cylinder" then
  1441. local Mesh = Thing[1].Mesh
  1442. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1443. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1444. elseif Thing[2] == "Blood" then
  1445. local Mesh = Thing[7]
  1446. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1447. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1448. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1449. elseif Thing[2] == "Elec" then
  1450. local Mesh = Thing[1].Mesh
  1451. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1452. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1453. elseif Thing[2] == "Disappear" then
  1454. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1455. elseif Thing[2] == "Shatter" then
  1456. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1457. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1458. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1459. Thing[6] = Thing[6] + Thing[5]
  1460. end
  1461. else
  1462. Part.Parent = nil
  1463. table.remove(Effects, e)
  1464. end
  1465. end
  1466. end
  1467. end
  1468. end
  1469. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement