Advertisement
com_ww

Untitled

Jan 17th, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.95 KB | None | 0 0
  1. -------------------------------------------
  2. --%100 Meme Noob made by saba1520--
  3. -------------------------------------------
  4.  
  5. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  6. local Player,game,owner = owner,game
  7. local RealPlayer = Player
  8. do
  9. print("FE Compatibility code by Mokiros")
  10. local rp = RealPlayer
  11. script.Parent = rp.Character
  12.  
  13. --RemoteEvent for communicating
  14. local Event = Instance.new("RemoteEvent")
  15. Event.Name = "UserInput_Event"
  16.  
  17. --Fake event to make stuff like Mouse.KeyDown work
  18. local function fakeEvent()
  19. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  20. t.connect = t.Connect
  21. return t
  22. end
  23.  
  24. --Creating fake input objects with fake variables
  25. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  26. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  27. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  28. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  29. end}
  30. --Merged 2 functions into one by checking amount of arguments
  31. CAS.UnbindAction = CAS.BindAction
  32.  
  33. --This function will trigger the events that have been :Connect()'ed
  34. local function te(self,ev,...)
  35. local t = m[ev]
  36. if t and t._fakeEvent then
  37. for _,f in pairs(t.Functions) do
  38. f(...)
  39. end
  40. end
  41. end
  42. m.TrigEvent = te
  43. UIS.TrigEvent = te
  44.  
  45. Event.OnServerEvent:Connect(function(plr,io)
  46. if plr~=rp then return end
  47. m.Target = io.Target
  48. m.Hit = io.Hit
  49. if not io.isMouse then
  50. local b = io.UserInputState == Enum.UserInputState.Begin
  51. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  52. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  53. end
  54. for _,t in pairs(CAS.Actions) do
  55. for _,k in pairs(t.Keys) do
  56. if k==io.KeyCode then
  57. t.Function(t.Name,io.UserInputState,io)
  58. end
  59. end
  60. end
  61. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  63. end
  64. end)
  65. Event.Parent = NLS([==[
  66. local Player = game:GetService("Players").LocalPlayer
  67. local Event = script:WaitForChild("UserInput_Event")
  68.  
  69. local Mouse = Player:GetMouse()
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then return s[k] end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end,
  103. __call = function(self,...)
  104. local s = rawget(self,"_RealService")
  105. if s then return s(...) end
  106. end
  107. }
  108. local function FakeService(t,RealService)
  109. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  110. return setmetatable(t,fsmt)
  111. end
  112.  
  113. --Fake game object
  114. local g = {
  115. GetService = function(self,s)
  116. return self[s]
  117. end,
  118. Players = FakeService({
  119. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  120. },"Players"),
  121. UserInputService = FakeService(UIS,"UserInputService"),
  122. ContextActionService = FakeService(CAS,"ContextActionService"),
  123. }
  124. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  125. g.service = g.GetService
  126.  
  127. g.RunService = FakeService({
  128. RenderStepped = _rg:GetService("RunService").Heartbeat,
  129. BindToRenderStep = function(self,name,_,fun)
  130.  
  131. end,
  132. UnbindFromRenderStep = function(self,name)
  133. self._btrs[name]:Disconnect()
  134. end,
  135. },"RunService")
  136.  
  137. setmetatable(g,{
  138. __index=function(self,s)
  139. return _rg:GetService(s) or typeof(_rg[s])=="function"
  140. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  141. end,
  142. __newindex = fsmt.__newindex,
  143. __call = fsmt.__call
  144. })
  145. --Changing owner to fake player object to support owner:GetMouse()
  146. game,owner = g,g.Players.LocalPlayer
  147. end
  148.  
  149. Player_Size = 1 --Size of the player.
  150. local change = 1
  151.  
  152. local plr = owner
  153.  
  154. BTAUNT = Instance.new("Sound", tors)
  155. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=282257173"
  156. BTAUNT.Volume = 10
  157. BTAUNT.Pitch = 1
  158. BTAUNT.Looped = false
  159. BTAUNT.TimePosition = 0.2
  160.  
  161. GAY = Instance.new("Sound", tors)
  162. GAY.SoundId = "http://www.roblox.com/asset/?id=784851693"
  163. GAY.Volume = 10
  164. GAY.Pitch = 1
  165. GAY.Looped = false
  166. GAY.TimePosition = 0.2
  167.  
  168. TTAUNT = Instance.new("Sound", tors)
  169. TTAUNT.SoundId = "http://www.roblox.com/asset/?id=1494176499"
  170. TTAUNT.Volume = 10
  171. TTAUNT.Pitch = 1
  172. TTAUNT.Looped = false
  173. TTAUNT.TimePosition = 0.2
  174.  
  175. TTAUNT2 = Instance.new("Sound", tors)
  176. TTAUNT2.SoundId = "http://www.roblox.com/asset/?id=874826071"
  177. TTAUNT2.Volume = 10
  178. TTAUNT2.Pitch = 1
  179. TTAUNT2.Looped = false
  180. TTAUNT2.TimePosition = 0.2
  181.  
  182. MERKIO = Instance.new("Sound", tors) --why
  183. MERKIO.SoundId = "http://www.roblox.com/asset/?id=276873987"
  184. MERKIO.Volume = 10
  185. MERKIO.Pitch = 1
  186. MERKIO.Looped = false
  187. MERKIO.TimePosition = 0
  188.  
  189. cam = game.Workspace.CurrentCamera
  190. CF = CFrame.new
  191. VT = Vector3.new
  192. angles = CFrame.Angles
  193. attack = false
  194. Euler = CFrame.fromEulerAnglesXYZ
  195. Rad = math.rad
  196. IT = Instance.new
  197. BrickC = BrickColor.new
  198. Cos = math.cos
  199. COS = math.cos
  200. Acos = math.acos
  201. Sin = math.sin
  202. Asin = math.asin
  203. Abs = math.abs
  204. Mrandom = math.random
  205. Floor = math.floor
  206.  
  207. IT = Instance.new
  208. CF = CFrame.new
  209. VT = Vector3.new
  210. RAD = math.rad
  211. C3 = Color3.new
  212. UD2 = UDim2.new
  213. BRICKC = BrickColor.new
  214. ANGLES = CFrame.Angles
  215. EULER = CFrame.fromEulerAnglesXYZ
  216. COS = math.cos
  217. ACOS = math.acos
  218. SIN = math.sin
  219. ASIN = math.asin
  220. ABS = math.abs
  221. MRANDOM = math.random
  222. FLOOR = math.floor
  223.  
  224. Player = owner
  225. PlayerGui = Player.PlayerGui
  226. Cam = workspace.CurrentCamera
  227. Backpack = Player.Backpack
  228. Character = Player.Character
  229. Humanoid = Character.Humanoid
  230. Mouse = Player:GetMouse()
  231. RootPart = Character["HumanoidRootPart"]
  232. Torso = Character["Torso"]
  233. Head = Character["Head"]
  234. RightArm = Character["Right Arm"]
  235. LeftArm = Character["Left Arm"]
  236. RightLeg = Character["Right Leg"]
  237. LeftLeg = Character["Left Leg"]
  238. RootJoint = RootPart["RootJoint"]
  239. Neck = Torso["Neck"]
  240. RightShoulder = Torso["Right Shoulder"]
  241. LeftShoulder = Torso["Left Shoulder"]
  242. RightHip = Torso["Right Hip"]
  243. LeftHip = Torso["Left Hip"]
  244. local SIZE = 1
  245.  
  246. local char = plr.Character
  247. local mou = plr:GetMouse()
  248. local hum = char:FindFirstChildOfClass'Humanoid'
  249. local hed = char.Head
  250. local root = char:FindFirstChild'HumanoidRootPart'
  251. local rootj = root.RootJoint
  252. local tors = char.Torso
  253. local ra = char["Right Arm"]
  254. local la = char["Left Arm"]
  255. local rl = char["Right Leg"]
  256. local ll = char["Left Leg"]
  257. local neck = tors["Neck"]
  258. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  259. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  260. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  261. local maincolor = BrickColor.new("Institutional white")
  262. -------------------------------------------------------
  263. --Start Good Stuff--
  264. -------------------------------------------------------
  265. cam = game.Workspace.CurrentCamera
  266. CF = CFrame.new
  267. angles = CFrame.Angles
  268. attack = false
  269. Euler = CFrame.fromEulerAnglesXYZ
  270. Rad = math.rad
  271. IT = Instance.new
  272. BrickC = BrickColor.new
  273. Cos = math.cos
  274. Acos = math.acos
  275. Sin = math.sin
  276. Asin = math.asin
  277. Abs = math.abs
  278. Mrandom = math.random
  279. Floor = math.floor
  280. -------------------------------------------------------
  281. --End Good Stuff--
  282. -------------------------------------------------------
  283. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  284. RSH, LSH = nil, nil
  285. RW = Instance.new("Weld")
  286. LW = Instance.new("Weld")
  287. RH = tors["Right Hip"]
  288. LH = tors["Left Hip"]
  289. RSH = tors["Right Shoulder"]
  290. LSH = tors["Left Shoulder"]
  291. RSH.Parent = nil
  292. LSH.Parent = nil
  293. RW.Name = "RW"
  294. RW.Part0 = tors
  295. RW.C0 = CF(1.5, 0.5, 0)
  296. RW.C1 = CF(0, 0.5, 0)
  297. RW.Part1 = ra
  298. RW.Parent = tors
  299. LW.Name = "LW"
  300. LW.Part0 = tors
  301. LW.C0 = CF(-1.5, 0.5, 0)
  302. LW.C1 = CF(0, 0.5, 0)
  303. LW.Part1 = la
  304. LW.Parent = tors
  305. Effects = {}
  306.  
  307. local sine=0
  308. Animation_Speed = 1
  309. local CHANGE = 2 / Animation_Speed
  310.  
  311. rootj.Parent = root
  312. neck.Parent = tors
  313. RW.Parent = tors
  314. LW.Parent = tors
  315. RH.Parent = tors
  316. LH.Parent = tors
  317. ----------------------------------------------------------------------------------
  318. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  319. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  320. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  321. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  322. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  323. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  324. ----------------------------------------------------------------------------------
  325. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  326. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  327. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  328. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  329. --hat.Parent = Character
  330. ----------------------------------------------------------------------------------
  331. local SONG = 1386299751
  332. local SONG2 = 0
  333. local Music = Instance.new("Sound",tors)
  334. Music.Volume = 2.5
  335. Music.Looped = true
  336. Music.Pitch = 1 --Pitcher
  337. function Cso(ID, PARENT, VOLUME, PITCH)
  338. local NSound = nil
  339. coroutine.resume(coroutine.create(function()
  340. NSound = IT("Sound", PARENT)
  341. NSound.Volume = VOLUME
  342. NSound.Pitch = PITCH
  343. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  344. swait()
  345. NSound:play()
  346. game:GetService("Debris"):AddItem(NSound, 10)
  347. end))
  348. return NSound
  349. end
  350.  
  351. local BC = char["Body Colors"]
  352. BC.HeadColor = BrickColor.new("Bright yellow")
  353. BC.RightArmColor = BrickColor.new("Bright yellow")
  354. BC.LeftArmColor = BrickColor.new("Bright yellow")
  355. BC.RightLegColor = BrickColor.new("Br. yellowish green")
  356. BC.LeftLegColor = BrickColor.new("Br. yellowish green")
  357. BC.TorsoColor = BrickColor.new("Bright blue")
  358.  
  359. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  360. ----------------------------------------------------------------------------------
  361. local equipped = false
  362. local idle = 0
  363. local change = 1
  364. local val = 0
  365. local toim = 0
  366. local idleanim = 0.4
  367. local sine = 0
  368. local Sit = 1
  369. ----------------------------------------------------------------------------------
  370. hum.WalkSpeed = 16
  371. hum.JumpPower = 70
  372. ----------------------------------------------------------------------------------
  373. function clerp(a, b, t)
  374. local qa = {
  375. QuaternionFromCFrame(a)
  376. }
  377. local qb = {
  378. QuaternionFromCFrame(b)
  379. }
  380. local ax, ay, az = a.x, a.y, a.z
  381. local bx, by, bz = b.x, b.y, b.z
  382. local _t = 1 - t
  383. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  384. end
  385.  
  386. function swait(num)
  387. if num == 0 or num == nil then
  388. game:service("RunService").Stepped:wait(0)
  389. else
  390. for i = 0, num do
  391. game:service("RunService").Stepped:wait(0)
  392. end
  393. end
  394. end
  395.  
  396. function QuaternionFromCFrame(cf)
  397. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  398. local trace = m00 + m11 + m22
  399. if trace > 0 then
  400. local s = math.sqrt(1 + trace)
  401. local recip = 0.5 / s
  402. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  403. else
  404. local i = 0
  405. if m00 < m11 then
  406. i = 1
  407. end
  408. if m22 > (i == 0 and m00 or m11) then
  409. i = 2
  410. end
  411. if i == 0 then
  412. local s = math.sqrt(m00 - m11 - m22 + 1)
  413. local recip = 0.5 / s
  414. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  415. elseif i == 1 then
  416. local s = math.sqrt(m11 - m22 - m00 + 1)
  417. local recip = 0.5 / s
  418. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  419. elseif i == 2 then
  420. local s = math.sqrt(m22 - m00 - m11 + 1)
  421. local recip = 0.5 / s
  422. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  423. end
  424. end
  425. end
  426. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  427. local xs, ys, zs = x + x, y + y, z + z
  428. local wx, wy, wz = w * xs, w * ys, w * zs
  429. local xx = x * xs
  430. local xy = x * ys
  431. local xz = x * zs
  432. local yy = y * ys
  433. local yz = y * zs
  434. local zz = z * zs
  435. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  436. end
  437. --------------------
  438. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  439.  
  440. ArtificialHB = Instance.new("BindableEvent", script)
  441. ArtificialHB.Name = "ArtificialHB"
  442.  
  443. script:WaitForChild("ArtificialHB")
  444.  
  445. frame = Frame_Speed
  446. tf = 0
  447. allowframeloss = false
  448. tossremainder = false
  449. lastframe = tick()
  450. script.ArtificialHB:Fire()
  451.  
  452. game:GetService("RunService").Heartbeat:connect(function(s, p)
  453. tf = tf + s
  454. if tf >= frame then
  455. if allowframeloss then
  456. script.ArtificialHB:Fire()
  457. lastframe = tick()
  458. else
  459. for i = 1, math.floor(tf / frame) do
  460. script.ArtificialHB:Fire()
  461. end
  462. lastframe = tick()
  463. end
  464. if tossremainder then
  465. tf = 0
  466. else
  467. tf = tf - frame * math.floor(tf / frame)
  468. end
  469. end
  470. end)
  471.  
  472.  
  473. function Swait(NUMBER)
  474. if NUMBER == 0 or NUMBER == nil then
  475. ArtificialHB.Event:wait()
  476. else
  477. for i = 1, NUMBER do
  478. ArtificialHB.Event:wait()
  479. end
  480. end
  481. end
  482. --------------------
  483. local RbxUtility = LoadLibrary("RbxUtility")
  484. local Create = RbxUtility.Create
  485. ----------------------------
  486. local naeeym2 = Instance.new("BillboardGui",char)
  487. naeeym2.AlwaysOnTop = true
  488. naeeym2.Size = UDim2.new(5,35,2,35)
  489. naeeym2.StudsOffset = Vector3.new(0,2,0)
  490. naeeym2.Adornee = hed
  491. naeeym2.Name = "Name"
  492.  
  493. local tecks2 = Instance.new("TextLabel",naeeym2)
  494. tecks2.BackgroundTransparency = 1
  495. tecks2.TextScaled = true
  496. tecks2.BorderSizePixel = 0
  497. tecks2.Text = ""
  498. tecks2.Font = "Garamond"
  499. tecks2.TextSize = 30
  500. tecks2.TextStrokeTransparency = 0
  501. tecks2.TextColor3 = BrickColor.new().random
  502. tecks2.TextStrokeColor3 = BrickColor.new().random
  503. tecks2.Size = UDim2.new(1,0,0.5,0)
  504. tecks2.Parent = naeeym2
  505. textfag = tecks2
  506. tecks2.Text = "um edited by com_ww"
  507. wait(2)
  508. tecks2.Text = "BE ENJOY!"
  509. wait(1)
  510. tecks2.Text = "MeMeD "..plr.Name
  511. coroutine.resume(coroutine.create(function()
  512. while textfag ~= nil do
  513. swait()
  514. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  515. textfag.Rotation = math.random(-3,3)
  516. end
  517. end))
  518. -----------------------------------------
  519. function QuaternionSlerp(a, b, t)
  520. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  521. local startInterp, finishInterp
  522. if cosTheta >= 1.0E-4 then
  523. if 1 - cosTheta > 1.0E-4 then
  524. local theta = math.acos(cosTheta)
  525. local invSinTheta = 1 / Sin(theta)
  526. startInterp = Sin((1 - t) * theta) * invSinTheta
  527. finishInterp = Sin(t * theta) * invSinTheta
  528. else
  529. startInterp = 1 - t
  530. finishInterp = t
  531. end
  532. elseif 1 + cosTheta > 1.0E-4 then
  533. local theta = math.acos(-cosTheta)
  534. local invSinTheta = 1 / Sin(theta)
  535. startInterp = Sin((t - 1) * theta) * invSinTheta
  536. finishInterp = Sin(t * theta) * invSinTheta
  537. else
  538. startInterp = t - 1
  539. finishInterp = t
  540. end
  541. 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
  542. end
  543.  
  544. function rayCast(Position, Direction, Range, Ignore)
  545. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  546. end
  547. -------------------------
  548. -------------------------
  549. -------------------------
  550. function CreateSound(ID, PARENT, VOLUME, PITCH)
  551. local NEWSOUND = nil
  552. coroutine.resume(coroutine.create(function()
  553. NEWSOUND = IT("Sound", PARENT)
  554. NEWSOUND.Volume = VOLUME
  555. NEWSOUND.Pitch = PITCH
  556. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  557. Swait()
  558. NEWSOUND:play()
  559. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  560. end))
  561. return NEWSOUND
  562. end
  563.  
  564. function chatfunc(text)
  565. local chat = coroutine.wrap(function()
  566. if char:FindFirstChild("TalkingBillBoard")~= nil then
  567. char:FindFirstChild("TalkingBillBoard"):destroy()
  568. end
  569. local naeeym2 = Instance.new("BillboardGui",char)
  570. naeeym2.Size = UDim2.new(0,100,0,40)
  571. naeeym2.StudsOffset = Vector3.new(0,3,0)
  572. naeeym2.Adornee = char.Head
  573. naeeym2.Name = "TalkingBillBoard"
  574. local tecks2 = Instance.new("TextLabel",naeeym2)
  575. tecks2.BackgroundTransparency = 1
  576. tecks2.BorderSizePixel = 0
  577. tecks2.Text = ""
  578. tecks2.Font = "Fantasy"
  579. tecks2.TextSize = 30
  580. tecks2.TextStrokeTransparency = 0
  581. tecks2.TextColor3 = Color3.new(255,222,0)
  582. tecks2.TextStrokeColor3 = Color3.new(255,222,0)
  583. tecks2.Size = UDim2.new(1,0,0.5,0)
  584. local tecks3 = Instance.new("TextLabel",naeeym2)
  585. tecks3.BackgroundTransparency = 1
  586. tecks3.BorderSizePixel = 0
  587. tecks3.Text = ""
  588. tecks3.Font = "Fantasy"
  589. tecks3.TextSize = 30
  590. tecks3.TextStrokeTransparency = 0
  591. tecks3.TextColor3 = Color3.new(255,222,0)
  592. tecks3.TextStrokeColor3 = Color3.new(255,222,0)
  593. tecks3.Size = UDim2.new(1,0,0.5,0)
  594. coroutine.resume(coroutine.create(function()
  595. while tecks3 ~= nil do
  596. swait()
  597. tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  598. tecks3.Rotation = math.random(-3,3)
  599. tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0)
  600. tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0)
  601. end
  602. end))
  603. for i = 1,string.len(text),1 do
  604. tecks2.Text = string.sub(text,1,i)
  605. tecks3.Text = string.sub(text,1,i)
  606. wait(0.01)
  607. end
  608. wait(2)
  609. for i = 1, 50 do
  610. swait()
  611. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10))
  612. tecks2.Rotation = tecks2.Rotation - 2
  613. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  614. tecks2.TextTransparency = tecks2.TextTransparency + .04
  615. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10))
  616. tecks3.Rotation = tecks2.Rotation + 2
  617. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  618. tecks3.TextTransparency = tecks2.TextTransparency + .04
  619. end
  620. naeeym2:Destroy()
  621. end)
  622. chat()
  623. end
  624. function onChatted(msg)
  625. chatfunc(msg)
  626. end
  627. ---------------------------------------------
  628. function Taunt()
  629. char.Head.face.Texture = "http://www.roblox.com/asset/?id=40732322"
  630. attack = true
  631. hum.WalkSpeed = 0
  632. BTAUNT:Play()
  633. repeat
  634. swait()
  635. BTAUNT.Parent = tors
  636. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1)
  637. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1)
  638. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1)
  639. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1)
  640. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1)
  641. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(math.random(-360,360)), Rad(math.random(-360,360)), Rad(math.random(-360,360))), 1)
  642. until BTAUNT.Playing == false
  643. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  644. attack = false
  645. hum.WalkSpeed = 16
  646. end
  647.  
  648. function AMGAY()
  649. attack = true
  650. char.Head.face.Texture = "http://www.roblox.com/asset/?id=40577573"
  651. GAY:Play()
  652. repeat
  653. for i = 0,3,0.1 do
  654. swait()
  655. GAY.Parent = tors
  656. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  657. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  658. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  659. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  660. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  661. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  662. end
  663. for i = 0,1.2,0.1 do
  664. swait()
  665. GAY.Parent = tors
  666. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  667. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  668. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  669. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  670. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  671. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  672. end
  673. for i = 0,1.2,0.1 do
  674. swait()
  675. GAY.Parent = tors
  676. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  677. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  678. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  679. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  680. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  681. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  682. end
  683. for i = 0,1.2,0.1 do
  684. swait()
  685. GAY.Parent = tors
  686. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  687. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  688. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  689. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  690. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  691. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  692. end
  693. for i = 0,1.2,0.1 do
  694. swait()
  695. GAY.Parent = tors
  696. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  697. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  698. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  699. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  700. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  701. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  702. end
  703. for i = 0,2,0.1 do
  704. swait()
  705. GAY.Parent = tors
  706. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  707. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  708. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  709. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  710. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(120), Rad(0), Rad(5)), 0.1)
  711. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  712. end
  713. for i = 0,2,0.1 do
  714. swait()
  715. GAY.Parent = tors
  716. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  717. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  718. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  719. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  720. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  721. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  722. end
  723. until GAY.Playing == false
  724. GAY:Stop()
  725. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  726. attack = false
  727. hum.WalkSpeed = 16
  728. end
  729.  
  730.  
  731. function Taunt2()
  732. attack = true
  733. char.Head.face.Texture = "http://www.roblox.com/asset/?id=1253783230"
  734. hum.WalkSpeed = 0
  735. TTAUNT:Play()
  736. repeat
  737. swait()
  738. TTAUNT.Parent = tors
  739. rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  740. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.85)
  741. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.7)
  742. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  743. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  744. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-.6), Rad(0)), 0.7)
  745. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(-.6), Rad(0 - 4.5 * Sin(sine / 20))), 0.7)
  746. until TTAUNT.Playing == false
  747. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  748. attack = false
  749. hum.WalkSpeed = 16
  750. end
  751.  
  752. function Taunt3()
  753. attack = true
  754. char.Head.face.Texture = "http://www.roblox.com/asset/?id=275614649"
  755. hum.WalkSpeed = 0
  756. TTAUNT2:Play()
  757. repeat
  758. swait()
  759. TTAUNT2.Parent = tors
  760. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  761. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
  762. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  763. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
  764. RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  765. LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
  766. until TTAUNT2.Playing == false
  767. attack = false
  768. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  769. hum.WalkSpeed = 16
  770. end
  771.  
  772. function DANCEFORME()
  773. attack = true
  774. char.Head.face.Texture = "http://www.roblox.com/asset/?id=40577573"
  775. MERKIO:Play()
  776. repeat
  777. for i = 0,0.7,0.2 do
  778. swait()
  779. MERKIO.Parent = tors
  780. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  781. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  782. RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  783. LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  784. RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(115)), 0.77)
  785. LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67)
  786. end
  787. for i = 0,0.7,0.2 do
  788. swait()
  789. MERKIO.Parent = tors
  790. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
  791. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
  792. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  793. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
  794. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
  795. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.7)
  796. end
  797. until MERKIO.Playing == false
  798. MERKIO:Stop()
  799. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  800. attack = false
  801. hum.WalkSpeed = 16
  802. end
  803.  
  804. so = Instance.new("Sound", tors)
  805. so.SoundId = "http://www.roblox.com/asset/?id=271550300"
  806. so.Volume = 10
  807. so.Pitch = 1
  808. so.Looped = false
  809. so.TimePosition = 0
  810.  
  811. function HAAH()
  812. attack = true
  813. char.Head.face.Texture = "http://www.roblox.com/asset/?id=15839299"
  814. hum.WalkSpeed = 0
  815. so:Play()
  816. repeat
  817. swait()
  818. so.Parent = tors
  819. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15)
  820. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
  821. if Mrandom(1,15) == 1 then
  822. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  823. end
  824. RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15)
  825. LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15)
  826. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1)
  827. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1)
  828. until so.Playing == false
  829. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  830. attack = false
  831. hum.WalkSpeed = 16
  832. end
  833.  
  834. function Anchor()
  835. ra.Anchored = true
  836. la.Anchored = true
  837. tors.Anchored = true
  838. ll.Anchored = true
  839. rl.Anchored = true
  840. hed.Anchored = true
  841. end
  842.  
  843. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  844. if hit.Parent == nil then
  845. return
  846. end
  847. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  848. for _, v in pairs(hit.Parent:children()) do
  849. if v:IsA("Humanoid") then
  850. h = v
  851. end
  852. end
  853. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  854.  
  855. hit.Parent:FindFirstChild("Head"):BreakJoints()
  856. end
  857.  
  858. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  859. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  860. if hit.Parent.DebounceHit.Value == true then
  861. return
  862. end
  863. end
  864. if insta == true then
  865. hit.Parent:FindFirstChild("Head"):BreakJoints()
  866. end
  867. local c = Create("ObjectValue"){
  868. Name = "creator",
  869. Value = game:service("Players").LocalPlayer,
  870. Parent = h,
  871. }
  872. game:GetService("Debris"):AddItem(c, .5)
  873. if HitSound ~= nil and HitPitch ~= nil then
  874. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  875. end
  876. local Damage = math.random(minim, maxim)
  877. local blocked = false
  878. local block = hit.Parent:findFirstChild("Block")
  879. if block ~= nil then
  880. if block.className == "IntValue" then
  881. if block.Value > 0 then
  882. blocked = true
  883. block.Value = block.Value - 1
  884. print(block.Value)
  885. end
  886. end
  887. end
  888. if blocked == false then
  889. h.Health = h.Health - Damage
  890. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  891. else
  892. h.Health = h.Health - (Damage / 2)
  893. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  894. end
  895. if Type == "Knockdown" then
  896. local hum = hit.Parent.Humanoid
  897. hum.PlatformStand = true
  898. coroutine.resume(coroutine.create(function(HHumanoid)
  899. swait(1)
  900. HHumanoid.PlatformStand = false
  901. end), hum)
  902. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  903. local bodvol = Create("BodyVelocity"){
  904. velocity = angle * knockback,
  905. P = 5000,
  906. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  907. Parent = hit,
  908. }
  909. local rl = Create("BodyAngularVelocity"){
  910. P = 3000,
  911. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  912. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  913. Parent = hit,
  914. }
  915. game:GetService("Debris"):AddItem(bodvol, .5)
  916. game:GetService("Debris"):AddItem(rl, .5)
  917. elseif Type == "Normal" then
  918. local vp = Create("BodyVelocity"){
  919. P = 500,
  920. maxForce = Vector3.new(math.huge, 0, math.huge),
  921. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  922. }
  923. if knockback > 0 then
  924. vp.Parent = hit.Parent.Torso
  925. end
  926. game:GetService("Debris"):AddItem(vp, .5)
  927. elseif Type == "Up" then
  928. local bodyVelocity = Create("BodyVelocity"){
  929. velocity = Vector3.new(0, 20, 0),
  930. P = 5000,
  931. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  932. Parent = hit,
  933. }
  934. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  935. elseif Type == "DarkUp" then
  936. coroutine.resume(coroutine.create(function()
  937. for i = 0, 1, 0.1 do
  938. swait()
  939. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  940. end
  941. end))
  942. local bodyVelocity = Create("BodyVelocity"){
  943. velocity = Vector3.new(0, 20, 0),
  944. P = 5000,
  945. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  946. Parent = hit,
  947. }
  948. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  949. elseif Type == "Snare" then
  950. local bp = Create("BodyPosition"){
  951. P = 2000,
  952. D = 100,
  953. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  954. position = hit.Parent.Torso.Position,
  955. Parent = hit.Parent.Torso,
  956. }
  957. game:GetService("Debris"):AddItem(bp, 1)
  958. elseif Type == "Freeze" then
  959. local BodPos = Create("BodyPosition"){
  960. P = 50000,
  961. D = 1000,
  962. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  963. position = hit.Parent.Torso.Position,
  964. Parent = hit.Parent.Torso,
  965. }
  966. local BodGy = Create("BodyGyro") {
  967. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  968. P = 20e+003,
  969. Parent = hit.Parent.Torso,
  970. cframe = hit.Parent.Torso.CFrame,
  971. }
  972. hit.Parent.Torso.Anchored = true
  973. coroutine.resume(coroutine.create(function(Part)
  974. swait(1.5)
  975. Part.Anchored = false
  976. end), hit.Parent.Torso)
  977. game:GetService("Debris"):AddItem(BodPos, 3)
  978. game:GetService("Debris"):AddItem(BodGy, 3)
  979. end
  980. local debounce = Create("BoolValue"){
  981. Name = "DebounceHit",
  982. Parent = hit.Parent,
  983. Value = true,
  984. }
  985. game:GetService("Debris"):AddItem(debounce, Delay)
  986. c = Create("ObjectValue"){
  987. Name = "creator",
  988. Value = Player,
  989. Parent = h,
  990. }
  991. game:GetService("Debris"):AddItem(c, .5)
  992. end
  993. end
  994.  
  995. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  996. for _, c in pairs(workspace:children()) do
  997. local hum = c:findFirstChild("Humanoid")
  998. if hum ~= nil then
  999. local head = c:findFirstChild("Head")
  1000. if head ~= nil then
  1001. local targ = head.Position - Part.Position
  1002. local mag = targ.magnitude
  1003. if magni >= mag and c.Name ~= plr.Name then
  1004. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1005. end
  1006. end
  1007. end
  1008. end
  1009. end
  1010.  
  1011.  
  1012. CFuncs = {
  1013. Part = {
  1014. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1015. local Part = Create("Part")({
  1016. Parent = Parent,
  1017. Reflectance = Reflectance,
  1018. Transparency = Transparency,
  1019. CanCollide = false,
  1020. Locked = true,
  1021. BrickColor = BrickColor.new(tostring(BColor)),
  1022. Name = Name,
  1023. Size = Size,
  1024. Material = Material
  1025. })
  1026. RemoveOutlines(Part)
  1027. return Part
  1028. end
  1029. },
  1030. Mesh = {
  1031. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1032. local Msh = Create(Mesh)({
  1033. Parent = Part,
  1034. Offset = OffSet,
  1035. Scale = Scale
  1036. })
  1037. if Mesh == "SpecialMesh" then
  1038. Msh.MeshType = MeshType
  1039. Msh.MeshId = MeshId
  1040. end
  1041. return Msh
  1042. end
  1043. },
  1044. Mesh = {
  1045. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1046. local Msh = Create(Mesh)({
  1047. Parent = Part,
  1048. Offset = OffSet,
  1049. Scale = Scale
  1050. })
  1051. if Mesh == "SpecialMesh" then
  1052. Msh.MeshType = MeshType
  1053. Msh.MeshId = MeshId
  1054. end
  1055. return Msh
  1056. end
  1057. },
  1058. Weld = {
  1059. Create = function(Parent, Part0, Part1, C0, C1)
  1060. local Weld = Create("Weld")({
  1061. Parent = Parent,
  1062. Part0 = Part0,
  1063. Part1 = Part1,
  1064. C0 = C0,
  1065. C1 = C1
  1066. })
  1067. return Weld
  1068. end
  1069. },
  1070. Sound = {
  1071. Create = function(id, par, vol, pit)
  1072. coroutine.resume(coroutine.create(function()
  1073. local S = Create("Sound")({
  1074. Volume = vol,
  1075. Pitch = pit or 1,
  1076. SoundId = id,
  1077. Parent = par or workspace
  1078. })
  1079. wait()
  1080. S:play()
  1081. game:GetService("Debris"):AddItem(S, 6)
  1082. end))
  1083. end
  1084. },
  1085. ParticleEmitter = {
  1086. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1087. local fp = Create("ParticleEmitter")({
  1088. Parent = Parent,
  1089. Color = ColorSequence.new(Color1, Color2),
  1090. LightEmission = LightEmission,
  1091. Size = Size,
  1092. Texture = Texture,
  1093. Transparency = Transparency,
  1094. ZOffset = ZOffset,
  1095. Acceleration = Accel,
  1096. Drag = Drag,
  1097. LockedToPart = LockedToPart,
  1098. VelocityInheritance = VelocityInheritance,
  1099. EmissionDirection = EmissionDirection,
  1100. Enabled = Enabled,
  1101. Lifetime = LifeTime,
  1102. Rate = Rate,
  1103. Rotation = Rotation,
  1104. RotSpeed = RotSpeed,
  1105. Speed = Speed,
  1106. VelocitySpread = VelocitySpread
  1107. })
  1108. return fp
  1109. end
  1110. }
  1111. }
  1112.  
  1113. function RemoveOutlines(part)
  1114. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1115. end
  1116.  
  1117. EffectModel = Instance.new("Model", char)
  1118. Effects = {
  1119. Block = {
  1120. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1121. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1122. prt.Anchored = true
  1123. prt.CFrame = cframe
  1124. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1125. game:GetService("Debris"):AddItem(prt, 10)
  1126. if Type == 1 or Type == nil then
  1127. table.insert(Effects, {
  1128. prt,
  1129. "Block1",
  1130. delay,
  1131. x3,
  1132. y3,
  1133. z3,
  1134. msh
  1135. })
  1136. elseif Type == 2 then
  1137. table.insert(Effects, {
  1138. prt,
  1139. "Block2",
  1140. delay,
  1141. x3,
  1142. y3,
  1143. z3,
  1144. msh
  1145. })
  1146. else
  1147. table.insert(Effects, {
  1148. prt,
  1149. "Block3",
  1150. delay,
  1151. x3,
  1152. y3,
  1153. z3,
  1154. msh
  1155. })
  1156. end
  1157. end
  1158. },
  1159. Sphere = {
  1160. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1161. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1162. prt.Anchored = true
  1163. prt.CFrame = cframe
  1164. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1165. game:GetService("Debris"):AddItem(prt, 10)
  1166. table.insert(Effects, {
  1167. prt,
  1168. "Cylinder",
  1169. delay,
  1170. x3,
  1171. y3,
  1172. z3,
  1173. msh
  1174. })
  1175. end
  1176. },
  1177. Cylinder = {
  1178. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1179. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1180. prt.Anchored = true
  1181. prt.CFrame = cframe
  1182. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1183. game:GetService("Debris"):AddItem(prt, 10)
  1184. table.insert(Effects, {
  1185. prt,
  1186. "Cylinder",
  1187. delay,
  1188. x3,
  1189. y3,
  1190. z3,
  1191. msh
  1192. })
  1193. end
  1194. },
  1195. Wave = {
  1196. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1197. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1198. prt.Anchored = true
  1199. prt.CFrame = cframe
  1200. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1201. game:GetService("Debris"):AddItem(prt, 10)
  1202. table.insert(Effects, {
  1203. prt,
  1204. "Cylinder",
  1205. delay,
  1206. x3 / 60,
  1207. y3 / 60,
  1208. z3 / 60,
  1209. msh
  1210. })
  1211. end
  1212. },
  1213. Ring = {
  1214. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1215. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1216. prt.Anchored = true
  1217. prt.CFrame = cframe
  1218. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1219. game:GetService("Debris"):AddItem(prt, 10)
  1220. table.insert(Effects, {
  1221. prt,
  1222. "Cylinder",
  1223. delay,
  1224. x3,
  1225. y3,
  1226. z3,
  1227. msh
  1228. })
  1229. end
  1230. },
  1231. Break = {
  1232. Create = function(brickcolor, cframe, x1, y1, z1)
  1233. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1234. prt.Anchored = true
  1235. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1236. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1237. local num = math.random(10, 50) / 1000
  1238. game:GetService("Debris"):AddItem(prt, 10)
  1239. table.insert(Effects, {
  1240. prt,
  1241. "Shatter",
  1242. num,
  1243. prt.CFrame,
  1244. math.random() - math.random(),
  1245. 0,
  1246. math.random(50, 100) / 100
  1247. })
  1248. end
  1249. },
  1250. Spiral = {
  1251. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1252. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1253. prt.Anchored = true
  1254. prt.CFrame = cframe
  1255. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1256. game:GetService("Debris"):AddItem(prt, 10)
  1257. table.insert(Effects, {
  1258. prt,
  1259. "Cylinder",
  1260. delay,
  1261. x3,
  1262. y3,
  1263. z3,
  1264. msh
  1265. })
  1266. end
  1267. },
  1268. Push = {
  1269. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1270. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1271. prt.Anchored = true
  1272. prt.CFrame = cframe
  1273. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1274. game:GetService("Debris"):AddItem(prt, 10)
  1275. table.insert(Effects, {
  1276. prt,
  1277. "Cylinder",
  1278. delay,
  1279. x3,
  1280. y3,
  1281. z3,
  1282. msh
  1283. })
  1284. end
  1285. }
  1286. }
  1287.  
  1288.  
  1289.  
  1290. function dmg(dude)
  1291. if dude.Name ~= char then
  1292. dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1293. local bgf = Instance.new("BodyGyro",dude.Head)
  1294. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1295. local val = Instance.new("BoolValue",dude)
  1296. val.Name = "IsHit"
  1297. local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
  1298. local partasdeff = Instance.new("ParticleEmitter",torsy)
  1299. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1300. partasdeff.LightEmission = .1
  1301. partasdeff.Size = NumberSequence.new(0.2)
  1302. partasdeff.Texture = "rbxassetid://771221224"
  1303. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1304. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1305. partasdeff.Transparency = bbb
  1306. partasdeff.Size = aaa
  1307. partasdeff.ZOffset = .9
  1308. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1309. partasdeff.LockedToPart = false
  1310. partasdeff.EmissionDirection = "Back"
  1311. partasdeff.Lifetime = NumberRange.new(1, 2)
  1312. partasdeff.Rate = 1000
  1313. partasdeff.Rotation = NumberRange.new(-100, 100)
  1314. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1315. partasdeff.Speed = NumberRange.new(6)
  1316. partasdeff.VelocitySpread = 10000
  1317. partasdeff.Enabled=false
  1318. partasdeff:Emit(30)
  1319. coroutine.wrap(function()
  1320. targetted = nil
  1321. swait(30)
  1322. dude:BreakJoints()
  1323. Effects.Sphere.Create(BrickColor.new("Crimson"), dude.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  1324. swait(5)
  1325. dude:FindFirstChildOfClass("Humanoid"):Destroy()
  1326. for i=0,1,.05 do
  1327. for a,v in pairs(dude:GetChildren()) do
  1328. if v:IsA("BasePart") then
  1329. v.Transparency = 1
  1330. end
  1331. end
  1332. swait()
  1333. end
  1334. for a,v in pairs(dude:GetChildren()) do
  1335. if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then
  1336. v.ParticleEmitter.Enabled = false
  1337. end
  1338. game:service'Debris':AddItem(v,2)
  1339. end
  1340. end)()
  1341. end
  1342. end
  1343.  
  1344. function abc()
  1345. thing = true
  1346. char.Head.face.Texture = "http://www.roblox.com/asset/?id=1213287714"
  1347. chatfunc("Why..;c")
  1348. wait(0.85)
  1349. chatfunc("WHY DUDE?")
  1350. wait(1)
  1351. chatfunc("I can't take this anymore...")
  1352. wait(1)
  1353. attack = true
  1354. hum.WalkSpeed = 0
  1355. hum.JumpPower = 0
  1356. for i = 0,6,0.1 do
  1357. swait()
  1358. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1359. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1360. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1361. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1362. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1363. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(15)), 0.1)
  1364. end
  1365. CreateSound("1093102664", hed, 10, 1)
  1366. for i = 0,4,0.1 do
  1367. swait()
  1368. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  1369. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.4)
  1370. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1371. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1372. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1373. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(40)), 0.4)
  1374. end
  1375. for i = 0,6,0.1 do
  1376. swait()
  1377. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1378. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1379. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1380. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1381. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  1382. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  1383. end
  1384. for i = 0,6,0.1 do
  1385. swait()
  1386. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -3 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  1387. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1388. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  1389. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  1390. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1391. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(0 - 4.5 * Sin(sine / 20)), Rad(-13)), 0.1)
  1392. end
  1393. Anchor()
  1394. wait(2)
  1395. chatfunc("i hate this RUDE WORLD!")
  1396. wait(1)
  1397. dmg(char)
  1398. print("It seems you've died! CONGRATS!")
  1399. thing = false
  1400. end
  1401.  
  1402. function OHHHHHHH()
  1403. attack = true
  1404. char.Head.face.Texture = "http://www.roblox.com/asset/?id=88784708"
  1405. Speed = 0
  1406. Cso("663306786", tors, 3, 1)
  1407. for i = 0, 12, 0.1 do
  1408. swait()
  1409. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0 + 1 * i * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.1)
  1410. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1411. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  1412. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(143), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  1413. end
  1414. Cso("663307468", tors, 6, 1)
  1415. for i = 0, 6, 0.1 do
  1416. swait()
  1417. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 4500 * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1418. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1419. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  1420. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(156), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  1421. end
  1422. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  1423. Speed = 56
  1424. attack = false
  1425. end
  1426.  
  1427. function Gum()
  1428. attack = true
  1429. Speed = 0
  1430. char.Head.face.Texture = "http://www.roblox.com/asset/?id=315622231"
  1431. local Senses = Cso("605297168", hed, 6, 1)
  1432. swait(2)
  1433. repeat
  1434. swait()
  1435. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.2)
  1436. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.2)
  1437. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.2)
  1438. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.2)
  1439. until Senses.TimePosition > 2.7
  1440. for i = 0, 3, 0.1 do
  1441. swait()
  1442. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size) * angles(Rad(-30), Rad(0), Rad(0)), 0.5)
  1443. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  1444. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5)
  1445. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  1446. end
  1447. root.Anchored = true
  1448. repeat
  1449. swait()
  1450. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(90), Rad(0), Rad(0)), 0.5)
  1451. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  1452. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5)
  1453. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  1454. until Senses.Playing == false
  1455. Speed = 56
  1456. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  1457. attack = false
  1458. root.Anchored = false
  1459. end
  1460.  
  1461. function Taunt1000()
  1462. attack = true
  1463. Speed = 3
  1464. char.Head.face.Texture = "http://www.roblox.com/asset/?id=1253783230"
  1465. local Munch = Cso("1575472350", hed, 5, 1)
  1466. swait(2)
  1467. repeat
  1468. swait()
  1469. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1470. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1471. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1)
  1472. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
  1473. until Munch.Playing == false
  1474. Cso("172324194", hed, 5, 1)
  1475. for i = 0, 5, 0.1 do
  1476. swait()
  1477. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 * Player_Size) * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1478. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35), Rad(0), Rad(0)), 0.3)
  1479. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1)
  1480. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0), Rad(-10)), 0.3)
  1481. end
  1482. local RUN = Cso("957655044", hed, 5, 1)
  1483. swait(2)
  1484. repeat
  1485. swait()
  1486. Speed = 56
  1487. local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  1488. root.Velocity = root.CFrame.lookVector * 75
  1489. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.65 * Cos(sine / ( WALKSPEEDVALUE / 2 ))) * angles(Rad(-25), Rad(0), Rad(0 - 1.75 * Cos(sine / ( WALKSPEEDVALUE / 2))) + root.RotVelocity.Y / 75), 0.1)
  1490. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0) + root.RotVelocity.Y / 13), 0.1)
  1491. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(45)), 0.1)
  1492. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(-45)), 0.1)
  1493. until RUN.Playing == false
  1494. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  1495. Speed = 56
  1496. movelegs = false
  1497. attack = false
  1498. end
  1499.  
  1500. function WoodyGotWood()
  1501. attack = true
  1502. Speed = 0
  1503. char.Head.face.Texture = "http://www.roblox.com/asset/?id=50725528"
  1504. local Woodlenny = Cso("1764642350", hed, 6, 1)
  1505. swait(2)
  1506. repeat
  1507. swait()
  1508. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 5)) * angles(Rad(20), Rad(0), Rad(5)), 0.2)
  1509. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20), Rad(0), Rad(-5 - 15 * Sin(sine / 20))), 0.2)
  1510. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.2)
  1511. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(0), Rad(-10)), 0.2)
  1512. until Woodlenny.TimePosition > 3.6
  1513. root.Anchored = true
  1514. repeat
  1515. swait()
  1516. for i = 0, 2, 0.1 do
  1517. swait()
  1518. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5)
  1519. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  1520. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(90)), 0.5)
  1521. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  1522. end
  1523. for i = 0, 1.6, 0.1 do
  1524. swait()
  1525. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.4 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5)
  1526. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  1527. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(75)), 0.5)
  1528. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-75)), 0.5)
  1529. end
  1530. until Woodlenny.Playing == false
  1531. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  1532. Speed = 56
  1533. attack = false
  1534. root.Anchored = false
  1535. end
  1536.  
  1537. function shit()
  1538. hum.WalkSpeed = 0
  1539. Cso("673539931", hed, 5, 1)
  1540. for i = 0, 5, 0.1 do
  1541. swait()
  1542. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 2* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 1)
  1543. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(10), Rad(-90)), 1)
  1544. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 1)
  1545. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 1)
  1546. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(90)), 1)
  1547. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-15)), 1)
  1548. end
  1549. hum.WalkSpeed = 16
  1550. movelegs = false
  1551. attack = false
  1552. end
  1553. ---------------------------------------------
  1554. function kdown(k)
  1555. if k == "t" then
  1556. Taunt()
  1557. elseif k == "r" then
  1558. Taunt2()
  1559. elseif k == "y" then
  1560. Taunt3()
  1561. elseif k == "f" then
  1562. DANCEFORME()
  1563. elseif k == 'p' then
  1564. abc()
  1565. elseif k == 'z' then
  1566. HAAH()
  1567. elseif k == 'e' then
  1568. OHHHHHHH()
  1569. elseif k == 'm' then
  1570. Taunt1000()
  1571. elseif k == 'x' then
  1572. WoodyGotWood()
  1573. elseif k == 'g' then
  1574. AMGAY()
  1575. elseif k == 'c' then
  1576. Gum()
  1577. elseif k == 'n' then
  1578. shit()
  1579. end
  1580. end
  1581.  
  1582. mou.KeyDown:connect(kdown)
  1583. ----------------------------------------
  1584. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1585. local NEWPART = IT("Part")
  1586. NEWPART.formFactor = FORMFACTOR
  1587. NEWPART.Reflectance = REFLECTANCE
  1588. NEWPART.Transparency = TRANSPARENCY
  1589. NEWPART.CanCollide = false
  1590. NEWPART.Locked = true
  1591. NEWPART.Anchored = true
  1592. if ANCHOR == false then
  1593. NEWPART.Anchored = false
  1594. end
  1595. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1596. NEWPART.Name = NAME
  1597. NEWPART.Size = SIZE
  1598. NEWPART.Position = Torso.Position
  1599. NEWPART.Material = MATERIAL
  1600. NEWPART:BreakJoints()
  1601. NEWPART.Parent = PARENT
  1602. return NEWPART
  1603. end
  1604. -------------------------------------------------
  1605. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1606. local NEWWELD = IT(TYPE)
  1607. NEWWELD.Part0 = PART0
  1608. NEWWELD.Part1 = PART1
  1609. NEWWELD.C0 = C0
  1610. NEWWELD.C1 = C1
  1611. NEWWELD.Parent = PARENT
  1612. return NEWWELD
  1613. end
  1614. ----------------------------
  1615. function MakeForm(PART,TYPE)
  1616. if TYPE == "Cyl" then
  1617. local MSH = IT("CylinderMesh",PART)
  1618. elseif TYPE == "Ball" then
  1619. local MSH = IT("SpecialMesh",PART)
  1620. MSH.MeshType = "Sphere"
  1621. elseif TYPE == "Wedge" then
  1622. local MSH = IT("SpecialMesh",PART)
  1623. MSH.MeshType = "Wedge"
  1624. end
  1625. end
  1626. --------------------------------------------------------------------
  1627. local selectionBoxOfTorso = Instance.new("SelectionBox",Torso)
  1628. selectionBoxOfTorso.Adornee = Torso
  1629. selectionBoxOfTorso.Color = BrickColor.new()
  1630. selectionBoxOfTorso.LineThickness = 0.01
  1631. selectionBoxOfTorso.Transparency = 0
  1632.  
  1633. local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"])
  1634. selectionBoxOfRightArm.Adornee = char["Right Arm"]
  1635. selectionBoxOfRightArm.Color = BrickColor.new()
  1636. selectionBoxOfRightArm.LineThickness = 0.01
  1637. selectionBoxOfRightArm.Transparency = 0
  1638.  
  1639. local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"])
  1640. selectionBoxOfRightLeg.Adornee = char["Right Leg"]
  1641. selectionBoxOfRightLeg.Color = BrickColor.new()
  1642. selectionBoxOfRightLeg.LineThickness = 0.01
  1643. selectionBoxOfRightLeg.Transparency = 0
  1644.  
  1645. local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"])
  1646. selectionBoxOfLeftArm.Adornee = char["Left Arm"]
  1647. selectionBoxOfLeftArm.Color = BrickColor.new()
  1648. selectionBoxOfLeftArm.LineThickness = 0.01
  1649. selectionBoxOfLeftArm.Transparency = 0
  1650.  
  1651. local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"])
  1652. selectionBoxOfLeftLeg.Adornee = char["Left Leg"]
  1653. selectionBoxOfLeftLeg.Color = BrickColor.new()
  1654. selectionBoxOfLeftLeg.LineThickness = 0.01
  1655. selectionBoxOfLeftLeg.Transparency = 0
  1656.  
  1657. -----------------------------------------------------------------
  1658. print("made by saba1520! What are you looking for here...? wtf?")
  1659. print("its version 3.0.5 beta")
  1660. local equipped = false
  1661. local idle = 0
  1662. local change = 1
  1663. local val = 0
  1664. local toim = 0
  1665. local idleanim = 0.4
  1666. hum.Animator.Parent = nil
  1667. while true do
  1668. swait()
  1669. sine = sine + change
  1670.  
  1671. Music.Parent = char
  1672. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1673. local velderp = root.Velocity.y
  1674. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1675. if equipped == true or equipped == false then
  1676. if attack == false then
  1677. idle = idle + 1
  1678. else
  1679. idle = 0
  1680. end
  1681. if 1 < root.Velocity.y and hitfloor == nil then
  1682. Anim = "Jump"
  1683. if attack == false then
  1684. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  1685. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  1686. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3)
  1687. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3)
  1688. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1689. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1690. end
  1691. elseif -1 > root.Velocity.y and hitfloor == nil then
  1692. Anim = "Fall"
  1693. if attack == false then
  1694. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  1695. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  1696. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3)
  1697. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3)
  1698. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1699. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1700. end
  1701. elseif torvel < 1 and hitfloor ~= nil then
  1702. Anim = "Idle"
  1703. change = 1
  1704. if attack == false then
  1705. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1706. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1707. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  1708. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1709. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1)
  1710. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1)
  1711. end
  1712. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  1713. Anim = "Walk"
  1714. change = 1
  1715. if attack == false then
  1716. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  1717. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1718. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1719. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1720. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  1721. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  1722. end
  1723. end
  1724. end
  1725. Music.SoundId = "rbxassetid://"..SONG
  1726. Music.Looped = true
  1727. Music.Pitch = 1
  1728. Music.Volume = 2
  1729. Music.Parent = tors
  1730. Music:Resume()
  1731. if 0 < #Effects then
  1732. for e = 1, #Effects do
  1733. if Effects[e] ~= nil then
  1734. local Thing = Effects[e]
  1735. if Thing ~= nil then
  1736. local Part = Thing[1]
  1737. local Mode = Thing[2]
  1738. local Delay = Thing[3]
  1739. local IncX = Thing[4]
  1740. local IncY = Thing[5]
  1741. local IncZ = Thing[6]
  1742. if 1 >= Thing[1].Transparency then
  1743. if Thing[2] == "Block1" then
  1744. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1745. local Mesh = Thing[1].Mesh
  1746. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1747. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1748. elseif Thing[2] == "Block2" then
  1749. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1750. local Mesh = Thing[7]
  1751. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1752. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1753. elseif Thing[2] == "Block3" then
  1754. 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)
  1755. local Mesh = Thing[7]
  1756. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1757. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1758. elseif Thing[2] == "Cylinder" then
  1759. local Mesh = Thing[1].Mesh
  1760. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1761. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1762. elseif Thing[2] == "Blood" then
  1763. local Mesh = Thing[7]
  1764. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1765. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1766. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1767. elseif Thing[2] == "Elec" then
  1768. local Mesh = Thing[1].Mesh
  1769. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1770. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1771. elseif Thing[2] == "Disappear" then
  1772. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1773. elseif Thing[2] == "Shatter" then
  1774. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1775. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1776. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1777. Thing[6] = Thing[6] + Thing[5]
  1778. end
  1779. else
  1780. Part.Parent = nil
  1781. table.remove(Effects, e)
  1782. end
  1783. end
  1784. end
  1785. end
  1786. end
  1787. end
  1788. -------------------------------------------------------
  1789. --End Animations And Script--
  1790. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement