Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function Tail_1(char)
- --// lol
- local Torso,mr,CFrame_2,model =
- char:WaitForChild'Torso',math.rad,{}
- CFrame_2.Angles = function(x,y,z)return CFrame.Angles(mr(x),mr(y),mr(z))end
- CFrame_2.Angles2 = function(x,y,z)return CFrame.Angles(mr(x),mr(z),mr(y))end
- local function New_Instance(Classname,props)
- local a = Instance.new(Classname)
- for i,v in pairs(props)do
- local _,e = pcall(function()
- a[i] = v
- end)if e then print(e)end
- end return a
- end
- local function Get_Part(Props)
- local p = Instance.new("Part")
- p.CanCollide = false
- p.Massless = true
- p.Color = Torso.Color
- p.Material = Enum.Material.SmoothPlastic
- p.Parent = Torso
- for i,v in pairs(Props)do
- local _,e = pcall(function()
- p[i] = v
- end)if e then print(e)end
- end
- return p
- end
- local function Get_SM(Part_Props,SM_Props)
- local p = Get_Part(Part_Props)
- local sm = Instance.new("SpecialMesh")
- sm.MeshType = 'FileMesh'
- for i,v in pairs(SM_Props)do
- local _,e = pcall(function()
- sm[i] = v
- end)if e then print(e)end
- end
- sm.Parent = p
- return p
- end
- local function Weldc(a,b)
- local w = Instance.new("WeldConstraint",a)
- w.Part0 = a;w.Part1 = b;return w
- end
- local function Get_CM(Props,Props2)
- local a = Get_Part(Props)
- local cm = Instance.new('CylinderMesh')
- for i,v in pairs(Props2)do
- local _,e = pcall(function()
- cm[i] = v
- end)if e then print(e)end
- end;cm.Parent = a;return a
- end
- local function Get_Union(Primary_Part,table_of_obj,is_negated)
- local parts = {Primary_Part}
- Primary_Part.Parent = workspace
- for _,v in pairs(table_of_obj)do
- table.insert(parts,v)
- v.Anchored = true
- v.CanCollide = false
- v.Color = Primary_Part.Color
- v.Transparency = Primary_Part.Transparency
- v.Material = Primary_Part.Material
- end
- local union
- if not is_negated then
- union = Primary_Part:UnionAsync(table_of_obj)
- else
- union = Primary_Part:SubtractAsync(table_of_obj)
- end
- for _,v in pairs(parts)do
- v:Destroy()
- end
- union.Parent = workspace
- union.CanCollide = false
- return union
- end
- local function M_Weld(props)
- return New_Instance('Weld',props)
- end
- for _,v in pairs(char:GetChildren())do
- if v and v:IsA'Accessory'and v:FindFirstChild('WaistBackAttachment',true)then
- v:Destroy()
- end
- end
- local Z_Thing_1 = 1.5
- local p = Get_SM({CFrame = Torso.CFrame*CFrame.new(0, -0.5, -1.75)*
- CFrame_2.Angles(0, 180, 180),Size = Vector3.new(2, 1, 2.5)},{
- TextureId = 'rbxassetid://188539332',MeshId = 'rbxassetid://188539404'})
- local m6_1 = Instance.new("Weld",Torso)
- m6_1.Part0 = Torso
- m6_1.Part1 = p
- m6_1.C0 = CFrame.new(0,-1,Z_Thing_1)
- local Gravity_Y_Speed = 1/5
- local Gravity_Y_Range = 15
- local afk_time = 0
- spawn(function()
- while true do
- if Torso and m6_1 then
- if Torso.Velocity.Y<-.35 then
- m6_1.C0 = m6_1.C0:Lerp(CFrame_2.Angles(-Gravity_Y_Range,0,0)*
- CFrame.new(0,-1,Z_Thing_1),Gravity_Y_Speed)
- elseif Torso.Velocity.Y>.35 then
- m6_1.C0 = m6_1.C0:Lerp(CFrame_2.Angles(Gravity_Y_Range,0,0)*
- CFrame.new(0,-1,Z_Thing_1),Gravity_Y_Speed)
- else
- m6_1.C0 = m6_1.C0:Lerp(CFrame.new(0,-1,Z_Thing_1),Gravity_Y_Speed)
- end
- if afk_time>=2.5*60 then
- local num = afk_time % 30
- if num < 15 then
- m6_1.C0 = m6_1.C0:Lerp(CFrame_2.Angles(0,20,0)*
- CFrame.new(0,-1,Z_Thing_1),Gravity_Y_Speed)
- else
- m6_1.C0 = m6_1.C0:Lerp(CFrame_2.Angles(0,-20,0)*
- CFrame.new(0,-1,Z_Thing_1),Gravity_Y_Speed)
- end
- end
- if
- Torso.Velocity.X>-.35 and Torso.Velocity.X<.35 and
- Torso.Velocity.Y>-.35 and Torso.Velocity.Y<.35 and
- Torso.Velocity.Z>-.35 and Torso.Velocity.Z<.35
- then
- afk_time = afk_time + 1
- else
- afk_time = 0
- end
- else
- break
- end
- wait()
- end
- end)
- end
- print'https://pastebin.com/raw/NPVVh5fk'
- wait(2)
- Tail_1(owner.Character)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement