Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Tranquil katana key bind e
- local Player = game:GetService("Players").LocalPlayer
- local Character = Player.Character
- local Hats = { Ex1 = Character:WaitForChild("KatanaAccessory"),
- }
- for i,v in next, Hats do
- v.Handle.AccessoryWeld:Remove()
- for _,mesh in next, v:GetDescendants() do
- if mesh:IsA("Mesh") or mesh:IsA("SpecialMesh") then
- --mesh:Remove()
- end
- end
- end
- local function p(i, v)
- local att0 = Instance.new("Attachment", i)
- local att1 = Instance.new("Attachment", v)
- att0.Position = Vector3.new(0,0,0)
- att1.Position = Vector3.new(0,0,0)
- local AP = Instance.new("AlignPosition", i)
- AP.Attachment1 = att1
- AP.Attachment0 = att0
- AP.RigidityEnabled = true
- local AO = Instance.new("AlignOrientation", i)
- AO.Attachment1 = att1
- AO.Attachment0 = att0
- AO.RigidityEnabled = true
- end
- p(Hats.Ex1.Handle, Character["Right Arm"])
- Hats.Ex1.Handle.Attachment.Rotation = Vector3.new(-40,-180,0)--part1
- Character:WaitForChild("Right Arm"):FindFirstChild("Attachment").Name = "Attachment1"
- Character:WaitForChild("Right Arm").Attachment1.Position = Vector3.new(0,-3.2,-1.64)--part1
- plr = game.Players.LocalPlayer
- dead = false
- char = plr.Character
- rarm = char["Right Arm"]
- larm = char["Left Arm"]
- lleg = char["Left Leg"]
- rleg = char["Right Leg"]
- hum = char["HumanoidRootPart"]
- tor = char["Torso"]
- rarm:BreakJoints()
- h = Instance.new("Attachment", tor)
- r = Instance.new("Attachment",rarm)
- r.Rotation = Vector3.new(-47,0,0)
- r.Position = Vector3.new(-1.5, 0.4, 0.6)
- --rarm
- rap = Instance.new("AlignPosition",rarm)
- rap.Attachment0 = r
- rap.Attachment1 = h
- rap.RigidityEnabled = true
- rao = Instance.new("AlignOrientation",rarm)
- rao.Attachment0 = r
- rao.Attachment1 = h
- rao.RigidityEnabled = true
- game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(k)
- if k == "e" then
- r.Rotation = Vector3.new(-69,60,0)
- r.Position = Vector3.new(-1.3, 0.7, 0.6)
- wait(0.76)
- r.Rotation = Vector3.new(-69,-20,0)
- r.Position = Vector3.new(-1.3, 0.7, 0.6)
- wait(0.02)
- r.Rotation = Vector3.new(-69,-58,0)
- r.Position = Vector3.new(-1, 0.45, 0.23)
- wait(0.68)
- r.Rotation = Vector3.new(-49,0,0)
- r.Position = Vector3.new(-1.5, 0.4, 0.6)
- end
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement