Bendy and the Ink Machine Tlt Roblox Id TUTORIAL

Bendy and the Ink Machine Tlt Roblox Id

Guest User

Untitled

a guest

May 17th, 2017

176

Never

Non a member of Pastebin yet? Sign Up , it unlocks many cool features!

  1. songs = {"Bendy and the Ink Machine Instrumental","783287117","Bendy and the Ink Machine","718493173","Nosotros are number i","569707122","Run boy run","608887581","Allstar","178118367","Bambous","198285559","Sofa","253333412","Ballroom Breakers","269261597","Bad male child Adept human being","201552585","Booty Swing","242193187","Jimmy's Gang","228239848","Catgroove","149838917","All Night","253586805"}

  2. local asin = math.asin

  3. local atan2 = math.atan2

  4. local rad = math.rad

  5. local sin = math.sin

  6. local abs = math.abs

  7. local ceil = math.ceil

  8. local pi = math.pi

  9. deddeb=fake

  10. deb=false

  11. local player = game.Players.LocalPlayer

  12. local pchar = player.Grapheme

  13. local mouse = role player:GetMouse()

  14. local torso=pchar.Torso

  15. anim=true

  16. anim2=false

  17. anglespeed = 1

  18. hum=pchar.Humanoid

  19. angle = 0

  20. equi=false

  21. showing = false

  22. tol=Case.new("HopperBin",player.Backpack)

  23. tol.Name="GramaPlayer"

  24. Part = office(x,y,z,colour,tr,cc,an,parent)

  25. local p = Instance.new('Office',parent or Weapon)

  26. p.formFactor = 'Custom'

  27. p.Size = Vector3.new(x,y,z)

  28. p.BrickColor = BrickColor.new(color)

  29. p.CanCollide = cc

  30. p.Transparency = tr

  31. p.Anchored = an

  32. p.TopSurface,p.BottomSurface = 0,0

  33. return p

  34. finish

  35. wPart = function(10,y,z,color,tr,cc,an,parent)

  36. local wp = Instance.new('WedgePart',parent or Weapon)

  37. wp.formFactor = 'Custom'

  38. wp.Size = Vector3.new(ten,y,z)

  39. wp.BrickColor = BrickColor.new(color)

  40. wp.CanCollide = cc

  41. wp.Transparency = tr

  42. wp.Anchored = an

  43. wp.TopSurface,wp.BottomSurface = 0,0

  44. render wp

  45. stop

  46. Weld = function(p0,p1,x,y,z,rx,ry,rz,par)

  47. p0.Position = p1.Position

  48. local west = Case.new('Motor',par or p0)

  49. w.Part0 = p0

  50. westward.Part1 = p1

  51. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)

  52. return w

  53. end

  54. Mesh = function(par,num,x,y,z)

  55. local msh = nil

  56. if num == 1 then

  57. msh = Case.new("CylinderMesh",par)

  58. elseif num == 2 so

  59. msh = Instance.new("SpecialMesh",par)

  60. msh.MeshType = 3

  61. elseif num == 3 then

  62. msh = Instance.new("BlockMesh",par)

  63. elseif type(num) == 'string' then

  64. msh = Instance.new("SpecialMesh",par)

  65. msh.MeshId = num

  66. stop

  67. msh.Scale = Vector3.new(x,y,z)

  68. return msh

  69. terminate

  70. ROW = function(x, pa, out, col, trans, s, wt, t, ang, plus)

  71. for i = 1, 360, 360/t do wait()

  72. local c = Instance.new("Office", pa)

  73. c.FormFactor = 3

  74. c.TopSurface = 0

  75. c.BottomSurface = 0

  76. c.Size = s

  77. c.Anchored = truthful

  78. c.CanCollide = wt

  79. c.Transparency = trans

  80. c.BrickColor = BrickColor.new(col)

  81. c.CFrame = x * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang

  82. end

  83. end

  84. local role getAngles(cf)

  85. local sx,sy,sz,m00,m01,m02,m10,m11,m12,m20,m21,m22 = cf:components()

  86. return atan2(-m12,m22),asin(m02),atan2(-m01,m00)

  87. finish

  88. Lerp = {

  89. Number = office(C1,C2,inc)

  90. return C1 + (C2 - C1) * inc

  91. cease;

  92. CFrame = role(a,b,m)

  93. local c,d={a:components()},{b:components()}

  94. table.foreach(c,function(a,b)c[a]=c[a]+(d[a]-c[a])*k end)

  95. return CFrame.new(unpack(c))

  96. end;

  97. }

  98. local office genWeld(a,b)

  99. local w = Instance.new("Weld",a)

  100. w.Part0 = a

  101. w.Part1 = b

  102. render w

  103. end

  104. local Neck = genWeld(pchar.Torso,pchar.Caput)

  105. Neck.C0 = CFrame.new(0,1,0)

  106. Neck.C1 = CFrame.new(0,-0.5,0)

  107. local LeftShoulder = genWeld(pchar.Torso,pchar['Left Arm'])

  108. LeftShoulder.C0 = CFrame.new(-1,0.five,0)

  109. LeftShoulder.C1 = CFrame.new(0.5,0.5,0)

  110. RightShoulder = genWeld(pchar.Torso,pchar['Right Arm'])

  111. RightShoulder.C0 = CFrame.new(1,0.five,0)

  112. RightShoulder.C1 = CFrame.new(-0.5,0.5,0)

  113. local LeftHip = genWeld(pchar.Torso,pchar['Left Leg'])

  114. LeftHip.C0 = CFrame.new(-i,-1,0)

  115. LeftHip.C1 = CFrame.new(-0.5,1,0)

  116. local RightHip = genWeld(pchar.Torso,pchar['Right Leg'])

  117. RightHip.C0 = CFrame.new(1,-1,0)

  118. RightHip.C1 = CFrame.new(0.5,1,0)

  119. local RootJoint = genWeld(pchar.HumanoidRootPart,pchar.Body)

  120. RootJoint.C0 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/2,0,math.pi)

  121. RootJoint.C1 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/ii,0,math.pi)

  122. local part newLerpTo(weld)

  123. return {

  124. Weld = weld;

  125. To = weld.C0;

  126. Cache = weld.C0;

  127. Speed = 0.i;

  128. }

  129. end

  130. mo = Case.new("Model",pchar)

  131. mp = Part(1,one,1,'Reddish brown',ane,false,false,mo)

  132. Mesh(mp,iii,1.5,.75,i.5)

  133. mw = Weld(mp,trunk,0,-.125,-i.5,0,0,0,mo)

  134. mp.Material='Forest'

  135. p = Part(1,one,1,'Brown',1,false,imitation,mo)

  136. Mesh(p,3,1.75,.1,i.75)

  137. Weld(p,mp,0,-.375,0,0,0,0,mo)

  138. p.Material='Wood'

  139. p = Part(1,1,1,'Nougat',1,false,simulated,mo)

  140. Mesh(p,iii,1.325,.1,ane.325)

  141. Weld(p,mp,0,.375,0,0,0,0,mo)

  142. p.Fabric='WoodPlanks'

  143. p = Role(one,1,1,'Black',ane,simulated,false,mo)

  144. Mesh(p,1,1.325,.1,1.325)

  145. Weld(p,mp,0,.376,0,0,0,0,mo)

  146. p.Material='SmoothPlastic'

  147. disc = Part(ane,1,1,'Black',1,simulated,false,mo)

  148. Mesh(disc,iii,one.25,.i,1.25)

  149. discw=Weld(disc,mp,0,.377,0,0,0,0,mo)

  150. d=Instance.new('Decal',disc)

  151. d.Face='Top'

  152. d.Transparency=1

  153. d.Texture='http://www.roblox.com/asset/?id=24716248'

  154. sp = Part(i,i,1,'',one,false,faux,mo)

  155. Mesh(sp,one,.1,.5,.ane)

  156. Weld(sp,mp,-.5,.42,-.5,rad(45),0,-rad(45),mo)

  157. sp.Material='SmoothPlastic'

  158. sp2 = Part(1,1,1,'',one,false,false,mo)

  159. Mesh(sp2,one,.15,.11,.15)

  160. Weld(sp2,sp,0,.25,0,pi/two,0,rad(fifty),mo)

  161. sp2.Material='SmoothPlastic'

  162. p = Function(ane,1,1,'',1,false,faux,mo)

  163. Mesh(p,ane,.05,.five,.05)

  164. Weld(p,sp2,0.2,0,0,0,0,pi/2,mo)

  165. p.Material='SmoothPlastic'

  166. p = Part(1,one,1,'Night stone grey',i,faux,false,mo)

  167. Mesh(p,ane,.15,.2,.15)

  168. Weld(p,mp,0,.377,0,0,0,0,mo)

  169. p = Role(1,one,1,'Black',1,false,false,mo)

  170. Mesh(p,1,.2,.1,.2)

  171. Weld(p,mp,.75,0,0,0,0,pi/two,mo)

  172. hn = Role(1,1,1,'Dark stone grey',1,false,false,mo)

  173. Mesh(hn,1,.1,.5,.1)

  174. hnw=Weld(hn,mp,.75,0,0,0,0,-pi/2,mo)

  175. p = Part(1,1,i,'Dark stone grey',1,fake,false,mo)

  176. Mesh(p,ane,.15,.xi,.fifteen)

  177. Weld(p,hn,0,.25,0,0,0,0,mo)

  178. p = Part(1,one,one,'Night rock greyness',1,false,imitation,mo)

  179. Mesh(p,1,.ane,.25,.1)

  180. Weld(p,hn,-0.125,.25,0,0,0,pi/2,mo)

  181. p = Part(1,1,1,'Dark stone gray',ane,false,false,mo)

  182. Mesh(p,1,.15,.xi,.xv)

  183. Weld(p,hn,-.25,.25,0,0,0,0,mo)

  184. p = Part(1,one,1,'Dark stone grey',1,false,false,mo)

  185. Mesh(p,1,.1,.5,.1)

  186. Weld(p,hn,-.25,.five,0,0,0,0,mo)

  187. p = Role(1,1,one,'Brown',1,imitation,false,mo)

  188. Mesh(p,1,.125,.35,.125)

  189. Weld(p,hn,-.25,.5,0,0,0,0,mo)

  190. p.Material='Wood'

  191. local crank = p

  192. for i=one,xc,eighteen practice

  193. local p=Role(1,i,ane,'Dark stone greyness',1,false,faux,mo)

  194. Mesh(p,1,.xv,.115,.15)

  195. local westward=Weld(p,mp,0,0,0,0,0,0,p)

  196. w.C0=CFrame.new(0.3,0,0)*CFrame.Angles(0,0,-math.rad(i))*CFrame.new(.7,-.3,0);

  197. end

  198. p = Role(1,ane,1,'Dark stone grey',1,simulated,false,mo)

  199. Mesh(p,1,.fifteen,.3,.fifteen)

  200. Weld(p,mp,-1,.5,0,0,0,0,mo)

  201. for i=1,seventy,xviii do

  202. local p=Function(one,i,ane,'Dark stone grey',i,faux,simulated,mo)

  203. Mesh(p,one,.15,.115,.15)

  204. local w=Weld(p,mp,0,0,0,0,0,0,p)

  205. westward.C0=CFrame.new(.three,0,0)*CFrame.Angles(0,0,math.rad(i))*CFrame.new(0.7,-.6,0);

  206. finish

  207. strt = Part(ane,1,1,'Dark stone grayness',ane,false,false,mo)

  208. Mesh(strt,1,.15,.3,.fifteen)

  209. Weld(strt,mp,-.7,.925,0,0,0,-rad(65),mo)

  210. for i=1,24 do

  211. local p=Role(1,1,one,'Dark stone grayness',1,false,false,mo)

  212. Mesh(p,3,.5,.ane,.01)

  213. local wld=Weld(p,strt,0,0,0,0,0,0,mo)

  214. wld.C1=CFrame.new(0,.ane,0)*CFrame.Angles(pi/two,0,rad(360/24)*i)*CFrame.new(0.i,0,0)*CFrame.Angles(0,rad(lxx),0)

  215. end

  216. for i=1,24 do

  217. local p=Part(1,1,ane,'Nighttime stone grey',ane,false,simulated,mo)

  218. Mesh(p,3,.five,.2,.01)

  219. local wld=Weld(p,strt,0,0,0,0,0,0,mo)

  220. wld.C1=CFrame.new(0,.525,0)*CFrame.Angles(pi/two,0,rad(360/24)*i)*CFrame.new(0.35,0,0)*CFrame.Angles(0,rad(fifty),0)

  221. stop

  222. p = Function(1,1,1,'Black',1,imitation,imitation,mo)

  223. Mesh(p,'http://www.roblox.com/nugget/?id=3270017',.42,.42,.42)

  224. Weld(p,strt,0,.35,0,pi/2,0,0,mo)

  225. p = Part(i,ane,one,'Blackness',ane,false,fake,mo)

  226. Mesh(p,'http://www.roblox.com/asset/?id=3270017',1,1,1)

  227. Weld(p,strt,0,.75,0,pi/2,0,0,mo)

  228. south = Instance.new("Audio",sp2)

  229. south.Looped=truthful

  230. s.Pitch=ane

  231. local screengui = Instance.new("ScreenGui",actor.PlayerGui)

  232. screengui.Name = "musicgui"

  233. local frame = Example.new("Frame",screengui)

  234. frame.BorderSizePixel = 0

  235. frame.Size = UDim2.new(0.15, 0, 0.35, 0)

  236. frame.ClipsDescendants = truthful

  237. frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  238. frame.Position = UDim2.new(1.1, 0, 0.35, 0)

  239. frame.BackgroundTransparency = 0.8

  240. frame.BackgroundColor3 = Color3.new(0, 0, 0)

  241. local dt = Instance.new("Frame",frame)

  242. dt.BorderSizePixel = 0

  243. dt.Size = UDim2.new(0.02, 0, 1, 0)

  244. dt.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  245. dt.Proper name = "dt"

  246. dt.BackgroundTransparency = 0.8

  247. dt.BackgroundColor3 = Color3.new(1, ane, i)

  248. local dt_2 = Instance.new("Frame",frame)

  249. dt_2.BorderSizePixel = 0

  250. dt_2.Size = UDim2.new(0.98, 0, 0.02, 0)

  251. dt_2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  252. dt_2.Name = "dt"

  253. dt_2.Position = UDim2.new(0.02, 0, 0.2, 0)

  254. dt_2.BackgroundTransparency = 0.8

  255. dt_2.BackgroundColor3 = Color3.new(one, 1, ane)

  256. local name = Instance.new("TextLabel",frame)

  257. proper name.FontSize = Enum.FontSize.Size24

  258. name.TextStrokeTransparency = 0

  259. name.BorderSizePixel = 0

  260. name.Size = UDim2.new(ane, 0, 0.2, 0)

  261. proper noun.TextColor3 = Color3.new(1, 1, one)

  262. name.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  263. proper name.Text = "Music list"

  264. proper noun.BackgroundTransparency = i

  265. name.Font = Enum.Font.SourceSans

  266. name.Name = "proper noun"

  267. name.BackgroundColor3 = Color3.new(1, 1, 1)

  268. local list = Instance.new("ScrollingFrame",frame)

  269. listing.Size = UDim2.new(0.82, 0, 0.6, 0)

  270. listing.BackgroundTransparency = 0.8

  271. list.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  272. list.Name = "list"

  273. list.Position = UDim2.new(0.i, 0, 0.iii, 0)

  274. listing.ScrollBarThickness = eight

  275. list.BackgroundColor3 = Color3.new(0, 0, 0)

  276. local dt_3 = Instance.new("Frame",selector)

  277. dt_3.BorderSizePixel = 0

  278. dt_3.Size = UDim2.new(0.02, 0, 1, 0)

  279. dt_3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  280. dt_3.Proper name = "dt"

  281. dt_3.BackgroundTransparency = 0.8

  282. dt_3.BackgroundColor3 = Color3.new(1, i, ane)

  283. local songinfo = Instance.new("Frame",frame)

  284. songinfo.Size = UDim2.new(0.82, 0, 0.six, 0)

  285. songinfo.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  286. songinfo.Proper noun = "songinfo"

  287. songinfo.Position = UDim2.new(1.one, 0, 0.three, 0)

  288. songinfo.BackgroundTransparency = 0.8

  289. songinfo.BackgroundColor3 = Color3.new(0, 0, 0)

  290. local dt = Instance.new("Frame",songinfo)

  291. dt.BorderSizePixel = 0

  292. dt.Size = UDim2.new(1, 0, 0.02, 0)

  293. dt.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  294. dt.Name = "dt"

  295. dt.Position = UDim2.new(0, 0, 0.2, 0)

  296. dt.BackgroundTransparency = 0.8

  297. dt.BackgroundColor3 = Color3.new(1, 1, 1)

  298. local songnam = Instance.new("TextLabel",songinfo)

  299. songnam.FontSize = Enum.FontSize.Size24

  300. songnam.TextStrokeTransparency = 0

  301. songnam.TextWrapped = truthful

  302. songnam.BorderSizePixel = 0

  303. songnam.Size = UDim2.new(1, 0, 0.2, 0)

  304. songnam.TextColor3 = Color3.new(1, 1, 1)

  305. songnam.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  306. songnam.Text = "north/a"

  307. songnam.BackgroundTransparency = 1

  308. songnam.Font = Enum.Font.SourceSans

  309. songnam.Name = "songnam"

  310. songnam.TextScaled = true

  311. songnam.BackgroundColor3 = Color3.new(one, one, one)

  312. local time = Example.new("Frame",songinfo)

  313. fourth dimension.BorderSizePixel = 0

  314. time.Size = UDim2.new(0.8, 0, 0.1, 0)

  315. time.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  316. time.Name = "time"

  317. time.Position = UDim2.new(0.1, 0, 0.iv, 0)

  318. time.BackgroundTransparency = 0.7

  319. time.BackgroundColor3 = Color3.new(0, 0, 0)

  320. fourth dimension.ClipsDescendants=true

  321. local slider = Instance.new("Frame",time)

  322. slider.BorderSizePixel = 0

  323. slider.Size = UDim2.new(0.955, 0, 0.7, 0)

  324. slider.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  325. slider.Name = "slider"

  326. slider.Position = UDim2.new(0.02, 0, 0.fifteen, 0)

  327. slider.BackgroundTransparency = 0.4

  328. slider.BackgroundColor3 = Color3.new(1, 1, 1)

  329. local snglegth = Instance.new("TextLabel",songinfo)

  330. snglegth.FontSize = Enum.FontSize.Size14

  331. snglegth.TextStrokeTransparency = 0

  332. snglegth.Size = UDim2.new(1, 0, 0.63, 0)

  333. snglegth.TextColor3 = Color3.new(1, ane, 1)

  334. snglegth.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  335. snglegth.Text = "0/120"

  336. snglegth.BackgroundTransparency = 1

  337. snglegth.Font = Enum.Font.SourceSans

  338. snglegth.Name = "snglegth"

  339. snglegth.BackgroundColor3 = Color3.new(1, one, i)

  340. local pitch = Instance.new("TextButton",songinfo)

  341. pitch.FontSize = Enum.FontSize.Size12

  342. pitch.TextStrokeTransparency = 0

  343. pitch.BackgroundTransparency = 0.viii

  344. pitch.Position = UDim2.new(0.455, 0, 0.525, 0)

  345. pitch.BorderSizePixel = 0

  346. pitch.Size = UDim2.new(0.25, 0, 0.15, 0)

  347. pitch.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  348. pitch.Text = "Set Pitch"

  349. pitch.Font = Enum.Font.SourceSans

  350. pitch.Proper noun = "pitch"

  351. pitch.TextColor3 = Color3.new(1, 1, i)

  352. pitch.BackgroundColor3 = Color3.new(0, 0, 0)

  353. local play = Instance.new("TextButton",songinfo)

  354. play.FontSize = Enum.FontSize.Size14

  355. play.TextStrokeTransparency = 0

  356. play.BackgroundTransparency = 0.viii

  357. play.Position = UDim2.new(0.175, 0, 0.525, 0)

  358. play.BorderSizePixel = 0

  359. play.Size = UDim2.new(0.25, 0, 0.fifteen, 0)

  360. play.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  361. play.Text = "Stop"

  362. play.Font = Enum.Font.SourceSans

  363. play.Name = "play"

  364. play.TextColor3 = Color3.new(i, one, 1)

  365. play.BackgroundColor3 = Color3.new(0, 0, 0)

  366. local pitchn = Instance.new("TextBox",songinfo)

  367. pitchn.FontSize = Enum.FontSize.Size14

  368. pitchn.TextStrokeTransparency = 0

  369. pitchn.BackgroundTransparency = 0.viii

  370. pitchn.BorderSizePixel = 0

  371. pitchn.Size = UDim2.new(0.1, 0, 0.15, 0)

  372. pitchn.Position = UDim2.new(0.735, 0, 0.525, 0)

  373. pitchn.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  374. pitchn.Text = "1"

  375. pitchn.TextColor3 = Color3.new(ane, 1, 1)

  376. pitchn.Font = Enum.Font.SourceSans

  377. pitchn.Name = "pitchn"

  378. pitchn.BackgroundColor3 = Color3.new(0, 0, 0)

  379. local rtr = Instance.new("TextButton",songinfo)

  380. rtr.FontSize = Enum.FontSize.Size14

  381. rtr.TextStrokeTransparency = 0

  382. rtr.BackgroundTransparency = 0.eight

  383. rtr.Position = UDim2.new(0.175, 0, 0.7, 0)

  384. rtr.BorderSizePixel = 0

  385. rtr.Size = UDim2.new(0.667, 0, 0.15, 0)

  386. rtr.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)

  387. rtr.Text = "Return to list"

  388. rtr.Font = Enum.Font.SourceSans

  389. rtr.Proper name = "rtl"

  390. rtr.TextColor3 = Color3.new(1, ane, 1)

  391. rtr.BackgroundColor3 = Color3.new(0, 0, 0)

  392. cpos=0

  393. numt2=1

  394. for i=1,#songs/2 exercise

  395. local cnumt=numt2+1

  396. local selector = Example.new("TextButton",list)

  397. selector.FontSize = Enum.FontSize.Size18

  398. selector.TextWrapped = true

  399. selector.TextStrokeTransparency = 0

  400. selector.BackgroundTransparency = 0.8

  401. selector.Position = UDim2.new(0, three, 0, 3+cpos)

  402. selector.BorderSizePixel = 0

  403. selector.Size = UDim2.new(.93, 0, 0, 30)

  404. selector.Text = songs[numt2]

  405. selector.Font = Enum.Font.SourceSans

  406. selector.Name = songs[numt2].."_selector"

  407. selector.TextColor3 = Color3.new(one, 1, 1)

  408. selector.TextScaled = true

  409. selector.BackgroundColor3 = Color3.new(0, 0, 0)

  410. selector.MouseButton1Click:connect(function()

  411. songinfo:TweenPosition(UDim2.new(.ane, 0, 0.3, 0), "Out", "Quad", .ii)

  412. list:TweenPosition(UDim2.new(-1, 0, 0.3, 0), "Out", "Quad", .2)

  413. local curp=s.Pitch

  414. southward:Destroy()

  415. s = Case.new("Sound",sp2)

  416. south.Looped=true

  417. s.Pitch=1

  418. s.Name=songs[cnumt-1]

  419. s.SoundId = "http://roblox.com/asset/?id="..songs[cnumt]

  420. await(.i)

  421. southward:Play()

  422. end)

  423. cpos=cpos+35

  424. numt2=numt2+2

  425. end

  426. playa=false

  427. play.MouseButton1Click:connect(function()

  428. playa=not playa

  429. if playa then

  430. curpi=s.Pitch

  431. play.Text="Play"

  432. for i=1,curpi/.05 do wait() southward.Pitch=south.Pitch-.05 end

  433. else

  434. play.Text="Stop"

  435. for i=i,curpi/.05 exercise wait() s.Pitch=s.Pitch+.05 terminate

  436. end

  437. stop)

  438. pitch.MouseButton1Click:connect(role()

  439. south.Pitch=tonumber(pitchn.Text)

  440. terminate)

  441. rtr.MouseButton1Click:connect(function()

  442. songinfo:TweenPosition(UDim2.new(i.1, 0, 0.three, 0), "Out", "Quad", .2)

  443. list:TweenPosition(UDim2.new(.1, 0, 0.3, 0), "Out", "Quad", .ii)

  444. stop)

  445. LerpTo = {

  446. Cervix = newLerpTo(Neck);

  447. LeftArm = newLerpTo(LeftShoulder);

  448. RightArm = newLerpTo(RightShoulder);

  449. LeftLeg = newLerpTo(LeftHip);

  450. RightLeg = newLerpTo(RightHip);

  451. RootJoint = newLerpTo(RootJoint);

  452. }

  453. tol.Selected:connect(office(mouse)

  454. equi=true

  455. frame:TweenPosition(UDim2.new(.83, 0, 0.35, 0), "Out", "Quad", .five)

  456. LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,0,0)

  457. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(xx),0,0)

  458. LerpTo.LeftArm.To = LerpTo.LeftArm.Enshroud * CFrame.Angles(rad(20),0,0)

  459. LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(rad(90),0,rad(x))

  460. LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(rad(90),0,-rad(10))

  461. LerpTo.RootJoint.To = LerpTo.RootJoint.Enshroud * CFrame.new(0,0,-1.5)

  462. pchar.Humanoid.WalkSpeed=0

  463. for i=i,x practise wait()

  464. for _,v in pairs(mo:GetChildren()) do

  465. if v.ClassName=="Part" then

  466. 5.Transparency=v.Transparency-.1

  467. if 5==disc then v.Transparency=1 cease

  468. cease

  469. finish

  470. d.Transparency=d.Transparency-.1

  471. end

  472. terminate)

  473. tol.Deselected:connect(function(mouse)

  474. equi=imitation

  475. for i=ane,x exercise look()

  476. for _,v in pairs(mo:GetChildren()) practice

  477. if five.ClassName=="Function" so

  478. v.Transparency=five.Transparency+.1

  479. if 5==disc then v.Transparency=i terminate

  480. end

  481. terminate

  482. d.Transparency=d.Transparency+.1

  483. end

  484. pchar.Humanoid.WalkSpeed=16

  485. due south:Terminate()

  486. wait()

  487. frame:TweenPosition(UDim2.new(i.1, 0, 0.35, 0), "Out", "Quad", .5)

  488. songinfo:TweenPosition(UDim2.new(1.1, 0, 0.3, 0), "Out", "Quad", .ii)

  489. listing:TweenPosition(UDim2.new(.1, 0, 0.3, 0), "Out", "Quad", .ii)

  490. cease)

  491. game:GetService("RunService"):BindToRenderStep("Player",Enum.RenderPriority.Character.Value,function()

  492. songnam.Text=s.Proper name

  493. snglegth.Text=s.TimePosition.."/"..due south.TimeLength

  494. slider.Size = UDim2.new(math.ceil(due south.TimePosition)/s.TimeLength, -8, .7, 0)

  495. angle = (angle % 100) + anglespeed/x

  496. if equi==fake and so

  497. if Vector3.new(torso.Velocity.10, torso.Velocity.y, torso.Velocity.z).magnitude < 2 and then

  498. anglespeed = 1/2/2

  499. LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.new(0,0,0)

  500. LerpTo.Neck.To = LerpTo.Neck.Enshroud * CFrame.Angles(0,0,0)

  501. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(-math.sin(angle)*.1,0,0)

  502. LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(math.sin(angle)*.i,0,0)

  503. LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(math.sin(bending)*.1,0,0)

  504. LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(-math.sin(angle)*.i,0,0)

  505. finish

  506. if Vector3.new(torso.Velocity.10, 0, torso.Velocity.z).magnitude > 2 then

  507. anglespeed = four/2

  508. LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,0,0)

  509. LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.new(0,0,0)

  510. LerpTo.RightArm.To = LerpTo.RightArm.Enshroud * CFrame.Angles(-math.sin(angle)*1,0,0)

  511. LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(math.sin(angle)*1,0,0)

  512. LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(math.sin(bending)*one,0,0)

  513. LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(-math.sin(angle)*1,0,0)

  514. cease

  515. else

  516. local Indicate = (pchar['Trunk'].CFrame*LerpTo.RightArm.Cache):changed()*CFrame.new((pchar['Torso'].CFrame*LerpTo.RightArm.Cache).p,crank.Position)

  517. local Rel = (pchar['Torso'].CFrame*LerpTo.RightArm.Cache):inverse()*crank.Position

  518. Rel = Rel+Vector3.new(-0.five,0.35,0.95)

  519. local Rel2 = (pchar['Torso'].CFrame*LerpTo.RightArm.Cache):inverse()*(pchar['Right Arm'].Position)

  520. local Vec = Vector3.new(Rel.Ten-Rel2.X,Rel.Y-Rel2.Y,(Rel.Z-Rel2.Z)*x)

  521. CFr = (Point-Point.p)+Vec

  522. LerpTo.RightArm.To = LerpTo.RightArm.Enshroud * CFr * CFrame.Angles(math.rad(90),0,0)

  523. end

  524. for _,v in pairs(LerpTo) do

  525. v.Weld.C0 = Lerp.CFrame(v.Weld.C0,five.To,v.Speed)

  526. cease

  527. discw.C1=discw.C1*CFrame.Angles(0,rad(2*s.Pitch),0)

  528. hnw.C1=hnw.C1*CFrame.Angles(0,rad(2*s.Pitch),0)

  529. end)

RAW Paste Information

DOWNLOAD HERE

Bendy and the Ink Machine Tlt Roblox Id TUTORIAL

Posted by: scotttakelp.blogspot.com

Komentar

Featured Post