Advertisement
AgentVK

Ting Litzer

Jan 2nd, 2018
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.68 KB | None | 0 0
  1. --[[ KillerDarkness0105's/Codex#6685's Big Shaq No Ketchup Litzer/Memzer i didn't take this seriously so ye xddd ]]--
  2.  
  3.  
  4.  
  5. Player=game:GetService("Players").LocalPlayer
  6. Character=Player.Character
  7. PlayerGui=Player.PlayerGui
  8. Backpack=Player.Backpack
  9. Torso=Character.Torso
  10. Head=Character.Head
  11. Humanoid=Character.Humanoid
  12. m=Instance.new('Model',Character)
  13. LeftArm=Character["Left Arm"]
  14. LeftLeg=Character["Left Leg"]
  15. RightArm=Character["Right Arm"]
  16. RightLeg=Character["Right Leg"]
  17. LS=Torso["Left Shoulder"]
  18. LH=Torso["Left Hip"]
  19. RS=Torso["Right Shoulder"]
  20. RH=Torso["Right Hip"]
  21. Face = Head.face
  22. Neck=Torso.Neck
  23. it=Instance.new
  24. attacktype=1
  25. vt=Vector3.new
  26. cf=CFrame.new
  27. cn=CFrame.new
  28. euler=CFrame.fromEulerAnglesXYZ
  29. angles=CFrame.Angles
  30. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  33. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  34. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RootPart=Character.HumanoidRootPart
  37. RootJoint=RootPart.RootJoint
  38. RootCF=euler(-1.57,0,3.14)
  39. attack = false
  40. attackdebounce = false
  41. trispeed=.2
  42. attackmode='none'
  43. local idle=0
  44. local Anim="Idle"
  45. stance = false
  46. local ff = 2
  47. noleg = false
  48. evadecooldown = false
  49. Grabbed = false
  50. grab = nil
  51. ok = xdddd
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61. music = Instance.new("Sound",Torso) -- change to Character for global music --Change to Torso for non-global music. You may wanna leave this at torso tho...
  62. music.Volume = 1.5
  63. music.SoundId = "rbxassetid://1227345409"--576413172 --music2 = 1117522463 --music3 = 903651242 --music4 = 611389938
  64. music.Looped = true
  65. music:Play()
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73. local handee = Instance.new("Part")
  74. handee.Parent = Character
  75. handee.Size = Vector3.new(0.2,0.2,0.2)
  76. handee.Archivable = true
  77. handee.Transparency = 1
  78. handee.CanCollide = true
  79. handee.BrickColor = BrickColor.new("White")
  80. handee.Material = "Neon"
  81. handee.Anchored = false
  82. local handeemesh = Instance.new("BlockMesh",handee)
  83. handeemesh.Scale = Vector3.new(1,1,1)
  84. local handeeweld = Instance.new("Weld")
  85. handeeweld.Parent = handee
  86. handeeweld.Part0 = RightArm
  87. handeeweld.Part1 = handee
  88. handeeweld.C1 = CFrame.new(0, 0.95, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  89. handeeweld.Part0 = RightArm
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97. so = function(id,par,vol,pit)
  98. coroutine.resume(coroutine.create(function()
  99. local sou = Instance.new("Sound",par or workspace)
  100. sou.Volume=vol
  101. sou.Pitch=pit or 1
  102. sou.SoundId=id
  103. swait()
  104. sou:play()
  105. game:GetService("Debris"):AddItem(sou,6)
  106. end))
  107. end
  108.  
  109. --save shoulders
  110. RSH, LSH=nil, nil
  111. --welds
  112. RW= Instance.new("Weld")
  113. RW.Name="Right Shoulder"
  114. LH=Torso["Left Hip"]
  115. RH=Torso["Right Hip"]
  116. TorsoColor=Torso.BrickColor
  117. function NoOutline(Part)
  118. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  119. end
  120. player=Player
  121. ch=Character
  122. RSH=ch.Torso["Right Shoulder"]
  123. --
  124. RSH.Parent=nil
  125.  
  126. --
  127. RW.Name="Right Shoulder"
  128. RW.Part0=ch.Torso
  129. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  130. RW.C1=cf(0, 0.5, 0)
  131. RW.Part1=ch["Right Arm"]
  132. RW.Parent=ch.Torso
  133.  
  134.  
  135.  
  136.  
  137.  
  138. Player=game:GetService('Players').LocalPlayer
  139. Character=Player.Character
  140. mouse=Player:GetMouse()
  141. m=Instance.new('Model',Character)
  142.  
  143.  
  144. local function weldBetween(a, b)
  145. local weldd = Instance.new("ManualWeld")
  146. weldd.Part0 = a
  147. weldd.Part1 = b
  148. weldd.C0 = CFrame.new()
  149. weldd.C1 = b.CFrame:inverse() * a.CFrame
  150. weldd.Parent = a
  151. return weldd
  152. end
  153.  
  154. ArtificialHB = Instance.new("BindableEvent", script)
  155. ArtificialHB.Name = "Heartbeat"
  156.  
  157. script:WaitForChild("Heartbeat")
  158.  
  159. frame = 1 / 60
  160. tf = 0
  161. allowframeloss = false
  162. tossremainder = false
  163. lastframe = tick()
  164. script.Heartbeat:Fire()
  165.  
  166. game:GetService("RunService").Heartbeat:connect(function(s, p)
  167. tf = tf + s
  168. if tf >= frame then
  169. if allowframeloss then
  170. script.Heartbeat:Fire()
  171. lastframe = tick()
  172. else
  173. for i = 1, math.floor(tf / frame) do
  174. script.Heartbeat:Fire()
  175. end
  176. lastframe = tick()
  177. end
  178. if tossremainder then
  179. tf = 0
  180. else
  181. tf = tf - frame * math.floor(tf / frame)
  182. end
  183. end
  184. end)
  185.  
  186. function swait(num)
  187. if num == 0 or num == nil then
  188. ArtificialHB.Event:wait()
  189. else
  190. for i = 0, num do
  191. ArtificialHB.Event:wait()
  192. end
  193. end
  194. end
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203. function clerp(a,b,t)
  204. local qa = {QuaternionFromCFrame(a)}
  205. local qb = {QuaternionFromCFrame(b)}
  206. local ax, ay, az = a.x, a.y, a.z
  207. local bx, by, bz = b.x, b.y, b.z
  208. local _t = 1-t
  209. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  210. end
  211.  
  212. function QuaternionFromCFrame(cf)
  213. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  214. local trace = m00 + m11 + m22
  215. if trace > 0 then
  216. local s = math.sqrt(1 + trace)
  217. local recip = 0.5/s
  218. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  219. else
  220. local i = 0
  221. if m11 > m00 then
  222. i = 1
  223. end
  224. if m22 > (i == 0 and m00 or m11) then
  225. i = 2
  226. end
  227. if i == 0 then
  228. local s = math.sqrt(m00-m11-m22+1)
  229. local recip = 0.5/s
  230. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  231. elseif i == 1 then
  232. local s = math.sqrt(m11-m22-m00+1)
  233. local recip = 0.5/s
  234. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  235. elseif i == 2 then
  236. local s = math.sqrt(m22-m00-m11+1)
  237. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  238. end
  239. end
  240. end
  241.  
  242. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  243. local xs, ys, zs = x + x, y + y, z + z
  244. local wx, wy, wz = w*xs, w*ys, w*zs
  245. local xx = x*xs
  246. local xy = x*ys
  247. local xz = x*zs
  248. local yy = y*ys
  249. local yz = y*zs
  250. local zz = z*zs
  251. 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))
  252. end
  253.  
  254. function QuaternionSlerp(a, b, t)
  255. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  256. local startInterp, finishInterp;
  257. if cosTheta >= 0.0001 then
  258. if (1 - cosTheta) > 0.0001 then
  259. local theta = math.acos(cosTheta)
  260. local invSinTheta = 1/math.sin(theta)
  261. startInterp = math.sin((1-t)*theta)*invSinTheta
  262. finishInterp = math.sin(t*theta)*invSinTheta
  263. else
  264. startInterp = 1-t
  265. finishInterp = t
  266. end
  267. else
  268. if (1+cosTheta) > 0.0001 then
  269. local theta = math.acos(-cosTheta)
  270. local invSinTheta = 1/math.sin(theta)
  271. startInterp = math.sin((t-1)*theta)*invSinTheta
  272. finishInterp = math.sin(t*theta)*invSinTheta
  273. else
  274. startInterp = t-1
  275. finishInterp = t
  276. end
  277. end
  278. 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
  279. end
  280.  
  281. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  282.  
  283. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  284. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  285. end
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297. mouse.Button1Down:connect(function()
  298. niglet = true
  299. while niglet == true do
  300. swait()
  301. if attack == false then
  302. attack = true
  303. for i = 0,1,0.07 do
  304. swait()
  305. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)),.2)
  306. end
  307. local ray = Ray.new(handee.CFrame.p, (mouse.Hit.p - handee.CFrame.p).unit * 600)
  308. local part, position = workspace:FindPartOnRay(ray, player.Character, false, true)
  309.  
  310. local beam = Instance.new("Part", workspace)
  311. beam.BrickColor = BrickColor.new("Cyan")
  312. beam.FormFactor = "Custom"
  313. beam.Material = "Neon"
  314. beam.Transparency = 0
  315. beam.Anchored = true
  316. beam.Locked = true
  317. beam.CanCollide = false
  318.  
  319. local distance = (handee.CFrame.p - position).magnitude
  320. beam.Size = Vector3.new(0.1, 0.1, distance)
  321. beam.CFrame = CFrame.new(handee.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  322. so("http://roblox.com/asset/?id=151414336",handee,1,1)
  323. game:GetService("Debris"):AddItem(beam, 0.1)
  324.  
  325. if part then
  326. local humanoid = part.Parent:FindFirstChild("Humanoid")
  327.  
  328. if not humanoid then
  329. humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  330. end
  331.  
  332. if humanoid then
  333. part.Parent:BreakJoints()
  334.  
  335. local Sauce = Instance.new("Sound",part.Parent.Torso)
  336. Sauce.Volume = 1.5
  337. Sauce.SoundId = "rbxassetid://1224235449"
  338. Sauce.Looped = true
  339. Sauce.TimePosition = 10
  340. Sauce:Play()
  341.  
  342.  
  343. m = game.Players.LocalPlayer
  344. char = m.Character
  345. local txt = Instance.new("BillboardGui", part.Parent)
  346. txt.Adornee = part.Parent.Head
  347. txt.Name = "_status"
  348. txt.Size = UDim2.new(2, 0, 1.2, 0)
  349. txt.StudsOffset = Vector3.new(-9, 8, 0)
  350. local text = Instance.new("TextLabel", txt)
  351. text.Size = UDim2.new(10, 0, 7, 0)
  352. text.FontSize = "Size24"
  353. text.TextScaled = true
  354. text.TextTransparency = 0
  355. text.BackgroundTransparency = 1
  356. text.TextTransparency = 0
  357. text.TextStrokeTransparency = 0
  358. text.Font = "Bodoni"
  359. text.TextStrokeColor3 = Color3.new(0,0,0)
  360.  
  361. v=Instance.new("Part")
  362. v.Name = "ColorBrick"
  363. v.Parent=m.Character
  364. v.FormFactor="Symmetric"
  365. v.Anchored=true
  366. v.CanCollide=false
  367. v.BottomSurface="Smooth"
  368. v.TopSurface="Smooth"
  369. v.Size=Vector3.new(10,5,3)
  370. v.Transparency=1
  371. v.CFrame=char.Torso.CFrame
  372. v.BrickColor=BrickColor.new("Really black")
  373. v.Transparency=1
  374. text.TextColor3 = Color3.new(0,0,255)
  375. v.Shape="Block"
  376. text.Text = "Get Tinged Nub."
  377.  
  378.  
  379.  
  380. end
  381. end
  382. attack = false
  383. end
  384. end
  385. end)
  386.  
  387.  
  388.  
  389. mouse.Button1Up:connect(function()
  390. swait()
  391. niglet = false
  392. attack = true
  393. for i = 0,1,0.07 do
  394. swait()
  395. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)),.1)
  396. end
  397. attack = false
  398. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement