Bendy and the Ink Machine Tlt Roblox Id
Non a member of Pastebin yet? Sign Up , it unlocks many cool features!
-
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"}
-
local asin = math.asin
-
local atan2 = math.atan2
-
local rad = math.rad
-
local sin = math.sin
-
local abs = math.abs
-
local ceil = math.ceil
-
local pi = math.pi
-
deddeb=fake
-
deb=false
-
local player = game.Players.LocalPlayer
-
local pchar = player.Grapheme
-
local mouse = role player:GetMouse()
-
local torso=pchar.Torso
-
anim=true
-
anim2=false
-
anglespeed = 1
-
hum=pchar.Humanoid
-
angle = 0
-
equi=false
-
showing = false
-
tol=Case.new("HopperBin",player.Backpack)
-
tol.Name="GramaPlayer"
-
Part = office(x,y,z,colour,tr,cc,an,parent)
-
local p = Instance.new('Office',parent or Weapon)
-
p.formFactor = 'Custom'
-
p.Size = Vector3.new(x,y,z)
-
p.BrickColor = BrickColor.new(color)
-
p.CanCollide = cc
-
p.Transparency = tr
-
p.Anchored = an
-
p.TopSurface,p.BottomSurface = 0,0
-
return p
-
finish
-
wPart = function(10,y,z,color,tr,cc,an,parent)
-
local wp = Instance.new('WedgePart',parent or Weapon)
-
wp.formFactor = 'Custom'
-
wp.Size = Vector3.new(ten,y,z)
-
wp.BrickColor = BrickColor.new(color)
-
wp.CanCollide = cc
-
wp.Transparency = tr
-
wp.Anchored = an
-
wp.TopSurface,wp.BottomSurface = 0,0
-
render wp
-
stop
-
Weld = function(p0,p1,x,y,z,rx,ry,rz,par)
-
p0.Position = p1.Position
-
local west = Case.new('Motor',par or p0)
-
w.Part0 = p0
-
westward.Part1 = p1
-
w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
-
return w
-
end
-
Mesh = function(par,num,x,y,z)
-
local msh = nil
-
if num == 1 then
-
msh = Case.new("CylinderMesh",par)
-
elseif num == 2 so
-
msh = Instance.new("SpecialMesh",par)
-
msh.MeshType = 3
-
elseif num == 3 then
-
msh = Instance.new("BlockMesh",par)
-
elseif type(num) == 'string' then
-
msh = Instance.new("SpecialMesh",par)
-
msh.MeshId = num
-
stop
-
msh.Scale = Vector3.new(x,y,z)
-
return msh
-
terminate
-
ROW = function(x, pa, out, col, trans, s, wt, t, ang, plus)
-
for i = 1, 360, 360/t do wait()
-
local c = Instance.new("Office", pa)
-
c.FormFactor = 3
-
c.TopSurface = 0
-
c.BottomSurface = 0
-
c.Size = s
-
c.Anchored = truthful
-
c.CanCollide = wt
-
c.Transparency = trans
-
c.BrickColor = BrickColor.new(col)
-
c.CFrame = x * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
-
end
-
end
-
local role getAngles(cf)
-
local sx,sy,sz,m00,m01,m02,m10,m11,m12,m20,m21,m22 = cf:components()
-
return atan2(-m12,m22),asin(m02),atan2(-m01,m00)
-
finish
-
Lerp = {
-
Number = office(C1,C2,inc)
-
return C1 + (C2 - C1) * inc
-
cease;
-
CFrame = role(a,b,m)
-
local c,d={a:components()},{b:components()}
-
table.foreach(c,function(a,b)c[a]=c[a]+(d[a]-c[a])*k end)
-
return CFrame.new(unpack(c))
-
end;
-
}
-
local office genWeld(a,b)
-
local w = Instance.new("Weld",a)
-
w.Part0 = a
-
w.Part1 = b
-
render w
-
end
-
local Neck = genWeld(pchar.Torso,pchar.Caput)
-
Neck.C0 = CFrame.new(0,1,0)
-
Neck.C1 = CFrame.new(0,-0.5,0)
-
local LeftShoulder = genWeld(pchar.Torso,pchar['Left Arm'])
-
LeftShoulder.C0 = CFrame.new(-1,0.five,0)
-
LeftShoulder.C1 = CFrame.new(0.5,0.5,0)
-
RightShoulder = genWeld(pchar.Torso,pchar['Right Arm'])
-
RightShoulder.C0 = CFrame.new(1,0.five,0)
-
RightShoulder.C1 = CFrame.new(-0.5,0.5,0)
-
local LeftHip = genWeld(pchar.Torso,pchar['Left Leg'])
-
LeftHip.C0 = CFrame.new(-i,-1,0)
-
LeftHip.C1 = CFrame.new(-0.5,1,0)
-
local RightHip = genWeld(pchar.Torso,pchar['Right Leg'])
-
RightHip.C0 = CFrame.new(1,-1,0)
-
RightHip.C1 = CFrame.new(0.5,1,0)
-
local RootJoint = genWeld(pchar.HumanoidRootPart,pchar.Body)
-
RootJoint.C0 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/2,0,math.pi)
-
RootJoint.C1 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/ii,0,math.pi)
-
local part newLerpTo(weld)
-
return {
-
Weld = weld;
-
To = weld.C0;
-
Cache = weld.C0;
-
Speed = 0.i;
-
}
-
end
-
mo = Case.new("Model",pchar)
-
mp = Part(1,one,1,'Reddish brown',ane,false,false,mo)
-
Mesh(mp,iii,1.5,.75,i.5)
-
mw = Weld(mp,trunk,0,-.125,-i.5,0,0,0,mo)
-
mp.Material='Forest'
-
p = Part(1,one,1,'Brown',1,false,imitation,mo)
-
Mesh(p,3,1.75,.1,i.75)
-
Weld(p,mp,0,-.375,0,0,0,0,mo)
-
p.Material='Wood'
-
p = Part(1,1,1,'Nougat',1,false,simulated,mo)
-
Mesh(p,iii,1.325,.1,ane.325)
-
Weld(p,mp,0,.375,0,0,0,0,mo)
-
p.Fabric='WoodPlanks'
-
p = Role(one,1,1,'Black',ane,simulated,false,mo)
-
Mesh(p,1,1.325,.1,1.325)
-
Weld(p,mp,0,.376,0,0,0,0,mo)
-
p.Material='SmoothPlastic'
-
disc = Part(ane,1,1,'Black',1,simulated,false,mo)
-
Mesh(disc,iii,one.25,.i,1.25)
-
discw=Weld(disc,mp,0,.377,0,0,0,0,mo)
-
d=Instance.new('Decal',disc)
-
d.Face='Top'
-
d.Transparency=1
-
d.Texture='http://www.roblox.com/asset/?id=24716248'
-
sp = Part(i,i,1,'',one,false,faux,mo)
-
Mesh(sp,one,.1,.5,.ane)
-
Weld(sp,mp,-.5,.42,-.5,rad(45),0,-rad(45),mo)
-
sp.Material='SmoothPlastic'
-
sp2 = Part(1,1,1,'',one,false,false,mo)
-
Mesh(sp2,one,.15,.11,.15)
-
Weld(sp2,sp,0,.25,0,pi/two,0,rad(fifty),mo)
-
sp2.Material='SmoothPlastic'
-
p = Function(ane,1,1,'',1,false,faux,mo)
-
Mesh(p,ane,.05,.five,.05)
-
Weld(p,sp2,0.2,0,0,0,0,pi/2,mo)
-
p.Material='SmoothPlastic'
-
p = Part(1,one,1,'Night stone grey',i,faux,false,mo)
-
Mesh(p,ane,.15,.2,.15)
-
Weld(p,mp,0,.377,0,0,0,0,mo)
-
p = Role(1,one,1,'Black',1,false,false,mo)
-
Mesh(p,1,.2,.1,.2)
-
Weld(p,mp,.75,0,0,0,0,pi/two,mo)
-
hn = Role(1,1,1,'Dark stone grey',1,false,false,mo)
-
Mesh(hn,1,.1,.5,.1)
-
hnw=Weld(hn,mp,.75,0,0,0,0,-pi/2,mo)
-
p = Part(1,1,i,'Dark stone grey',1,fake,false,mo)
-
Mesh(p,ane,.15,.xi,.fifteen)
-
Weld(p,hn,0,.25,0,0,0,0,mo)
-
p = Part(1,one,one,'Night rock greyness',1,false,imitation,mo)
-
Mesh(p,1,.ane,.25,.1)
-
Weld(p,hn,-0.125,.25,0,0,0,pi/2,mo)
-
p = Part(1,1,1,'Dark stone gray',ane,false,false,mo)
-
Mesh(p,1,.15,.xi,.xv)
-
Weld(p,hn,-.25,.25,0,0,0,0,mo)
-
p = Part(1,one,1,'Dark stone grey',1,false,false,mo)
-
Mesh(p,1,.1,.5,.1)
-
Weld(p,hn,-.25,.five,0,0,0,0,mo)
-
p = Role(1,1,one,'Brown',1,imitation,false,mo)
-
Mesh(p,1,.125,.35,.125)
-
Weld(p,hn,-.25,.5,0,0,0,0,mo)
-
p.Material='Wood'
-
local crank = p
-
for i=one,xc,eighteen practice
-
local p=Role(1,i,ane,'Dark stone greyness',1,false,faux,mo)
-
Mesh(p,1,.xv,.115,.15)
-
local westward=Weld(p,mp,0,0,0,0,0,0,p)
-
w.C0=CFrame.new(0.3,0,0)*CFrame.Angles(0,0,-math.rad(i))*CFrame.new(.7,-.3,0);
-
end
-
p = Role(1,ane,1,'Dark stone grey',1,simulated,false,mo)
-
Mesh(p,1,.fifteen,.3,.fifteen)
-
Weld(p,mp,-1,.5,0,0,0,0,mo)
-
for i=1,seventy,xviii do
-
local p=Function(one,i,ane,'Dark stone grey',i,faux,simulated,mo)
-
Mesh(p,one,.15,.115,.15)
-
local w=Weld(p,mp,0,0,0,0,0,0,p)
-
westward.C0=CFrame.new(.three,0,0)*CFrame.Angles(0,0,math.rad(i))*CFrame.new(0.7,-.6,0);
-
finish
-
strt = Part(ane,1,1,'Dark stone grayness',ane,false,false,mo)
-
Mesh(strt,1,.15,.3,.fifteen)
-
Weld(strt,mp,-.7,.925,0,0,0,-rad(65),mo)
-
for i=1,24 do
-
local p=Role(1,1,one,'Dark stone grayness',1,false,false,mo)
-
Mesh(p,3,.5,.ane,.01)
-
local wld=Weld(p,strt,0,0,0,0,0,0,mo)
-
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)
-
end
-
for i=1,24 do
-
local p=Part(1,1,ane,'Nighttime stone grey',ane,false,simulated,mo)
-
Mesh(p,3,.five,.2,.01)
-
local wld=Weld(p,strt,0,0,0,0,0,0,mo)
-
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)
-
stop
-
p = Function(1,1,1,'Black',1,imitation,imitation,mo)
-
Mesh(p,'http://www.roblox.com/nugget/?id=3270017',.42,.42,.42)
-
Weld(p,strt,0,.35,0,pi/2,0,0,mo)
-
p = Part(i,ane,one,'Blackness',ane,false,fake,mo)
-
Mesh(p,'http://www.roblox.com/asset/?id=3270017',1,1,1)
-
Weld(p,strt,0,.75,0,pi/2,0,0,mo)
-
south = Instance.new("Audio",sp2)
-
south.Looped=truthful
-
s.Pitch=ane
-
local screengui = Instance.new("ScreenGui",actor.PlayerGui)
-
screengui.Name = "musicgui"
-
local frame = Example.new("Frame",screengui)
-
frame.BorderSizePixel = 0
-
frame.Size = UDim2.new(0.15, 0, 0.35, 0)
-
frame.ClipsDescendants = truthful
-
frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
frame.Position = UDim2.new(1.1, 0, 0.35, 0)
-
frame.BackgroundTransparency = 0.8
-
frame.BackgroundColor3 = Color3.new(0, 0, 0)
-
local dt = Instance.new("Frame",frame)
-
dt.BorderSizePixel = 0
-
dt.Size = UDim2.new(0.02, 0, 1, 0)
-
dt.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
dt.Proper name = "dt"
-
dt.BackgroundTransparency = 0.8
-
dt.BackgroundColor3 = Color3.new(1, ane, i)
-
local dt_2 = Instance.new("Frame",frame)
-
dt_2.BorderSizePixel = 0
-
dt_2.Size = UDim2.new(0.98, 0, 0.02, 0)
-
dt_2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
dt_2.Name = "dt"
-
dt_2.Position = UDim2.new(0.02, 0, 0.2, 0)
-
dt_2.BackgroundTransparency = 0.8
-
dt_2.BackgroundColor3 = Color3.new(one, 1, ane)
-
local name = Instance.new("TextLabel",frame)
-
proper name.FontSize = Enum.FontSize.Size24
-
name.TextStrokeTransparency = 0
-
name.BorderSizePixel = 0
-
name.Size = UDim2.new(ane, 0, 0.2, 0)
-
proper noun.TextColor3 = Color3.new(1, 1, one)
-
name.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
proper name.Text = "Music list"
-
proper noun.BackgroundTransparency = i
-
name.Font = Enum.Font.SourceSans
-
name.Name = "proper noun"
-
name.BackgroundColor3 = Color3.new(1, 1, 1)
-
local list = Instance.new("ScrollingFrame",frame)
-
listing.Size = UDim2.new(0.82, 0, 0.6, 0)
-
listing.BackgroundTransparency = 0.8
-
list.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
list.Name = "list"
-
list.Position = UDim2.new(0.i, 0, 0.iii, 0)
-
listing.ScrollBarThickness = eight
-
list.BackgroundColor3 = Color3.new(0, 0, 0)
-
local dt_3 = Instance.new("Frame",selector)
-
dt_3.BorderSizePixel = 0
-
dt_3.Size = UDim2.new(0.02, 0, 1, 0)
-
dt_3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
dt_3.Proper name = "dt"
-
dt_3.BackgroundTransparency = 0.8
-
dt_3.BackgroundColor3 = Color3.new(1, i, ane)
-
local songinfo = Instance.new("Frame",frame)
-
songinfo.Size = UDim2.new(0.82, 0, 0.six, 0)
-
songinfo.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
songinfo.Proper noun = "songinfo"
-
songinfo.Position = UDim2.new(1.one, 0, 0.three, 0)
-
songinfo.BackgroundTransparency = 0.8
-
songinfo.BackgroundColor3 = Color3.new(0, 0, 0)
-
local dt = Instance.new("Frame",songinfo)
-
dt.BorderSizePixel = 0
-
dt.Size = UDim2.new(1, 0, 0.02, 0)
-
dt.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
dt.Name = "dt"
-
dt.Position = UDim2.new(0, 0, 0.2, 0)
-
dt.BackgroundTransparency = 0.8
-
dt.BackgroundColor3 = Color3.new(1, 1, 1)
-
local songnam = Instance.new("TextLabel",songinfo)
-
songnam.FontSize = Enum.FontSize.Size24
-
songnam.TextStrokeTransparency = 0
-
songnam.TextWrapped = truthful
-
songnam.BorderSizePixel = 0
-
songnam.Size = UDim2.new(1, 0, 0.2, 0)
-
songnam.TextColor3 = Color3.new(1, 1, 1)
-
songnam.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
songnam.Text = "north/a"
-
songnam.BackgroundTransparency = 1
-
songnam.Font = Enum.Font.SourceSans
-
songnam.Name = "songnam"
-
songnam.TextScaled = true
-
songnam.BackgroundColor3 = Color3.new(one, one, one)
-
local time = Example.new("Frame",songinfo)
-
fourth dimension.BorderSizePixel = 0
-
time.Size = UDim2.new(0.8, 0, 0.1, 0)
-
time.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
time.Name = "time"
-
time.Position = UDim2.new(0.1, 0, 0.iv, 0)
-
time.BackgroundTransparency = 0.7
-
time.BackgroundColor3 = Color3.new(0, 0, 0)
-
fourth dimension.ClipsDescendants=true
-
local slider = Instance.new("Frame",time)
-
slider.BorderSizePixel = 0
-
slider.Size = UDim2.new(0.955, 0, 0.7, 0)
-
slider.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
slider.Name = "slider"
-
slider.Position = UDim2.new(0.02, 0, 0.fifteen, 0)
-
slider.BackgroundTransparency = 0.4
-
slider.BackgroundColor3 = Color3.new(1, 1, 1)
-
local snglegth = Instance.new("TextLabel",songinfo)
-
snglegth.FontSize = Enum.FontSize.Size14
-
snglegth.TextStrokeTransparency = 0
-
snglegth.Size = UDim2.new(1, 0, 0.63, 0)
-
snglegth.TextColor3 = Color3.new(1, ane, 1)
-
snglegth.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
snglegth.Text = "0/120"
-
snglegth.BackgroundTransparency = 1
-
snglegth.Font = Enum.Font.SourceSans
-
snglegth.Name = "snglegth"
-
snglegth.BackgroundColor3 = Color3.new(1, one, i)
-
local pitch = Instance.new("TextButton",songinfo)
-
pitch.FontSize = Enum.FontSize.Size12
-
pitch.TextStrokeTransparency = 0
-
pitch.BackgroundTransparency = 0.viii
-
pitch.Position = UDim2.new(0.455, 0, 0.525, 0)
-
pitch.BorderSizePixel = 0
-
pitch.Size = UDim2.new(0.25, 0, 0.15, 0)
-
pitch.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
pitch.Text = "Set Pitch"
-
pitch.Font = Enum.Font.SourceSans
-
pitch.Proper noun = "pitch"
-
pitch.TextColor3 = Color3.new(1, 1, i)
-
pitch.BackgroundColor3 = Color3.new(0, 0, 0)
-
local play = Instance.new("TextButton",songinfo)
-
play.FontSize = Enum.FontSize.Size14
-
play.TextStrokeTransparency = 0
-
play.BackgroundTransparency = 0.viii
-
play.Position = UDim2.new(0.175, 0, 0.525, 0)
-
play.BorderSizePixel = 0
-
play.Size = UDim2.new(0.25, 0, 0.fifteen, 0)
-
play.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
play.Text = "Stop"
-
play.Font = Enum.Font.SourceSans
-
play.Name = "play"
-
play.TextColor3 = Color3.new(i, one, 1)
-
play.BackgroundColor3 = Color3.new(0, 0, 0)
-
local pitchn = Instance.new("TextBox",songinfo)
-
pitchn.FontSize = Enum.FontSize.Size14
-
pitchn.TextStrokeTransparency = 0
-
pitchn.BackgroundTransparency = 0.viii
-
pitchn.BorderSizePixel = 0
-
pitchn.Size = UDim2.new(0.1, 0, 0.15, 0)
-
pitchn.Position = UDim2.new(0.735, 0, 0.525, 0)
-
pitchn.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
pitchn.Text = "1"
-
pitchn.TextColor3 = Color3.new(ane, 1, 1)
-
pitchn.Font = Enum.Font.SourceSans
-
pitchn.Name = "pitchn"
-
pitchn.BackgroundColor3 = Color3.new(0, 0, 0)
-
local rtr = Instance.new("TextButton",songinfo)
-
rtr.FontSize = Enum.FontSize.Size14
-
rtr.TextStrokeTransparency = 0
-
rtr.BackgroundTransparency = 0.eight
-
rtr.Position = UDim2.new(0.175, 0, 0.7, 0)
-
rtr.BorderSizePixel = 0
-
rtr.Size = UDim2.new(0.667, 0, 0.15, 0)
-
rtr.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
-
rtr.Text = "Return to list"
-
rtr.Font = Enum.Font.SourceSans
-
rtr.Proper name = "rtl"
-
rtr.TextColor3 = Color3.new(1, ane, 1)
-
rtr.BackgroundColor3 = Color3.new(0, 0, 0)
-
cpos=0
-
numt2=1
-
for i=1,#songs/2 exercise
-
local cnumt=numt2+1
-
local selector = Example.new("TextButton",list)
-
selector.FontSize = Enum.FontSize.Size18
-
selector.TextWrapped = true
-
selector.TextStrokeTransparency = 0
-
selector.BackgroundTransparency = 0.8
-
selector.Position = UDim2.new(0, three, 0, 3+cpos)
-
selector.BorderSizePixel = 0
-
selector.Size = UDim2.new(.93, 0, 0, 30)
-
selector.Text = songs[numt2]
-
selector.Font = Enum.Font.SourceSans
-
selector.Name = songs[numt2].."_selector"
-
selector.TextColor3 = Color3.new(one, 1, 1)
-
selector.TextScaled = true
-
selector.BackgroundColor3 = Color3.new(0, 0, 0)
-
selector.MouseButton1Click:connect(function()
-
songinfo:TweenPosition(UDim2.new(.ane, 0, 0.3, 0), "Out", "Quad", .ii)
-
list:TweenPosition(UDim2.new(-1, 0, 0.3, 0), "Out", "Quad", .2)
-
local curp=s.Pitch
-
southward:Destroy()
-
s = Case.new("Sound",sp2)
-
south.Looped=true
-
s.Pitch=1
-
s.Name=songs[cnumt-1]
-
s.SoundId = "http://roblox.com/asset/?id="..songs[cnumt]
-
await(.i)
-
southward:Play()
-
end)
-
cpos=cpos+35
-
numt2=numt2+2
-
end
-
playa=false
-
play.MouseButton1Click:connect(function()
-
playa=not playa
-
if playa then
-
curpi=s.Pitch
-
play.Text="Play"
-
for i=1,curpi/.05 do wait() southward.Pitch=south.Pitch-.05 end
-
else
-
play.Text="Stop"
-
for i=i,curpi/.05 exercise wait() s.Pitch=s.Pitch+.05 terminate
-
end
-
stop)
-
pitch.MouseButton1Click:connect(role()
-
south.Pitch=tonumber(pitchn.Text)
-
terminate)
-
rtr.MouseButton1Click:connect(function()
-
songinfo:TweenPosition(UDim2.new(i.1, 0, 0.three, 0), "Out", "Quad", .2)
-
list:TweenPosition(UDim2.new(.1, 0, 0.3, 0), "Out", "Quad", .ii)
-
stop)
-
LerpTo = {
-
Cervix = newLerpTo(Neck);
-
LeftArm = newLerpTo(LeftShoulder);
-
RightArm = newLerpTo(RightShoulder);
-
LeftLeg = newLerpTo(LeftHip);
-
RightLeg = newLerpTo(RightHip);
-
RootJoint = newLerpTo(RootJoint);
-
}
-
tol.Selected:connect(office(mouse)
-
equi=true
-
frame:TweenPosition(UDim2.new(.83, 0, 0.35, 0), "Out", "Quad", .five)
-
LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,0,0)
-
LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(xx),0,0)
-
LerpTo.LeftArm.To = LerpTo.LeftArm.Enshroud * CFrame.Angles(rad(20),0,0)
-
LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(rad(90),0,rad(x))
-
LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(rad(90),0,-rad(10))
-
LerpTo.RootJoint.To = LerpTo.RootJoint.Enshroud * CFrame.new(0,0,-1.5)
-
pchar.Humanoid.WalkSpeed=0
-
for i=i,x practise wait()
-
for _,v in pairs(mo:GetChildren()) do
-
if v.ClassName=="Part" then
-
5.Transparency=v.Transparency-.1
-
if 5==disc then v.Transparency=1 cease
-
cease
-
finish
-
d.Transparency=d.Transparency-.1
-
end
-
terminate)
-
tol.Deselected:connect(function(mouse)
-
equi=imitation
-
for i=ane,x exercise look()
-
for _,v in pairs(mo:GetChildren()) practice
-
if five.ClassName=="Function" so
-
v.Transparency=five.Transparency+.1
-
if 5==disc then v.Transparency=i terminate
-
end
-
terminate
-
d.Transparency=d.Transparency+.1
-
end
-
pchar.Humanoid.WalkSpeed=16
-
due south:Terminate()
-
wait()
-
frame:TweenPosition(UDim2.new(i.1, 0, 0.35, 0), "Out", "Quad", .5)
-
songinfo:TweenPosition(UDim2.new(1.1, 0, 0.3, 0), "Out", "Quad", .ii)
-
listing:TweenPosition(UDim2.new(.1, 0, 0.3, 0), "Out", "Quad", .ii)
-
cease)
-
game:GetService("RunService"):BindToRenderStep("Player",Enum.RenderPriority.Character.Value,function()
-
songnam.Text=s.Proper name
-
snglegth.Text=s.TimePosition.."/"..due south.TimeLength
-
slider.Size = UDim2.new(math.ceil(due south.TimePosition)/s.TimeLength, -8, .7, 0)
-
angle = (angle % 100) + anglespeed/x
-
if equi==fake and so
-
if Vector3.new(torso.Velocity.10, torso.Velocity.y, torso.Velocity.z).magnitude < 2 and then
-
anglespeed = 1/2/2
-
LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.new(0,0,0)
-
LerpTo.Neck.To = LerpTo.Neck.Enshroud * CFrame.Angles(0,0,0)
-
LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(-math.sin(angle)*.1,0,0)
-
LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(math.sin(angle)*.i,0,0)
-
LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(math.sin(bending)*.1,0,0)
-
LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(-math.sin(angle)*.i,0,0)
-
finish
-
if Vector3.new(torso.Velocity.10, 0, torso.Velocity.z).magnitude > 2 then
-
anglespeed = four/2
-
LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,0,0)
-
LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.new(0,0,0)
-
LerpTo.RightArm.To = LerpTo.RightArm.Enshroud * CFrame.Angles(-math.sin(angle)*1,0,0)
-
LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(math.sin(angle)*1,0,0)
-
LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(math.sin(bending)*one,0,0)
-
LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(-math.sin(angle)*1,0,0)
-
cease
-
else
-
local Indicate = (pchar['Trunk'].CFrame*LerpTo.RightArm.Cache):changed()*CFrame.new((pchar['Torso'].CFrame*LerpTo.RightArm.Cache).p,crank.Position)
-
local Rel = (pchar['Torso'].CFrame*LerpTo.RightArm.Cache):inverse()*crank.Position
-
Rel = Rel+Vector3.new(-0.five,0.35,0.95)
-
local Rel2 = (pchar['Torso'].CFrame*LerpTo.RightArm.Cache):inverse()*(pchar['Right Arm'].Position)
-
local Vec = Vector3.new(Rel.Ten-Rel2.X,Rel.Y-Rel2.Y,(Rel.Z-Rel2.Z)*x)
-
CFr = (Point-Point.p)+Vec
-
LerpTo.RightArm.To = LerpTo.RightArm.Enshroud * CFr * CFrame.Angles(math.rad(90),0,0)
-
end
-
for _,v in pairs(LerpTo) do
-
v.Weld.C0 = Lerp.CFrame(v.Weld.C0,five.To,v.Speed)
-
cease
-
discw.C1=discw.C1*CFrame.Angles(0,rad(2*s.Pitch),0)
-
hnw.C1=hnw.C1*CFrame.Angles(0,rad(2*s.Pitch),0)
-
end)
RAW Paste Information
DOWNLOAD HERE
Bendy and the Ink Machine Tlt Roblox Id TUTORIAL
Posted by: scotttakelp.blogspot.com
Komentar
Posting Komentar