Advertisement
Hermaxs

TF2 Spy

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