Advertisement
Guest User

dcx

a guest
Jan 21st, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.89 KB | None | 0 0
  1. math.randomseed(tick())
  2.  
  3.  
  4.  
  5. Players_Met = {}
  6.  
  7. Target = nil
  8.  
  9. Tones = {
  10.  
  11. Enum.ChatColor.Brown,
  12.  
  13. Enum.ChatColor.Brown,
  14.  
  15. Enum.ChatColor.Brown,
  16.  
  17. }
  18.  
  19.  
  20.  
  21. Random_Thoughts = {
  22.  
  23. "Oh boy! Such a sunny day.",
  24.  
  25. "I want some pussy..",
  26.  
  27. "Meh.",
  28.  
  29. "Hmm..",
  30.  
  31. }
  32.  
  33.  
  34.  
  35. Neutral_Answers = {
  36.  
  37. Hello = {
  38.  
  39. "Hi.",
  40.  
  41. "Hello.",
  42.  
  43. },
  44.  
  45. }
  46.  
  47.  
  48.  
  49. local Asset = "http://www.roblox.com/asset/?id="
  50.  
  51.  
  52.  
  53. Shirtss = {Asset.."153965994", Asset.."179652407", Asset.."62031125", Asset.."217979089", Asset.."49299226", Asset.."25813650", Asset.."7825464", Asset.."50629907", Asset.."44096838", Asset.."106692520", Asset.."45506671", Asset.."50629907", Asset.."176424752"}
  54.  
  55. Pantss = {Asset.."48121928", Asset.."217980056", Asset.."7825668", Asset.."30703758", Asset.."7825663", Asset.."19954576", Asset.."44097222", Asset.."19425981", Asset.."45506330", Asset.."19954576", Asset.."19954576"}
  56.  
  57. Names = {"Joe", "Mark", "Carl", "Homer", "Cunt", "Bill", "Clyde", "Nick", "Drake", "Rick", "Peter", "Bucky", "Greg", "Eric",
  58.  
  59. "Joel", "Kim", "Lenny", "Barney", "Aaron", "Allan", "Andrew", "Brian", "Chad", "Chris", "Daniel", "David",
  60.  
  61. "Edward", "Henry",
  62.  
  63. }
  64.  
  65.  
  66.  
  67. function Part(P, Anch, Coll, Tran, Ref, Col, X, Y, Z)
  68.  
  69. local p = Instance.new("Part")
  70.  
  71. p.TopSurface = 0
  72.  
  73. p.BottomSurface = 0
  74.  
  75. p.Transparency = Tran
  76.  
  77. p.Reflectance = Ref
  78.  
  79. p.CanCollide = Coll
  80.  
  81. p.Anchored = Anch
  82.  
  83. p.BrickColor = BrickColor.new(Col)
  84.  
  85. p.formFactor = "Custom"
  86.  
  87. p.Size = Vector3.new(X,Y,Z)
  88.  
  89. p.Parent = P
  90.  
  91. p.Locked = false
  92.  
  93. p:BreakJoints()
  94.  
  95. return p
  96.  
  97. end
  98.  
  99.  
  100.  
  101. function Weld(P0, P1, X, Y, Z, A, B, C)
  102.  
  103. local w = Instance.new("Weld")
  104.  
  105. w.Part0 = P0
  106.  
  107. w.Part1 = P1
  108.  
  109. w.C1 = CN(X, Y, Z) * CA(A, B, C)
  110.  
  111. w.Parent = P0
  112.  
  113. return w
  114.  
  115. end
  116.  
  117.  
  118.  
  119. CA = CFrame.Angles
  120.  
  121. CN = CFrame.new
  122.  
  123. V3 = Vector3.new
  124.  
  125. MR = math.rad
  126.  
  127. MP = math.pi
  128.  
  129. MRA = math.random
  130.  
  131. MH = math.huge
  132.  
  133.  
  134.  
  135. Noob = nil
  136.  
  137.  
  138.  
  139. function MakeMotor(torso, p1, c0, c1)
  140.  
  141. local mot = Instance.new("Motor6D")
  142.  
  143. mot.C0 = c0
  144.  
  145. mot.C1 = c1
  146.  
  147. mot.Part0 = torso
  148.  
  149. mot.Part1 = p1
  150.  
  151. mot.Parent = torso
  152.  
  153. return mot
  154.  
  155. end
  156.  
  157.  
  158.  
  159. function Set(tab)
  160.  
  161. for _,v in pairs(tab) do
  162.  
  163. local motor = v[1]
  164.  
  165. local vel = v[2]
  166.  
  167. local des = v[3]
  168.  
  169. motor.MaxVelocity = vel
  170.  
  171. motor.DesiredAngle = des
  172.  
  173. end
  174.  
  175. end
  176.  
  177.  
  178.  
  179. function Animate(Hum, RSH, LSH, RH, LH)
  180.  
  181. local pose = "Standing"
  182.  
  183. local function sit()
  184.  
  185. pose = "Seated"
  186.  
  187. end
  188.  
  189. local function jump()
  190.  
  191. pose = "Jumping"
  192.  
  193. end
  194.  
  195. local function died()
  196.  
  197. pose = "Dead"
  198.  
  199. end
  200.  
  201. local function falling()
  202.  
  203. pose = "Falling"
  204.  
  205. end
  206.  
  207. local function climbing()
  208.  
  209. pose = "Climbing"
  210.  
  211. end
  212.  
  213. local function run(speed)
  214.  
  215. if speed > 0.5 then
  216.  
  217. pose = "Running"
  218.  
  219. else
  220.  
  221. pose = "Standing"
  222.  
  223. end
  224.  
  225. end
  226.  
  227. local function move(tiem)
  228.  
  229. local amplitude, frequency
  230.  
  231. if pose == "Seated" then
  232.  
  233. Set({{RSH, 0.15, math.pi/2}, {LSH, 0.15, -math.pi/2}, {LH, 0.15, math.pi/2}, {RH, 0.15, -math.pi/2}})
  234.  
  235. return
  236.  
  237. end
  238.  
  239. if pose == "Jumping" then
  240.  
  241. Set({{RSH, 0.3, math.pi}, {LSH, 0.3, -math.pi}, {LH, 0.3, 0}, {RH, 0.3, 0}})
  242.  
  243. return
  244.  
  245. end
  246.  
  247. if pose == "Falling" then
  248.  
  249. Set({{RSH, 0.35, math.pi}, {LSH, 0.35, -math.pi}, {LH, 0.35, 0}, {RH, 0.35, 0}})
  250.  
  251. return
  252.  
  253. end
  254.  
  255. local climb = 0
  256.  
  257. if pose == "Running" then
  258.  
  259. RSH.MaxVelocity = 0.15
  260.  
  261. LSH.MaxVelocity = 0.15
  262.  
  263. RH.MaxVelocity = 0.15
  264.  
  265. LH.MaxVelocity = 0.15
  266.  
  267. amplitude = 1
  268.  
  269. frequency = 8
  270.  
  271. elseif pose == "Climbing" then
  272.  
  273. RSH.MaxVelocity = 0.3
  274.  
  275. LSH.MaxVelocity = 0.3
  276.  
  277. RH.MaxVelocity = 0.15
  278.  
  279. LH.MaxVelocity = 0.15
  280.  
  281. amplitude = 1
  282.  
  283. frequency = 8
  284.  
  285. climb = math.pi
  286.  
  287. else
  288.  
  289. amplitude = 0.1
  290.  
  291. frequency = 1
  292.  
  293. end
  294.  
  295. des = amplitude * math.sin(tiem*frequency)
  296.  
  297. RSH.DesiredAngle = des + climb
  298.  
  299. LSH.DesiredAngle = des - climb
  300.  
  301. RH.DesiredAngle = -des
  302.  
  303. LH.DesiredAngle = -des
  304.  
  305. end
  306.  
  307. Hum.Jumping:connect(jump)
  308.  
  309. Hum.Running:connect(run)
  310.  
  311. Hum.Seated:connect(sit)
  312.  
  313. Hum.Died:connect(died)
  314.  
  315. Hum.FreeFalling:connect(falling)
  316.  
  317. Hum.Climbing:connect(climbing)
  318.  
  319. coroutine.resume(coroutine.create(function()
  320.  
  321. while pose ~= "Dead" do
  322.  
  323. local _, time = wait(0.1)
  324.  
  325. move(time)
  326.  
  327. end
  328.  
  329. end))
  330.  
  331. end
  332.  
  333.  
  334.  
  335. function MakeNoob(pos, scale)
  336.  
  337. local Name = Names[MRA(1,#Names)]
  338.  
  339. local Nub = Instance.new("Model")
  340.  
  341. Nub.Name = Name
  342.  
  343. Noob = Nub
  344.  
  345. local Torso = Part(Nub, false, false, 0, 0, "Bright blue", 2*scale, 2*scale, 1*scale)
  346.  
  347. Torso.Name = "Torso"
  348.  
  349. local Head = Part(Nub, false, false, 0, 0, "Bright yellow", 2*scale, 1*scale, 1*scale)
  350.  
  351. Head.Name = "Head"
  352.  
  353. local Neck = MakeMotor(Torso, Head, CN(0, 1*scale, 0), CN(0, -0.5*scale, 0))
  354.  
  355. local HeadMesh = Instance.new("SpecialMesh",Head)
  356.  
  357. HeadMesh.Scale = V3(1.25, 1.25, 1.25)
  358.  
  359. local Face = Instance.new("Decal",Head)
  360.  
  361. Face.Face = "Front"
  362.  
  363. Face.Texture = Asset..(13038247)
  364.  
  365. local Rarm = Part(Nub, false, false, 0, 0, "Bright yellow", 1*scale, 2*scale, 1*scale)
  366.  
  367. Rarm.Name = "Right Arm"
  368.  
  369. local Larm = Part(Nub, false, false, 0, 0, "Bright yellow", 1*scale, 2*scale, 1*scale)
  370.  
  371. Larm.Name = "Left Arm"
  372.  
  373. local Rleg = Part(Nub, false, false, 0, 0, "Br. yellowish green", 1*scale, 2*scale, 1*scale)
  374.  
  375. Rleg.Name = "Right Leg"
  376.  
  377. local Lleg = Part(Nub, false, false, 0, 0, "Br. yellowish green", 1*scale, 2*scale, 1*scale)
  378.  
  379. Lleg.Name = "Left Leg"
  380.  
  381. local RSH = MakeMotor(Torso, Rarm, CN(1*scale, 0.5*scale, 0) * CA(0, MR(90), 0), CN(-0.5*scale, 0.5*scale, 0) * CA(0, MR(90), 0))
  382.  
  383. local LSH = MakeMotor(Torso, Larm, CN(-1*scale, 0.5*scale, 0) * CA(0, MR(-90), 0), CN(0.5*scale, 0.5*scale, 0) * CA(0, MR(-90), 0))
  384.  
  385. local RH = MakeMotor(Torso, Rleg, CN(0.5*scale, -1*scale, 0) * CA(0, MR(-90), 0), CN(0, 1*scale, 0) * CA(0, MR(-90), 0))
  386.  
  387. local LH = MakeMotor(Torso, Lleg, CN(-0.5*scale, -1*scale, 0) * CA(0, MR(90), 0), CN(0, 1*scale, 0) * CA(0, MR(90), 0))
  388.  
  389. local Shirt = Instance.new("Shirt", Nub)
  390.  
  391. local Pants = Instance.new("Pants", Nub)
  392.  
  393. Shirt.ShirtTemplate = Shirtss[MRA(1,#Shirtss)]
  394.  
  395. Pants.PantsTemplate = Pantss[MRA(1,#Pantss)]
  396.  
  397. local Hum = Instance.new("Humanoid")
  398.  
  399. Hum.MaxHealth = 40+(scale*60)
  400.  
  401. Hum.Health = 1000
  402.  
  403. Hum.Parent = Nub
  404.  
  405. Nub.Parent = workspace
  406.  
  407. Nub:MakeJoints()
  408.  
  409. Nub:MoveTo(pos)
  410.  
  411. Animate(Hum,RSH,LSH,RH,LH)
  412.  
  413. --[[Hum.Died:connect(function()
  414.  
  415. wait(6)
  416.  
  417. Nub:remove()
  418.  
  419. wait(4)
  420.  
  421. MakeNoob(pos, scale)
  422.  
  423. end)]]
  424.  
  425. return {Name = Name, Model = Nub, Humanoid = Hum, Torso = Torso, Head = Head, Rarm = Rarm, Larm = Larm, Rleg = Rleg, Lleg = Lleg, RSH = RSH, LSH = LSH, RH = RH, LH = LH, Neck = Neck}
  426.  
  427. end
  428.  
  429.  
  430.  
  431. local Npc = MakeNoob(V3(MRA(-20, 20),10,MRA(-20, 20)), 1)
  432.  
  433.  
  434.  
  435. function Chat(msg, tone)
  436.  
  437. local tone = tone
  438.  
  439. if tone == nil then tone = 1 end
  440.  
  441. game:GetService("Chat"):Chat(Npc.Head, msg, Tones[tone] or 1)
  442.  
  443. end
  444.  
  445.  
  446.  
  447. wait(1.5)
  448.  
  449.  
  450.  
  451. Chat(("Hi I am %s. Can you suck my fat dick"):format(Npc.Name))
  452.  
  453.  
  454.  
  455. while true do
  456.  
  457.  
  458.  
  459. wait(0.4)
  460.  
  461. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement