Advertisement
HenloMyDude

spy man

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