Salute = Instance.new("HopperBin")
Salute.Parent = game.Players.meunumbertwo.Backpack
Salute.Name = "Salute"
script = Instance.new("LocalScript")
script.Parent = Salute
script.Name = "LocalScript"
function Salute()
local torso = script.Parent.Parent.Parent.Character:FindFirstChild("Torso")
local motor = torso:FindFirstChild("Right Shoulder")
local w = Instance.new("Weld")
if w.Part1 == nil then
w.Part0 = torso
w.Part1 = torso.Parent:FindFirstChild("Right Arm")
w.Name = "Right Arm Weld"
w.C1 = CFrame.new(-1.5, 0.75, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, math.rad(-20))
motor.Part1 = nil
w.Parent = w.Part0
end
end
function Unsalute()
local torso = script.Parent.Parent.Parent.Character:FindFirstChild("Torso")
local objects = {torso:FindFirstChild("Right Shoulder"), torso:FindFirstChild("Right Arm Weld")}
objects[2].C1 = CFrame.new(-1.5, 0.75, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(200), 0, math.rad(-20))
wait(0.5)
objects[1].Part1 = objects[2].Part1
objects[2]:Remove()
end
function Selected(mouse)
mouse.Button1Down:connect(Salute)
mouse.Button1Up:connect(Unsalute)
end
script.Parent.Selected:connect(Selected)
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}